Version Description
- Changed sidebar widget area id for the Spicepress theme.
- Removed Read More button.
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
- inc/spicepress/default-widgets/default-widget.php +2 -3
- inc/spicepress/features/feature-portfolio-section.php +1 -34
- inc/spicepress/features/feature-slider-section.php +1 -35
- inc/spicepress/features/feature-testimonial-section.php +0 -32
- inc/spicepress/images/slider/slider.jpg +0 -0
- languages/spicebox.pot +1 -25
- readme.txt +6 -2
- spicebox.php +1 -1
inc/spicepress/default-widgets/default-widget.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
-
'
|
4 |
'search-1',
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
@@ -16,7 +16,6 @@ $activate = array(
|
|
16 |
),
|
17 |
'wdl_contact_page_sidebar' => array(
|
18 |
'search-2',
|
19 |
-
'recent-posts-2',
|
20 |
'archives-2',
|
21 |
),
|
22 |
);
|
@@ -49,5 +48,5 @@ $activate = array(
|
|
49 |
|
50 |
$MediaId = get_option('portfolio_media_id');
|
51 |
set_theme_mod( 'custom_logo', $MediaId[12] );
|
52 |
-
set_theme_mod( 'header_textcolor', "
|
53 |
?>
|
1 |
<?php
|
2 |
$activate = array(
|
3 |
+
'sidebar-1' => array(
|
4 |
'search-1',
|
5 |
'recent-posts-1',
|
6 |
'archives-1',
|
16 |
),
|
17 |
'wdl_contact_page_sidebar' => array(
|
18 |
'search-2',
|
|
|
19 |
'archives-2',
|
20 |
),
|
21 |
);
|
48 |
|
49 |
$MediaId = get_option('portfolio_media_id');
|
50 |
set_theme_mod( 'custom_logo', $MediaId[12] );
|
51 |
+
//set_theme_mod( 'header_textcolor', "#333" );
|
52 |
?>
|
inc/spicepress/features/feature-portfolio-section.php
CHANGED
@@ -189,40 +189,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
189 |
'label' => __('Description', 'spicebox'),
|
190 |
'section' => 'portfolio_section',
|
191 |
'type' => 'text',
|
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 |
}
|
189 |
'label' => __('Description', 'spicebox'),
|
190 |
'section' => 'portfolio_section',
|
191 |
'type' => 'text',
|
192 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
|
194 |
|
195 |
}
|
inc/spicepress/features/feature-slider-section.php
CHANGED
@@ -126,41 +126,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
126 |
'label' => __('Open link in new tab', 'spicepress'),
|
127 |
'section' => 'slider_section',
|
128 |
'type' => 'checkbox',
|
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 |
|
126 |
'label' => __('Open link in new tab', 'spicepress'),
|
127 |
'section' => 'slider_section',
|
128 |
'type' => 'checkbox',
|
129 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
}
|
132 |
|
inc/spicepress/features/feature-testimonial-section.php
CHANGED
@@ -144,38 +144,6 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
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' );
|
144 |
));
|
145 |
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
add_action( 'customize_register', 'spiceb_spicepress_testimonial_customize_register' );
|
inc/spicepress/images/slider/slider.jpg
CHANGED
Binary file
|
languages/spicebox.pot
CHANGED
@@ -4,7 +4,7 @@ msgstr ""
|
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
-
"2020-
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
@@ -386,9 +386,6 @@ msgstr ""
|
|
386 |
#: inc/honeypress/features/feature-slider-section.php:97
|
387 |
#: inc/honeypress/sections/honeypress-slider-section.php:13
|
388 |
#: inc/innofit/sections/innofit-news-section.php:97
|
389 |
-
#: inc/spicepress/features/feature-portfolio-section.php:207
|
390 |
-
#: inc/spicepress/features/feature-slider-section.php:144
|
391 |
-
#: inc/spicepress/features/feature-testimonial-section.php:159
|
392 |
msgid "Read More"
|
393 |
msgstr ""
|
394 |
|
@@ -1149,33 +1146,12 @@ msgstr ""
|
|
1149 |
msgid "WordPress Themes"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: inc/spicepress/features/feature-portfolio-section.php:204
|
1153 |
-
msgid ""
|
1154 |
-
"More options available "
|
1155 |
-
"for portfolio section in "
|
1156 |
-
"SpicePress Pro"
|
1157 |
-
msgstr ""
|
1158 |
-
|
1159 |
#: inc/spicepress/features/feature-slider-section.php:71
|
1160 |
msgid ""
|
1161 |
"Welcome to SpicePress "
|
1162 |
"Theme"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#: inc/spicepress/features/feature-slider-section.php:141
|
1166 |
-
msgid ""
|
1167 |
-
"More options available "
|
1168 |
-
"for slider section in "
|
1169 |
-
"SpicePress Pro"
|
1170 |
-
msgstr ""
|
1171 |
-
|
1172 |
-
#: inc/spicepress/features/feature-testimonial-section.php:156
|
1173 |
-
msgid ""
|
1174 |
-
"More options available "
|
1175 |
-
"for testimonial section "
|
1176 |
-
"in SpicePress Pro"
|
1177 |
-
msgstr ""
|
1178 |
-
|
1179 |
#: inc/spicepress/sections/spicepress-features-section.php:175
|
1180 |
msgid "Easy to Use"
|
1181 |
msgstr ""
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
+
"2020-05-14 21:41+0530\n"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
386 |
#: inc/honeypress/features/feature-slider-section.php:97
|
387 |
#: inc/honeypress/sections/honeypress-slider-section.php:13
|
388 |
#: inc/innofit/sections/innofit-news-section.php:97
|
|
|
|
|
|
|
389 |
msgid "Read More"
|
390 |
msgstr ""
|
391 |
|
1146 |
msgid "WordPress Themes"
|
1147 |
msgstr ""
|
1148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1149 |
#: inc/spicepress/features/feature-slider-section.php:71
|
1150 |
msgid ""
|
1151 |
"Welcome to SpicePress "
|
1152 |
"Theme"
|
1153 |
msgstr ""
|
1154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1155 |
#: inc/spicepress/sections/spicepress-features-section.php:175
|
1156 |
msgid "Easy to Use"
|
1157 |
msgstr ""
|
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.2.3
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -180,4 +180,8 @@ This plugin create repeater controls in the customizer settings allowing you to
|
|
180 |
2. Upgrade to Plus buttom removed from the customizer settings.
|
181 |
|
182 |
= 1.2.3 =
|
183 |
-
1. Changed sidebar widget area id for the Innofit theme.
|
|
|
|
|
|
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.2.3
|
6 |
+
Stable tag: 1.2.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
180 |
2. Upgrade to Plus buttom removed from the customizer settings.
|
181 |
|
182 |
= 1.2.3 =
|
183 |
+
1. Changed sidebar widget area id for the Innofit theme.
|
184 |
+
|
185 |
+
= 1.2.4 =
|
186 |
+
1. Changed sidebar widget area id for the Spicepress theme.
|
187 |
+
2. Removed Read More button.
|
spicebox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
-
Version: 1.2.
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 1.2.4
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|