Version Description
- Belltech Upsale Links Added
- Readme Updated
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 6.0 |
Comparing to | |
See all releases |
Code changes from version 5.9 to 6.0
- clever-fox.php +1 -1
- inc/belltech/features/metasoft-cta.php +62 -23
- inc/belltech/images/footer-logo.png +0 -0
- inc/belltech/images/logo.png +0 -0
- inc/belltech/sections/section-cta.php +11 -6
- inc/metasoft/features/metasoft-expertise.php +9 -1
- inc/metasoft/features/metasoft-header.php +9 -1
- inc/metasoft/features/metasoft-service.php +8 -1
- inc/metasoft/features/metasoft-slider.php +9 -1
- readme.txt +7 -1
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:
|
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: 6.0
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/belltech/features/metasoft-cta.php
CHANGED
@@ -7,52 +7,69 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
7 |
$wp_customize->add_section(
|
8 |
'cta_setting', array(
|
9 |
'title' => esc_html__( 'Call to Action Section', 'clever-fox' ),
|
10 |
-
'priority' =>
|
11 |
'panel' => 'metasoft_frontpage_sections',
|
12 |
)
|
13 |
);
|
14 |
|
15 |
-
|
|
|
|
|
16 |
$wp_customize->add_setting(
|
17 |
-
'
|
18 |
,array(
|
19 |
'capability' => 'edit_theme_options',
|
20 |
'sanitize_callback' => 'metasoft_sanitize_text',
|
21 |
-
'priority' =>
|
22 |
)
|
23 |
);
|
24 |
-
|
25 |
$wp_customize->add_control(
|
26 |
-
'
|
27 |
array(
|
28 |
'type' => 'hidden',
|
29 |
-
'label' => __('
|
30 |
'section' => 'cta_setting',
|
31 |
)
|
32 |
);
|
33 |
-
|
|
|
34 |
$wp_customize->add_setting(
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
'capability' => 'edit_theme_options',
|
39 |
-
'sanitize_callback' => '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
'priority' => 3,
|
41 |
)
|
42 |
-
);
|
43 |
|
44 |
$wp_customize->add_control(
|
45 |
-
|
46 |
array(
|
47 |
-
|
48 |
-
|
49 |
-
'
|
50 |
-
|
51 |
-
array(
|
52 |
-
'1' => __( 'Style 1', 'clever-fox' ),
|
53 |
-
'2' => __( 'Style 2 ', 'clever-fox' ),
|
54 |
-
)
|
55 |
-
)
|
56 |
);
|
57 |
|
58 |
// CTA Title //
|
@@ -192,6 +209,28 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
192 |
)
|
193 |
);
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
$wp_customize->add_setting(
|
196 |
'cta_btn_lbl2',
|
197 |
array(
|
7 |
$wp_customize->add_section(
|
8 |
'cta_setting', array(
|
9 |
'title' => esc_html__( 'Call to Action Section', 'clever-fox' ),
|
10 |
+
'priority' => 2,
|
11 |
'panel' => 'metasoft_frontpage_sections',
|
12 |
)
|
13 |
);
|
14 |
|
15 |
+
/*=========================================
|
16 |
+
CTA Setting
|
17 |
+
=========================================*/
|
18 |
$wp_customize->add_setting(
|
19 |
+
'cta_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 |
+
'cta_setting_head',
|
29 |
array(
|
30 |
'type' => 'hidden',
|
31 |
+
'label' => __('Setting','clever-fox'),
|
32 |
'section' => 'cta_setting',
|
33 |
)
|
34 |
);
|
35 |
+
|
36 |
+
// Hide / Show
|
37 |
$wp_customize->add_setting(
|
38 |
+
'cta_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 |
+
'cta_hs',
|
49 |
+
array(
|
50 |
+
'type' => 'checkbox',
|
51 |
+
'label' => __('Hide / Show','clever-fox'),
|
52 |
+
'section' => 'cta_setting',
|
53 |
+
)
|
54 |
+
);
|
55 |
+
|
56 |
+
// CTA Content Section //
|
57 |
+
$wp_customize->add_setting(
|
58 |
+
'cta_contents'
|
59 |
+
,array(
|
60 |
+
'capability' => 'edit_theme_options',
|
61 |
+
'sanitize_callback' => 'metasoft_sanitize_text',
|
62 |
'priority' => 3,
|
63 |
)
|
64 |
+
);
|
65 |
|
66 |
$wp_customize->add_control(
|
67 |
+
'cta_contents',
|
68 |
array(
|
69 |
+
'type' => 'hidden',
|
70 |
+
'label' => __('Content','clever-fox'),
|
71 |
+
'section' => 'cta_setting',
|
72 |
+
)
|
|
|
|
|
|
|
|
|
|
|
73 |
);
|
74 |
|
75 |
// CTA Title //
|
209 |
)
|
210 |
);
|
211 |
|
212 |
+
// icon //
|
213 |
+
$wp_customize->add_setting(
|
214 |
+
'cta_btn2_icon',
|
215 |
+
array(
|
216 |
+
'default' => 'fa-bell',
|
217 |
+
'sanitize_callback' => 'sanitize_text_field',
|
218 |
+
'capability' => 'edit_theme_options',
|
219 |
+
'priority' => 11,
|
220 |
+
)
|
221 |
+
);
|
222 |
+
|
223 |
+
$wp_customize->add_control(new MetaSoft_Icon_Picker_Control($wp_customize,
|
224 |
+
'cta_btn2_icon',
|
225 |
+
array(
|
226 |
+
'label' => __('Icon','clever-fox'),
|
227 |
+
'section' => 'cta_setting',
|
228 |
+
'iconset' => 'fa',
|
229 |
+
|
230 |
+
))
|
231 |
+
);
|
232 |
+
|
233 |
+
|
234 |
$wp_customize->add_setting(
|
235 |
'cta_btn_lbl2',
|
236 |
array(
|
inc/belltech/images/footer-logo.png
CHANGED
Binary file
|
inc/belltech/images/logo.png
CHANGED
Binary file
|
inc/belltech/sections/section-cta.php
CHANGED
@@ -1,13 +1,16 @@
|
|
1 |
<?php
|
2 |
if ( ! function_exists( 'belltech_lite_cta' ) ) :
|
3 |
function belltech_lite_cta() {
|
4 |
-
$
|
5 |
-
$
|
|
|
6 |
$cta_btn_lbl1 = get_theme_mod('cta_btn_lbl1','Contact With Us');
|
7 |
$cta_btn_link1 = get_theme_mod('cta_btn_link1');
|
8 |
$cta_btn_second_ttl = get_theme_mod('cta_btn_second_ttl','or');
|
9 |
$cta_btn_lbl2 = get_theme_mod('cta_btn_lbl2','+1 (088) 456 888 (24/7)');
|
10 |
$cta_btn_link2 = get_theme_mod('cta_btn_link2');
|
|
|
|
|
11 |
?>
|
12 |
<!-- Call to Action Start -->
|
13 |
<section id="cta-wrapper" class="cta-wrapper home-cta home-cta-3">
|
@@ -25,9 +28,11 @@ if ( ! function_exists( 'belltech_lite_cta' ) ) :
|
|
25 |
<div class="col-lg-6 col-sm-12 text-lg-right text-center my-lg-auto mt-4">
|
26 |
|
27 |
<div class="learn-more">
|
28 |
-
|
29 |
-
<
|
30 |
-
|
|
|
|
|
31 |
<a href="<?php echo esc_url($cta_btn_link2); ?>"><?php echo esc_html($cta_btn_lbl2); ?></a>
|
32 |
<div class="or"><?php echo esc_html($cta_btn_second_ttl); ?></div>
|
33 |
</div>
|
@@ -40,7 +45,7 @@ if ( ! function_exists( 'belltech_lite_cta' ) ) :
|
|
40 |
</div>
|
41 |
</section>
|
42 |
<?php
|
43 |
-
}
|
44 |
endif;
|
45 |
if ( function_exists( 'belltech_lite_cta' ) ) {
|
46 |
$section_priority = apply_filters( 'metasoft_section_priority', 12, 'belltech_lite_cta' );
|
1 |
<?php
|
2 |
if ( ! function_exists( 'belltech_lite_cta' ) ) :
|
3 |
function belltech_lite_cta() {
|
4 |
+
$cta_hs = get_theme_mod('cta_hs','1');
|
5 |
+
$cta_title = get_theme_mod('cta_title','Need Emergency <span>Plumbing Service?</span> Call us at');
|
6 |
+
$cta_description = get_theme_mod('cta_description','24 hours, 7 days a week, 365 days a year');
|
7 |
$cta_btn_lbl1 = get_theme_mod('cta_btn_lbl1','Contact With Us');
|
8 |
$cta_btn_link1 = get_theme_mod('cta_btn_link1');
|
9 |
$cta_btn_second_ttl = get_theme_mod('cta_btn_second_ttl','or');
|
10 |
$cta_btn_lbl2 = get_theme_mod('cta_btn_lbl2','+1 (088) 456 888 (24/7)');
|
11 |
$cta_btn_link2 = get_theme_mod('cta_btn_link2');
|
12 |
+
$cta_btn2_icon = get_theme_mod('cta_btn2_icon','fa-bell');
|
13 |
+
if($cta_hs =='1'){
|
14 |
?>
|
15 |
<!-- Call to Action Start -->
|
16 |
<section id="cta-wrapper" class="cta-wrapper home-cta home-cta-3">
|
28 |
<div class="col-lg-6 col-sm-12 text-lg-right text-center my-lg-auto mt-4">
|
29 |
|
30 |
<div class="learn-more">
|
31 |
+
<?php if ( ! empty( $cta_btn2_icon ) ) : ?>
|
32 |
+
<div class="cta-icon-box">
|
33 |
+
<i class="fa <?php echo esc_attr($cta_btn2_icon); ?>"></i>
|
34 |
+
</div>
|
35 |
+
<?php endif; ?>
|
36 |
<a href="<?php echo esc_url($cta_btn_link2); ?>"><?php echo esc_html($cta_btn_lbl2); ?></a>
|
37 |
<div class="or"><?php echo esc_html($cta_btn_second_ttl); ?></div>
|
38 |
</div>
|
45 |
</div>
|
46 |
</section>
|
47 |
<?php
|
48 |
+
}}
|
49 |
endif;
|
50 |
if ( function_exists( 'belltech_lite_cta' ) ) {
|
51 |
$section_priority = apply_filters( 'metasoft_section_priority', 12, 'belltech_lite_cta' );
|
inc/metasoft/features/metasoft-expertise.php
CHANGED
@@ -185,10 +185,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
185 |
//Pro feature
|
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 |
}
|
193 |
|
194 |
$wp_customize->add_setting( 'metasoft_expertise_upgrade_to_pro', array(
|
185 |
//Pro feature
|
186 |
class Metasoft_expertise__section_upgrade extends WP_Customize_Control {
|
187 |
public function render_content() {
|
188 |
+
$theme = wp_get_theme(); // gets the current theme
|
189 |
+
if( 'Belltech' == $theme->name ){
|
190 |
?>
|
191 |
+
|
192 |
+
<a class="customizer_expertise_upgrade_section up-to-pro" href="https://www.nayrathemes.com/belltech-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
|
193 |
+
|
194 |
+
<?php }else{ ?>
|
195 |
+
|
196 |
<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>
|
197 |
+
|
198 |
<?php
|
199 |
+
} }
|
200 |
}
|
201 |
|
202 |
$wp_customize->add_setting( 'metasoft_expertise_upgrade_to_pro', array(
|
inc/metasoft/features/metasoft-header.php
CHANGED
@@ -334,10 +334,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
334 |
//Pro feature
|
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 |
}
|
342 |
|
343 |
$wp_customize->add_setting( 'metasoft_social_upgrade_to_pro', array(
|
334 |
//Pro feature
|
335 |
class Metasoft_social__section_upgrade extends WP_Customize_Control {
|
336 |
public function render_content() {
|
337 |
+
$theme = wp_get_theme(); // gets the current theme
|
338 |
+
if( 'Belltech' == $theme->name ){
|
339 |
?>
|
340 |
+
|
341 |
+
<a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/belltech-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
|
342 |
+
|
343 |
+
<?php }else{ ?>
|
344 |
+
|
345 |
<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>
|
346 |
+
|
347 |
<?php
|
348 |
+
} }
|
349 |
}
|
350 |
|
351 |
$wp_customize->add_setting( 'metasoft_social_upgrade_to_pro', array(
|
inc/metasoft/features/metasoft-service.php
CHANGED
@@ -166,10 +166,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
166 |
//Pro feature
|
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 |
}
|
174 |
|
175 |
$wp_customize->add_setting( 'metasoft_service_upgrade_to_pro', array(
|
166 |
//Pro feature
|
167 |
class Metasoft_service__section_upgrade extends WP_Customize_Control {
|
168 |
public function render_content() {
|
169 |
+
$theme = wp_get_theme(); // gets the current theme
|
170 |
+
if( 'Belltech' == $theme->name ){
|
171 |
?>
|
172 |
+
<a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/belltech-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
|
173 |
+
|
174 |
+
<?php }else{ ?>
|
175 |
+
|
176 |
<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>
|
177 |
+
|
178 |
<?php
|
179 |
+
} }
|
180 |
}
|
181 |
|
182 |
$wp_customize->add_setting( 'metasoft_service_upgrade_to_pro', array(
|
inc/metasoft/features/metasoft-slider.php
CHANGED
@@ -68,10 +68,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
68 |
//Pro feature
|
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 |
}
|
76 |
|
77 |
$wp_customize->add_setting( 'metasoft_slider_upgrade_to_pro', array(
|
68 |
//Pro feature
|
69 |
class Metasoft_slider__section_upgrade extends WP_Customize_Control {
|
70 |
public function render_content() {
|
71 |
+
$theme = wp_get_theme(); // gets the current theme
|
72 |
+
if( 'Belltech' == $theme->name ){
|
73 |
?>
|
74 |
+
|
75 |
+
<a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/belltech-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
|
76 |
+
|
77 |
+
<?php }else{ ?>
|
78 |
+
|
79 |
<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>
|
80 |
+
|
81 |
<?php
|
82 |
+
} }
|
83 |
}
|
84 |
|
85 |
$wp_customize->add_setting( 'metasoft_slider_upgrade_to_pro', array(
|
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:
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -43,6 +43,7 @@ Clever Fox plugin to enhance the functionality of free themes made by Nayra Them
|
|
43 |
- [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
|
44 |
- [MetaSoft](https://wordpress.org/themes/metasoft/)
|
45 |
- [Envira](https://wordpress.org/themes/envira/)
|
|
|
46 |
|
47 |
|
48 |
|
@@ -86,6 +87,7 @@ Yes, This plugin is specially make for Nayra Themes . You can install theme for
|
|
86 |
- [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
|
87 |
- [MetaSoft](https://wordpress.org/themes/metasoft/)
|
88 |
- [Envira](https://wordpress.org/themes/envira/)
|
|
|
89 |
|
90 |
== License ==
|
91 |
|
@@ -95,6 +97,10 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
95 |
|
96 |
== Changelog ==
|
97 |
|
|
|
|
|
|
|
|
|
98 |
= 5.9 =
|
99 |
* Fiona Blog Theme Slider Navigator Issue Fixed
|
100 |
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.7.2
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 6.0
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
43 |
- [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
|
44 |
- [MetaSoft](https://wordpress.org/themes/metasoft/)
|
45 |
- [Envira](https://wordpress.org/themes/envira/)
|
46 |
+
- [Belltech](https://wordpress.org/themes/belltech/)
|
47 |
|
48 |
|
49 |
|
87 |
- [Fiona Blog](https://wordpress.org/themes/fiona-blog/)
|
88 |
- [MetaSoft](https://wordpress.org/themes/metasoft/)
|
89 |
- [Envira](https://wordpress.org/themes/envira/)
|
90 |
+
- [Belltech](https://wordpress.org/themes/belltech/)
|
91 |
|
92 |
== License ==
|
93 |
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 6.0 =
|
101 |
+
* Belltech Upsale Links Added
|
102 |
+
* Readme Updated
|
103 |
+
|
104 |
= 5.9 =
|
105 |
* Fiona Blog Theme Slider Navigator Issue Fixed
|
106 |
|