Clever Fox - Version 12.2

Version Description

  • Flavita Theme Upsale Links Added
Download this release

Release Info

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

Code changes from version 12.1 to 12.2

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: 12.1
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: 12.2
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/comoxa/features/comoxa-service.php CHANGED
@@ -177,7 +177,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
177
 
178
  <?php }elseif('Flavita' == $theme->name){ ?>
179
 
180
- <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>
181
  <?php
182
  }}
183
  }
177
 
178
  <?php }elseif('Flavita' == $theme->name){ ?>
179
 
180
+ <a class="customizer_service_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>
181
  <?php
182
  }}
183
  }
inc/flavita/features/gradiant-client.php CHANGED
@@ -12,6 +12,45 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
12
  )
13
  );
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  // Client Header Section //
16
  $wp_customize->add_setting(
17
  'client_headings'
@@ -126,7 +165,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
126
  class Gradiant_client_section_upgrade extends WP_Customize_Control {
127
  public function render_content() {
128
  ?>
129
- <a class="customizer_client_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>
130
  <?php
131
  }
132
  }
12
  )
13
  );
14
 
15
+ // Setting Head
16
+ $wp_customize->add_setting(
17
+ 'client_setting_head'
18
+ ,array(
19
+ 'capability' => 'edit_theme_options',
20
+ 'sanitize_callback' => 'gradiant_sanitize_text',
21
+ 'priority' => 1,
22
+ )
23
+ );
24
+
25
+ $wp_customize->add_control(
26
+ 'client_setting_head',
27
+ array(
28
+ 'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
+ 'section' => 'client_setting',
31
+ )
32
+ );
33
+
34
+ // Hide / Show
35
+ $wp_customize->add_setting(
36
+ 'client_hs'
37
+ ,array(
38
+ 'default' => '1',
39
+ 'capability' => 'edit_theme_options',
40
+ 'sanitize_callback' => 'gradiant_sanitize_checkbox',
41
+ 'priority' => 1,
42
+ )
43
+ );
44
+
45
+ $wp_customize->add_control(
46
+ 'client_hs',
47
+ array(
48
+ 'type' => 'checkbox',
49
+ 'label' => __('Hide / Show','clever-fox'),
50
+ 'section' => 'client_setting',
51
+ )
52
+ );
53
+
54
  // Client Header Section //
55
  $wp_customize->add_setting(
56
  'client_headings'
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
  }
inc/flavita/sections/section-client.php CHANGED
@@ -1,7 +1,9 @@
1
  <?php
 
2
  $client_title = get_theme_mod('client_title','We are <span class="primary-color">Working With</span>');
3
  $client_description = get_theme_mod('client_description','Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.');
4
  $client_contents = get_theme_mod('client_contents',gradiant_get_client_default());
 
5
  ?>
6
  <section id="client-section" class="client-section av-py-default client-home" data-roller="start:0.5">
7
  <div class="av-container">
@@ -49,4 +51,5 @@
49
  </div>
50
  </div>
51
  </div>
52
- </section>
 
1
  <?php
2
+ $client_hs = get_theme_mod('client_hs','1');
3
  $client_title = get_theme_mod('client_title','We are <span class="primary-color">Working With</span>');
4
  $client_description = get_theme_mod('client_description','Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.');
5
  $client_contents = get_theme_mod('client_contents',gradiant_get_client_default());
6
+ if($client_hs=='1'):
7
  ?>
8
  <section id="client-section" class="client-section av-py-default client-home" data-roller="start:0.5">
9
  <div class="av-container">
51
  </div>
52
  </div>
53
  </div>
54
+ </section>
55
+ <?php endif; ?>
inc/gradiant/features/gradiant-footer.php CHANGED
@@ -71,7 +71,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
71
 
72
  <?php }elseif('Flavita' == $theme->name){ ?>
73
 
74
- <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>
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>
71
 
72
  <?php }elseif('Flavita' == $theme->name){ ?>
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>
inc/gradiant/features/gradiant-header.php CHANGED
@@ -119,7 +119,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
119
 
120
  <?php }elseif('Flavita' == $theme->name){ ?>
121
 
122
- <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>
123
 
124
  <?php }else{ ?>
125
  <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>
119
 
120
  <?php }elseif('Flavita' == $theme->name){ ?>
121
 
122
+ <a class="customizer_social_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>
123
 
124
  <?php }else{ ?>
125
  <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>
inc/gradiant/features/gradiant-slider.php CHANGED
@@ -155,7 +155,7 @@ $theme = wp_get_theme(); // gets the current theme
155
 
156
  <?php }elseif('Flavita' == $theme->name){ ?>
157
 
158
- <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>
159
 
160
  <?php }else{ ?>
161
 
155
 
156
  <?php }elseif('Flavita' == $theme->name){ ?>
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
 
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: 12.1
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -128,6 +128,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
128
 
129
  == Changelog ==
130
 
 
 
 
131
  = 12.1 =
132
  * Flavita Theme Files Added
133
 
4
  Requires at least: 4.0
5
  Tested up to: 6.0
6
  Requires PHP: 5.6
7
+ Stable tag: 12.2
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
128
 
129
  == Changelog ==
130
 
131
+ = 12.2 =
132
+ * Flavita Theme Upsale Links Added
133
+
134
  = 12.1 =
135
  * Flavita Theme Files Added
136