Clever Fox - Version 10.5

Version Description

  • Comoxa Theme Upsale Links Added
Download this release

Release Info

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

Code changes from version 10.4 to 10.5

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: 10.4
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: 10.5
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/comoxa/features/comoxa-service.php CHANGED
@@ -168,7 +168,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
168
  public function render_content() {
169
  $theme = wp_get_theme(); // gets the current theme
170
  ?>
171
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
172
 
173
  <?php
174
  }
168
  public function render_content() {
169
  $theme = wp_get_theme(); // gets the current theme
170
  ?>
171
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
172
 
173
  <?php
174
  }
inc/gradiant/features/gradiant-footer.php CHANGED
@@ -61,11 +61,13 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
61
  class Gradiant_footer_above__section_upgrade extends WP_Customize_Control {
62
  public function render_content() {
63
  $theme = wp_get_theme(); // gets the current theme
 
64
  ?>
 
 
65
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
66
-
67
  <?php
68
- }
69
  }
70
 
71
  $wp_customize->add_setting( 'gradiant_footer_above_upgrade_to_pro', array(
61
  class Gradiant_footer_above__section_upgrade extends WP_Customize_Control {
62
  public function render_content() {
63
  $theme = wp_get_theme(); // gets the current theme
64
+ if ( 'Comoxa' == $theme->name){
65
  ?>
66
+ <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
67
+ <?php }else{ ?>
68
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
69
  <?php
70
+ }}
71
  }
72
 
73
  $wp_customize->add_setting( 'gradiant_footer_above_upgrade_to_pro', array(
inc/gradiant/features/gradiant-header.php CHANGED
@@ -113,10 +113,13 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
113
  class Gradiant_social__section_upgrade extends WP_Customize_Control {
114
  public function render_content() {
115
  $theme = wp_get_theme(); // gets the current theme
 
116
  ?>
 
 
117
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
118
  <?php
119
- }
120
  }
121
 
122
  $wp_customize->add_setting( 'gradiant_social_upgrade_to_pro', array(
113
  class Gradiant_social__section_upgrade extends WP_Customize_Control {
114
  public function render_content() {
115
  $theme = wp_get_theme(); // gets the current theme
116
+ if ( 'Comoxa' == $theme->name){
117
  ?>
118
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
119
+ <?php }else{ ?>
120
  <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
121
  <?php
122
+ }}
123
  }
124
 
125
  $wp_customize->add_setting( 'gradiant_social_upgrade_to_pro', array(
inc/gradiant/features/gradiant-slider.php CHANGED
@@ -145,11 +145,13 @@ $theme = wp_get_theme(); // gets the current theme
145
  class Gradiant_slider__section_upgrade extends WP_Customize_Control {
146
  public function render_content() {
147
  $theme = wp_get_theme(); // gets the current theme
 
148
  ?>
 
 
149
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
150
-
151
  <?php
152
- }
153
  }
154
 
155
  $wp_customize->add_setting( 'gradiant_slider_upgrade_to_pro', array(
145
  class Gradiant_slider__section_upgrade extends WP_Customize_Control {
146
  public function render_content() {
147
  $theme = wp_get_theme(); // gets the current theme
148
+ if ( 'Comoxa' == $theme->name){
149
  ?>
150
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/comoxa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
151
+ <?php }else{ ?>
152
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/gradiant-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
153
  <?php
154
+ }}
155
  }
156
 
157
  $wp_customize->add_setting( 'gradiant_slider_upgrade_to_pro', array(
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: homepage, companion, demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
- Stable tag: 10.4
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -124,6 +124,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
124
 
125
  == Changelog ==
126
 
 
 
 
127
  = 10.4 =
128
  * Comoxa Theme Functionality Added
129
 
4
  Requires at least: 4.0
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
+ Stable tag: 10.5
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
124
 
125
  == Changelog ==
126
 
127
+ = 10.5 =
128
+ * Comoxa Theme Upsale Links Added
129
+
130
  = 10.4 =
131
  * Comoxa Theme Functionality Added
132