Version Description
- Remove Dobule backslah from images.
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 0.3.2 |
Comparing to | |
See all releases |
Code changes from version 0.3.1 to 0.3.2
- inc/spicepress/features/feature-portfolio-section.php +3 -3
- inc/spicepress/features/feature-slider-section.php +0 -6
- inc/spicepress/features/feature-testimonial-section.php +2 -2
- inc/spicepress/sections/spicepress-portfolio-section.php +3 -3
- inc/spicepress/sections/spicepress-testimonail-section.php +2 -2
- readme.txt +6 -2
- spicebox.php +8 -1
inc/spicepress/features/feature-portfolio-section.php
CHANGED
@@ -48,7 +48,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
48 |
|
49 |
|
50 |
//Portfolio one image
|
51 |
-
$wp_customize->add_setting( 'portfolio_one_thumb',array('default' => SPICEB_PLUGIN_URL .'
|
52 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh, ));
|
53 |
|
54 |
$wp_customize->add_control(
|
@@ -97,7 +97,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
97 |
|
98 |
|
99 |
//Portfolio two image
|
100 |
-
$wp_customize->add_setting( 'portfolio_two_thumb',array('default' => SPICEB_PLUGIN_URL .'
|
101 |
'sanitize_callback' => 'esc_url_raw','transport' => $selective_refresh,));
|
102 |
|
103 |
$wp_customize->add_control(
|
@@ -144,7 +144,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
144 |
));
|
145 |
|
146 |
//Portfolio three image
|
147 |
-
$wp_customize->add_setting( 'portfolio_three_thumb',array('default' => SPICEB_PLUGIN_URL .'
|
148 |
'sanitize_callback' => 'esc_url_raw',
|
149 |
'transport' => $selective_refresh,
|
150 |
));
|
48 |
|
49 |
|
50 |
//Portfolio one image
|
51 |
+
$wp_customize->add_setting( 'portfolio_one_thumb',array('default' => SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item1.jpg',
|
52 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh, ));
|
53 |
|
54 |
$wp_customize->add_control(
|
97 |
|
98 |
|
99 |
//Portfolio two image
|
100 |
+
$wp_customize->add_setting( 'portfolio_two_thumb',array('default' => SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item2.jpg',
|
101 |
'sanitize_callback' => 'esc_url_raw','transport' => $selective_refresh,));
|
102 |
|
103 |
$wp_customize->add_control(
|
144 |
));
|
145 |
|
146 |
//Portfolio three image
|
147 |
+
$wp_customize->add_setting( 'portfolio_three_thumb',array('default' => SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item3.jpg',
|
148 |
'sanitize_callback' => 'esc_url_raw',
|
149 |
'transport' => $selective_refresh,
|
150 |
));
|
inc/spicepress/features/feature-slider-section.php
CHANGED
@@ -185,10 +185,4 @@ function spiceb_spicepress_slider_section_discription_render_callback() {
|
|
185 |
|
186 |
function spiceb_spicepress_slider_btn_render_callback() {
|
187 |
return get_theme_mod( 'home_slider_btn_txt' );
|
188 |
-
}
|
189 |
-
|
190 |
-
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
191 |
-
|
192 |
-
return wp_kses_post( force_balance_tags( $input ) );
|
193 |
-
|
194 |
}
|
185 |
|
186 |
function spiceb_spicepress_slider_btn_render_callback() {
|
187 |
return get_theme_mod( 'home_slider_btn_txt' );
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
}
|
inc/spicepress/features/feature-testimonial-section.php
CHANGED
@@ -23,7 +23,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
23 |
));
|
24 |
|
25 |
//Testimonial Background Image
|
26 |
-
$wp_customize->add_setting( 'testimonial_callout_background',array('default' => SPICEB_PLUGIN_URL .'
|
27 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
28 |
|
29 |
|
@@ -86,7 +86,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
86 |
));
|
87 |
|
88 |
//testimonial one image
|
89 |
-
$wp_customize->add_setting( 'home_testimonial_thumb',array('default' => SPICEB_PLUGIN_URL .'
|
90 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
91 |
|
92 |
$wp_customize->add_control(
|
23 |
));
|
24 |
|
25 |
//Testimonial Background Image
|
26 |
+
$wp_customize->add_setting( 'testimonial_callout_background',array('default' => SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testimonial-bg.jpg',
|
27 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
28 |
|
29 |
|
86 |
));
|
87 |
|
88 |
//testimonial one image
|
89 |
+
$wp_customize->add_setting( 'home_testimonial_thumb',array('default' => SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testi1.jpg',
|
90 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
91 |
|
92 |
$wp_customize->add_control(
|
inc/spicepress/sections/spicepress-portfolio-section.php
CHANGED
@@ -10,15 +10,15 @@ if ( ! function_exists( 'spiceb_spicepress_portfolio' ) ) :
|
|
10 |
$home_portfolio_section_discription = get_theme_mod('home_portfolio_section_discription','Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.');
|
11 |
$portfolio_one_title = get_theme_mod('portfolio_one_title',__('Art Office Design','spicebox'));
|
12 |
$portfolio_one_desc = get_theme_mod('portfolio_one_desc','Lorem ipsum dolor sit amet, consectetur adipisicing elit..');
|
13 |
-
$portfolio_one_thumb = get_theme_mod('portfolio_one_thumb',SPICEB_PLUGIN_URL .'
|
14 |
|
15 |
$portfolio_two_title = get_theme_mod('portfolio_two_title',__('Art Office Design','spicebox'));
|
16 |
$portfolio_two_desc = get_theme_mod('portfolio_two_desc','Lorem ipsum dolor sit amet, consectetur adipisicing elit..');
|
17 |
-
$portfolio_two_thumb = get_theme_mod('portfolio_two_thumb',SPICEB_PLUGIN_URL .'
|
18 |
|
19 |
$portfolio_three_title = get_theme_mod('portfolio_three_title',__('Art Office Design','spicebox'));
|
20 |
$portfolio_three_desc = get_theme_mod('portfolio_three_desc','Lorem ipsum dolor sit amet, consectetur adipisicing elit..');
|
21 |
-
$portfolio_three_thumb = get_theme_mod('portfolio_three_thumb',SPICEB_PLUGIN_URL .'
|
22 |
$portfolio_section_enable = get_theme_mod('portfolio_section_enable','on');
|
23 |
if($portfolio_section_enable !='off'){
|
24 |
?>
|
10 |
$home_portfolio_section_discription = get_theme_mod('home_portfolio_section_discription','Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.');
|
11 |
$portfolio_one_title = get_theme_mod('portfolio_one_title',__('Art Office Design','spicebox'));
|
12 |
$portfolio_one_desc = get_theme_mod('portfolio_one_desc','Lorem ipsum dolor sit amet, consectetur adipisicing elit..');
|
13 |
+
$portfolio_one_thumb = get_theme_mod('portfolio_one_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item1.jpg');
|
14 |
|
15 |
$portfolio_two_title = get_theme_mod('portfolio_two_title',__('Art Office Design','spicebox'));
|
16 |
$portfolio_two_desc = get_theme_mod('portfolio_two_desc','Lorem ipsum dolor sit amet, consectetur adipisicing elit..');
|
17 |
+
$portfolio_two_thumb = get_theme_mod('portfolio_two_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item2.jpg');
|
18 |
|
19 |
$portfolio_three_title = get_theme_mod('portfolio_three_title',__('Art Office Design','spicebox'));
|
20 |
$portfolio_three_desc = get_theme_mod('portfolio_three_desc','Lorem ipsum dolor sit amet, consectetur adipisicing elit..');
|
21 |
+
$portfolio_three_thumb = get_theme_mod('portfolio_three_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item3.jpg');
|
22 |
$portfolio_section_enable = get_theme_mod('portfolio_section_enable','on');
|
23 |
if($portfolio_section_enable !='off'){
|
24 |
?>
|
inc/spicepress/sections/spicepress-testimonail-section.php
CHANGED
@@ -9,7 +9,7 @@ if ( ! function_exists( 'spiceb_spicepress_testimonial' ) ) :
|
|
9 |
$testimonial_section_enable = get_theme_mod('testimonial_section_enable','on');
|
10 |
if($testimonial_section_enable !='off')
|
11 |
{
|
12 |
-
$testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL .'
|
13 |
if($testimonial_callout_background != '') { ?>
|
14 |
<section class="testimonial-section" style="background-image:url('<?php echo esc_url($testimonial_callout_background);?>'); background-repeat: no-repeat; background-position: top left;">
|
15 |
<?php } else { ?>
|
@@ -25,7 +25,7 @@ $testimonial_image_overlay = get_theme_mod('testimonial_image_overlay',true);
|
|
25 |
$home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription','Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.');
|
26 |
$home_testimonial_title = get_theme_mod('home_testimonial_title',__('Alice Culan','spicepress'));
|
27 |
$home_testimonial_designation= get_theme_mod('home_testimonial_designation',__('UI Developer','spicepress'));
|
28 |
-
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb',SPICEB_PLUGIN_URL .'
|
29 |
$home_testimonial_desc = get_theme_mod('home_testimonial_desc','Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.');
|
30 |
?>
|
31 |
|
9 |
$testimonial_section_enable = get_theme_mod('testimonial_section_enable','on');
|
10 |
if($testimonial_section_enable !='off')
|
11 |
{
|
12 |
+
$testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testimonial-bg.jpg');
|
13 |
if($testimonial_callout_background != '') { ?>
|
14 |
<section class="testimonial-section" style="background-image:url('<?php echo esc_url($testimonial_callout_background);?>'); background-repeat: no-repeat; background-position: top left;">
|
15 |
<?php } else { ?>
|
25 |
$home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription','Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.');
|
26 |
$home_testimonial_title = get_theme_mod('home_testimonial_title',__('Alice Culan','spicepress'));
|
27 |
$home_testimonial_designation= get_theme_mod('home_testimonial_designation',__('UI Developer','spicepress'));
|
28 |
+
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testi1.jpg');
|
29 |
$home_testimonial_desc = get_theme_mod('home_testimonial_desc','Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.');
|
30 |
?>
|
31 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 4.9.5
|
6 |
-
Stable tag: 0.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -70,4 +70,8 @@ This plugin create repeater controls in the customizer settings allowing you to
|
|
70 |
|
71 |
= 0.3.1 =
|
72 |
|
73 |
-
1. Added Child theme functionality.
|
|
|
|
|
|
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 4.9.5
|
6 |
+
Stable tag: 0.3.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
70 |
|
71 |
= 0.3.1 =
|
72 |
|
73 |
+
1. Added Child theme functionality.
|
74 |
+
|
75 |
+
= 0.3.2 =
|
76 |
+
|
77 |
+
1. Remove Dobule backslah from images.
|
spicebox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
-
Version: 0.3.
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://github.com
|
9 |
Text Domain: spicebox
|
@@ -60,5 +60,12 @@ $item_details_page = get_option('item_details_page');
|
|
60 |
}
|
61 |
}
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
}
|
64 |
?>
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 0.3.2
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://github.com
|
9 |
Text Domain: spicebox
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
}
|
64 |
+
|
65 |
+
//Sanatize text
|
66 |
+
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
67 |
+
|
68 |
+
return wp_kses_post( force_balance_tags( $input ) );
|
69 |
+
|
70 |
}
|
71 |
?>
|