Responsive Add Ons - Version 2.0.7

Version Description

  • 23rd September 2019 =
  • Fix - Deletes the Ready site imported data on Responsive Add Ons deactivation, All Ready web-sites are not showing on large screen
Download this release

Release Info

Developer cyberchimps
Plugin Icon 128x128 Responsive Add Ons
Version 2.0.7
Comparing to
See all releases

Code changes from version 2.0.6 to 2.0.7

admin/images/responsive-thumbnail.jpg CHANGED
Binary file
admin/js/render-responsive-ready-sites.js CHANGED
@@ -245,7 +245,7 @@
245
  * Add per page Parameter.
246
  */
247
  _apiAddParam_per_page: function() {
248
- var per_page_val = 6;
249
  if ( responsiveSitesRender.sites && responsiveSitesRender.sites["per_page"] ) {
250
  per_page_val = parseInt( responsiveSitesRender.sites["per_page"] );
251
  }
245
  * Add per page Parameter.
246
  */
247
  _apiAddParam_per_page: function() {
248
+ var per_page_val = 15;
249
  if ( responsiveSitesRender.sites && responsiveSitesRender.sites["per_page"] ) {
250
  per_page_val = parseInt( responsiveSitesRender.sites["per_page"] );
251
  }
admin/js/responsive-ready-sites-admin.js CHANGED
@@ -681,7 +681,7 @@ var ResponsiveSitesAjaxQueue = (function() {
681
  /**
682
  * Check if Responsive Addons Pro is installed or not
683
  */
684
- _checkResponsiveAddonsProInstalled: function() {
685
  var is_pro_license_active;
686
  $.ajax(
687
  {
@@ -707,7 +707,7 @@ var ResponsiveSitesAjaxQueue = (function() {
707
  }
708
  },
709
 
710
- _checkRespomsiveAddonsProLicenseActive: function() {
711
  var is_pro_installed;
712
  $.ajax(
713
  {
681
  /**
682
  * Check if Responsive Addons Pro is installed or not
683
  */
684
+ _checkRespomsiveAddonsProLicenseActive: function() {
685
  var is_pro_license_active;
686
  $.ajax(
687
  {
707
  }
708
  },
709
 
710
+ _checkResponsiveAddonsProInstalled: function() {
711
  var is_pro_installed;
712
  $.ajax(
713
  {
readme.txt CHANGED
@@ -4,35 +4,62 @@ Donate Link: http://cyberchimps.com
4
  Tags: Elementor, Demo Importer, Templates, Starter Sites, Ready Websites
5
  Requires at least: 5.0
6
  Tested up to: 5.2.2
7
- Stable tag: trunk
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Extends the functionality of the popular Responsive theme (https://wordpress.org/themes/responsive/) by adding the ready site importer feature.
12
-
13
  == Description ==
14
 
15
- The Responsive Add Ons plugin extends the functionality of the popular Responsive theme (https://wordpress.org/themes/responsive/) by adding the ready site importer feature.
 
 
 
 
16
 
17
- = Ready Site Importer =
18
 
19
  Launching a new website was never so easy. All you have to do is import a Responsive Ready Site and change the demo content to match your business.
20
 
21
  The Ready Site Importer feature allows you to import ready-made website demos, complete with:
22
- - demo pages designed using Elementor page builder,
23
- - demo images and media, and
24
- - demo content
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  == Installation ==
27
 
28
- 1. Upload `responsive-add-ons.php` to the `/wp-content/plugins/` directory
29
- 1. Activate the plugin through the 'Plugins' menu in WordPress
 
30
 
31
  == Screenshots ==
32
 
33
- 1. Responsive Ready Site importer in action
 
 
34
 
35
  == Changelog ==
 
 
 
36
  = 2.0.6 - 18th September 2019 =
37
  * Rendered Ready sites importer page on scroll, Added ratings link on responsive-add-ons page
38
 
4
  Tags: Elementor, Demo Importer, Templates, Starter Sites, Ready Websites
5
  Requires at least: 5.0
6
  Tested up to: 5.2.2
7
+ Requires PHP: 5.3
8
+ Stable tag: 2.0.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
 
 
12
  == Description ==
13
 
14
+ [youtube https://www.youtube.com/watch?v=JNeQKg1QJhk&t=2s]
15
+
16
+ >[Ready Sites](https://cyberchimps.com/responsive-ready-websites/) | [Docs](https://docs.cyberchimps.com/responsive/responsive-sites) | [Responsive Pro](https://cyberchimps.com/responsive-pricing/)
17
+
18
+ The Responsive Add Ons plugin extends the functionality of the popular [Responsive theme](https://wordpress.org/themes/responsive/) by adding the ready site importer feature. It comes with free ready to use websites, that can be easily customize using the Elementor page builder.
19
 
20
+ #### READY SITE IMPORTER
21
 
22
  Launching a new website was never so easy. All you have to do is import a Responsive Ready Site and change the demo content to match your business.
23
 
24
  The Ready Site Importer feature allows you to import ready-made website demos, complete with:
25
+ * demo pages designed using Elementor page builder,
26
+ * demo images and media, and
27
+ * demo content
28
+
29
+ #### Responsive Pro features:
30
+ * Premium templates
31
+ * Highlight your content with carousel & sliders
32
+ * Pricing tables
33
+ * Various portfolio widgets
34
+ * [Full list of PRO features](https://cyberchimps.com/responsive-pricing/)
35
+
36
+ == Frequently Asked Questions ==
37
+
38
+ = 1. Are all the starter sites free? =
39
+ We have 22+ free and Pro Ready Sites. With Responsive add ons you will get access to all free sites. To import Pro templates, you will have to install [Responsive Pro](https://cyberchimps.com/responsive-pricing/).
40
+
41
+ = 2. Will Responsive Add ons work on my theme? =
42
+ The templates are built with customizer settings of Responsive Theme to provide maximum control to you. Hence, to use Responsive Add ons, you will have to install Responsive Theme.
43
+
44
+ = 3. Do I need to install any other plugins? =
45
+ Absolutely not! Once you install the plugin, it will take care of all other dependencies. You can sit back and let importer do the job.
46
 
47
  == Installation ==
48
 
49
+ 1. Upload the plugin zip from admin & Activate the plugin
50
+ 2. Go to Appearance > Responsive Options > AddOns to see all ready sites.
51
+ 3. Preview & click on Import site to import the site.
52
 
53
  == Screenshots ==
54
 
55
+ 1. Go to Appearance > Responsive Options > AddOns to see all ready sites.
56
+ 2. Preview & click on Import site to import.
57
+
58
 
59
  == Changelog ==
60
+ = 2.0.7 - 23rd September 2019 =
61
+ * Fix - Deletes the Ready site imported data on Responsive Add Ons deactivation, All Ready web-sites are not showing on large screen
62
+
63
  = 2.0.6 - 18th September 2019 =
64
  * Rendered Ready sites importer page on scroll, Added ratings link on responsive-add-ons page
65
 
responsive-add-ons.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Responsive Add Ons
4
  Plugin URI: http://wordpress.org/plugins/responsive-add-ons/
5
  Description: Import Responsive Ready Sites that help you launch your website quickly. Just import, update & hit the launch button.
6
- Version: 2.0.6
7
  Author: CyberChimps
8
  Author URI: http://www.cyberchimps.com
9
  License: GPL2
@@ -222,34 +222,7 @@ if( !class_exists( 'Responsive_Addons' ) ) {
222
  * Clean up after Deactivation
223
  */
224
  public static function deactivate() {
225
- if ( ! current_user_can( 'manage_options' ) ) {
226
- return;
227
- }
228
- global $wpdb;
229
-
230
- $post_ids = $wpdb->get_col( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key='_responsive_ready_sites_imported_post'" );
231
- foreach($post_ids as $post_id){
232
- wp_delete_post( $post_id, true );
233
- }
234
-
235
- $form_ids = $wpdb->get_col( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key='_responsive_ready_sites_imported_wp_forms'" );
236
- foreach($form_ids as $form_id){
237
- wp_delete_post( $form_id, true );
238
- }
239
-
240
- $term_ids = $wpdb->get_col( "SELECT term_id FROM {$wpdb->termmeta} WHERE meta_key='_responsive_ready_sites_imported_term'" );
241
- foreach($term_ids as $term_id){
242
- if ( $term_id ) {
243
- $term = get_term( $term_id );
244
- if ( $term ) {
245
- wp_delete_term( $term_id, $term->taxonomy );
246
- }
247
- }
248
- }
249
-
250
- delete_option('responsive_current_active_site');
251
- }
252
-
253
 
254
  /**
255
  * Setter for $api_url
@@ -650,7 +623,7 @@ if( !class_exists( 'Responsive_Addons' ) ) {
650
  'responsive_sites_api_params',
651
  array(
652
  'site_url' => '',
653
- 'per_page' => 6,
654
  )
655
  );
656
 
3
  Plugin Name: Responsive Add Ons
4
  Plugin URI: http://wordpress.org/plugins/responsive-add-ons/
5
  Description: Import Responsive Ready Sites that help you launch your website quickly. Just import, update & hit the launch button.
6
+ Version: 2.0.7
7
  Author: CyberChimps
8
  Author URI: http://www.cyberchimps.com
9
  License: GPL2
222
  * Clean up after Deactivation
223
  */
224
  public static function deactivate() {
225
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
 
227
  /**
228
  * Setter for $api_url
623
  'responsive_sites_api_params',
624
  array(
625
  'site_url' => '',
626
+ 'per_page' => 15,
627
  )
628
  );
629