Version Description
- Pro link added in customizer button
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 1.1.36 |
Comparing to | |
See all releases |
Code changes from version 1.1.35 to 1.1.36
- clever-fox.php +1 -1
- inc/assets/js/owl.carousel.min.js +1 -1
- inc/conceptly/extras.php +1 -7
- inc/conceptly/features/conceptly-features.php +25 -1
- inc/conceptly/features/conceptly-navigation.php +7 -3
- inc/conceptly/features/conceptly-service.php +24 -0
- inc/conceptly/features/conceptly-slider.php +27 -3
- inc/conceptly/features/conceptly-sponsers.php +26 -3
- inc/conceptly/sections/section-service.php +3 -1
- inc/hantus/features/section-service.php +1 -1
- inc/hantus/features/section-slider.php +1 -1
- inc/hantus/features/section-testimonial.php +1 -1
- readme.txt +3 -1
clever-fox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Clever Fox
|
4 |
Plugin URI:
|
5 |
Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
|
6 |
-
Version: 1.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: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
|
6 |
+
Version: 1.1.36
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/assets/js/owl.carousel.min.js
CHANGED
@@ -62,7 +62,7 @@ jQuery(function($) {
|
|
62 |
items: 2,
|
63 |
},
|
64 |
1000: {
|
65 |
-
items:
|
66 |
}
|
67 |
}
|
68 |
});
|
62 |
items: 2,
|
63 |
},
|
64 |
1000: {
|
65 |
+
items: 4
|
66 |
}
|
67 |
}
|
68 |
});
|
inc/conceptly/extras.php
CHANGED
@@ -189,13 +189,7 @@ function conceptly_get_feature_default() {
|
|
189 |
'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner04.png',
|
190 |
'id' => 'customizer_repeater_sponsers_004',
|
191 |
|
192 |
-
)
|
193 |
-
array(
|
194 |
-
'link' => esc_html__( '#', 'conceptly-pro' ),
|
195 |
-
'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner05.png',
|
196 |
-
'id' => 'customizer_repeater_sponsers_005',
|
197 |
-
|
198 |
-
),
|
199 |
)
|
200 |
)
|
201 |
);
|
189 |
'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner04.png',
|
190 |
'id' => 'customizer_repeater_sponsers_004',
|
191 |
|
192 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
)
|
194 |
)
|
195 |
);
|
inc/conceptly/features/conceptly-features.php
CHANGED
@@ -94,7 +94,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
94 |
new Conceptly_Repeater( $wp_customize,
|
95 |
'feature_content',
|
96 |
array(
|
97 |
-
'label' => esc_html__('
|
98 |
'section' => 'features_setting',
|
99 |
'add_field_label' => esc_html__( 'Add New Feature', 'conceptly-pro' ),
|
100 |
'item_name' => esc_html__( 'Feature', 'conceptly-pro' ),
|
@@ -105,6 +105,30 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
105 |
)
|
106 |
)
|
107 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
}
|
109 |
|
110 |
add_action( 'customize_register', 'conceptly_features_setting' );
|
94 |
new Conceptly_Repeater( $wp_customize,
|
95 |
'feature_content',
|
96 |
array(
|
97 |
+
'label' => esc_html__('Feature','conceptly-pro'),
|
98 |
'section' => 'features_setting',
|
99 |
'add_field_label' => esc_html__( 'Add New Feature', 'conceptly-pro' ),
|
100 |
'item_name' => esc_html__( 'Feature', 'conceptly-pro' ),
|
105 |
)
|
106 |
)
|
107 |
);
|
108 |
+
|
109 |
+
//Pro feature
|
110 |
+
class Conceptly_feature__section_upgrade extends WP_Customize_Control {
|
111 |
+
public function render_content() {
|
112 |
+
?>
|
113 |
+
<p class="customizer_feature_upgrade_section up-to-pro" href="#" target="_blank" style="display: none;"><?php _e('More Features are available in Premium Version.','conceptly'); ?></p>
|
114 |
+
<?php
|
115 |
+
}
|
116 |
+
}
|
117 |
+
|
118 |
+
$wp_customize->add_setting( 'conceptly_feature_upgrade_to_pro', array(
|
119 |
+
'capability' => 'edit_theme_options',
|
120 |
+
'sanitize_callback' => 'wp_filter_nohtml_kses',
|
121 |
+
));
|
122 |
+
$wp_customize->add_control(
|
123 |
+
new Conceptly_feature__section_upgrade(
|
124 |
+
$wp_customize,
|
125 |
+
'conceptly_feature_upgrade_to_pro',
|
126 |
+
array(
|
127 |
+
'section' => 'features_setting',
|
128 |
+
'settings' => 'conceptly_feature_upgrade_to_pro',
|
129 |
+
)
|
130 |
+
)
|
131 |
+
);
|
132 |
}
|
133 |
|
134 |
add_action( 'customize_register', 'conceptly_features_setting' );
|
inc/conceptly/features/conceptly-navigation.php
CHANGED
@@ -35,7 +35,8 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
|
|
35 |
'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
|
36 |
'icon' => 'info',
|
37 |
'controls' => array(
|
38 |
-
'feature_content'
|
|
|
39 |
),
|
40 |
)
|
41 |
),
|
@@ -170,7 +171,8 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
|
|
170 |
'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
|
171 |
'icon' => 'info',
|
172 |
'controls' => array(
|
173 |
-
'service_contents'
|
|
|
174 |
),
|
175 |
),
|
176 |
|
@@ -204,6 +206,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
|
|
204 |
'icon' => 'table',
|
205 |
'controls' => array(
|
206 |
'slider',
|
|
|
207 |
'slider_opacity'
|
208 |
),
|
209 |
),
|
@@ -236,7 +239,8 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
|
|
236 |
'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
|
237 |
'icon' => 'info',
|
238 |
'controls' => array(
|
239 |
-
'sponser_contents'
|
|
|
240 |
),
|
241 |
),
|
242 |
'second' => array(
|
35 |
'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
|
36 |
'icon' => 'info',
|
37 |
'controls' => array(
|
38 |
+
'feature_content',
|
39 |
+
'conceptly_feature_upgrade_to_pro'
|
40 |
),
|
41 |
)
|
42 |
),
|
171 |
'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
|
172 |
'icon' => 'info',
|
173 |
'controls' => array(
|
174 |
+
'service_contents',
|
175 |
+
'conceptly_service_upgrade_to_pro'
|
176 |
),
|
177 |
),
|
178 |
|
206 |
'icon' => 'table',
|
207 |
'controls' => array(
|
208 |
'slider',
|
209 |
+
'conceptly_slider_upgrade_to_pro',
|
210 |
'slider_opacity'
|
211 |
),
|
212 |
),
|
239 |
'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
|
240 |
'icon' => 'info',
|
241 |
'controls' => array(
|
242 |
+
'sponser_contents',
|
243 |
+
'conceptly_sponsor_upgrade_to_pro'
|
244 |
),
|
245 |
),
|
246 |
'second' => array(
|
inc/conceptly/features/conceptly-service.php
CHANGED
@@ -112,6 +112,30 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
112 |
)
|
113 |
)
|
114 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
}
|
116 |
|
117 |
add_action( 'customize_register', 'conceptly_service_setting' );
|
112 |
)
|
113 |
)
|
114 |
);
|
115 |
+
|
116 |
+
//Pro feature
|
117 |
+
class Conceptly_service__section_upgrade extends WP_Customize_Control {
|
118 |
+
public function render_content() {
|
119 |
+
?>
|
120 |
+
<p class="customizer_service_upgrade_section up-to-pro" href="#" target="_blank" style="display: none;"><?php _e('More Services Are available in Premium Version.','conceptly'); ?></p>
|
121 |
+
<?php
|
122 |
+
}
|
123 |
+
}
|
124 |
+
|
125 |
+
$wp_customize->add_setting( 'conceptly_service_upgrade_to_pro', array(
|
126 |
+
'capability' => 'edit_theme_options',
|
127 |
+
'sanitize_callback' => 'wp_filter_nohtml_kses',
|
128 |
+
));
|
129 |
+
$wp_customize->add_control(
|
130 |
+
new Conceptly_service__section_upgrade(
|
131 |
+
$wp_customize,
|
132 |
+
'conceptly_service_upgrade_to_pro',
|
133 |
+
array(
|
134 |
+
'section' => 'service_setting',
|
135 |
+
'settings' => 'conceptly_service_upgrade_to_pro',
|
136 |
+
)
|
137 |
+
)
|
138 |
+
);
|
139 |
}
|
140 |
|
141 |
add_action( 'customize_register', 'conceptly_service_setting' );
|
inc/conceptly/features/conceptly-slider.php
CHANGED
@@ -30,8 +30,8 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
30 |
array(
|
31 |
'label' => esc_html__('Slide','conceptly-pro'),
|
32 |
'section' => 'slider_setting',
|
33 |
-
'add_field_label' => esc_html__( 'Add New
|
34 |
-
'item_name' => esc_html__( '
|
35 |
'priority' => 2,
|
36 |
|
37 |
'customizer_repeater_icon_control' => false,
|
@@ -46,7 +46,31 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
46 |
)
|
47 |
)
|
48 |
);
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
// Slider Hide/ Show Setting //
|
51 |
$wp_customize->add_setting(
|
52 |
'hide_show_slider' ,
|
30 |
array(
|
31 |
'label' => esc_html__('Slide','conceptly-pro'),
|
32 |
'section' => 'slider_setting',
|
33 |
+
'add_field_label' => esc_html__( 'Add New Slider', 'conceptly-pro' ),
|
34 |
+
'item_name' => esc_html__( 'Slider', 'conceptly-pro' ),
|
35 |
'priority' => 2,
|
36 |
|
37 |
'customizer_repeater_icon_control' => false,
|
46 |
)
|
47 |
)
|
48 |
);
|
49 |
+
|
50 |
+
//Pro feature
|
51 |
+
class Conceptly_slider__section_upgrade extends WP_Customize_Control {
|
52 |
+
public function render_content() {
|
53 |
+
?>
|
54 |
+
<p class="customizer_slider_upgrade_section up-to-pro" href="" target="_blank" style="display: none;"><?php _e('More Slides Are available in Premium Version.','conceptly'); ?></p>
|
55 |
+
<?php
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
$wp_customize->add_setting( 'conceptly_slider_upgrade_to_pro', array(
|
60 |
+
'capability' => 'edit_theme_options',
|
61 |
+
'sanitize_callback' => 'wp_filter_nohtml_kses',
|
62 |
+
));
|
63 |
+
$wp_customize->add_control(
|
64 |
+
new Conceptly_slider__section_upgrade(
|
65 |
+
$wp_customize,
|
66 |
+
'conceptly_slider_upgrade_to_pro',
|
67 |
+
array(
|
68 |
+
'section' => 'slider_setting',
|
69 |
+
'settings' => 'conceptly_slider_upgrade_to_pro',
|
70 |
+
)
|
71 |
+
)
|
72 |
+
);
|
73 |
+
|
74 |
// Slider Hide/ Show Setting //
|
75 |
$wp_customize->add_setting(
|
76 |
'hide_show_slider' ,
|
inc/conceptly/features/conceptly-sponsers.php
CHANGED
@@ -54,16 +54,39 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
54 |
new Conceptly_Repeater( $wp_customize,
|
55 |
'sponser_contents',
|
56 |
array(
|
57 |
-
'label' => esc_html__('
|
58 |
'section' => 'sponsers_setting',
|
59 |
-
'add_field_label' => esc_html__( 'Add New
|
60 |
-
'item_name' => esc_html__( '
|
61 |
'priority' => 1,
|
62 |
'customizer_repeater_image_control' => true,
|
63 |
'customizer_repeater_link_control' => true,
|
64 |
)
|
65 |
)
|
66 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
// Sponsers Background Section //
|
69 |
// Background Image //
|
54 |
new Conceptly_Repeater( $wp_customize,
|
55 |
'sponser_contents',
|
56 |
array(
|
57 |
+
'label' => esc_html__('Sponsor','conceptly-pro'),
|
58 |
'section' => 'sponsers_setting',
|
59 |
+
'add_field_label' => esc_html__( 'Add New Sponsor', 'conceptly-pro' ),
|
60 |
+
'item_name' => esc_html__( 'Sponsor', 'conceptly-pro' ),
|
61 |
'priority' => 1,
|
62 |
'customizer_repeater_image_control' => true,
|
63 |
'customizer_repeater_link_control' => true,
|
64 |
)
|
65 |
)
|
66 |
);
|
67 |
+
//Pro feature
|
68 |
+
class Conceptly_sponsors__section_upgrade extends WP_Customize_Control {
|
69 |
+
public function render_content() {
|
70 |
+
?>
|
71 |
+
<p class="customizer_sponsors_upgrade_section up-to-pro" href="#" target="_blank" style="display: none;"><?php _e('More Sponsors Are available in Premium Version.','conceptly'); ?></p>
|
72 |
+
<?php
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
$wp_customize->add_setting( 'conceptly_sponsor_upgrade_to_pro', array(
|
77 |
+
'capability' => 'edit_theme_options',
|
78 |
+
'sanitize_callback' => 'wp_filter_nohtml_kses',
|
79 |
+
));
|
80 |
+
$wp_customize->add_control(
|
81 |
+
new Conceptly_sponsors__section_upgrade(
|
82 |
+
$wp_customize,
|
83 |
+
'conceptly_sponsor_upgrade_to_pro',
|
84 |
+
array(
|
85 |
+
'section' => 'sponsers_setting',
|
86 |
+
'settings' => 'conceptly_sponsor_upgrade_to_pro',
|
87 |
+
)
|
88 |
+
)
|
89 |
+
);
|
90 |
|
91 |
// Sponsers Background Section //
|
92 |
// Background Image //
|
inc/conceptly/sections/section-service.php
CHANGED
@@ -59,7 +59,9 @@ if($hide_show_service == '1') {?>
|
|
59 |
<?php endif; ?>
|
60 |
<div class="devider"></div>
|
61 |
<p><?php echo esc_html( $text ); ?></p>
|
62 |
-
|
|
|
|
|
63 |
</div>
|
64 |
</figcaption>
|
65 |
</figure>
|
59 |
<?php endif; ?>
|
60 |
<div class="devider"></div>
|
61 |
<p><?php echo esc_html( $text ); ?></p>
|
62 |
+
<?php if ( ! empty( $text2 ) ) : ?>
|
63 |
+
<a href="<?php echo esc_url( $link ); ?>" class="boxed-btn"><?php echo $text2 ?><i class="fa fa-arrow-right"></i></a>
|
64 |
+
<?php endif; ?>
|
65 |
</div>
|
66 |
</figcaption>
|
67 |
</figure>
|
inc/hantus/features/section-service.php
CHANGED
@@ -159,7 +159,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
159 |
class Hantus_service__section_upgrade extends WP_Customize_Control {
|
160 |
public function render_content() {
|
161 |
?>
|
162 |
-
<
|
163 |
<?php
|
164 |
}
|
165 |
}
|
159 |
class Hantus_service__section_upgrade extends WP_Customize_Control {
|
160 |
public function render_content() {
|
161 |
?>
|
162 |
+
<a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
163 |
<?php
|
164 |
}
|
165 |
}
|
inc/hantus/features/section-slider.php
CHANGED
@@ -72,7 +72,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
72 |
class Hantus_slider__section_upgrade extends WP_Customize_Control {
|
73 |
public function render_content() {
|
74 |
?>
|
75 |
-
<
|
76 |
<?php
|
77 |
}
|
78 |
}
|
72 |
class Hantus_slider__section_upgrade extends WP_Customize_Control {
|
73 |
public function render_content() {
|
74 |
?>
|
75 |
+
<a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
76 |
<?php
|
77 |
}
|
78 |
}
|
inc/hantus/features/section-testimonial.php
CHANGED
@@ -95,7 +95,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
95 |
class hantus_testimonial__upgrade_to_pro extends WP_Customize_Control {
|
96 |
public function render_content() {
|
97 |
?>
|
98 |
-
<
|
99 |
<?php
|
100 |
}
|
101 |
}
|
95 |
class hantus_testimonial__upgrade_to_pro extends WP_Customize_Control {
|
96 |
public function render_content() {
|
97 |
?>
|
98 |
+
<a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
|
99 |
<?php
|
100 |
}
|
101 |
}
|
readme.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
=== Clever Fox ===
|
2 |
-
|
3 |
Contributors: nayrathemes
|
4 |
Tags: startkit, startbiz, arowana, envira, hantus, conceptly
|
5 |
Requires at least: 4.0
|
@@ -39,6 +38,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
42 |
= 1.1.35 =
|
43 |
* Code Improvement
|
44 |
* Conceptly Theme Functionality Added
|
1 |
=== Clever Fox ===
|
|
|
2 |
Contributors: nayrathemes
|
3 |
Tags: startkit, startbiz, arowana, envira, hantus, conceptly
|
4 |
Requires at least: 4.0
|
38 |
|
39 |
== Changelog ==
|
40 |
|
41 |
+
= 1.1.36 =
|
42 |
+
* Pro link added in customizer button
|
43 |
+
|
44 |
= 1.1.35 =
|
45 |
* Code Improvement
|
46 |
* Conceptly Theme Functionality Added
|