Clever Fox - Version 10.0

Version Description

  • Aviser Theme Upsale Links Added
Download this release

Release Info

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

Code changes from version 9.9 to 10.0

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: 9.9
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.0
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/aviser/features/avril-header.php CHANGED
@@ -123,28 +123,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
123
  class Avril_social__section_upgrade extends WP_Customize_Control {
124
  public function render_content() {
125
  $theme = wp_get_theme(); // gets the current theme
126
- if ( 'Aera' == $theme->name){
127
  ?>
128
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
129
-
130
- <?php }elseif ( 'Avail' == $theme->name){ ?>
131
-
132
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
133
-
134
- <?php }elseif ( 'Axtia' == $theme->name){ ?>
135
-
136
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/axtia-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
137
-
138
- <?php }elseif ( 'Avtari' == $theme->name){ ?>
139
-
140
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
141
-
142
- <?php
143
- }else{
144
- ?>
145
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
146
  <?php
147
- }
148
  }
149
  }
150
 
123
  class Avril_social__section_upgrade extends WP_Customize_Control {
124
  public function render_content() {
125
  $theme = wp_get_theme(); // gets the current theme
126
+ if ( 'Aviser' == $theme->name){
127
  ?>
128
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aviser-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  <?php
130
+ }
131
  }
132
  }
133
 
inc/avril/features/avril-features.php CHANGED
@@ -205,6 +205,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
205
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank"
206
  style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
207
 
 
 
 
 
 
208
  <?php
209
  }else{
210
  ?>
205
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank"
206
  style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
207
 
208
+ <?php }elseif ( 'Aviser' == $theme->name){ ?>
209
+
210
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aviser-pro/" target="_blank"
211
+ style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
212
+
213
  <?php
214
  }else{
215
  ?>
inc/avril/features/avril-service.php CHANGED
@@ -199,7 +199,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
199
 
200
  <?php }elseif ( 'Avtari' == $theme->name){ ?>
201
 
202
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
 
 
 
203
 
204
  <?php
205
  }else{
199
 
200
  <?php }elseif ( 'Avtari' == $theme->name){ ?>
201
 
202
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
203
+
204
+ <?php }elseif ( 'Aviser' == $theme->name){ ?>
205
+
206
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aviser-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
207
 
208
  <?php
209
  }else{
inc/avril/features/avril-slider.php CHANGED
@@ -74,6 +74,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
74
  <?php }elseif( 'Avtari' == $theme->name){ ?>
75
 
76
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
 
 
 
77
 
78
  <?php }else{ ?>
79
 
74
  <?php }elseif( 'Avtari' == $theme->name){ ?>
75
 
76
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avtari-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
77
+
78
+ <?php }elseif( 'Aviser' == $theme->name){ ?>
79
+
80
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aviser-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
81
 
82
  <?php }else{ ?>
83
 
inc/axtria/features/avril-funfact.php CHANGED
@@ -102,10 +102,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
102
 
103
  //Pro feature
104
  class Avril_funfact__section_upgrade extends WP_Customize_Control {
105
- public function render_content() {
 
 
106
  ?>
 
 
 
 
107
  <a class="customizer_funfact_upgrade_section up-to-pro" href="https://www.nayrathemes.com/axtia-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
 
108
  <?php
 
109
  }
110
  }
111
 
102
 
103
  //Pro feature
104
  class Avril_funfact__section_upgrade extends WP_Customize_Control {
105
+ public function render_content() {
106
+ $theme = wp_get_theme(); // gets the current theme
107
+ if ( 'Aviser' == $theme->name){
108
  ?>
109
+ <a class="customizer_funfact_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aviser-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
110
+
111
+ <?php }else{ ?>
112
+
113
  <a class="customizer_funfact_upgrade_section up-to-pro" href="https://www.nayrathemes.com/axtia-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
114
+
115
  <?php
116
+ }
117
  }
118
  }
119
 
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: 9.9
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -114,6 +114,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 9.9 =
118
  * Aviser Theme Functionality Added
119
 
4
  Requires at least: 4.0
5
  Tested up to: 5.9
6
  Requires PHP: 5.6
7
+ Stable tag: 10.0
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
114
 
115
  == Changelog ==
116
 
117
+ = 10.0 =
118
+ * Aviser Theme Upsale Links Added
119
+
120
  = 9.9 =
121
  * Aviser Theme Functionality Added
122