Version Description
- Added documentation link in customizer to spicepress theme.
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 0.3.8 |
Comparing to | |
See all releases |
Code changes from version 0.3.7 to 0.3.8
inc/spicepress/features/feature-portfolio-section.php
CHANGED
@@ -192,6 +192,38 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
192 |
));
|
193 |
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
|
196 |
}
|
197 |
add_action( 'customize_register', 'spiceb_spicepress_project_customizer' );
|
192 |
));
|
193 |
|
194 |
|
195 |
+
//Pro portfolio
|
196 |
+
class WP_portfolio_pro_Customize_Control extends WP_Customize_Control {
|
197 |
+
public $type = 'new_menu';
|
198 |
+
/**
|
199 |
+
* Render the control's content.
|
200 |
+
*/
|
201 |
+
public function render_content() {
|
202 |
+
?>
|
203 |
+
<div class="pro-vesrion">
|
204 |
+
<P><?php esc_html_e('More options available for portfolio section in SpicePress Pro','spicepress');?></P>
|
205 |
+
</div>
|
206 |
+
<div class="pro-box">
|
207 |
+
<a href="<?php echo esc_url('https://helpdoc.spicethemes.com/spicepress/how-to-manage-homepage-portfolio-in-spicepress-theme/');?>" class="read-more-button" id="review_pro" target="_blank"><?php esc_html_e( 'Read More','spicepress' ); ?></a>
|
208 |
+
<div>
|
209 |
+
<?php
|
210 |
+
}
|
211 |
+
}
|
212 |
+
|
213 |
+
$wp_customize->add_setting(
|
214 |
+
'add_pro_portfolio',
|
215 |
+
array(
|
216 |
+
'capability' => 'edit_theme_options',
|
217 |
+
'sanitize_callback' => 'sanitize_text_field',
|
218 |
+
)
|
219 |
+
);
|
220 |
+
$wp_customize->add_control( new WP_portfolio_pro_Customize_Control( $wp_customize, 'add_pro_portfolio', array(
|
221 |
+
'section' => 'portfolio_section',
|
222 |
+
'setting' => 'add_pro_portfolio',
|
223 |
+
|
224 |
+
)));
|
225 |
+
|
226 |
+
|
227 |
|
228 |
}
|
229 |
add_action( 'customize_register', 'spiceb_spicepress_project_customizer' );
|
inc/spicepress/features/feature-slider-section.php
CHANGED
@@ -129,6 +129,38 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
129 |
));
|
130 |
|
131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
}
|
134 |
|
129 |
));
|
130 |
|
131 |
|
132 |
+
//Pro Slider
|
133 |
+
class WP_slider_pro_Customize_Control extends WP_Customize_Control {
|
134 |
+
public $type = 'new_menu';
|
135 |
+
/**
|
136 |
+
* Render the control's content.
|
137 |
+
*/
|
138 |
+
public function render_content() {
|
139 |
+
?>
|
140 |
+
<div class="pro-vesrion">
|
141 |
+
<P><?php esc_html_e('More options available for slider section in SpicePress Pro','spicepress');?></P>
|
142 |
+
</div>
|
143 |
+
<div class="pro-box">
|
144 |
+
<a href="<?php echo esc_url('https://helpdoc.spicethemes.com/spicepress/how-to-setup-slider-in-spicepress-theme/');?>" class="read-more-button" id="review_pro" target="_blank"><?php esc_html_e( 'Read More','spicepress' ); ?></a>
|
145 |
+
<div>
|
146 |
+
<?php
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
$wp_customize->add_setting(
|
151 |
+
'add_pro_slider',
|
152 |
+
array(
|
153 |
+
'capability' => 'edit_theme_options',
|
154 |
+
'sanitize_callback' => 'sanitize_text_field',
|
155 |
+
)
|
156 |
+
);
|
157 |
+
$wp_customize->add_control( new WP_slider_pro_Customize_Control( $wp_customize, 'add_pro_slider', array(
|
158 |
+
'section' => 'slider_section',
|
159 |
+
'setting' => 'add_pro_slider',
|
160 |
+
|
161 |
+
)));
|
162 |
+
|
163 |
+
|
164 |
|
165 |
}
|
166 |
|
inc/spicepress/features/feature-testimonial-section.php
CHANGED
@@ -144,6 +144,38 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
144 |
));
|
145 |
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
add_action( 'customize_register', 'spiceb_spicepress_testimonial_customize_register' );
|
144 |
));
|
145 |
|
146 |
|
147 |
+
//Pro testimonial
|
148 |
+
class WP_testimonial_pro_Customize_Control extends WP_Customize_Control {
|
149 |
+
public $type = 'new_menu';
|
150 |
+
/**
|
151 |
+
* Render the control's content.
|
152 |
+
*/
|
153 |
+
public function render_content() {
|
154 |
+
?>
|
155 |
+
<div class="pro-vesrion">
|
156 |
+
<P><?php esc_html_e('More options available for testimonial section in SpicePress Pro','spicepress');?></P>
|
157 |
+
</div>
|
158 |
+
<div class="pro-box">
|
159 |
+
<a href="<?php echo esc_url('https://helpdoc.spicethemes.com/spicepress/how-to-add-testimonial-in-spicepress-theme/');?>" class="read-more-button" id="review_pro" target="_blank"><?php esc_html_e( 'Read More','spicepress' ); ?></a>
|
160 |
+
<div>
|
161 |
+
<?php
|
162 |
+
}
|
163 |
+
}
|
164 |
+
|
165 |
+
$wp_customize->add_setting(
|
166 |
+
'add_pro_testimonial',
|
167 |
+
array(
|
168 |
+
'capability' => 'edit_theme_options',
|
169 |
+
'sanitize_callback' => 'sanitize_text_field',
|
170 |
+
)
|
171 |
+
);
|
172 |
+
$wp_customize->add_control( new WP_testimonial_pro_Customize_Control( $wp_customize, 'add_pro_testimonial', array(
|
173 |
+
'section' => 'testimonial_section',
|
174 |
+
'setting' => 'add_pro_testimonial',
|
175 |
+
|
176 |
+
)));
|
177 |
+
|
178 |
+
|
179 |
}
|
180 |
|
181 |
add_action( 'customize_register', 'spiceb_spicepress_testimonial_customize_register' );
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.0.3
|
6 |
-
Stable tag: 0.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -95,4 +95,8 @@ This plugin create repeater controls in the customizer settings allowing you to
|
|
95 |
|
96 |
= 0.3.7 =
|
97 |
|
98 |
-
1. Fixed service image issue.
|
|
|
|
|
|
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.0.3
|
6 |
+
Stable tag: 0.3.8
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
95 |
|
96 |
= 0.3.7 =
|
97 |
|
98 |
+
1. Fixed service image issue.
|
99 |
+
|
100 |
+
= 0.3.8 =
|
101 |
+
|
102 |
+
1. Added documentation link in customizer to spicepress theme.
|
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
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 0.3.8
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://github.com
|
9 |
Text Domain: spicebox
|