Version Description
- Fixed Issues in Conceptly Theme
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 1.1.37 |
Comparing to | |
See all releases |
Code changes from version 1.1.36 to 1.1.37
- clever-fox.php +1 -1
- inc/conceptly/dynamic-style.php +27 -0
- inc/conceptly/extras.php +6 -6
- inc/conceptly/features/conceptly-header.php +80 -0
- inc/conceptly/features/conceptly-info.php +1 -3
- inc/conceptly/sections/section-flash.php +1 -1
- inc/conceptly/sections/section-slider.php +0 -1
- readme.txt +3 -0
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.37
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/conceptly/dynamic-style.php
CHANGED
@@ -2,6 +2,33 @@
|
|
2 |
if( ! function_exists( 'cleverfox_conceptly_dynamic_styles' ) ):
|
3 |
function cleverfox_conceptly_dynamic_styles() {
|
4 |
$output_css = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
$hide_show_typography= get_theme_mod('hide_show_typography','off');
|
6 |
if( $hide_show_typography == '1' ){
|
7 |
/**
|
2 |
if( ! function_exists( 'cleverfox_conceptly_dynamic_styles' ) ):
|
3 |
function cleverfox_conceptly_dynamic_styles() {
|
4 |
$output_css = '';
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Slider
|
8 |
+
*/
|
9 |
+
$slider_opacity = get_theme_mod('slider_opacity');
|
10 |
+
$output_css .=" .theme-slider:after{
|
11 |
+
opacity: " .esc_attr($slider_opacity). ";
|
12 |
+
}\n";
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Breadcumb
|
16 |
+
*/
|
17 |
+
$breadcrumb_min_height = get_theme_mod('breadcrumb_min_height','100');
|
18 |
+
$output_css .=" #breadcrumb-area{
|
19 |
+
padding: " .esc_attr($breadcrumb_min_height). "px 0 " .esc_attr($breadcrumb_min_height). "px;
|
20 |
+
}\n";
|
21 |
+
|
22 |
+
$breadcrumb_align = get_theme_mod('breadcrumb_align','left');
|
23 |
+
$output_css .=" #breadcrumb-area{
|
24 |
+
text-align: " .esc_attr($breadcrumb_align). ";
|
25 |
+
}\n";
|
26 |
+
|
27 |
+
$breadcrumb_opacity= get_theme_mod('breadcrumb_opacity','0.3');
|
28 |
+
$output_css .=" #breadcrumb-area:after{
|
29 |
+
opacity: " .esc_attr($breadcrumb_opacity). ";
|
30 |
+
}\n";
|
31 |
+
|
32 |
$hide_show_typography= get_theme_mod('hide_show_typography','off');
|
33 |
if( $hide_show_typography == '1' ){
|
34 |
/**
|
inc/conceptly/extras.php
CHANGED
@@ -114,41 +114,41 @@ function conceptly_get_feature_default() {
|
|
114 |
array(
|
115 |
'title' => esc_html__( 'Business Growth', 'conceptly-pro' ),
|
116 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
117 |
-
'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
|
118 |
'id' => 'customizer_repeater_features_001',
|
119 |
),
|
120 |
array(
|
121 |
'title' => esc_html__( 'Sustainability', 'conceptly-pro' ),
|
122 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
123 |
-
'icon_value' => esc_html__( 'fa-
|
124 |
'id' => 'customizer_repeater_features_002',
|
125 |
|
126 |
),
|
127 |
array(
|
128 |
'title' => esc_html__( 'Performance', 'conceptly-pro' ),
|
129 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
130 |
-
'icon_value' => esc_html__( 'fa-
|
131 |
'id' => 'customizer_repeater_features_003',
|
132 |
|
133 |
),
|
134 |
array(
|
135 |
'title' => esc_html__( 'Organization', 'conceptly-pro' ),
|
136 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
137 |
-
'icon_value' => esc_html__( 'fa-
|
138 |
'id' => 'customizer_repeater_features_004',
|
139 |
|
140 |
),
|
141 |
array(
|
142 |
'title' => esc_html__( 'Saving Strategy', 'conceptly-pro' ),
|
143 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
144 |
-
'icon_value' => esc_html__( 'fa-
|
145 |
'id' => 'customizer_repeater_features_005',
|
146 |
|
147 |
),
|
148 |
array(
|
149 |
'title' => esc_html__( 'Retirement Planning', 'conceptly-pro' ),
|
150 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
151 |
-
'icon_value' => esc_html__( 'fa-
|
152 |
'id' => 'customizer_repeater_features_006',
|
153 |
|
154 |
),
|
114 |
array(
|
115 |
'title' => esc_html__( 'Business Growth', 'conceptly-pro' ),
|
116 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
117 |
+
'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
|
118 |
'id' => 'customizer_repeater_features_001',
|
119 |
),
|
120 |
array(
|
121 |
'title' => esc_html__( 'Sustainability', 'conceptly-pro' ),
|
122 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
123 |
+
'icon_value' => esc_html__( 'fa-cog', 'conceptly-pro' ),
|
124 |
'id' => 'customizer_repeater_features_002',
|
125 |
|
126 |
),
|
127 |
array(
|
128 |
'title' => esc_html__( 'Performance', 'conceptly-pro' ),
|
129 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
130 |
+
'icon_value' => esc_html__( 'fa-american-sign-language-interpreting', 'conceptly-pro' ),
|
131 |
'id' => 'customizer_repeater_features_003',
|
132 |
|
133 |
),
|
134 |
array(
|
135 |
'title' => esc_html__( 'Organization', 'conceptly-pro' ),
|
136 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
137 |
+
'icon_value' => esc_html__( 'fa-area-chart', 'conceptly-pro' ),
|
138 |
'id' => 'customizer_repeater_features_004',
|
139 |
|
140 |
),
|
141 |
array(
|
142 |
'title' => esc_html__( 'Saving Strategy', 'conceptly-pro' ),
|
143 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
144 |
+
'icon_value' => esc_html__( 'fa-coffee', 'conceptly-pro' ),
|
145 |
'id' => 'customizer_repeater_features_005',
|
146 |
|
147 |
),
|
148 |
array(
|
149 |
'title' => esc_html__( 'Retirement Planning', 'conceptly-pro' ),
|
150 |
'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
|
151 |
+
'icon_value' => esc_html__( 'fa-child', 'conceptly-pro' ),
|
152 |
'id' => 'customizer_repeater_features_006',
|
153 |
|
154 |
),
|
inc/conceptly/features/conceptly-header.php
CHANGED
@@ -253,6 +253,86 @@ function conceptly_lite_header_setting( $wp_customize ){
|
|
253 |
)
|
254 |
)
|
255 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
};
|
257 |
add_action( 'customize_register', 'conceptly_lite_header_setting' );
|
258 |
|
253 |
)
|
254 |
)
|
255 |
);
|
256 |
+
|
257 |
+
/*=========================================
|
258 |
+
Breadcrumb
|
259 |
+
=========================================*/
|
260 |
+
// Breadcrumb Height //
|
261 |
+
if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
|
262 |
+
$wp_customize->add_setting(
|
263 |
+
'breadcrumb_min_height' ,
|
264 |
+
array(
|
265 |
+
'default' => '100',
|
266 |
+
'capability' => 'edit_theme_options',
|
267 |
+
'sanitize_callback' => 'conceptly_sanitize_number_range',
|
268 |
+
'transport' => 'postMessage',
|
269 |
+
)
|
270 |
+
);
|
271 |
+
|
272 |
+
$wp_customize->add_control(
|
273 |
+
new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_min_height',
|
274 |
+
array(
|
275 |
+
'section' => 'breadcrumb_design',
|
276 |
+
'label' => __( 'Min Height','conceptly' ),
|
277 |
+
'input_attrs' => array(
|
278 |
+
'min' => 0,
|
279 |
+
'max' => 500,
|
280 |
+
'step' => 1,
|
281 |
+
//'suffix' => 'px', //optional suffix
|
282 |
+
),
|
283 |
+
) )
|
284 |
+
);
|
285 |
+
}
|
286 |
+
// Breadcrumb Align //
|
287 |
+
$wp_customize->add_setting(
|
288 |
+
'breadcrumb_align' ,
|
289 |
+
array(
|
290 |
+
'default' => __('left', 'conceptly' ),
|
291 |
+
'capability' => 'edit_theme_options',
|
292 |
+
'sanitize_callback' => 'conceptly_sanitize_select'
|
293 |
+
)
|
294 |
+
);
|
295 |
+
|
296 |
+
$wp_customize->add_control(
|
297 |
+
'breadcrumb_align' ,
|
298 |
+
array(
|
299 |
+
'label' => __( 'Alignment', 'conceptly' ),
|
300 |
+
'section' => 'breadcrumb_design',
|
301 |
+
'type' => 'select',
|
302 |
+
'priority' => 10,
|
303 |
+
'choices' =>
|
304 |
+
array(
|
305 |
+
'left' => __( 'Left', 'conceptly' ),
|
306 |
+
'center' => __( 'Center', 'conceptly' ),
|
307 |
+
'right' => __( 'Right', 'conceptly' )
|
308 |
+
)
|
309 |
+
)
|
310 |
+
);
|
311 |
+
if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
|
312 |
+
$wp_customize->add_setting(
|
313 |
+
'breadcrumb_opacity' ,
|
314 |
+
array(
|
315 |
+
'default' => '0.3',
|
316 |
+
'capability' => 'edit_theme_options',
|
317 |
+
'sanitize_callback' => 'conceptly_sanitize_text',
|
318 |
+
)
|
319 |
+
);
|
320 |
+
|
321 |
+
$wp_customize->add_control(
|
322 |
+
new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_opacity',
|
323 |
+
array(
|
324 |
+
'section' => 'breadcrumb_design',
|
325 |
+
'settings' => 'breadcrumb_opacity',
|
326 |
+
'label' => __( 'Background Opacity','conceptly' ),
|
327 |
+
'input_attrs' => array(
|
328 |
+
'min' => 0,
|
329 |
+
'max' => 0.9,
|
330 |
+
'step' => 0.1,
|
331 |
+
//'suffix' => 'px', //optional suffix
|
332 |
+
),
|
333 |
+
) )
|
334 |
+
);
|
335 |
+
}
|
336 |
};
|
337 |
add_action( 'customize_register', 'conceptly_lite_header_setting' );
|
338 |
|
inc/conceptly/features/conceptly-info.php
CHANGED
@@ -174,7 +174,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
174 |
$wp_customize->add_setting(
|
175 |
'infos_third_icon_setting',
|
176 |
array(
|
177 |
-
'default' => 'fa-
|
178 |
'sanitize_callback' => 'sanitize_text_field',
|
179 |
'capability' => 'edit_theme_options',
|
180 |
)
|
@@ -208,7 +208,6 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
208 |
'section' => 'info_setting',
|
209 |
'settings'=> 'info_title3',
|
210 |
'type' => 'text',
|
211 |
-
'description' => __('', 'conceptly-pro' ),
|
212 |
)
|
213 |
);
|
214 |
|
@@ -230,7 +229,6 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
230 |
'section' => 'info_setting',
|
231 |
'settings'=> 'info_description3',
|
232 |
'type' => 'text',
|
233 |
-
'description' => __('', 'conceptly-pro' ),
|
234 |
)
|
235 |
);
|
236 |
|
174 |
$wp_customize->add_setting(
|
175 |
'infos_third_icon_setting',
|
176 |
array(
|
177 |
+
'default' => 'fa-home',
|
178 |
'sanitize_callback' => 'sanitize_text_field',
|
179 |
'capability' => 'edit_theme_options',
|
180 |
)
|
208 |
'section' => 'info_setting',
|
209 |
'settings'=> 'info_title3',
|
210 |
'type' => 'text',
|
|
|
211 |
)
|
212 |
);
|
213 |
|
229 |
'section' => 'info_setting',
|
230 |
'settings'=> 'info_description3',
|
231 |
'type' => 'text',
|
|
|
232 |
)
|
233 |
);
|
234 |
|
inc/conceptly/sections/section-flash.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
$info_description3 = get_theme_mod('info_description3','On order over $57.00');
|
11 |
$infos_first_icon_setting= get_theme_mod('infos_first_icon_setting','fa-pencil');
|
12 |
$infos_second_icon_setting= get_theme_mod('infos_second_icon_setting','fa-refresh');
|
13 |
-
$infos_third_icon_setting= get_theme_mod('infos_third_icon_setting','fa-
|
14 |
?>
|
15 |
<!-- Start: Contact
|
16 |
============================= -->
|
10 |
$info_description3 = get_theme_mod('info_description3','On order over $57.00');
|
11 |
$infos_first_icon_setting= get_theme_mod('infos_first_icon_setting','fa-pencil');
|
12 |
$infos_second_icon_setting= get_theme_mod('infos_second_icon_setting','fa-refresh');
|
13 |
+
$infos_third_icon_setting= get_theme_mod('infos_third_icon_setting','fa-home');
|
14 |
?>
|
15 |
<!-- Start: Contact
|
16 |
============================= -->
|
inc/conceptly/sections/section-slider.php
CHANGED
@@ -4,7 +4,6 @@ if ( ! function_exists( 'conceptly_lite_slider' ) ) :
|
|
4 |
$default_content = conceptly_get_slides_default();
|
5 |
$slider = get_theme_mod('slider',$default_content);
|
6 |
$hide_show_slider = get_theme_mod('hide_show_slider','1');
|
7 |
-
$slider_opacity = get_theme_mod('slider_opacity');
|
8 |
|
9 |
if($hide_show_slider == '1') { ?>
|
10 |
<section id="slider">
|
4 |
$default_content = conceptly_get_slides_default();
|
5 |
$slider = get_theme_mod('slider',$default_content);
|
6 |
$hide_show_slider = get_theme_mod('hide_show_slider','1');
|
|
|
7 |
|
8 |
if($hide_show_slider == '1') { ?>
|
9 |
<section id="slider">
|
readme.txt
CHANGED
@@ -38,6 +38,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
38 |
|
39 |
== Changelog ==
|
40 |
|
|
|
|
|
|
|
41 |
= 1.1.36 =
|
42 |
* Pro link added in customizer button
|
43 |
|
38 |
|
39 |
== Changelog ==
|
40 |
|
41 |
+
= 1.1.37 =
|
42 |
+
* Fixed Issues in Conceptly Theme
|
43 |
+
|
44 |
= 1.1.36 =
|
45 |
* Pro link added in customizer button
|
46 |
|