Clever Fox - Version 13.6

Version Description

  • Colorsy Theme Upsale Links Added
Download this release

Release Info

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

Code changes from version 13.5 to 13.6

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: 13.5
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: 13.6
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/colorpress/features/gradiant-header.php CHANGED
@@ -114,10 +114,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
114
  //Pro feature
115
  class Gradiant_header_menu_section_upgrade extends WP_Customize_Control {
116
  public function render_content() {
 
 
117
  ?>
 
 
 
 
118
  <a class="customizer_hdr_menu_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorpress-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
119
  <?php
120
- }
121
  }
122
 
123
  $wp_customize->add_setting( 'gradiant_hdr_menu_upgrade_to_pro', array(
114
  //Pro feature
115
  class Gradiant_header_menu_section_upgrade extends WP_Customize_Control {
116
  public function render_content() {
117
+ $theme = wp_get_theme(); // gets the current theme
118
+ if ( 'Colorsy' == $theme->name){
119
  ?>
120
+ <a class="customizer_hdr_menu_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorsy-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
121
+
122
+ <?php }else{ ?>
123
+
124
  <a class="customizer_hdr_menu_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorpress-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
125
+
126
  <?php
127
+ }}
128
  }
129
 
130
  $wp_customize->add_setting( 'gradiant_hdr_menu_upgrade_to_pro', array(
inc/comoxa/features/comoxa-service.php CHANGED
@@ -181,7 +181,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
181
 
182
  <?php }elseif('Colorsy' == $theme->name){ ?>
183
 
184
- <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>
185
 
186
  <?php
187
  }}
181
 
182
  <?php }elseif('Colorsy' == $theme->name){ ?>
183
 
184
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorsy-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
185
 
186
  <?php
187
  }}
inc/flavita/features/gradiant-client.php CHANGED
@@ -164,10 +164,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
164
  //Pro feature
165
  class Gradiant_client_section_upgrade extends WP_Customize_Control {
166
  public function render_content() {
 
 
167
  ?>
 
 
 
 
168
  <a class="customizer_client_upgrade_section up-to-pro" href="https://www.nayrathemes.com/flavita-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
169
  <?php
170
- }
171
  }
172
 
173
  $wp_customize->add_setting( 'gradiant_client_upgrade_to_pro', array(
164
  //Pro feature
165
  class Gradiant_client_section_upgrade extends WP_Customize_Control {
166
  public function render_content() {
167
+ $theme = wp_get_theme(); // gets the current theme
168
+ if ( 'Colorsy' == $theme->name){
169
  ?>
170
+ <a class="customizer_client_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorsy-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
171
+
172
+ <?php }else{ ?>
173
+
174
  <a class="customizer_client_upgrade_section up-to-pro" href="https://www.nayrathemes.com/flavita-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
175
+
176
  <?php
177
+ }}
178
  }
179
 
180
  $wp_customize->add_setting( 'gradiant_client_upgrade_to_pro', array(
inc/gradiant/features/gradiant-footer.php CHANGED
@@ -73,6 +73,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
 
74
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/flavita-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
75
 
 
 
 
 
76
  <?php }else{ ?>
77
  <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>
78
  <?php
73
 
74
  <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/flavita-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
75
 
76
+ <?php }elseif('Colorsy' == $theme->name){ ?>
77
+
78
+ <a class="customizer_footer_above_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorsy-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
79
+
80
  <?php }else{ ?>
81
  <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>
82
  <?php
inc/gradiant/features/gradiant-slider.php CHANGED
@@ -157,6 +157,10 @@ $theme = wp_get_theme(); // gets the current theme
157
 
158
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/flavita-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
159
 
 
 
 
 
160
  <?php }else{ ?>
161
 
162
  <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>
157
 
158
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/flavita-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
159
 
160
+ <?php }elseif('Colorsy' == $theme->name){ ?>
161
+
162
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/colorsy-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
163
+
164
  <?php }else{ ?>
165
 
166
  <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>
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: 6.0
6
  Requires PHP: 5.6
7
- Stable tag: 13.5
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -133,6 +133,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
133
 
134
  == Changelog ==
135
 
 
 
 
136
  = 13.5 =
137
  * Fixed Escaping Issue in Azwa Theme
138
 
4
  Requires at least: 4.0
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
+ Stable tag: 13.6
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
133
 
134
  == Changelog ==
135
 
136
+ = 13.6 =
137
+ * Colorsy Theme Upsale Links Added
138
+
139
  = 13.5 =
140
  * Fixed Escaping Issue in Azwa Theme
141