Clever Fox - Version 3.6

Version Description

  • Avail Theme Upsale links Added
Download this release

Release Info

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

Code changes from version 3.5 to 3.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 WordPress themes made by Nayra Themes. Main motive behind this plugin is to boost up functionality of Nayra themes and focus on a smooth user experience. Clever Fox contains all features which are required to create a complete website. Clever Fox comes with everything you could ever need to build an amazing website that is suitable for business, portfolio, food & restaurant, gym & fitness, spa salon, medical practitioner & hospitals, WooCommerce Websites. You can see below listed free themes.
6
- Version: 3.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 WordPress themes made by Nayra Themes. Main motive behind this plugin is to boost up functionality of Nayra themes and focus on a smooth user experience. Clever Fox contains all features which are required to create a complete website. Clever Fox comes with everything you could ever need to build an amazing website that is suitable for business, portfolio, food & restaurant, gym & fitness, spa salon, medical practitioner & hospitals, WooCommerce Websites. You can see below listed free themes.
6
+ Version: 3.6
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/aera/features/aera-slider.php CHANGED
@@ -66,10 +66,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
66
 
67
  //Pro feature
68
  class Avril_slider__section_upgrade extends WP_Customize_Control {
69
- public function render_content() {
 
 
70
  ?>
71
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
72
  <?php
 
 
 
 
 
73
  }
74
  }
75
 
66
 
67
  //Pro feature
68
  class Avril_slider__section_upgrade extends WP_Customize_Control {
69
+ public function render_content() {
70
+ $theme = wp_get_theme(); // gets the current theme
71
+ if ( 'Aera' == $theme->name){
72
  ?>
73
  <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
74
  <?php
75
+ }elseif ( 'Avail' == $theme->name){
76
+ ?>
77
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avail'); ?></a>
78
+ <?php
79
+ }
80
  }
81
  }
82
 
inc/avril/features/avril-features.php CHANGED
@@ -188,12 +188,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank"
191
- style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
 
 
 
 
 
 
192
  <?php
193
  }else{
194
  ?>
195
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank"
196
- style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
197
  <?php
198
  }
199
  }
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank"
191
+ style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
192
+
193
+ <?php }elseif ( 'Avail' == $theme->name){ ?>
194
+
195
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank"
196
+ style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
197
+
198
  <?php
199
  }else{
200
  ?>
201
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank"
202
+ style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
203
  <?php
204
  }
205
  }
inc/avril/features/avril-header.php CHANGED
@@ -128,6 +128,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
128
  if ( 'Aera' == $theme->name){
129
  ?>
130
  <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','avril'); ?></a>
 
 
 
 
 
131
  <?php
132
  }else{
133
  ?>
128
  if ( 'Aera' == $theme->name){
129
  ?>
130
  <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','avril'); ?></a>
131
+
132
+ <?php }elseif ( 'Avail' == $theme->name){ ?>
133
+
134
+ <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','avril'); ?></a>
135
+
136
  <?php
137
  }else{
138
  ?>
inc/avril/features/avril-service.php CHANGED
@@ -188,6 +188,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
 
 
 
 
 
191
  <?php
192
  }else{
193
  ?>
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
  <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
191
+
192
+ <?php }elseif ( 'Avail' == $theme->name){ ?>
193
+
194
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
195
+
196
  <?php
197
  }else{
198
  ?>
readme.txt CHANGED
@@ -84,6 +84,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
84
 
85
  == Changelog ==
86
 
 
 
 
87
  = 3.5 =
88
  * Conceptly Theme Text Domain Updated
89
 
84
 
85
  == Changelog ==
86
 
87
+ = 3.6 =
88
+ * Avail Theme Upsale links Added
89
+
90
  = 3.5 =
91
  * Conceptly Theme Text Domain Updated
92