Version Description
- Fiona Upsale Links Added
- Readme Updated
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 5.1 |
Comparing to | |
See all releases |
Code changes from version 5.0 to 5.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: 5.
|
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.1
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
inc/fiona-blog/features/fiona-blog-header.php
CHANGED
@@ -270,7 +270,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
270 |
public function render_content() {
|
271 |
$theme = wp_get_theme(); // gets the current theme
|
272 |
?>
|
273 |
-
<
|
274 |
<?php
|
275 |
}
|
276 |
}
|
@@ -285,11 +285,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
285 |
'fiona_blog_hdr_social_upgrade_to_pro',
|
286 |
array(
|
287 |
'section' => 'above_header',
|
288 |
-
'settings' => '
|
289 |
)
|
290 |
)
|
291 |
);
|
292 |
-
|
293 |
|
294 |
}
|
295 |
add_action( 'customize_register', 'fiona_blog_lite_header_settings' );
|
270 |
public function render_content() {
|
271 |
$theme = wp_get_theme(); // gets the current theme
|
272 |
?>
|
273 |
+
<a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/fiona-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
|
274 |
<?php
|
275 |
}
|
276 |
}
|
285 |
'fiona_blog_hdr_social_upgrade_to_pro',
|
286 |
array(
|
287 |
'section' => 'above_header',
|
288 |
+
'settings' => 'fiona_blog_hdr_social_upgrade_to_pro',
|
289 |
)
|
290 |
)
|
291 |
);
|
|
|
292 |
|
293 |
}
|
294 |
add_action( 'customize_register', 'fiona_blog_lite_header_settings' );
|
inc/fiona-blog/features/fiona-blog-slider.php
CHANGED
@@ -74,6 +74,33 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
74 |
) )
|
75 |
);
|
76 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
78 |
|
79 |
add_action( 'customize_register', 'fiona_blog_slider_setting' );
|
74 |
) )
|
75 |
);
|
76 |
}
|
77 |
+
|
78 |
+
|
79 |
+
//Pro feature
|
80 |
+
class Fiona_slider__section_upgrade extends WP_Customize_Control {
|
81 |
+
public function render_content() {
|
82 |
+
$theme = wp_get_theme(); // gets the current theme
|
83 |
+
?>
|
84 |
+
<a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/fiona-pro/" target="_blank"><?php _e('Get More Features ?','clever-fox'); ?></a>
|
85 |
+
<?php
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
$wp_customize->add_setting( 'fiona_blog_slider_upgrade_to_pro', array(
|
90 |
+
'capability' => 'edit_theme_options',
|
91 |
+
'sanitize_callback' => 'wp_filter_nohtml_kses',
|
92 |
+
));
|
93 |
+
$wp_customize->add_control(
|
94 |
+
new Fiona_slider__section_upgrade(
|
95 |
+
$wp_customize,
|
96 |
+
'fiona_blog_slider_upgrade_to_pro',
|
97 |
+
array(
|
98 |
+
'section' => 'slider_setting',
|
99 |
+
'settings' => 'fiona_blog_slider_upgrade_to_pro',
|
100 |
+
)
|
101 |
+
)
|
102 |
+
);
|
103 |
+
|
104 |
}
|
105 |
|
106 |
add_action( 'customize_register', 'fiona_blog_slider_setting' );
|
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.1
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 5.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -40,6 +40,7 @@ Clever Fox plugin to enhance the functionality of free themes made by Nayra Them
|
|
40 |
- [Aera](https://wordpress.org/themes/aera/)
|
41 |
- [Avail](https://wordpress.org/themes/avail/)
|
42 |
- [Thai Spa](https://wordpress.org/themes/thai-spa/)
|
|
|
43 |
|
44 |
|
45 |
|
@@ -80,6 +81,7 @@ Yes, This plugin is specially make for Nayra Themes . You can install theme for
|
|
80 |
- [Aera](https://wordpress.org/themes/aera/)
|
81 |
- [Avail](https://wordpress.org/themes/avail/)
|
82 |
- [Thai Spa](https://wordpress.org/themes/thai-spa/)
|
|
|
83 |
|
84 |
== License ==
|
85 |
|
@@ -89,6 +91,10 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
|
|
92 |
= 5.0 =
|
93 |
* Text Domain Updated in Aera Theme File
|
94 |
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.7.1
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 5.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
40 |
- [Aera](https://wordpress.org/themes/aera/)
|
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 |
|
81 |
- [Aera](https://wordpress.org/themes/aera/)
|
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 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 5.1 =
|
95 |
+
* Fiona Upsale Links Added
|
96 |
+
* Readme Updated
|
97 |
+
|
98 |
= 5.0 =
|
99 |
* Text Domain Updated in Aera Theme File
|
100 |
|