Version Description
- Notice Added
- Footer Widget Added
Download this release
Release Info
Developer | nayrathemes |
Plugin | Clever Fox |
Version | 1.1.33 |
Comparing to | |
See all releases |
Code changes from version 1.1.32 to 1.1.33
- clever-fox.php +15 -1
- inc/arowana/default-widgets/default-widget.php +18 -3
- inc/envira/default-widgets/default-widget.php +18 -3
- inc/hantus/sections/section-testimonial.php +1 -0
- inc/startbiz/default-widgets/default-widget.php +18 -8
- inc/startkit/default-widgets/default-widget.php +17 -7
- readme.txt +4 -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
|
@@ -189,4 +189,18 @@ function cleverfox_startkit_home_page_sanitize_text( $input ) {
|
|
189 |
function cleverfox_hantus_home_page_sanitize_text( $input ) {
|
190 |
return wp_kses_post( force_balance_tags( $input ) );
|
191 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
?>
|
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.33
|
7 |
Author: nayrathemes
|
8 |
Author URI: https://nayrathemes.com
|
9 |
Text Domain: clever-fox
|
189 |
function cleverfox_hantus_home_page_sanitize_text( $input ) {
|
190 |
return wp_kses_post( force_balance_tags( $input ) );
|
191 |
}
|
192 |
+
|
193 |
+
function cleverfox_admin_notice() {
|
194 |
+
?>
|
195 |
+
<div class="notice notice-info is-dismissible">
|
196 |
+
<p>
|
197 |
+
<?php
|
198 |
+
|
199 |
+
echo sprintf(__('The Clever Fox plugin adds sections functionality to the <a href="theme-install.php?search=startkit">Startkit theme</a> and Others <a href="theme-install.php?search=nayrathemes">Nayra"s Themes</a>', 'clever-fox'));
|
200 |
+
?>
|
201 |
+
</p>
|
202 |
+
</div>
|
203 |
+
<?php
|
204 |
+
}
|
205 |
+
add_action( 'admin_notices', 'cleverfox_admin_notice' );
|
206 |
?>
|
inc/arowana/default-widgets/default-widget.php
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
-
'
|
4 |
-
'
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
7 |
),
|
8 |
'footer-widget-area' => array(
|
9 |
'text-1',
|
|
|
|
|
|
|
10 |
),
|
11 |
);
|
12 |
/* the default titles will appear */
|
@@ -18,7 +21,19 @@ $activate = array(
|
|
18 |
2 => array('title' => 'Recent Posts'),
|
19 |
3 => array('title' => 'Categories'),
|
20 |
));
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
update_option('sidebars_widgets', $activate);
|
23 |
$MediaId = get_option('startkit_media_id');
|
24 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
+
'sidebar-primary' => array(
|
4 |
+
'search-1',
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
7 |
),
|
8 |
'footer-widget-area' => array(
|
9 |
'text-1',
|
10 |
+
'categories-1',
|
11 |
+
'archives-1',
|
12 |
+
'search-1',
|
13 |
),
|
14 |
);
|
15 |
/* the default titles will appear */
|
21 |
2 => array('title' => 'Recent Posts'),
|
22 |
3 => array('title' => 'Categories'),
|
23 |
));
|
24 |
+
|
25 |
+
update_option('widget_categories', array(
|
26 |
+
1 => array('title' => 'Categories'),
|
27 |
+
2 => array('title' => 'Categories')));
|
28 |
+
|
29 |
+
update_option('widget_archives', array(
|
30 |
+
1 => array('title' => 'Archives'),
|
31 |
+
2 => array('title' => 'Archives')));
|
32 |
+
|
33 |
+
update_option('widget_search', array(
|
34 |
+
1 => array('title' => 'Search'),
|
35 |
+
2 => array('title' => 'Search')));
|
36 |
+
|
37 |
update_option('sidebars_widgets', $activate);
|
38 |
$MediaId = get_option('startkit_media_id');
|
39 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
inc/envira/default-widgets/default-widget.php
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
-
'
|
4 |
-
'
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
7 |
),
|
8 |
'footer-widget-area' => array(
|
9 |
'text-1',
|
|
|
|
|
|
|
10 |
),
|
11 |
);
|
12 |
/* the default titles will appear */
|
@@ -18,7 +21,19 @@ $activate = array(
|
|
18 |
2 => array('title' => 'Recent Posts'),
|
19 |
3 => array('title' => 'Categories'),
|
20 |
));
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
update_option('sidebars_widgets', $activate);
|
23 |
$MediaId = get_option('startkit_media_id');
|
24 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
+
'sidebar-primary' => array(
|
4 |
+
'search-1',
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
7 |
),
|
8 |
'footer-widget-area' => array(
|
9 |
'text-1',
|
10 |
+
'categories-1',
|
11 |
+
'archives-1',
|
12 |
+
'search-1',
|
13 |
),
|
14 |
);
|
15 |
/* the default titles will appear */
|
21 |
2 => array('title' => 'Recent Posts'),
|
22 |
3 => array('title' => 'Categories'),
|
23 |
));
|
24 |
+
|
25 |
+
update_option('widget_categories', array(
|
26 |
+
1 => array('title' => 'Categories'),
|
27 |
+
2 => array('title' => 'Categories')));
|
28 |
+
|
29 |
+
update_option('widget_archives', array(
|
30 |
+
1 => array('title' => 'Archives'),
|
31 |
+
2 => array('title' => 'Archives')));
|
32 |
+
|
33 |
+
update_option('widget_search', array(
|
34 |
+
1 => array('title' => 'Search'),
|
35 |
+
2 => array('title' => 'Search')));
|
36 |
+
|
37 |
update_option('sidebars_widgets', $activate);
|
38 |
$MediaId = get_option('startkit_media_id');
|
39 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
inc/hantus/sections/section-testimonial.php
CHANGED
@@ -83,6 +83,7 @@
|
|
83 |
<?php
|
84 |
if ( ! empty( $testimonial_contents ) ) {
|
85 |
foreach ( $testimonial_contents as $testimonial_item ) {
|
|
|
86 |
echo '<img src='.esc_url( $image ).' data-dots="1" class="item" />';
|
87 |
}
|
88 |
}
|
83 |
<?php
|
84 |
if ( ! empty( $testimonial_contents ) ) {
|
85 |
foreach ( $testimonial_contents as $testimonial_item ) {
|
86 |
+
$image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hantus_translate_single_string', $testimonial_item->image_url, 'testimonial section' ) : '';
|
87 |
echo '<img src='.esc_url( $image ).' data-dots="1" class="item" />';
|
88 |
}
|
89 |
}
|
inc/startbiz/default-widgets/default-widget.php
CHANGED
@@ -1,17 +1,15 @@
|
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
-
|
4 |
-
|
5 |
-
// 'recent-posts-1',
|
6 |
-
// 'archives-1',
|
7 |
-
// ),
|
8 |
-
'footer-widget-area' => array(
|
9 |
-
'footer-widget-area',
|
10 |
'recent-posts-1',
|
11 |
'archives-1',
|
12 |
),
|
13 |
'footer-widget-area' => array(
|
14 |
'text-1',
|
|
|
|
|
|
|
15 |
),
|
16 |
);
|
17 |
/* the default titles will appear */
|
@@ -23,7 +21,19 @@ $activate = array(
|
|
23 |
2 => array('title' => 'Recent Posts'),
|
24 |
3 => array('title' => 'Categories'),
|
25 |
));
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
update_option('sidebars_widgets', $activate);
|
28 |
$MediaId = get_option('startkit_media_id');
|
29 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
+
'sidebar-primary' => array(
|
4 |
+
'search-1',
|
|
|
|
|
|
|
|
|
|
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
7 |
),
|
8 |
'footer-widget-area' => array(
|
9 |
'text-1',
|
10 |
+
'categories-1',
|
11 |
+
'archives-1',
|
12 |
+
'search-1',
|
13 |
),
|
14 |
);
|
15 |
/* the default titles will appear */
|
21 |
2 => array('title' => 'Recent Posts'),
|
22 |
3 => array('title' => 'Categories'),
|
23 |
));
|
24 |
+
|
25 |
+
update_option('widget_categories', array(
|
26 |
+
1 => array('title' => 'Categories'),
|
27 |
+
2 => array('title' => 'Categories')));
|
28 |
+
|
29 |
+
update_option('widget_archives', array(
|
30 |
+
1 => array('title' => 'Archives'),
|
31 |
+
2 => array('title' => 'Archives')));
|
32 |
+
|
33 |
+
update_option('widget_search', array(
|
34 |
+
1 => array('title' => 'Search'),
|
35 |
+
2 => array('title' => 'Search')));
|
36 |
+
|
37 |
update_option('sidebars_widgets', $activate);
|
38 |
$MediaId = get_option('startkit_media_id');
|
39 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
inc/startkit/default-widgets/default-widget.php
CHANGED
@@ -1,17 +1,15 @@
|
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
-
|
4 |
-
|
5 |
-
// 'recent-posts-1',
|
6 |
-
// 'archives-1',
|
7 |
-
// ),
|
8 |
-
'footer-widget-area' => array(
|
9 |
-
'footer-widget-area',
|
10 |
'recent-posts-1',
|
11 |
'archives-1',
|
12 |
),
|
13 |
'footer-widget-area' => array(
|
14 |
'text-1',
|
|
|
|
|
|
|
15 |
),
|
16 |
);
|
17 |
/* the default titles will appear */
|
@@ -24,6 +22,18 @@ $activate = array(
|
|
24 |
3 => array('title' => 'Categories'),
|
25 |
));
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
update_option('sidebars_widgets', $activate);
|
28 |
$MediaId = get_option('startkit_media_id');
|
29 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
+
'sidebar-primary' => array(
|
4 |
+
'search-1',
|
|
|
|
|
|
|
|
|
|
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
7 |
),
|
8 |
'footer-widget-area' => array(
|
9 |
'text-1',
|
10 |
+
'categories-1',
|
11 |
+
'archives-1',
|
12 |
+
'search-1',
|
13 |
),
|
14 |
);
|
15 |
/* the default titles will appear */
|
22 |
3 => array('title' => 'Categories'),
|
23 |
));
|
24 |
|
25 |
+
update_option('widget_categories', array(
|
26 |
+
1 => array('title' => 'Categories'),
|
27 |
+
2 => array('title' => 'Categories')));
|
28 |
+
|
29 |
+
update_option('widget_archives', array(
|
30 |
+
1 => array('title' => 'Archives'),
|
31 |
+
2 => array('title' => 'Archives')));
|
32 |
+
|
33 |
+
update_option('widget_search', array(
|
34 |
+
1 => array('title' => 'Search'),
|
35 |
+
2 => array('title' => 'Search')));
|
36 |
+
|
37 |
update_option('sidebars_widgets', $activate);
|
38 |
$MediaId = get_option('startkit_media_id');
|
39 |
set_theme_mod( 'custom_logo', $MediaId[0] );
|
readme.txt
CHANGED
@@ -39,6 +39,10 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
|
|
42 |
= 1.1.32 =
|
43 |
* Hantus Theme Features Improved
|
44 |
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
+
= 1.1.33 =
|
43 |
+
* Notice Added
|
44 |
+
* Footer Widget Added
|
45 |
+
|
46 |
= 1.1.32 =
|
47 |
* Hantus Theme Features Improved
|
48 |
|