Version Description
- Added variations for the Honeypress Dark child theme.
=====External resources=====
Alpha color picker Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT License Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-alpha-color-picker
Repeater Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT license Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
==========
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.5 to 1.4.1
- inc/honeypress/default-pages/upload-media.php +5 -1
- inc/honeypress/features/feature-slider-section.php +61 -0
- inc/honeypress/features/feature-testimonial-section.php +43 -37
- inc/honeypress/images/honeypress-dark.png +0 -0
- inc/honeypress/images/slider/honeypress-dark.jpg +0 -0
- inc/honeypress/sections/honeypress-slider-section.php +67 -14
- inc/honeypress/sections/honeypress-testimonail-section.php +40 -19
- languages/spicebox.pot +98 -47
- readme.txt +13 -1
- spicebox.php +3 -3
inc/honeypress/default-pages/upload-media.php
CHANGED
@@ -22,6 +22,10 @@ if ($theme->name == 'HoneyWaves') {
|
|
22 |
$images = array(
|
23 |
$ImagePath . '/honeybee-logo.png',
|
24 |
);
|
|
|
|
|
|
|
|
|
25 |
} else {
|
26 |
$images = array(
|
27 |
$ImagePath . '/logo.png',
|
@@ -52,4 +56,4 @@ update_option('innofit_media_id', $ImageId);
|
|
52 |
$MediaId = get_option('innofit_media_id');
|
53 |
set_theme_mod('custom_logo', $MediaId[0]);
|
54 |
set_theme_mod('header_textcolor', "blank");
|
55 |
-
?>
|
22 |
$images = array(
|
23 |
$ImagePath . '/honeybee-logo.png',
|
24 |
);
|
25 |
+
} elseif ($theme->name == 'Honeypress Dark') {
|
26 |
+
$images = array(
|
27 |
+
$ImagePath . '/honeypress-dark.png',
|
28 |
+
);
|
29 |
} else {
|
30 |
$images = array(
|
31 |
$ImagePath . '/logo.png',
|
56 |
$MediaId = get_option('innofit_media_id');
|
57 |
set_theme_mod('custom_logo', $MediaId[0]);
|
58 |
set_theme_mod('header_textcolor', "blank");
|
59 |
+
?>
|
inc/honeypress/features/feature-slider-section.php
CHANGED
@@ -24,6 +24,58 @@ if (!function_exists('spiceb_honeypress_slider_customize_register')) :
|
|
24 |
)
|
25 |
));
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
//Slider Image
|
29 |
$theme = wp_get_theme();
|
@@ -45,6 +97,9 @@ if (!function_exists('spiceb_honeypress_slider_customize_register')) :
|
|
45 |
}elseif ($theme->name == 'HoneyBee') {
|
46 |
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/honeybee-slider.jpg',
|
47 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
|
|
|
|
|
|
48 |
} else {
|
49 |
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/slider.jpg',
|
50 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
@@ -245,6 +300,12 @@ function spiceb_honeypress_register_home_slider_section_partials($wp_customize)
|
|
245 |
'settings' => 'home_slider_btn_txt2',
|
246 |
'render_callback' => 'spiceb_honeypress_slider_btn2_render_callback',
|
247 |
));
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
}
|
249 |
|
250 |
add_action('customize_register', 'spiceb_honeypress_register_home_slider_section_partials');
|
24 |
)
|
25 |
));
|
26 |
|
27 |
+
// Slider Variation
|
28 |
+
$wp_customize->add_setting( 'slide_variation', array( 'default' => 'slide') );
|
29 |
+
$wp_customize->add_control( 'slide_variation',
|
30 |
+
array(
|
31 |
+
'label' => __( 'Slider Background Type', 'honeypress' ),
|
32 |
+
'section' => 'slider_section',
|
33 |
+
'type' => 'select',
|
34 |
+
'choices'=>array(
|
35 |
+
'slide'=>__('Image', 'honeypress'),
|
36 |
+
'video'=>__('Video', 'honeypress')
|
37 |
+
)
|
38 |
+
));
|
39 |
+
|
40 |
+
// Slider Video Section
|
41 |
+
$wp_customize->add_setting( 'slide_video_upload',
|
42 |
+
array(
|
43 |
+
'default' => '',
|
44 |
+
'transport' => 'refresh',
|
45 |
+
'sanitize_callback' => 'absint'
|
46 |
+
)
|
47 |
+
);
|
48 |
+
$wp_customize->add_control( new WP_Customize_Media_Control( $wp_customize, 'slide_video_upload',
|
49 |
+
array(
|
50 |
+
'label' => __( 'Slider video' ),
|
51 |
+
'description' => esc_html__( 'Upload your video in .mp4 format and minimize its file size for best results. For this theme the recommended size is 1150 × 2000 pixels.','innofit' ),
|
52 |
+
'section' => 'slider_section',
|
53 |
+
'mime_type' => 'video', // Required. Can be image, audio, video, application, text
|
54 |
+
'button_labels' => array( // Optional
|
55 |
+
'select' => __( 'Select File' ),
|
56 |
+
'change' => __( 'Change File' ),
|
57 |
+
'default' => __( 'Default' ),
|
58 |
+
'remove' => __( 'Remove' ),
|
59 |
+
'placeholder' => __( 'No file selected' ),
|
60 |
+
'frame_title' => __( 'Select File' ),
|
61 |
+
'frame_button' => __( 'Choose File' ),
|
62 |
+
|
63 |
+
)
|
64 |
+
)
|
65 |
+
) );
|
66 |
+
|
67 |
+
//Slider video url
|
68 |
+
$wp_customize->add_setting( 'slide_video_url',array(
|
69 |
+
'capability' => 'edit_theme_options',
|
70 |
+
'default' => '',
|
71 |
+
'sanitize_callback' => '',
|
72 |
+
'transport' => $selective_refresh,
|
73 |
+
));
|
74 |
+
$wp_customize->add_control( 'slide_video_url',array(
|
75 |
+
'label' => __('Or, enter a YouTube URL:','honeypress'),
|
76 |
+
'section' => 'slider_section',
|
77 |
+
'type' => 'text',
|
78 |
+
));
|
79 |
|
80 |
//Slider Image
|
81 |
$theme = wp_get_theme();
|
97 |
}elseif ($theme->name == 'HoneyBee') {
|
98 |
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/honeybee-slider.jpg',
|
99 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
100 |
+
} elseif ($theme->name == 'Honeypress Dark') {
|
101 |
+
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/honeypress-dark.jpg',
|
102 |
+
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
103 |
} else {
|
104 |
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/slider.jpg',
|
105 |
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
300 |
'settings' => 'home_slider_btn_txt2',
|
301 |
'render_callback' => 'spiceb_honeypress_slider_btn2_render_callback',
|
302 |
));
|
303 |
+
//Slider video
|
304 |
+
$wp_customize->selective_refresh->add_partial( 'slide_video_url', array(
|
305 |
+
'selector' => '.video-slider',
|
306 |
+
'settings' => 'slide_video_url',
|
307 |
+
|
308 |
+
) );
|
309 |
}
|
310 |
|
311 |
add_action('customize_register', 'spiceb_honeypress_register_home_slider_section_partials');
|
inc/honeypress/features/feature-testimonial-section.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( ! function_exists( 'spiceb_honeypress_testimonial_customize_register' ) ) :
|
3 |
function spiceb_honeypress_testimonial_customize_register($wp_customize){
|
4 |
-
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
5 |
|
6 |
/* Testimonial Section */
|
7 |
$wp_customize->add_section( 'testimonial_section' , array(
|
@@ -9,7 +9,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
9 |
'panel' => 'section_settings',
|
10 |
'priority' => 7,
|
11 |
) );
|
12 |
-
|
13 |
// Enable testimonial section
|
14 |
$wp_customize->add_setting( 'testimonial_section_enable' , array( 'default' => 'on') );
|
15 |
$wp_customize->add_control( 'testimonial_section_enable' , array(
|
@@ -21,84 +21,90 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
21 |
'off'=>__('OFF', 'spicebox')
|
22 |
)
|
23 |
));
|
24 |
-
|
25 |
//Testimonial Background Color
|
26 |
$theme = wp_get_theme();
|
27 |
if( $theme->name=='HoneyPress'){
|
28 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
29 |
'sanitize_callback' => 'sanitize_text_field',
|
30 |
'default' => 'rgba(0, 76, 236, 0.9)',
|
31 |
-
) );
|
32 |
}
|
33 |
elseif( $theme->name=='Radix Multipurpose'){
|
34 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
35 |
'sanitize_callback' => 'sanitize_text_field',
|
36 |
'default' => 'rgba(130, 180, 64, 0.9)',
|
37 |
-
) );
|
38 |
}
|
39 |
elseif( $theme->name=='Bizhunt'){
|
40 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
41 |
'sanitize_callback' => 'sanitize_text_field',
|
42 |
'default' => 'rgba(105,116,234,0.9)',
|
43 |
-
) );
|
44 |
}
|
45 |
elseif( $theme->name=='Tromas'){
|
46 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
47 |
'sanitize_callback' => 'sanitize_text_field',
|
48 |
'default' => 'rgba(206, 27, 40,0.9)',
|
49 |
-
) );
|
50 |
}
|
51 |
elseif( $theme->name=='HoneyWaves'){
|
52 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
53 |
'sanitize_callback' => 'sanitize_text_field',
|
54 |
'default' => 'rgba(0, 0, 0, 0.9)',
|
55 |
-
) );
|
56 |
}
|
57 |
elseif( $theme->name=='HoneyBee'){
|
58 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
59 |
'sanitize_callback' => 'sanitize_text_field',
|
60 |
'default' => 'rgba(248, 145, 8, 0.9)',
|
61 |
-
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
else{
|
64 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
65 |
'sanitize_callback' => 'sanitize_text_field',
|
66 |
'default' => 'rgba(0, 76, 236, 0.9)',
|
67 |
) );
|
68 |
-
}
|
69 |
-
|
70 |
$wp_customize->add_control(new honeypress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
|
71 |
'label' => __('Background Color','spicebox'),
|
72 |
'palette' => true,
|
73 |
'section' => 'testimonial_section')
|
74 |
) );
|
75 |
-
|
76 |
// testimonial section title
|
77 |
$wp_customize->add_setting( 'home_testimonial_section_title',array(
|
78 |
'capability' => 'edit_theme_options',
|
79 |
'default' => __('Proin Egestas','spicebox'),
|
80 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
81 |
'transport' => $selective_refresh,
|
82 |
-
));
|
83 |
$wp_customize->add_control( 'home_testimonial_section_title',array(
|
84 |
'label' => __('Title','spicebox'),
|
85 |
'section' => 'testimonial_section',
|
86 |
'type' => 'text',
|
87 |
-
));
|
88 |
-
|
89 |
//testimonial section discription
|
90 |
$wp_customize->add_setting( 'home_testimonial_section_discription',array(
|
91 |
'capability' => 'edit_theme_options',
|
92 |
'default'=> __('Nam Viverra Iaculis Finibus','spicebox'),
|
93 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
94 |
'transport' => $selective_refresh,
|
95 |
-
));
|
96 |
$wp_customize->add_control( 'home_testimonial_section_discription',array(
|
97 |
'label' => __('Description','spicebox'),
|
98 |
'section' => 'testimonial_section',
|
99 |
'type' => 'textarea',
|
100 |
));
|
101 |
-
|
102 |
//testimonial one image
|
103 |
$theme = wp_get_theme();
|
104 |
if ($theme->name == 'HoneyBee') {
|
@@ -116,7 +122,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
116 |
'transport' => $selective_refresh,
|
117 |
));
|
118 |
}
|
119 |
-
|
120 |
$wp_customize->add_control(
|
121 |
new WP_Customize_Image_Control(
|
122 |
$wp_customize,
|
@@ -130,44 +136,44 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
130 |
)
|
131 |
)
|
132 |
);
|
133 |
-
|
134 |
//testimonial description
|
135 |
$wp_customize->add_setting( 'home_testimonial_desc',array(
|
136 |
'capability' => 'edit_theme_options',
|
137 |
'default' => __('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.','spicebox'),
|
138 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
139 |
'transport' => $selective_refresh,
|
140 |
-
));
|
141 |
$wp_customize->add_control( 'home_testimonial_desc',array(
|
142 |
'label' => __('Description','spicebox'),
|
143 |
'section' => 'testimonial_section',
|
144 |
'type' => 'text',
|
145 |
));
|
146 |
-
|
147 |
// testimonial section title
|
148 |
$wp_customize->add_setting( 'home_testimonial_title',array(
|
149 |
'capability' => 'edit_theme_options',
|
150 |
'default' => __('Cras Vitae','spicebox'),
|
151 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
152 |
'transport' => $selective_refresh,
|
153 |
-
));
|
154 |
$wp_customize->add_control( 'home_testimonial_title',array(
|
155 |
'label' => __('Title','spicebox'),
|
156 |
'section' => 'testimonial_section',
|
157 |
'type' => 'text',
|
158 |
));
|
159 |
-
|
160 |
$wp_customize->add_setting( 'home_testimonial_designation',array(
|
161 |
'capability' => 'edit_theme_options',
|
162 |
'default' => __('Eu Suscipit','spicebox'),
|
163 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
164 |
'transport' => $selective_refresh,
|
165 |
-
));
|
166 |
$wp_customize->add_control( 'home_testimonial_designation',array(
|
167 |
'label' => __('Designation','spicebox'),
|
168 |
'section' => 'testimonial_section',
|
169 |
'type' => 'text',
|
170 |
-
));
|
171 |
}
|
172 |
|
173 |
add_action( 'customize_register', 'spiceb_honeypress_testimonial_customize_register' );
|
@@ -177,47 +183,47 @@ endif;
|
|
177 |
* Add selective refresh for Front page section section controls.
|
178 |
*/
|
179 |
function spiceb_honeypress_register_home_testimonial_section_partials( $wp_customize ){
|
180 |
-
|
181 |
//Testimonial
|
182 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_title', array(
|
183 |
'selector' => '.section-module.testimonial .section-subtitle',
|
184 |
'settings' => 'home_testimonial_section_title',
|
185 |
'render_callback' => 'spiceb_honeypress_testimonial_section_title_render_callback',
|
186 |
-
|
187 |
) );
|
188 |
-
|
189 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_discription', array(
|
190 |
'selector' => '.section-module.testimonial .section-title',
|
191 |
'settings' => 'home_testimonial_section_discription',
|
192 |
'render_callback' => 'spiceb_honeypress_testimonial_section_discription_render_callback',
|
193 |
-
|
194 |
) );
|
195 |
-
|
196 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
|
197 |
'selector' => '.testmonial-block.text-center .text-white',
|
198 |
'settings' => 'home_testimonial_desc',
|
199 |
'render_callback' => 'spiceb_honeypress_testimonial_desc_render_callback',
|
200 |
-
|
201 |
) );
|
202 |
|
203 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
|
204 |
'selector' => '.section-module.testimonial .name',
|
205 |
'settings' => 'home_testimonial_title',
|
206 |
'render_callback' => 'spiceb_honeypress_testimonial_title_render_callback',
|
207 |
-
|
208 |
) );
|
209 |
-
|
210 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
|
211 |
'selector' => '.section-module.testimonial .designation',
|
212 |
'settings' => 'home_testimonial_designation',
|
213 |
'render_callback' => 'spiceb_honeypress_testimonial_designation_render_callback',
|
214 |
-
|
215 |
) );
|
216 |
-
|
217 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
|
218 |
'selector' => '.section.testimonial-section .avatar ',
|
219 |
'settings' => 'home_testimonial_thumb',
|
220 |
-
|
221 |
) );
|
222 |
}
|
223 |
|
@@ -241,4 +247,4 @@ function spiceb_honeypress_testimonial_title_render_callback() {
|
|
241 |
|
242 |
function spiceb_honeypress_testimonial_designation_render_callback() {
|
243 |
return get_theme_mod( 'home_testimonial_designation' );
|
244 |
-
}
|
1 |
<?php
|
2 |
if ( ! function_exists( 'spiceb_honeypress_testimonial_customize_register' ) ) :
|
3 |
function spiceb_honeypress_testimonial_customize_register($wp_customize){
|
4 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
5 |
|
6 |
/* Testimonial Section */
|
7 |
$wp_customize->add_section( 'testimonial_section' , array(
|
9 |
'panel' => 'section_settings',
|
10 |
'priority' => 7,
|
11 |
) );
|
12 |
+
|
13 |
// Enable testimonial section
|
14 |
$wp_customize->add_setting( 'testimonial_section_enable' , array( 'default' => 'on') );
|
15 |
$wp_customize->add_control( 'testimonial_section_enable' , array(
|
21 |
'off'=>__('OFF', 'spicebox')
|
22 |
)
|
23 |
));
|
24 |
+
|
25 |
//Testimonial Background Color
|
26 |
$theme = wp_get_theme();
|
27 |
if( $theme->name=='HoneyPress'){
|
28 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
29 |
'sanitize_callback' => 'sanitize_text_field',
|
30 |
'default' => 'rgba(0, 76, 236, 0.9)',
|
31 |
+
) );
|
32 |
}
|
33 |
elseif( $theme->name=='Radix Multipurpose'){
|
34 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
35 |
'sanitize_callback' => 'sanitize_text_field',
|
36 |
'default' => 'rgba(130, 180, 64, 0.9)',
|
37 |
+
) );
|
38 |
}
|
39 |
elseif( $theme->name=='Bizhunt'){
|
40 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
41 |
'sanitize_callback' => 'sanitize_text_field',
|
42 |
'default' => 'rgba(105,116,234,0.9)',
|
43 |
+
) );
|
44 |
}
|
45 |
elseif( $theme->name=='Tromas'){
|
46 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
47 |
'sanitize_callback' => 'sanitize_text_field',
|
48 |
'default' => 'rgba(206, 27, 40,0.9)',
|
49 |
+
) );
|
50 |
}
|
51 |
elseif( $theme->name=='HoneyWaves'){
|
52 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
53 |
'sanitize_callback' => 'sanitize_text_field',
|
54 |
'default' => 'rgba(0, 0, 0, 0.9)',
|
55 |
+
) );
|
56 |
}
|
57 |
elseif( $theme->name=='HoneyBee'){
|
58 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
59 |
'sanitize_callback' => 'sanitize_text_field',
|
60 |
'default' => 'rgba(248, 145, 8, 0.9)',
|
61 |
+
) );
|
62 |
+
}
|
63 |
+
elseif( $theme->name=='Honeypress Dark'){
|
64 |
+
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
65 |
+
'sanitize_callback' => 'sanitize_text_field',
|
66 |
+
'default' => 'rgba(249, 0, 77, 0.9)',
|
67 |
+
) );
|
68 |
}
|
69 |
else{
|
70 |
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
71 |
'sanitize_callback' => 'sanitize_text_field',
|
72 |
'default' => 'rgba(0, 76, 236, 0.9)',
|
73 |
) );
|
74 |
+
}
|
75 |
+
|
76 |
$wp_customize->add_control(new honeypress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
|
77 |
'label' => __('Background Color','spicebox'),
|
78 |
'palette' => true,
|
79 |
'section' => 'testimonial_section')
|
80 |
) );
|
81 |
+
|
82 |
// testimonial section title
|
83 |
$wp_customize->add_setting( 'home_testimonial_section_title',array(
|
84 |
'capability' => 'edit_theme_options',
|
85 |
'default' => __('Proin Egestas','spicebox'),
|
86 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
87 |
'transport' => $selective_refresh,
|
88 |
+
));
|
89 |
$wp_customize->add_control( 'home_testimonial_section_title',array(
|
90 |
'label' => __('Title','spicebox'),
|
91 |
'section' => 'testimonial_section',
|
92 |
'type' => 'text',
|
93 |
+
));
|
94 |
+
|
95 |
//testimonial section discription
|
96 |
$wp_customize->add_setting( 'home_testimonial_section_discription',array(
|
97 |
'capability' => 'edit_theme_options',
|
98 |
'default'=> __('Nam Viverra Iaculis Finibus','spicebox'),
|
99 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
100 |
'transport' => $selective_refresh,
|
101 |
+
));
|
102 |
$wp_customize->add_control( 'home_testimonial_section_discription',array(
|
103 |
'label' => __('Description','spicebox'),
|
104 |
'section' => 'testimonial_section',
|
105 |
'type' => 'textarea',
|
106 |
));
|
107 |
+
|
108 |
//testimonial one image
|
109 |
$theme = wp_get_theme();
|
110 |
if ($theme->name == 'HoneyBee') {
|
122 |
'transport' => $selective_refresh,
|
123 |
));
|
124 |
}
|
125 |
+
|
126 |
$wp_customize->add_control(
|
127 |
new WP_Customize_Image_Control(
|
128 |
$wp_customize,
|
136 |
)
|
137 |
)
|
138 |
);
|
139 |
+
|
140 |
//testimonial description
|
141 |
$wp_customize->add_setting( 'home_testimonial_desc',array(
|
142 |
'capability' => 'edit_theme_options',
|
143 |
'default' => __('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.','spicebox'),
|
144 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
145 |
'transport' => $selective_refresh,
|
146 |
+
));
|
147 |
$wp_customize->add_control( 'home_testimonial_desc',array(
|
148 |
'label' => __('Description','spicebox'),
|
149 |
'section' => 'testimonial_section',
|
150 |
'type' => 'text',
|
151 |
));
|
152 |
+
|
153 |
// testimonial section title
|
154 |
$wp_customize->add_setting( 'home_testimonial_title',array(
|
155 |
'capability' => 'edit_theme_options',
|
156 |
'default' => __('Cras Vitae','spicebox'),
|
157 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
158 |
'transport' => $selective_refresh,
|
159 |
+
));
|
160 |
$wp_customize->add_control( 'home_testimonial_title',array(
|
161 |
'label' => __('Title','spicebox'),
|
162 |
'section' => 'testimonial_section',
|
163 |
'type' => 'text',
|
164 |
));
|
165 |
+
|
166 |
$wp_customize->add_setting( 'home_testimonial_designation',array(
|
167 |
'capability' => 'edit_theme_options',
|
168 |
'default' => __('Eu Suscipit','spicebox'),
|
169 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
170 |
'transport' => $selective_refresh,
|
171 |
+
));
|
172 |
$wp_customize->add_control( 'home_testimonial_designation',array(
|
173 |
'label' => __('Designation','spicebox'),
|
174 |
'section' => 'testimonial_section',
|
175 |
'type' => 'text',
|
176 |
+
));
|
177 |
}
|
178 |
|
179 |
add_action( 'customize_register', 'spiceb_honeypress_testimonial_customize_register' );
|
183 |
* Add selective refresh for Front page section section controls.
|
184 |
*/
|
185 |
function spiceb_honeypress_register_home_testimonial_section_partials( $wp_customize ){
|
186 |
+
|
187 |
//Testimonial
|
188 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_title', array(
|
189 |
'selector' => '.section-module.testimonial .section-subtitle',
|
190 |
'settings' => 'home_testimonial_section_title',
|
191 |
'render_callback' => 'spiceb_honeypress_testimonial_section_title_render_callback',
|
192 |
+
|
193 |
) );
|
194 |
+
|
195 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_section_discription', array(
|
196 |
'selector' => '.section-module.testimonial .section-title',
|
197 |
'settings' => 'home_testimonial_section_discription',
|
198 |
'render_callback' => 'spiceb_honeypress_testimonial_section_discription_render_callback',
|
199 |
+
|
200 |
) );
|
201 |
+
|
202 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
|
203 |
'selector' => '.testmonial-block.text-center .text-white',
|
204 |
'settings' => 'home_testimonial_desc',
|
205 |
'render_callback' => 'spiceb_honeypress_testimonial_desc_render_callback',
|
206 |
+
|
207 |
) );
|
208 |
|
209 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
|
210 |
'selector' => '.section-module.testimonial .name',
|
211 |
'settings' => 'home_testimonial_title',
|
212 |
'render_callback' => 'spiceb_honeypress_testimonial_title_render_callback',
|
213 |
+
|
214 |
) );
|
215 |
+
|
216 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
|
217 |
'selector' => '.section-module.testimonial .designation',
|
218 |
'settings' => 'home_testimonial_designation',
|
219 |
'render_callback' => 'spiceb_honeypress_testimonial_designation_render_callback',
|
220 |
+
|
221 |
) );
|
222 |
+
|
223 |
$wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
|
224 |
'selector' => '.section.testimonial-section .avatar ',
|
225 |
'settings' => 'home_testimonial_thumb',
|
226 |
+
|
227 |
) );
|
228 |
}
|
229 |
|
247 |
|
248 |
function spiceb_honeypress_testimonial_designation_render_callback() {
|
249 |
return get_theme_mod( 'home_testimonial_designation' );
|
250 |
+
}
|
inc/honeypress/images/honeypress-dark.png
ADDED
Binary file
|
inc/honeypress/images/slider/honeypress-dark.jpg
ADDED
Binary file
|
inc/honeypress/sections/honeypress-slider-section.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
if ( ! function_exists( 'spiceb_honeypress_slider' ) ) :
|
6 |
|
7 |
function spiceb_honeypress_slider() {
|
8 |
-
|
9 |
$theme = wp_get_theme();
|
10 |
if( $theme->name=='HoneyWaves'){
|
11 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/honeywaves-slider.jpg');
|
@@ -17,11 +17,13 @@ if ( ! function_exists( 'spiceb_honeypress_slider' ) ) :
|
|
17 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/bizhunt-slider.jpg');
|
18 |
}elseif( $theme->name=='Tromas'){
|
19 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/tromas-slider.jpg');
|
|
|
|
|
20 |
}else{
|
21 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/slider.jpg');
|
22 |
}
|
23 |
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
|
24 |
-
|
25 |
$home_slider_discription = get_theme_mod('home_slider_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
|
26 |
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
27 |
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
@@ -30,9 +32,59 @@ if ( ! function_exists( 'spiceb_honeypress_slider' ) ) :
|
|
30 |
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
31 |
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
32 |
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
33 |
-
|
34 |
$home_page_slider_enabled = get_theme_mod('home_page_slider_enabled','on');
|
35 |
if($home_page_slider_enabled !='off') {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
?>
|
37 |
<section class="hero-section">
|
38 |
<div class="back-img" style="background-image:url(<?php echo $home_slider_image; ?>);">
|
@@ -43,37 +95,38 @@ if ( ! function_exists( 'spiceb_honeypress_slider' ) ) :
|
|
43 |
<?php } ?>
|
44 |
<div class="container slider-caption">
|
45 |
<div class="caption-content text-<?php echo get_theme_mod('slider_content_alignment','center');?>">
|
46 |
-
|
47 |
<?php if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
|
48 |
<h1 class="title"><?php echo $home_slider_title; ?></h1>
|
49 |
-
<?php }
|
50 |
if ( ! empty( $home_slider_discription ) || is_customize_preview() ) {
|
51 |
?>
|
52 |
<p class="description"><?php echo $home_slider_discription; ?></p>
|
53 |
<?php } ?>
|
54 |
-
|
55 |
-
<div class="btn-combo mt-5">
|
56 |
-
<?php if(!empty($home_slider_btn_txt)):?>
|
57 |
-
<a <?php if($home_slider_btn_link) { ?> href="<?php echo $home_slider_btn_link; } ?>"
|
58 |
<?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default">
|
59 |
<?php if($home_slider_btn_txt) { echo $home_slider_btn_txt; } ?></a>
|
60 |
<?php endif;?>
|
61 |
<?php
|
62 |
if(!empty($home_slider_btn_txt2)):?>
|
63 |
-
<a <?php if($home_slider_btn_link2) { ?> href="<?php echo $home_slider_btn_link2; } ?>"
|
64 |
<?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light about-tbn">
|
65 |
<?php if($home_slider_btn_txt2) { echo $home_slider_btn_txt2; } ?></a>
|
66 |
<?php endif;?>
|
67 |
</div>
|
68 |
-
<?php } ?>
|
69 |
-
</div>
|
70 |
-
</div>
|
71 |
</div>
|
72 |
</section>
|
73 |
<?php
|
|
|
74 |
}
|
75 |
endif;
|
76 |
if ( function_exists( 'spiceb_honeypress_slider' ) ) {
|
77 |
$section_priority = apply_filters( 'honeypress_section_priority', 11, 'spiceb_honeypress_slider' );
|
78 |
add_action( 'spiceb_honeypress_sections', 'spiceb_honeypress_slider', absint( $section_priority ) );
|
79 |
-
}
|
5 |
if ( ! function_exists( 'spiceb_honeypress_slider' ) ) :
|
6 |
|
7 |
function spiceb_honeypress_slider() {
|
8 |
+
|
9 |
$theme = wp_get_theme();
|
10 |
if( $theme->name=='HoneyWaves'){
|
11 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/honeywaves-slider.jpg');
|
17 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/bizhunt-slider.jpg');
|
18 |
}elseif( $theme->name=='Tromas'){
|
19 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/tromas-slider.jpg');
|
20 |
+
}elseif( $theme->name=='Honeypress Dark'){
|
21 |
+
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/honeypress-dark.jpg');
|
22 |
}else{
|
23 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/slider.jpg');
|
24 |
}
|
25 |
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
|
26 |
+
|
27 |
$home_slider_discription = get_theme_mod('home_slider_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
|
28 |
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
29 |
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
32 |
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
33 |
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
34 |
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
35 |
+
|
36 |
$home_page_slider_enabled = get_theme_mod('home_page_slider_enabled','on');
|
37 |
if($home_page_slider_enabled !='off') {
|
38 |
+
$video_upload = get_theme_mod('slide_video_upload');
|
39 |
+
$video_upload = wp_get_attachment_url( $video_upload);
|
40 |
+
$video_youtub = get_theme_mod('slide_video_url');
|
41 |
+
// Below Script will run for only video slide
|
42 |
+
if((!empty($video_upload) || !empty($video_youtub) ) && (get_theme_mod('slide_variation','slide')=='video')){
|
43 |
+
?>
|
44 |
+
<section class="video-slider home-section home-full-height hero-section" id="totop" data-background="assets/images/section-5.jpg">
|
45 |
+
<?php if(!empty($video_youtub)){?>
|
46 |
+
<div class="video-player" data-property="{videoURL:'<?php echo $video_youtub;?>', containment:'.home-section', mute:false, autoPlay:true, loop:true, opacity:1, showControls:false, showYTLogo:false, vol:25}"></div>
|
47 |
+
<?php } else if(!empty($video_upload)){?>
|
48 |
+
<video autoplay="" muted="" loop="" id="video_slider">
|
49 |
+
<source src="<?php echo $video_upload; ?>" type="video/mp4">
|
50 |
+
</video>
|
51 |
+
<?php }?>
|
52 |
+
|
53 |
+
<div class="container slider-caption">
|
54 |
+
<div class="caption-content text-<?php echo get_theme_mod('slider_content_alignment','center');?>">
|
55 |
+
<?php if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
|
56 |
+
<h1 class="title"><?php echo $home_slider_title; ?></h1>
|
57 |
+
<?php }
|
58 |
+
if ( ! empty( $home_slider_discription ) || is_customize_preview() ) {
|
59 |
+
?>
|
60 |
+
<p class="description"><?php echo $home_slider_discription; ?></p>
|
61 |
+
<?php } ?>
|
62 |
+
|
63 |
+
<div class="btn-combo mt-5">
|
64 |
+
<?php if(!empty($home_slider_btn_txt)):?>
|
65 |
+
<a <?php if($home_slider_btn_link) { ?> href="<?php echo $home_slider_btn_link; } ?>"
|
66 |
+
<?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default">
|
67 |
+
<?php if($home_slider_btn_txt) { echo $home_slider_btn_txt; } ?></a>
|
68 |
+
<?php endif;?>
|
69 |
+
<?php
|
70 |
+
if(!empty($home_slider_btn_txt2)):?>
|
71 |
+
<a <?php if($home_slider_btn_link2) { ?> href="<?php echo $home_slider_btn_link2; } ?>"
|
72 |
+
<?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light about-tbn">
|
73 |
+
<?php if($home_slider_btn_txt2) { echo $home_slider_btn_txt2; } ?></a>
|
74 |
+
<?php endif;?>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
79 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
80 |
+
if($slider_image_overlay != false) { ?>
|
81 |
+
<div class="overlay" style="background-color:<?php echo $slider_overlay_section_color;?>"></div>
|
82 |
+
<?php } ?>
|
83 |
+
</section>
|
84 |
+
<?php
|
85 |
+
}
|
86 |
+
else
|
87 |
+
{
|
88 |
?>
|
89 |
<section class="hero-section">
|
90 |
<div class="back-img" style="background-image:url(<?php echo $home_slider_image; ?>);">
|
95 |
<?php } ?>
|
96 |
<div class="container slider-caption">
|
97 |
<div class="caption-content text-<?php echo get_theme_mod('slider_content_alignment','center');?>">
|
98 |
+
|
99 |
<?php if ( ! empty( $home_slider_title ) || is_customize_preview() ) { ?>
|
100 |
<h1 class="title"><?php echo $home_slider_title; ?></h1>
|
101 |
+
<?php }
|
102 |
if ( ! empty( $home_slider_discription ) || is_customize_preview() ) {
|
103 |
?>
|
104 |
<p class="description"><?php echo $home_slider_discription; ?></p>
|
105 |
<?php } ?>
|
106 |
+
|
107 |
+
<div class="btn-combo mt-5">
|
108 |
+
<?php if(!empty($home_slider_btn_txt)):?>
|
109 |
+
<a <?php if($home_slider_btn_link) { ?> href="<?php echo $home_slider_btn_link; } ?>"
|
110 |
<?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default">
|
111 |
<?php if($home_slider_btn_txt) { echo $home_slider_btn_txt; } ?></a>
|
112 |
<?php endif;?>
|
113 |
<?php
|
114 |
if(!empty($home_slider_btn_txt2)):?>
|
115 |
+
<a <?php if($home_slider_btn_link2) { ?> href="<?php echo $home_slider_btn_link2; } ?>"
|
116 |
<?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light about-tbn">
|
117 |
<?php if($home_slider_btn_txt2) { echo $home_slider_btn_txt2; } ?></a>
|
118 |
<?php endif;?>
|
119 |
</div>
|
120 |
+
<?php } ?>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
</div>
|
124 |
</section>
|
125 |
<?php
|
126 |
+
}
|
127 |
}
|
128 |
endif;
|
129 |
if ( function_exists( 'spiceb_honeypress_slider' ) ) {
|
130 |
$section_priority = apply_filters( 'honeypress_section_priority', 11, 'spiceb_honeypress_slider' );
|
131 |
add_action( 'spiceb_honeypress_sections', 'spiceb_honeypress_slider', absint( $section_priority ) );
|
132 |
+
}
|
inc/honeypress/sections/honeypress-testimonail-section.php
CHANGED
@@ -27,6 +27,9 @@ if (!function_exists('spiceb_honeypress_testimonial')) :
|
|
27 |
} elseif ($theme->name == 'HoneyBee') {
|
28 |
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(248, 145, 8, 0.9)');
|
29 |
$testimonial_section_class="section-module testimonial7";
|
|
|
|
|
|
|
30 |
} else {
|
31 |
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(0, 76, 236, 0.9)');
|
32 |
$testimonial_section_class="section-module testimonial";
|
@@ -41,7 +44,7 @@ if (!function_exists('spiceb_honeypress_testimonial')) :
|
|
41 |
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL . 'inc/honeypress/images/testimonial/testi1.jpg');
|
42 |
$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.', 'spicebox'));
|
43 |
?>
|
44 |
-
<?php if ($home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
45 |
<div class="row">
|
46 |
<div class="col-lg-12 col-md-12 col-xs-12">
|
47 |
<div class="section-header text-center">
|
@@ -61,7 +64,7 @@ if (!function_exists('spiceb_honeypress_testimonial')) :
|
|
61 |
honeypress_testimonial_variant();
|
62 |
?>
|
63 |
</div>
|
64 |
-
</div>
|
65 |
</section>
|
66 |
<div class="clearfix"></div>
|
67 |
<?php
|
@@ -87,7 +90,7 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
87 |
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL . 'inc/honeypress/images/testimonial/testi1.jpg');
|
88 |
}
|
89 |
$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.', 'spicebox'));
|
90 |
-
|
91 |
if ($theme->name == 'HoneyWaves') {
|
92 |
?>
|
93 |
<div id="testimonial-carousel2" >
|
@@ -97,10 +100,10 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
97 |
<figure class="avatar">
|
98 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
99 |
</figure>
|
100 |
-
<?php } ?>
|
101 |
<div class="entry-content">
|
102 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
103 |
-
</div>
|
104 |
<figcaption>
|
105 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
106 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
@@ -116,13 +119,13 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
116 |
<figure class="avatar">
|
117 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid" alt="img">
|
118 |
</figure>
|
119 |
-
<?php } ?>
|
120 |
</div>
|
121 |
<div class="col-lg-8 col-md-8 col-sm-12 testimonial-text">
|
122 |
<div class="testmonial-content">
|
123 |
<div class="entry-content">
|
124 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
125 |
-
</div>
|
126 |
<figcaption>
|
127 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
128 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
@@ -130,7 +133,7 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
130 |
</div>
|
131 |
</div>
|
132 |
</article>
|
133 |
-
</div>
|
134 |
<?php } elseif ($theme->name == 'HoneyPress') {
|
135 |
?>
|
136 |
<div class="col-md-12">
|
@@ -139,10 +142,10 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
139 |
<figure class="avatar">
|
140 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
141 |
</figure>
|
142 |
-
<?php } ?>
|
143 |
<div class="entry-content">
|
144 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
145 |
-
</div>
|
146 |
<figcaption>
|
147 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
148 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
@@ -165,8 +168,8 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
165 |
</figcaption>
|
166 |
<div class="entry-content">
|
167 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
168 |
-
</div>
|
169 |
-
</article>
|
170 |
</div>
|
171 |
</div>
|
172 |
<?php } elseif ($theme->name == 'Bizhunt') {
|
@@ -177,7 +180,7 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
177 |
<figure class="avatar">
|
178 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
179 |
</figure>
|
180 |
-
<?php } ?>
|
181 |
|
182 |
<figcaption>
|
183 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
@@ -186,7 +189,7 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
186 |
|
187 |
<div class="entry-content">
|
188 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
189 |
-
</div>
|
190 |
|
191 |
</article>
|
192 |
</div>
|
@@ -206,10 +209,28 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
206 |
<figcaption>
|
207 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
208 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
209 |
-
</figcaption>
|
210 |
-
</article>
|
211 |
</div>
|
212 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
<?php } else {
|
214 |
?>
|
215 |
<div class="col-md-12">
|
@@ -218,10 +239,10 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
218 |
<figure class="avatar">
|
219 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
220 |
</figure>
|
221 |
-
<?php } ?>
|
222 |
<div class="entry-content">
|
223 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
224 |
-
</div>
|
225 |
<figcaption>
|
226 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
227 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
@@ -237,4 +258,4 @@ if (!function_exists('honeypress_testimonial_variant')) :
|
|
237 |
|
238 |
|
239 |
|
240 |
-
endif;
|
27 |
} elseif ($theme->name == 'HoneyBee') {
|
28 |
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(248, 145, 8, 0.9)');
|
29 |
$testimonial_section_class="section-module testimonial7";
|
30 |
+
} elseif ($theme->name == 'Honeypress Dark') {
|
31 |
+
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(249, 0, 77, 0.9)');
|
32 |
+
$testimonial_section_class="section-module testimonial testi-5";
|
33 |
} else {
|
34 |
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(0, 76, 236, 0.9)');
|
35 |
$testimonial_section_class="section-module testimonial";
|
44 |
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL . 'inc/honeypress/images/testimonial/testi1.jpg');
|
45 |
$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.', 'spicebox'));
|
46 |
?>
|
47 |
+
<?php if ($home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
48 |
<div class="row">
|
49 |
<div class="col-lg-12 col-md-12 col-xs-12">
|
50 |
<div class="section-header text-center">
|
64 |
honeypress_testimonial_variant();
|
65 |
?>
|
66 |
</div>
|
67 |
+
</div>
|
68 |
</section>
|
69 |
<div class="clearfix"></div>
|
70 |
<?php
|
90 |
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL . 'inc/honeypress/images/testimonial/testi1.jpg');
|
91 |
}
|
92 |
$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.', 'spicebox'));
|
93 |
+
|
94 |
if ($theme->name == 'HoneyWaves') {
|
95 |
?>
|
96 |
<div id="testimonial-carousel2" >
|
100 |
<figure class="avatar">
|
101 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
102 |
</figure>
|
103 |
+
<?php } ?>
|
104 |
<div class="entry-content">
|
105 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
106 |
+
</div>
|
107 |
<figcaption>
|
108 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
109 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
119 |
<figure class="avatar">
|
120 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid" alt="img">
|
121 |
</figure>
|
122 |
+
<?php } ?>
|
123 |
</div>
|
124 |
<div class="col-lg-8 col-md-8 col-sm-12 testimonial-text">
|
125 |
<div class="testmonial-content">
|
126 |
<div class="entry-content">
|
127 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
128 |
+
</div>
|
129 |
<figcaption>
|
130 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
131 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
133 |
</div>
|
134 |
</div>
|
135 |
</article>
|
136 |
+
</div>
|
137 |
<?php } elseif ($theme->name == 'HoneyPress') {
|
138 |
?>
|
139 |
<div class="col-md-12">
|
142 |
<figure class="avatar">
|
143 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
144 |
</figure>
|
145 |
+
<?php } ?>
|
146 |
<div class="entry-content">
|
147 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
148 |
+
</div>
|
149 |
<figcaption>
|
150 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
151 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
168 |
</figcaption>
|
169 |
<div class="entry-content">
|
170 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
171 |
+
</div>
|
172 |
+
</article>
|
173 |
</div>
|
174 |
</div>
|
175 |
<?php } elseif ($theme->name == 'Bizhunt') {
|
180 |
<figure class="avatar">
|
181 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
182 |
</figure>
|
183 |
+
<?php } ?>
|
184 |
|
185 |
<figcaption>
|
186 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
189 |
|
190 |
<div class="entry-content">
|
191 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
192 |
+
</div>
|
193 |
|
194 |
</article>
|
195 |
</div>
|
209 |
<figcaption>
|
210 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
211 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
212 |
+
</figcaption>
|
213 |
+
</article>
|
214 |
</div>
|
215 |
</div>
|
216 |
+
<?php } elseif ($theme->name == 'Honeypress Dark') {
|
217 |
+
?>
|
218 |
+
<div id="testimonial-carousel5">
|
219 |
+
<div class="col-lg-12">
|
220 |
+
<article class="testmonial-block5">
|
221 |
+
<figure class="avatar">
|
222 |
+
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="<?php echo $home_testimonial_title; ?>" >
|
223 |
+
</figure>
|
224 |
+
<div class="entry-content">
|
225 |
+
<p><?php echo $home_testimonial_desc; ?></p>
|
226 |
+
</div>
|
227 |
+
<figcaption>
|
228 |
+
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
229 |
+
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
230 |
+
</figcaption>
|
231 |
+
</article>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
<?php } else {
|
235 |
?>
|
236 |
<div class="col-md-12">
|
239 |
<figure class="avatar">
|
240 |
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
241 |
</figure>
|
242 |
+
<?php } ?>
|
243 |
<div class="entry-content">
|
244 |
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
245 |
+
</div>
|
246 |
<figcaption>
|
247 |
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
248 |
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
258 |
|
259 |
|
260 |
|
261 |
+
endif;
|
languages/spicebox.pot
CHANGED
@@ -4,7 +4,7 @@ msgstr ""
|
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
-
"2021-
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
@@ -43,7 +43,7 @@ msgstr ""
|
|
43 |
"X-Poedit-Basepath: ..\n"
|
44 |
"Language: en_US\n"
|
45 |
"X-Generator: Poedit "
|
46 |
-
"2.4.
|
47 |
"X-Poedit-"
|
48 |
"SearchPath-0: .\n"
|
49 |
|
@@ -142,9 +142,9 @@ msgstr ""
|
|
142 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
|
143 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
|
144 |
#: inc/honeypress/features/feature-service-section.php:33
|
145 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
146 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
147 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
148 |
#: inc/innofit/customizer/callout-section.php:29
|
149 |
#: inc/innofit/customizer/news-section.php:30
|
150 |
#: inc/innofit/customizer/services-section.php:31
|
@@ -192,8 +192,8 @@ msgstr ""
|
|
192 |
#: inc/cloudpress/features/feature-slider-section.php:146
|
193 |
#: inc/cloudpress/features/feature-testimonial-section.php:130
|
194 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
|
195 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
196 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
197 |
#: inc/innofit/customizer/callout-section.php:68
|
198 |
#: inc/innofit/customizer/slider-section.php:105
|
199 |
#: inc/spicepress/features/feature-slider-section.php:108
|
@@ -202,7 +202,7 @@ msgstr ""
|
|
202 |
|
203 |
#: inc/cloudpress/features/feature-cta-section.php:70
|
204 |
#: inc/cloudpress/features/feature-slider-section.php:114
|
205 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
206 |
#: inc/innofit/customizer/callout-section.php:74
|
207 |
#: inc/innofit/customizer/slider-section.php:110
|
208 |
#: inc/spicepress/features/feature-slider-section.php:113
|
@@ -213,8 +213,8 @@ msgstr ""
|
|
213 |
#: inc/cloudpress/features/feature-slider-section.php:127
|
214 |
#: inc/cloudpress/features/feature-slider-section.php:164
|
215 |
#: inc/cloudpress/features/feature-testimonial-section.php:147
|
216 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
217 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
218 |
#: inc/innofit/customizer/callout-section.php:90
|
219 |
#: inc/innofit/customizer/slider-section.php:123
|
220 |
#: inc/spicepress/features/feature-slider-section.php:126
|
@@ -295,9 +295,9 @@ msgstr ""
|
|
295 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
|
296 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
|
297 |
#: inc/honeypress/features/feature-service-section.php:46
|
298 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
299 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
300 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
301 |
#: inc/innofit/customizer/callout-section.php:41
|
302 |
#: inc/innofit/customizer/news-section.php:42
|
303 |
#: inc/innofit/customizer/services-section.php:46
|
@@ -361,8 +361,9 @@ msgstr ""
|
|
361 |
#: inc/cloudpress/features/feature-testimonial-section.php:91
|
362 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
|
363 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
|
364 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
365 |
-
#: inc/honeypress/features/feature-
|
|
|
366 |
#: inc/innofit/customizer/about-section.php:73
|
367 |
#: inc/innofit/customizer/slider-section.php:32
|
368 |
#: inc/spicepress/features/feature-portfolio-section.php:59
|
@@ -374,7 +375,7 @@ msgid "Image"
|
|
374 |
msgstr ""
|
375 |
|
376 |
#: inc/cloudpress/features/feature-slider-section.php:50
|
377 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
378 |
#: inc/innofit/customizer/slider-section.php:47
|
379 |
#: inc/spicepress/features/feature-slider-section.php:50
|
380 |
msgid ""
|
@@ -383,7 +384,7 @@ msgid ""
|
|
383 |
msgstr ""
|
384 |
|
385 |
#: inc/cloudpress/features/feature-slider-section.php:63
|
386 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
387 |
#: inc/innofit/customizer/slider-section.php:60
|
388 |
#: inc/spicepress/features/feature-slider-section.php:63
|
389 |
msgid ""
|
@@ -393,15 +394,15 @@ msgstr ""
|
|
393 |
|
394 |
#: inc/cloudpress/features/feature-slider-section.php:71
|
395 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:10
|
396 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
397 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:
|
398 |
msgid ""
|
399 |
"Nulla nec dolor sit amet "
|
400 |
"lacus molestie"
|
401 |
msgstr ""
|
402 |
|
403 |
#: inc/cloudpress/features/feature-slider-section.php:84
|
404 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
405 |
msgid ""
|
406 |
"Sea summo mazim ex, ea "
|
407 |
"errem eleifend "
|
@@ -413,15 +414,15 @@ msgstr ""
|
|
413 |
|
414 |
#: inc/cloudpress/features/feature-slider-section.php:97
|
415 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:13
|
416 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
417 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:
|
418 |
msgid "Nec Sem"
|
419 |
msgstr ""
|
420 |
|
421 |
#: inc/cloudpress/features/feature-slider-section.php:102
|
422 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:276
|
423 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:424
|
424 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
425 |
#: inc/innofit/customizer/callout-section.php:60
|
426 |
#: inc/innofit/customizer/slider-section.php:98
|
427 |
#: inc/spicepress/features/feature-slider-section.php:101
|
@@ -432,21 +433,21 @@ msgstr ""
|
|
432 |
#: inc/cloudpress/features/feature-testimonial-section.php:117
|
433 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:17
|
434 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
|
435 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
436 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
437 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:
|
438 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
439 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
440 |
msgid "Cras Vitae"
|
441 |
msgstr ""
|
442 |
|
443 |
#: inc/cloudpress/features/feature-slider-section.php:139
|
444 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
445 |
msgid "Button 2 Text"
|
446 |
msgstr ""
|
447 |
|
448 |
#: inc/cloudpress/features/feature-slider-section.php:151
|
449 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
450 |
msgid "Button 2 Link"
|
451 |
msgstr ""
|
452 |
|
@@ -481,15 +482,15 @@ msgstr ""
|
|
481 |
|
482 |
#: inc/cloudpress/features/feature-testimonial-section.php:54
|
483 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
|
484 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
485 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
486 |
msgid "Proin Egestas"
|
487 |
msgstr ""
|
488 |
|
489 |
#: inc/cloudpress/features/feature-testimonial-section.php:67
|
490 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
|
491 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
492 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
493 |
msgid ""
|
494 |
"Nam Viverra Iaculis "
|
495 |
"Finibus"
|
@@ -497,9 +498,9 @@ msgstr ""
|
|
497 |
|
498 |
#: inc/cloudpress/features/feature-testimonial-section.php:103
|
499 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
|
500 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
501 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
502 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
503 |
#: inc/spicepress/features/feature-testimonial-section.php:109
|
504 |
#: inc/spicepress/sections/spicepress-testimonail-section.php:46
|
505 |
#: inc/spicepress/sections/spicepress-testimonail-section.php:123
|
@@ -531,16 +532,16 @@ msgstr ""
|
|
531 |
|
532 |
#: inc/cloudpress/features/feature-testimonial-section.php:153
|
533 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
|
534 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
535 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
536 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
537 |
msgid "Eu Suscipit"
|
538 |
msgstr ""
|
539 |
|
540 |
#: inc/cloudpress/features/feature-testimonial-section.php:159
|
541 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
|
542 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
|
543 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
544 |
#: inc/spicepress/features/feature-testimonial-section.php:141
|
545 |
msgid "Designation"
|
546 |
msgstr ""
|
@@ -594,7 +595,7 @@ msgid "Justo Bibendum"
|
|
594 |
msgstr ""
|
595 |
|
596 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:12
|
597 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:
|
598 |
msgid ""
|
599 |
"Sea summo mazim ex, ea "
|
600 |
"errem eleifend "
|
@@ -689,6 +690,7 @@ msgid "Status"
|
|
689 |
msgstr ""
|
690 |
|
691 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:586
|
|
|
692 |
msgid "Video"
|
693 |
msgstr ""
|
694 |
|
@@ -779,24 +781,73 @@ msgid ""
|
|
779 |
"Create your own JotForm"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
783 |
msgid ""
|
784 |
"Slider Content Alignment"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
788 |
msgid "Left"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
792 |
msgid "Center"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
796 |
msgid "Right"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
800 |
msgid "Background Color"
|
801 |
msgstr ""
|
802 |
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
+
"2021-05-27 12:47+0530\n"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
43 |
"X-Poedit-Basepath: ..\n"
|
44 |
"Language: en_US\n"
|
45 |
"X-Generator: Poedit "
|
46 |
+
"2.4.2\n"
|
47 |
"X-Poedit-"
|
48 |
"SearchPath-0: .\n"
|
49 |
|
142 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
|
143 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
|
144 |
#: inc/honeypress/features/feature-service-section.php:33
|
145 |
+
#: inc/honeypress/features/feature-slider-section.php:174
|
146 |
+
#: inc/honeypress/features/feature-testimonial-section.php:90
|
147 |
+
#: inc/honeypress/features/feature-testimonial-section.php:161
|
148 |
#: inc/innofit/customizer/callout-section.php:29
|
149 |
#: inc/innofit/customizer/news-section.php:30
|
150 |
#: inc/innofit/customizer/services-section.php:31
|
192 |
#: inc/cloudpress/features/feature-slider-section.php:146
|
193 |
#: inc/cloudpress/features/feature-testimonial-section.php:130
|
194 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
|
195 |
+
#: inc/honeypress/features/feature-slider-section.php:206
|
196 |
+
#: inc/honeypress/features/feature-slider-section.php:243
|
197 |
#: inc/innofit/customizer/callout-section.php:68
|
198 |
#: inc/innofit/customizer/slider-section.php:105
|
199 |
#: inc/spicepress/features/feature-slider-section.php:108
|
202 |
|
203 |
#: inc/cloudpress/features/feature-cta-section.php:70
|
204 |
#: inc/cloudpress/features/feature-slider-section.php:114
|
205 |
+
#: inc/honeypress/features/feature-slider-section.php:211
|
206 |
#: inc/innofit/customizer/callout-section.php:74
|
207 |
#: inc/innofit/customizer/slider-section.php:110
|
208 |
#: inc/spicepress/features/feature-slider-section.php:113
|
213 |
#: inc/cloudpress/features/feature-slider-section.php:127
|
214 |
#: inc/cloudpress/features/feature-slider-section.php:164
|
215 |
#: inc/cloudpress/features/feature-testimonial-section.php:147
|
216 |
+
#: inc/honeypress/features/feature-slider-section.php:224
|
217 |
+
#: inc/honeypress/features/feature-slider-section.php:261
|
218 |
#: inc/innofit/customizer/callout-section.php:90
|
219 |
#: inc/innofit/customizer/slider-section.php:123
|
220 |
#: inc/spicepress/features/feature-slider-section.php:126
|
295 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
|
296 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
|
297 |
#: inc/honeypress/features/feature-service-section.php:46
|
298 |
+
#: inc/honeypress/features/feature-slider-section.php:186
|
299 |
+
#: inc/honeypress/features/feature-testimonial-section.php:103
|
300 |
+
#: inc/honeypress/features/feature-testimonial-section.php:148
|
301 |
#: inc/innofit/customizer/callout-section.php:41
|
302 |
#: inc/innofit/customizer/news-section.php:42
|
303 |
#: inc/innofit/customizer/services-section.php:46
|
361 |
#: inc/cloudpress/features/feature-testimonial-section.php:91
|
362 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
|
363 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
|
364 |
+
#: inc/honeypress/features/feature-slider-section.php:35
|
365 |
+
#: inc/honeypress/features/feature-slider-section.php:113
|
366 |
+
#: inc/honeypress/features/feature-testimonial-section.php:131
|
367 |
#: inc/innofit/customizer/about-section.php:73
|
368 |
#: inc/innofit/customizer/slider-section.php:32
|
369 |
#: inc/spicepress/features/feature-portfolio-section.php:59
|
375 |
msgstr ""
|
376 |
|
377 |
#: inc/cloudpress/features/feature-slider-section.php:50
|
378 |
+
#: inc/honeypress/features/feature-slider-section.php:127
|
379 |
#: inc/innofit/customizer/slider-section.php:47
|
380 |
#: inc/spicepress/features/feature-slider-section.php:50
|
381 |
msgid ""
|
384 |
msgstr ""
|
385 |
|
386 |
#: inc/cloudpress/features/feature-slider-section.php:63
|
387 |
+
#: inc/honeypress/features/feature-slider-section.php:140
|
388 |
#: inc/innofit/customizer/slider-section.php:60
|
389 |
#: inc/spicepress/features/feature-slider-section.php:63
|
390 |
msgid ""
|
394 |
|
395 |
#: inc/cloudpress/features/feature-slider-section.php:71
|
396 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:10
|
397 |
+
#: inc/honeypress/features/feature-slider-section.php:168
|
398 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:25
|
399 |
msgid ""
|
400 |
"Nulla nec dolor sit amet "
|
401 |
"lacus molestie"
|
402 |
msgstr ""
|
403 |
|
404 |
#: inc/cloudpress/features/feature-slider-section.php:84
|
405 |
+
#: inc/honeypress/features/feature-slider-section.php:181
|
406 |
msgid ""
|
407 |
"Sea summo mazim ex, ea "
|
408 |
"errem eleifend "
|
414 |
|
415 |
#: inc/cloudpress/features/feature-slider-section.php:97
|
416 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:13
|
417 |
+
#: inc/honeypress/features/feature-slider-section.php:194
|
418 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:28
|
419 |
msgid "Nec Sem"
|
420 |
msgstr ""
|
421 |
|
422 |
#: inc/cloudpress/features/feature-slider-section.php:102
|
423 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:276
|
424 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:424
|
425 |
+
#: inc/honeypress/features/feature-slider-section.php:199
|
426 |
#: inc/innofit/customizer/callout-section.php:60
|
427 |
#: inc/innofit/customizer/slider-section.php:98
|
428 |
#: inc/spicepress/features/feature-slider-section.php:101
|
433 |
#: inc/cloudpress/features/feature-testimonial-section.php:117
|
434 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:17
|
435 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
|
436 |
+
#: inc/honeypress/features/feature-slider-section.php:231
|
437 |
+
#: inc/honeypress/features/feature-testimonial-section.php:156
|
438 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:32
|
439 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:42
|
440 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:84
|
441 |
msgid "Cras Vitae"
|
442 |
msgstr ""
|
443 |
|
444 |
#: inc/cloudpress/features/feature-slider-section.php:139
|
445 |
+
#: inc/honeypress/features/feature-slider-section.php:236
|
446 |
msgid "Button 2 Text"
|
447 |
msgstr ""
|
448 |
|
449 |
#: inc/cloudpress/features/feature-slider-section.php:151
|
450 |
+
#: inc/honeypress/features/feature-slider-section.php:248
|
451 |
msgid "Button 2 Link"
|
452 |
msgstr ""
|
453 |
|
482 |
|
483 |
#: inc/cloudpress/features/feature-testimonial-section.php:54
|
484 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
|
485 |
+
#: inc/honeypress/features/feature-testimonial-section.php:85
|
486 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:40
|
487 |
msgid "Proin Egestas"
|
488 |
msgstr ""
|
489 |
|
490 |
#: inc/cloudpress/features/feature-testimonial-section.php:67
|
491 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
|
492 |
+
#: inc/honeypress/features/feature-testimonial-section.php:98
|
493 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:41
|
494 |
msgid ""
|
495 |
"Nam Viverra Iaculis "
|
496 |
"Finibus"
|
498 |
|
499 |
#: inc/cloudpress/features/feature-testimonial-section.php:103
|
500 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
|
501 |
+
#: inc/honeypress/features/feature-testimonial-section.php:143
|
502 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:45
|
503 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:92
|
504 |
#: inc/spicepress/features/feature-testimonial-section.php:109
|
505 |
#: inc/spicepress/sections/spicepress-testimonail-section.php:46
|
506 |
#: inc/spicepress/sections/spicepress-testimonail-section.php:123
|
532 |
|
533 |
#: inc/cloudpress/features/feature-testimonial-section.php:153
|
534 |
#: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
|
535 |
+
#: inc/honeypress/features/feature-testimonial-section.php:168
|
536 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:43
|
537 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:85
|
538 |
msgid "Eu Suscipit"
|
539 |
msgstr ""
|
540 |
|
541 |
#: inc/cloudpress/features/feature-testimonial-section.php:159
|
542 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
|
543 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
|
544 |
+
#: inc/honeypress/features/feature-testimonial-section.php:173
|
545 |
#: inc/spicepress/features/feature-testimonial-section.php:141
|
546 |
msgid "Designation"
|
547 |
msgstr ""
|
595 |
msgstr ""
|
596 |
|
597 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:12
|
598 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:27
|
599 |
msgid ""
|
600 |
"Sea summo mazim ex, ea "
|
601 |
"errem eleifend "
|
690 |
msgstr ""
|
691 |
|
692 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:586
|
693 |
+
#: inc/honeypress/features/feature-slider-section.php:36
|
694 |
msgid "Video"
|
695 |
msgstr ""
|
696 |
|
781 |
"Create your own JotForm"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: inc/honeypress/features/feature-slider-section.php:31
|
785 |
+
msgid ""
|
786 |
+
"Slider Background Type"
|
787 |
+
msgstr ""
|
788 |
+
|
789 |
+
#: inc/honeypress/features/feature-slider-section.php:50
|
790 |
+
msgid "Slider video"
|
791 |
+
msgstr ""
|
792 |
+
|
793 |
+
#: inc/honeypress/features/feature-slider-section.php:51
|
794 |
+
msgid ""
|
795 |
+
"Upload your video in ."
|
796 |
+
"mp4 format and minimize "
|
797 |
+
"its file size for best "
|
798 |
+
"results. For this theme "
|
799 |
+
"the recommended size is "
|
800 |
+
"1150 × 2000 pixels."
|
801 |
+
msgstr ""
|
802 |
+
|
803 |
+
#: inc/honeypress/features/feature-slider-section.php:55
|
804 |
+
#: inc/honeypress/features/feature-slider-section.php:60
|
805 |
+
msgid "Select File"
|
806 |
+
msgstr ""
|
807 |
+
|
808 |
+
#: inc/honeypress/features/feature-slider-section.php:56
|
809 |
+
msgid "Change File"
|
810 |
+
msgstr ""
|
811 |
+
|
812 |
+
#: inc/honeypress/features/feature-slider-section.php:57
|
813 |
+
msgid "Default"
|
814 |
+
msgstr ""
|
815 |
+
|
816 |
+
#: inc/honeypress/features/feature-slider-section.php:58
|
817 |
+
msgid "Remove"
|
818 |
+
msgstr ""
|
819 |
+
|
820 |
+
#: inc/honeypress/features/feature-slider-section.php:59
|
821 |
+
msgid "No file selected"
|
822 |
+
msgstr ""
|
823 |
+
|
824 |
+
#: inc/honeypress/features/feature-slider-section.php:61
|
825 |
+
msgid "Choose File"
|
826 |
+
msgstr ""
|
827 |
+
|
828 |
+
#: inc/honeypress/features/feature-slider-section.php:75
|
829 |
+
msgid ""
|
830 |
+
"Or, enter a YouTube URL:"
|
831 |
+
msgstr ""
|
832 |
+
|
833 |
+
#: inc/honeypress/features/feature-slider-section.php:155
|
834 |
msgid ""
|
835 |
"Slider Content Alignment"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: inc/honeypress/features/feature-slider-section.php:158
|
839 |
msgid "Left"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: inc/honeypress/features/feature-slider-section.php:159
|
843 |
msgid "Center"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: inc/honeypress/features/feature-slider-section.php:160
|
847 |
msgid "Right"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: inc/honeypress/features/feature-testimonial-section.php:77
|
851 |
msgid "Background Color"
|
852 |
msgstr ""
|
853 |
|
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.7
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -222,6 +222,12 @@ Fixed minor issues of HoneyPress child themes.
|
|
222 |
= 1.3.5 =
|
223 |
1. Added Slider Content Alignment Setting .
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
=======External resources=======
|
227 |
|
@@ -271,3 +277,9 @@ https://pxhere.com/en/photo/1633156
|
|
271 |
* Image used in Testimonial User
|
272 |
License CC0 Public Domain
|
273 |
https://pxhere.com/en/photo/1235380
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 1.4.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
222 |
= 1.3.5 =
|
223 |
1. Added Slider Content Alignment Setting .
|
224 |
|
225 |
+
= 1.4 =
|
226 |
+
1. Added Video option for slider background.
|
227 |
+
|
228 |
+
= 1.4.1 =
|
229 |
+
1. Added variations for the Honeypress Dark child theme.
|
230 |
+
|
231 |
|
232 |
=======External resources=======
|
233 |
|
277 |
* Image used in Testimonial User
|
278 |
License CC0 Public Domain
|
279 |
https://pxhere.com/en/photo/1235380
|
280 |
+
|
281 |
+
== Honeypress Dark Images ==
|
282 |
+
|
283 |
+
* Image used in Slider
|
284 |
+
License CC0 Public Domain
|
285 |
+
https://stocksnap.io/photo/guy-man-9RZJVHG39A
|
spicebox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
-
Version: 1.
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|
@@ -30,7 +30,7 @@ function spiceb_activate() {
|
|
30 |
|
31 |
}
|
32 |
|
33 |
-
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name || 'Radix Multipurpose' == $theme->name || 'HoneyWaves' == $theme->name || 'Bizhunt' == $theme->name || 'Tromas' == $theme->name || 'HoneyBee' == $theme->name ){
|
34 |
require_once('inc/honeypress/features/feature-slider-section.php');
|
35 |
require_once('inc/honeypress/features/feature-service-section.php');
|
36 |
require_once('inc/honeypress/features/feature-testimonial-section.php');
|
@@ -176,7 +176,7 @@ $item_details_page = get_option('item_details_page');
|
|
176 |
|
177 |
|
178 |
//Honeypress
|
179 |
-
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name || 'Radix Multipurpose' == $theme->name || 'HoneyWaves' == $theme->name || 'Bizhunt' == $theme->name || 'Tromas' == $theme->name || 'HoneyBee' == $theme->name ){
|
180 |
register_activation_hook( __FILE__, 'spiceb_install_function');
|
181 |
function spiceb_install_function()
|
182 |
{
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 1.4.1
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|
30 |
|
31 |
}
|
32 |
|
33 |
+
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name || 'Radix Multipurpose' == $theme->name || 'HoneyWaves' == $theme->name || 'Bizhunt' == $theme->name || 'Tromas' == $theme->name || 'HoneyBee' == $theme->name || 'Honeypress Dark' == $theme->name ){
|
34 |
require_once('inc/honeypress/features/feature-slider-section.php');
|
35 |
require_once('inc/honeypress/features/feature-service-section.php');
|
36 |
require_once('inc/honeypress/features/feature-testimonial-section.php');
|
176 |
|
177 |
|
178 |
//Honeypress
|
179 |
+
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name || 'Radix Multipurpose' == $theme->name || 'HoneyWaves' == $theme->name || 'Bizhunt' == $theme->name || 'Tromas' == $theme->name || 'HoneyBee' == $theme->name || 'Honeypress Dark' == $theme->name ){
|
180 |
register_activation_hook( __FILE__, 'spiceb_install_function');
|
181 |
function spiceb_install_function()
|
182 |
{
|