Clever Fox - Version 5.4

Version Description

  • MetaSoft Upsale Links Added
  • Readme Updated
  • MetaSoft Section Hide / Show Setting Added
Download this release

Release Info

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

Code changes from version 5.3 to 5.4

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 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
6
- Version: 5.3
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 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
6
+ Version: 5.4
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/metasoft/features/metasoft-expertise.php CHANGED
@@ -12,6 +12,47 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
12
  )
13
  );
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  // Expertise Header Section //
16
  $wp_customize->add_setting(
17
  'expertise_headings'
@@ -145,7 +186,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
145
  class Metasoft_expertise__section_upgrade extends WP_Customize_Control {
146
  public function render_content() {
147
  ?>
148
- <span class="customizer_expertise_upgrade_section up-to-pro" style="display: none;"></span>
149
  <?php
150
  }
151
  }
12
  )
13
  );
14
 
15
+ /*=========================================
16
+ Expertise Setting
17
+ =========================================*/
18
+ $wp_customize->add_setting(
19
+ 'expertise_setting_head'
20
+ ,array(
21
+ 'capability' => 'edit_theme_options',
22
+ 'sanitize_callback' => 'metasoft_sanitize_text',
23
+ 'priority' => 1,
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_control(
28
+ 'expertise_setting_head',
29
+ array(
30
+ 'type' => 'hidden',
31
+ 'label' => __('Setting','clever-fox'),
32
+ 'section' => 'expertise_setting',
33
+ )
34
+ );
35
+
36
+ // Hide / Show
37
+ $wp_customize->add_setting(
38
+ 'expertise_home_hs'
39
+ ,array(
40
+ 'default' => '1',
41
+ 'capability' => 'edit_theme_options',
42
+ 'sanitize_callback' => 'metasoft_sanitize_checkbox',
43
+ 'priority' => 1,
44
+ )
45
+ );
46
+
47
+ $wp_customize->add_control(
48
+ 'expertise_home_hs',
49
+ array(
50
+ 'type' => 'checkbox',
51
+ 'label' => __('Hide / Show','clever-fox'),
52
+ 'section' => 'expertise_setting',
53
+ )
54
+ );
55
+
56
  // Expertise Header Section //
57
  $wp_customize->add_setting(
58
  'expertise_headings'
186
  class Metasoft_expertise__section_upgrade extends WP_Customize_Control {
187
  public function render_content() {
188
  ?>
189
+ <a class="customizer_expertise_upgrade_section up-to-pro" href="https://www.nayrathemes.com/metasoft-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
190
  <?php
191
  }
192
  }
inc/metasoft/features/metasoft-header.php CHANGED
@@ -335,7 +335,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
335
  class Metasoft_social__section_upgrade extends WP_Customize_Control {
336
  public function render_content() {
337
  ?>
338
- <span class="customizer_social_upgrade_section up-to-pro" style="display: none;"></span>
339
  <?php
340
  }
341
  }
335
  class Metasoft_social__section_upgrade extends WP_Customize_Control {
336
  public function render_content() {
337
  ?>
338
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/metasoft-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
339
  <?php
340
  }
341
  }
inc/metasoft/features/metasoft-info.php CHANGED
@@ -12,6 +12,46 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
12
  )
13
  );
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  /*=========================================
16
  Info contents
17
  =========================================*/
@@ -68,7 +108,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  class Metasoft_info__section_upgrade extends WP_Customize_Control {
69
  public function render_content() {
70
  ?>
71
- <span class="customizer_info_upgrade_section up-to-pro" style="display: none;"></span>
72
  <?php
73
  }
74
  }
12
  )
13
  );
14
 
