Clever Fox - Version 7.8

Version Description

  • Arbuda Theme Upsale Links Added
Download this release

Release Info

Developer nayrathemes
Plugin Icon 128x128 Clever Fox
Version 7.8
Comparing to
See all releases

Code changes from version 7.7 to 7.8

clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 50000+ trusted websites with Nayra Themes. It provides intuitive features to your website. 20+ Themes compatible with Clever Fox. See below free themes listed here. Avril is one of Popular themes in our collections.
6
- Version: 7.7
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 50000+ trusted websites with Nayra Themes. It provides intuitive features to your website. 20+ Themes compatible with Clever Fox. See below free themes listed here. Avril is one of Popular themes in our collections.
6
+ Version: 7.8
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/aravalli/features/aravalli-amenities.php CHANGED
@@ -186,11 +186,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
186
  //Pro feature
187
  class Aravalli_amenities__section_upgrade extends WP_Customize_Control {
188
  public function render_content() {
 
 
189
  ?>
 
 
 
 
190
  <a class="customizer_amenities_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
191
 
192
  <?php
193
- }
194
  }
195
 
196
  $wp_customize->add_setting( 'aravalli_amenities_upgrade_to_pro', array(
186
  //Pro feature
187
  class Aravalli_amenities__section_upgrade extends WP_Customize_Control {
188
  public function render_content() {
189
+ $theme = wp_get_theme(); // gets the current theme
190
+ if ( 'Arbuda' == $theme->name){
191
  ?>
192
+ <a class="customizer_amenities_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arbuda-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
193
+
194
+ <?php }else{ ?>
195
+
196
  <a class="customizer_amenities_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
197
 
198
  <?php
199
+ }}
200
  }
201
 
202
  $wp_customize->add_setting( 'aravalli_amenities_upgrade_to_pro', array(
inc/aravalli/features/aravalli-features.php CHANGED
@@ -188,11 +188,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
188
  //Pro feature
189
  class Aravalli_feature__section_upgrade extends WP_Customize_Control {
190
  public function render_content() {
 
 
191
  ?>
 
 
 
 
192
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
193
 
194
  <?php
195
- }
196
  }
197
 
198
  $wp_customize->add_setting( 'aravalli_feature_upgrade_to_pro', array(
188
  //Pro feature
189
  class Aravalli_feature__section_upgrade extends WP_Customize_Control {
190
  public function render_content() {
191
+ $theme = wp_get_theme(); // gets the current theme
192
+ if ( 'Arbuda' == $theme->name){
193
  ?>
194
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arbuda-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
195
+
196
+ <?php }else{ ?>
197
+
198
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
199
 
200
  <?php
201
+ }}
202
  }
203
 
204
  $wp_customize->add_setting( 'aravalli_feature_upgrade_to_pro', array(
inc/aravalli/features/aravalli-header.php CHANGED
@@ -281,10 +281,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
281
  //Pro feature
282
  class Aravalli_social__section_upgrade extends WP_Customize_Control {
283
  public function render_content() {
 
 
284
  ?>
 
 
 
 
285
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
286
  <?php
287
- }
288
  }
289
 
290
  $wp_customize->add_setting( 'aravalli_social_upgrade_to_pro', array(
281
  //Pro feature
282
  class Aravalli_social__section_upgrade extends WP_Customize_Control {
283
  public function render_content() {
284
+ $theme = wp_get_theme(); // gets the current theme
285
+ if ( 'Arbuda' == $theme->name){
286
  ?>
287
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arbuda-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
288
+
289
+ <?php }else{ ?>
290
+
291
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
292
  <?php
293
+ } }
294
  }
295
 
296
  $wp_customize->add_setting( 'aravalli_social_upgrade_to_pro', array(
inc/aravalli/features/aravalli-room.php CHANGED
@@ -190,11 +190,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
190
  //Pro feature
191
  class Aravalli_room__section_upgrade extends WP_Customize_Control {
192
  public function render_content() {
 
 
193
  ?>
 
 
 
 
194
  <a class="customizer_room_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
195
 
196
  <?php
197
- }
198
  }
199
 
200
  $wp_customize->add_setting( 'aravalli_room_upgrade_to_pro', array(
190
  //Pro feature
191
  class Aravalli_room__section_upgrade extends WP_Customize_Control {
192
  public function render_content() {
193
+ $theme = wp_get_theme(); // gets the current theme
194
+ if ( 'Arbuda' == $theme->name){
195
  ?>
196
+ <a class="customizer_room_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arbuda-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
197
+
198
+ <?php }else{ ?>
199
+
200
  <a class="customizer_room_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
201
 
202
  <?php
203
+ }}
204
  }
205
 
206
  $wp_customize->add_setting( 'aravalli_room_upgrade_to_pro', array(
inc/aravalli/features/aravalli-slider.php CHANGED
@@ -68,11 +68,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  //Pro feature
69
  class Aravalli_slider__section_upgrade extends WP_Customize_Control {
70
  public function render_content() {
 
 
71
  ?>
 
 
 
 
72
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
73
 
74
  <?php
75
- }
76
  }
77
 
78
  $wp_customize->add_setting( 'aravalli_slider_upgrade_to_pro', array(
68
  //Pro feature
69
  class Aravalli_slider__section_upgrade extends WP_Customize_Control {
70
  public function render_content() {
71
+ $theme = wp_get_theme(); // gets the current theme
72
+ if ( 'Arbuda' == $theme->name){
73
  ?>
74
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arbuda-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
75
+
76
+ <?php }else{ ?>
77
+
78
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aravalli-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
79
 
80
  <?php
81
+ }}
82
  }
83
 
84
  $wp_customize->add_setting( 'aravalli_slider_upgrade_to_pro', array(
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
- Stable tag: 7.7
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -106,6 +106,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
106
 
107
  == Changelog ==
108
 
 
 
 
109
  = 7.7 =
110
  * Arbuda Theme Functionality Added
111
 
4
  Requires at least: 4.0
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
+ Stable tag: 7.8
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
106
 
107
  == Changelog ==
108
 
109
+ = 7.8 =
110
+ * Arbuda Theme Upsale Links Added
111
+
112
  = 7.7 =
113
  * Arbuda Theme Functionality Added
114