15
+ /*=========================================
16
+ Info Setting
17
+ =========================================*/
18
+ $wp_customize->add_setting(
19
+ 'info_setting_head'
20
+ ,array(
21
+ 'capability' => 'edit_theme_options',
22
+ 'sanitize_callback' => 'metasoft_sanitize_text',
23
+ 'priority' => 1,
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_control(
28
+ 'info_setting_head',
29
+ array(
30
+ 'type' => 'hidden',
31
+ 'label' => __('Setting','clever-fox'),
32
+ 'section' => 'info_setting',
33
+ )
34
+ );
35
+
36
+ // Hide / Show
37
+ $wp_customize->add_setting(
38
+ 'info_hs'
39
+ ,array(
40
+ 'default' => '1',
41
+ 'capability' => 'edit_theme_options',
42
+ 'sanitize_callback' => 'metasoft_sanitize_checkbox',
43
+ 'priority' => 1,
44
+ )
45
+ );
46
+
47
+ $wp_customize->add_control(
48
+ 'info_hs',
49
+ array(
50
+ 'type' => 'checkbox',
51
+ 'label' => __('Hide / Show','clever-fox'),
52
+ 'section' => 'info_setting',
53
+ )
54
+ );
55
  /*=========================================
56
  Info contents
57
  =========================================*/
108
  class Metasoft_info__section_upgrade extends WP_Customize_Control {
109
  public function render_content() {
110
  ?>
111
+ <a class="customizer_info_upgrade_section up-to-pro" href="https://www.nayrathemes.com/metasoft-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
112
  <?php
113
  }
114
  }
inc/metasoft/features/metasoft-service.php CHANGED
@@ -11,7 +11,48 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
11
  'panel' => 'metasoft_frontpage_sections',
12
  )
13
  );
14
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  // Service Header Section //
16
  $wp_customize->add_setting(
17
  'service_headings'
@@ -126,7 +167,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
126
  class Metasoft_service__section_upgrade extends WP_Customize_Control {
127
  public function render_content() {
128
  ?>
129
- <span class="customizer_service_upgrade_section up-to-pro" style="display: none;"></span>
130
  <?php
131
  }
132
  }
11
  'panel' => 'metasoft_frontpage_sections',
12
  )
13
  );
14
+
15
+ /*=========================================
16
+ Service Setting
17
+ =========================================*/
18
+ $wp_customize->add_setting(
19
+ 'service_setting_head'
20
+ ,array(
21
+ 'capability' => 'edit_theme_options',
22
+ 'sanitize_callback' => 'metasoft_sanitize_text',
23
+ 'priority' => 1,
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_control(
28
+ 'service_setting_head',
29
+ array(
30
+ 'type' => 'hidden',
31
+ 'label' => __('Setting','clever-fox'),
32
+ 'section' => 'service_setting',
33
+ )
34
+ );
35
+
36
+ // Hide / Show
37
+ $wp_customize->add_setting(
38
+ 'service_hs'
39
+ ,array(
40
+ 'default' => '1',
41
+ 'capability' => 'edit_theme_options',
42
+ 'sanitize_callback' => 'metasoft_sanitize_checkbox',
43
+ 'priority' => 1,
44
+ )
45
+ );
46
+
47
+ $wp_customize->add_control(
48
+ 'service_hs',
49
+ array(
50
+ 'type' => 'checkbox',
51
+ 'label' => __('Hide / Show','clever-fox'),
52
+ 'section' => 'service_setting',
53
+ )
54
+ );
55
+
56
  // Service Header Section //
57
  $wp_customize->add_setting(
58
  'service_headings'
167
  class Metasoft_service__section_upgrade extends WP_Customize_Control {
168
  public function render_content() {
169
  ?>
170
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/metasoft-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
171
  <?php
172
  }
173
  }
inc/metasoft/features/metasoft-slider.php CHANGED
@@ -69,7 +69,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
69
  class Metasoft_slider__section_upgrade extends WP_Customize_Control {
70
  public function render_content() {
71
  ?>
72
- <span class="customizer_slider_upgrade_section up-to-pro" style="display: none;"></span>
73
  <?php
74
  }
75
  }
69
  class Metasoft_slider__section_upgrade extends WP_Customize_Control {
70
  public function render_content() {
71
  ?>
72
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/metasoft-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
73
  <?php
74
  }
75
  }
inc/metasoft/sections/section-expertise.php CHANGED
@@ -1,10 +1,12 @@
1
  <?php
2
  if ( ! function_exists( 'metasoft_lite_expertise' ) ) :
3
  function metasoft_lite_expertise() {
 
4
  $expertise_title = get_theme_mod('expertise_title','Our <span class="text-primary">Core Expertise</span>');
5
  $expertise_description = get_theme_mod('expertise_description','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.');
6
  $expertise_hs = get_theme_mod('expertise_hs','1');
7
  $expt_success_hs = get_theme_mod('expt_success_hs','1');
 
8
  ?>
9
  <!-- Our Core Expertise Start -->
10
  <section id="expertise-wrapper" class="expertise-wrapper bs-py-default expertise-home">
@@ -102,7 +104,7 @@ if ( ! function_exists( 'metasoft_lite_expertise' ) ) :
102
  </div>
103
  </section>
104
  <?php
105
- }
106
  endif;
107
  if ( function_exists( 'metasoft_lite_expertise' ) ) {
108
  $section_priority = apply_filters( 'metasoft_section_priority', 14, 'metasoft_lite_expertise' );
1
  <?php
2
  if ( ! function_exists( 'metasoft_lite_expertise' ) ) :
3
  function metasoft_lite_expertise() {
4
+ $expertise_home_hs = get_theme_mod('expertise_home_hs','1');
5
  $expertise_title = get_theme_mod('expertise_title','Our <span class="text-primary">Core Expertise</span>');
6
  $expertise_description = get_theme_mod('expertise_description','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.');
7
  $expertise_hs = get_theme_mod('expertise_hs','1');
8
  $expt_success_hs = get_theme_mod('expt_success_hs','1');
9
+ if(!empty($expertise_home_hs)){
10
  ?>
11
  <!-- Our Core Expertise Start -->
12
  <section id="expertise-wrapper" class="expertise-wrapper bs-py-default expertise-home">
104
  </div>
105
  </section>
106
  <?php
107
+ }}
108
  endif;
109
  if ( function_exists( 'metasoft_lite_expertise' ) ) {
110
  $section_priority = apply_filters( 'metasoft_section_priority', 14, 'metasoft_lite_expertise' );
inc/metasoft/sections/section-info.php CHANGED
@@ -1,7 +1,9 @@
1
  <?php
2
  if ( ! function_exists( 'metasoft_lite_info' ) ) :
3
  function metasoft_lite_info() {
 
4
  $info_contents = get_theme_mod('info_contents',metasoft_get_info_default());
 
5
  ?>
6
  <!-- Info Section -->
7
  <section id="info-section" class="info-section">
@@ -43,7 +45,7 @@ if ( ! function_exists( 'metasoft_lite_info' ) ) :
43
  </div>
44
  </section>
45
  <?php
46
- }
47
  endif;
48
  if ( function_exists( 'metasoft_lite_info' ) ) {
49
  $section_priority = apply_filters( 'metasoft_section_priority', 12, 'metasoft_lite_info' );
1
  <?php
2
  if ( ! function_exists( 'metasoft_lite_info' ) ) :
3
  function metasoft_lite_info() {
4
+ $info_hs = get_theme_mod('info_hs','1');
5
  $info_contents = get_theme_mod('info_contents',metasoft_get_info_default());
6
+ if(!empty($info_hs)){
7
  ?>
8
  <!-- Info Section -->
9
  <section id="info-section" class="info-section">
45
  </div>
46
  </section>
47
  <?php
48
+ }}
49
  endif;
50
  if ( function_exists( 'metasoft_lite_info' ) ) {
51
  $section_priority = apply_filters( 'metasoft_section_priority', 12, 'metasoft_lite_info' );
inc/metasoft/sections/section-service.php CHANGED
@@ -1,9 +1,11 @@
1
  <?php
2
  if ( ! function_exists( 'metasoft_lite_service' ) ) :
3
  function metasoft_lite_service() {
 
4
  $service_title = get_theme_mod('service_title','Quality <span class="text-primary">Services</span>');
5
  $service_description = get_theme_mod('service_description','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.');
6
  $service_contents = get_theme_mod('service_contents',metasoft_get_service_default());
 
7
  ?>
8
  <!-- Quality Services -->
9
  <section id="services-wrapper" class="services-wrapper bs-py-default service-home">
@@ -54,7 +56,7 @@ if ( ! function_exists( 'metasoft_lite_service' ) ) :
54
  </div>
55
  </section>
56
  <?php
57
- }
58
  endif;
59
  if ( function_exists( 'metasoft_lite_service' ) ) {
60
  $section_priority = apply_filters( 'metasoft_section_priority', 13, 'metasoft_lite_service' );
1
  <?php
2
  if ( ! function_exists( 'metasoft_lite_service' ) ) :
3
  function metasoft_lite_service() {
4
+ $service_hs = get_theme_mod('service_hs','1');
5
  $service_title = get_theme_mod('service_title','Quality <span class="text-primary">Services</span>');
6
  $service_description = get_theme_mod('service_description','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.');
7
  $service_contents = get_theme_mod('service_contents',metasoft_get_service_default());
8
+ if(!empty($service_hs)){
9
  ?>
10
  <!-- Quality Services -->
11
  <section id="services-wrapper" class="services-wrapper bs-py-default service-home">
56
  </div>
57
  </section>
58
  <?php
59
+ }}
60
  endif;
61
  if ( function_exists( 'metasoft_lite_service' ) ) {
62
  $section_priority = apply_filters( 'metasoft_section_priority', 13, 'metasoft_lite_service' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
  Tested up to: 5.7.2
6
  Requires PHP: 5.6
7
- Stable tag: 5.3
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -41,6 +41,7 @@ Clever Fox plugin to enhance the functionality of free themes made by Nayra Them
41
  - [Avail](https://wordpress.org/themes/avail/)
42
  - [Thai Spa](https://wordpress.org/themes/thai-spa/)
43
  - [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
 
44
 
45
 
46
 
@@ -82,6 +83,7 @@ Yes, This plugin is specially make for Nayra Themes . You can install theme for
82
  - [Avail](https://wordpress.org/themes/avail/)
83
  - [Thai Spa](https://wordpress.org/themes/thai-spa/)
84
  - [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
 
85
 
86
  == License ==
87
 
@@ -91,6 +93,11 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
94
  = 5.3 =
95
  * MetaSoft Theme Functionality Added
96
  * StartKit, StartBiz & Arowana Theme Functionality Improved & Design Changes
4
  Requires at least: 4.0
5
  Tested up to: 5.7.2
6
  Requires PHP: 5.6
7
+ Stable tag: 5.4
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
41
  - [Avail](https://wordpress.org/themes/avail/)
42
  - [Thai Spa](https://wordpress.org/themes/thai-spa/)
43
  - [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
44
+ - [MetaSoft](https://wordpress.org/themes/metasoft/)
45
 
46
 
47
 
83
  - [Avail](https://wordpress.org/themes/avail/)
84
  - [Thai Spa](https://wordpress.org/themes/thai-spa/)
85
  - [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
86
+ - [MetaSoft](https://wordpress.org/themes/metasoft/)
87
 
88
  == License ==
89
 
93
 
94
  == Changelog ==
95
 
96
+ = 5.4 =
97
+ * MetaSoft Upsale Links Added
98
+ * Readme Updated
99
+ * MetaSoft Section Hide / Show Setting Added
100
+
101
  = 5.3 =
102
  * MetaSoft Theme Functionality Added
103
  * StartKit, StartBiz & Arowana Theme Functionality Improved & Design Changes