Version Description
Added variations for HoneyPress child themes.
=====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.2.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8 to 1.2.9
- inc/feedback-pop-up-form.php +1 -3
- inc/honeypress/customizer.php +1 -2
- inc/honeypress/default-pages/upload-media.php +45 -26
- inc/honeypress/default-widgets/default-widget.php +4 -4
- inc/honeypress/features/feature-service-section.php +5 -5
- inc/honeypress/features/feature-slider-section.php +221 -210
- inc/honeypress/features/feature-testimonial-section.php +24 -10
- inc/honeypress/images/bizhunt-logo.png +0 -0
- inc/honeypress/images/honeywaves-logo.png +0 -0
- inc/honeypress/images/radix-multipurpose-logo.png +0 -0
- inc/honeypress/images/slider/bizhunt-slider.jpg +0 -0
- inc/honeypress/images/slider/honeywaves-slider.jpg +0 -0
- inc/honeypress/images/slider/radix-multipurpose-slider.jpg +0 -0
- inc/honeypress/images/slider/tromas-slider.jpg +0 -0
- inc/honeypress/images/tromas-logo.png +0 -0
- inc/honeypress/sections/honeypress-service-section.php +201 -166
- inc/honeypress/sections/honeypress-slider-section.php +14 -3
- inc/honeypress/sections/honeypress-testimonail-section.php +192 -58
- inc/innofit-feedback-pop-up-form.php +1 -3
- languages/spicebox.pot +106 -67
- readme.txt +28 -2
- spicebox.php +4 -4
inc/feedback-pop-up-form.php
CHANGED
@@ -115,6 +115,4 @@ echo home_url( $wp->request ).'/wp-admin/themes.php';
|
|
115 |
|
116 |
<?php
|
117 |
unset( $_GET['action'] );
|
118 |
-
require ABSPATH . 'wp-admin/themes.php';
|
119 |
-
|
120 |
-
?>
|
115 |
|
116 |
<?php
|
117 |
unset( $_GET['action'] );
|
118 |
+
require ABSPATH . 'wp-admin/themes.php';
|
|
|
|
inc/honeypress/customizer.php
CHANGED
@@ -11,5 +11,4 @@ if ( ! function_exists( 'spiceb_customize_register' ) ) :
|
|
11 |
}
|
12 |
}
|
13 |
add_action( 'customize_register', 'spiceb_customize_register' );
|
14 |
-
endif;
|
15 |
-
?>
|
11 |
}
|
12 |
}
|
13 |
add_action( 'customize_register', 'spiceb_customize_register' );
|
14 |
+
endif;
|
|
inc/honeypress/default-pages/upload-media.php
CHANGED
@@ -1,32 +1,51 @@
|
|
1 |
<?php
|
2 |
-
$ImagePath = SPICEB_PLUGIN_URL .'inc/honeypress/images';
|
3 |
|
4 |
-
$
|
5 |
-
$
|
6 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
'post_mime_type' => $wp_filetype['type'],
|
15 |
-
'post_parent' => $parent_post_id,
|
16 |
-
'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
|
17 |
-
'post_status' => 'inherit'
|
18 |
-
);
|
19 |
-
$ImageId[] = $attachment_id = wp_insert_attachment( $attachment, $upload_file['file'], $parent_post_id );
|
20 |
-
|
21 |
-
if (!is_wp_error($attachment_id)) {
|
22 |
-
require_once(ABSPATH . "wp-admin" . '/includes/image.php');
|
23 |
-
$attachment_data = wp_generate_attachment_metadata( $attachment_id, $upload_file['file'] );
|
24 |
-
wp_update_attachment_metadata( $attachment_id, $attachment_data );
|
25 |
-
}
|
26 |
-
}
|
27 |
}
|
28 |
-
update_option(
|
29 |
$MediaId = get_option('innofit_media_id');
|
30 |
-
set_theme_mod(
|
31 |
-
set_theme_mod(
|
32 |
?>
|
1 |
<?php
|
|
|
2 |
|
3 |
+
$ImagePath = SPICEB_PLUGIN_URL . 'inc/honeypress/images';
|
4 |
+
$theme = wp_get_theme();
|
5 |
+
if ($theme->name == 'HoneyWaves') {
|
6 |
+
$images = array(
|
7 |
+
$ImagePath . '/honeywaves-logo.png',
|
8 |
+
);
|
9 |
+
} elseif ($theme->name == 'Radix Multipurpose') {
|
10 |
+
$images = array(
|
11 |
+
$ImagePath . '/radix-multipurpose-logo.png',
|
12 |
+
);
|
13 |
+
} elseif ($theme->name == 'Bizhunt') {
|
14 |
+
$images = array(
|
15 |
+
$ImagePath . '/bizhunt-logo.png',
|
16 |
+
);
|
17 |
+
} elseif ($theme->name == 'Tromas') {
|
18 |
+
$images = array(
|
19 |
+
$ImagePath . '/tromas-logo.png',
|
20 |
+
);
|
21 |
+
} else {
|
22 |
+
$images = array(
|
23 |
+
$ImagePath . '/logo.png',
|
24 |
+
);
|
25 |
+
}
|
26 |
+
|
27 |
+
foreach ($images as $name) {
|
28 |
+
$filename = basename($name);
|
29 |
+
$upload_file = wp_upload_bits($filename, null, file_get_contents($name));
|
30 |
+
if (!$upload_file['error']) {
|
31 |
+
$wp_filetype = wp_check_filetype($filename, null);
|
32 |
+
$attachment = array(
|
33 |
+
'post_mime_type' => $wp_filetype['type'],
|
34 |
+
'post_parent' => $parent_post_id,
|
35 |
+
'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
|
36 |
+
'post_status' => 'inherit'
|
37 |
+
);
|
38 |
+
$ImageId[] = $attachment_id = wp_insert_attachment($attachment, $upload_file['file'], $parent_post_id);
|
39 |
|
40 |
+
if (!is_wp_error($attachment_id)) {
|
41 |
+
require_once(ABSPATH . "wp-admin" . '/includes/image.php');
|
42 |
+
$attachment_data = wp_generate_attachment_metadata($attachment_id, $upload_file['file']);
|
43 |
+
wp_update_attachment_metadata($attachment_id, $attachment_data);
|
44 |
+
}
|
45 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
+
update_option('innofit_media_id', $ImageId);
|
48 |
$MediaId = get_option('innofit_media_id');
|
49 |
+
set_theme_mod('custom_logo', $MediaId[0]);
|
50 |
+
set_theme_mod('header_textcolor', "blank");
|
51 |
?>
|
inc/honeypress/default-widgets/default-widget.php
CHANGED
@@ -18,11 +18,11 @@ $activate = array(
|
|
18 |
|
19 |
/* the default titles will appear */
|
20 |
update_option('widget_text', array(
|
21 |
-
1 => array('title' => '
|
22 |
'text'=>'<p>Lorem ipsum dolor sit amet, ut ius audiam denique tractatos, pro cu dicat quidam neglegentur. Vel mazim aliquid.</p><address>
|
23 |
-
<i class="fa fa-map-marker"></i>
|
24 |
-
<i class="fa fa-envelope-o"></i><a href="mailto:
|
25 |
-
<i class="fa fa-phone"></i><a href="tel:+
|
26 |
</address>'),
|
27 |
));
|
28 |
|
18 |
|
19 |
/* the default titles will appear */
|
20 |
update_option('widget_text', array(
|
21 |
+
1 => array('title' => 'Lorem Ipsum',
|
22 |
'text'=>'<p>Lorem ipsum dolor sit amet, ut ius audiam denique tractatos, pro cu dicat quidam neglegentur. Vel mazim aliquid.</p><address>
|
23 |
+
<i class="fa fa-map-marker"></i>Lorem Ipsum? dolor sit<br>
|
24 |
+
<i class="fa fa-envelope-o"></i><a href="mailto:abc@example.com">abc@example.com</a><br>
|
25 |
+
<i class="fa fa-phone"></i><a href="tel:+99 999 999 99">+99 999 999 99</a><br>
|
26 |
</address>'),
|
27 |
));
|
28 |
|
inc/honeypress/features/feature-service-section.php
CHANGED
@@ -25,7 +25,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
25 |
// Service section title
|
26 |
$wp_customize->add_setting( 'home_service_section_title',array(
|
27 |
'capability' => 'edit_theme_options',
|
28 |
-
'default' => __('
|
29 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
30 |
'transport' => $selective_refresh,
|
31 |
));
|
@@ -38,7 +38,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
38 |
//room section discription
|
39 |
$wp_customize->add_setting( 'home_service_section_discription',array(
|
40 |
'capability' => 'edit_theme_options',
|
41 |
-
'default' => __('
|
42 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
43 |
'transport' => $selective_refresh,
|
44 |
));
|
@@ -70,7 +70,8 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
70 |
//plus Button
|
71 |
class Honyepress_services__section_upgrade extends WP_Customize_Control {
|
72 |
public function render_content() { ?>
|
73 |
-
<h3 class="customizer_honeypressservice_upgrade_section" style="display: none;">
|
|
|
74 |
<?php _e('Upgrade to Plus','spicebox'); ?> </a>
|
75 |
</h3>
|
76 |
<?php
|
@@ -130,5 +131,4 @@ function spiceb_honeypress_service_section_title_render_callback() {
|
|
130 |
|
131 |
function spiceb_honeypress_service_section_discription_render_callback() {
|
132 |
return get_theme_mod( 'home_service_section_discription' );
|
133 |
-
}
|
134 |
-
?>
|
25 |
// Service section title
|
26 |
$wp_customize->add_setting( 'home_service_section_title',array(
|
27 |
'capability' => 'edit_theme_options',
|
28 |
+
'default' => __('Etiam et Urna?','spicebox'),
|
29 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
30 |
'transport' => $selective_refresh,
|
31 |
));
|
38 |
//room section discription
|
39 |
$wp_customize->add_setting( 'home_service_section_discription',array(
|
40 |
'capability' => 'edit_theme_options',
|
41 |
+
'default' => __('Fusce Sed Massa','spicebox'),
|
42 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
43 |
'transport' => $selective_refresh,
|
44 |
));
|
70 |
//plus Button
|
71 |
class Honyepress_services__section_upgrade extends WP_Customize_Control {
|
72 |
public function render_content() { ?>
|
73 |
+
<h3 class="customizer_honeypressservice_upgrade_section" style="display: none;">
|
74 |
+
<?php _e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/honeypress-pro' ); ?>" target="_blank">
|
75 |
<?php _e('Upgrade to Plus','spicebox'); ?> </a>
|
76 |
</h3>
|
77 |
<?php
|
131 |
|
132 |
function spiceb_honeypress_service_section_discription_render_callback() {
|
133 |
return get_theme_mod( 'home_service_section_discription' );
|
134 |
+
}
|
|
inc/honeypress/features/feature-slider-section.php
CHANGED
@@ -1,229 +1,240 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
'default' => __('Read More','spicebox'),
|
98 |
-
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
99 |
-
'transport' => $selective_refresh,
|
100 |
-
));
|
101 |
-
$wp_customize->add_control( 'home_slider_btn_txt',array(
|
102 |
-
'label' => __('Button Text','spicebox'),
|
103 |
-
'section' => 'slider_section',
|
104 |
-
'type' => 'text',
|
105 |
-
));
|
106 |
-
|
107 |
-
// Slider button link
|
108 |
-
$wp_customize->add_setting( 'home_slider_btn_link',array(
|
109 |
-
'default' => __('#','spicebox'),
|
110 |
-
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
111 |
-
'transport' => $selective_refresh,
|
112 |
-
));
|
113 |
-
$wp_customize->add_control( 'home_slider_btn_link',array(
|
114 |
-
'label' => __('Button Link','spicebox'),
|
115 |
-
'section' => 'slider_section',
|
116 |
-
'type' => 'text',
|
117 |
-
));
|
118 |
-
|
119 |
-
// Slider button target
|
120 |
-
$wp_customize->add_setting(
|
121 |
-
'home_slider_btn_target',
|
122 |
-
array(
|
123 |
-
'default' => false,
|
124 |
-
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
125 |
-
));
|
126 |
-
$wp_customize->add_control('home_slider_btn_target', array(
|
127 |
-
'label' => __('Open link in new tab', 'spicebox'),
|
128 |
-
'section' => 'slider_section',
|
129 |
-
'type' => 'checkbox',
|
130 |
-
));
|
131 |
-
|
132 |
-
// Slider button2 text
|
133 |
-
$wp_customize->add_setting( 'home_slider_btn_txt2',array(
|
134 |
-
'default' => __('About Us','spicebox'),
|
135 |
-
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
136 |
-
'transport' => $selective_refresh,
|
137 |
-
));
|
138 |
-
$wp_customize->add_control( 'home_slider_btn_txt2',array(
|
139 |
-
'label' => __('Button 2 Text','spicebox'),
|
140 |
-
'section' => 'slider_section',
|
141 |
-
'type' => 'text',
|
142 |
-
));
|
143 |
-
|
144 |
-
// Slider button link
|
145 |
-
$wp_customize->add_setting( 'home_slider_btn_link2',array(
|
146 |
-
'default' => __('#','spicebox'),
|
147 |
-
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
148 |
-
'transport' => $selective_refresh,
|
149 |
-
));
|
150 |
-
$wp_customize->add_control( 'home_slider_btn_link2',array(
|
151 |
-
'label' => __('Button 2 Link','spicebox'),
|
152 |
-
'section' => 'slider_section',
|
153 |
-
'type' => 'text',
|
154 |
-
));
|
155 |
-
|
156 |
-
// Slider button target
|
157 |
-
$wp_customize->add_setting(
|
158 |
-
'home_slider_btn_target2',
|
159 |
-
array(
|
160 |
-
'default' => false,
|
161 |
-
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
162 |
-
));
|
163 |
-
$wp_customize->add_control('home_slider_btn_target2', array(
|
164 |
-
'label' => __('Open link in new tab', 'spicebox'),
|
165 |
-
'section' => 'slider_section',
|
166 |
-
'type' => 'checkbox',
|
167 |
-
));
|
168 |
-
}
|
169 |
|
170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
endif;
|
172 |
|
173 |
/**
|
174 |
* Add selective refresh for Front page section section controls.
|
175 |
*/
|
176 |
-
function spiceb_honeypress_register_home_slider_section_partials(
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
) );
|
183 |
-
|
184 |
-
//Slider section
|
185 |
-
$wp_customize->selective_refresh->add_partial( 'home_slider_title', array(
|
186 |
-
'selector' => '.caption-content.text-center .title',
|
187 |
-
'settings' => 'home_slider_title',
|
188 |
-
'render_callback' => 'spiceb_honeypress_slider_section_title_render_callback',
|
189 |
-
) );
|
190 |
-
|
191 |
-
$wp_customize->selective_refresh->add_partial( 'home_slider_discription', array(
|
192 |
-
'selector' => '.caption-content.text-center .description',
|
193 |
-
'settings' => 'home_slider_discription',
|
194 |
-
'render_callback' => 'spiceb_honeypress_slider_section_discription_render_callback',
|
195 |
-
|
196 |
-
) );
|
197 |
-
|
198 |
-
$wp_customize->selective_refresh->add_partial( 'home_slider_btn_txt', array(
|
199 |
-
'selector' => '.caption-content.text-center .btn-small.btn-default',
|
200 |
-
'settings' => 'home_slider_btn_txt',
|
201 |
-
'render_callback' => 'spiceb_honeypress_slider_btn_render_callback',
|
202 |
-
|
203 |
-
) );
|
204 |
-
|
205 |
-
$wp_customize->selective_refresh->add_partial( 'home_slider_btn_txt2', array(
|
206 |
-
'selector' => '.about-tbn',
|
207 |
-
'settings' => 'home_slider_btn_txt2',
|
208 |
-
'render_callback' => 'spiceb_honeypress_slider_btn2_render_callback',
|
209 |
-
) );
|
210 |
-
}
|
211 |
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
213 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
function spiceb_honeypress_slider_section_title_render_callback() {
|
216 |
-
|
217 |
}
|
218 |
|
219 |
function spiceb_honeypress_slider_section_discription_render_callback() {
|
220 |
-
|
221 |
}
|
222 |
|
223 |
function spiceb_honeypress_slider_btn_render_callback() {
|
224 |
-
|
225 |
}
|
226 |
|
227 |
function spiceb_honeypress_slider_btn2_render_callback() {
|
228 |
-
|
229 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!function_exists('spiceb_honeypress_slider_customize_register')) :
|
4 |
+
|
5 |
+
function spiceb_honeypress_slider_customize_register($wp_customize) {
|
6 |
+
$selective_refresh = isset($wp_customize->selective_refresh) ? 'postMessage' : 'refresh';
|
7 |
+
|
8 |
+
/* Slider Section */
|
9 |
+
$wp_customize->add_section('slider_section', array(
|
10 |
+
'title' => __('Slider settings', 'spicebox'),
|
11 |
+
'panel' => 'section_settings',
|
12 |
+
'priority' => 1,
|
13 |
+
));
|
14 |
+
|
15 |
+
// Enable slider
|
16 |
+
$wp_customize->add_setting('home_page_slider_enabled', array('default' => 'on'));
|
17 |
+
$wp_customize->add_control('home_page_slider_enabled', array(
|
18 |
+
'label' => __('Enable slider', 'spicebox'),
|
19 |
+
'section' => 'slider_section',
|
20 |
+
'type' => 'radio',
|
21 |
+
'choices' => array(
|
22 |
+
'on' => __('ON', 'spicebox'),
|
23 |
+
'off' => __('OFF', 'spicebox')
|
24 |
+
)
|
25 |
+
));
|
26 |
+
|
27 |
+
|
28 |
+
//Slider Image
|
29 |
+
$theme = wp_get_theme();
|
30 |
+
if ($theme->name == 'HoneyPress') {
|
31 |
+
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/slider.jpg',
|
32 |
+
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
33 |
+
} elseif ($theme->name == 'Radix Multipurpose') {
|
34 |
+
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/radix-multipurpose-slider.jpg',
|
35 |
+
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
36 |
+
} elseif ($theme->name == 'Bizhunt') {
|
37 |
+
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/bizhunt-slider.jpg',
|
38 |
+
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
39 |
+
} elseif ($theme->name == 'Tromas') {
|
40 |
+
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/tromas-slider.jpg',
|
41 |
+
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
42 |
+
} else {
|
43 |
+
$wp_customize->add_setting('home_slider_image', array('default' => SPICEB_PLUGIN_URL . 'inc/honeypress/images/slider/honeywaves-slider.jpg',
|
44 |
+
'sanitize_callback' => 'esc_url_raw', 'transport' => $selective_refresh,));
|
45 |
+
}
|
46 |
+
$wp_customize->add_control(
|
47 |
+
new WP_Customize_Image_Control(
|
48 |
+
$wp_customize,
|
49 |
+
'home_slider_image',
|
50 |
+
array(
|
51 |
+
'type' => 'upload',
|
52 |
+
'label' => __('Image', 'spicebox'),
|
53 |
+
'settings' => 'home_slider_image',
|
54 |
+
'section' => 'slider_section',
|
55 |
+
)
|
56 |
+
)
|
57 |
+
);
|
58 |
+
|
59 |
+
// Image overlay
|
60 |
+
$wp_customize->add_setting('slider_image_overlay', array(
|
61 |
+
'default' => true,
|
62 |
+
'sanitize_callback' => 'sanitize_text_field',
|
63 |
+
));
|
64 |
+
|
65 |
+
$wp_customize->add_control('slider_image_overlay', array(
|
66 |
+
'label' => __('Enable slider image overlay', 'spicebox'),
|
67 |
+
'section' => 'slider_section',
|
68 |
+
'type' => 'checkbox',
|
69 |
+
));
|
70 |
+
|
71 |
+
|
72 |
+
//Slider Background Overlay Color
|
73 |
+
$wp_customize->add_setting('slider_overlay_section_color', array(
|
74 |
+
'sanitize_callback' => 'sanitize_text_field',
|
75 |
+
'default' => 'rgba(0,0,0,0.6)',
|
76 |
+
));
|
77 |
+
|
78 |
+
$wp_customize->add_control(new Honeypress_Customize_Alpha_Color_Control($wp_customize, 'slider_overlay_section_color', array(
|
79 |
+
'label' => __('Slider image overlay color', 'spicebox'),
|
80 |
+
'palette' => true,
|
81 |
+
'section' => 'slider_section')
|
82 |
+
));
|
83 |
+
|
84 |
+
|
85 |
+
// Slider title
|
86 |
+
$wp_customize->add_setting('home_slider_title', array(
|
87 |
+
'default' => __('Nulla nec dolor sit amet lacus molestie', 'spicebox'),
|
88 |
+
'capability' => 'edit_theme_options',
|
89 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
90 |
+
'transport' => $selective_refresh,
|
91 |
+
));
|
92 |
+
$wp_customize->add_control('home_slider_title', array(
|
93 |
+
'label' => __('Title', 'spicebox'),
|
94 |
+
'section' => 'slider_section',
|
95 |
+
'type' => 'text',
|
96 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
|
98 |
+
//Slider discription
|
99 |
+
$wp_customize->add_setting('home_slider_discription', array(
|
100 |
+
'default' => __('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.', 'spicebox'),
|
101 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
102 |
+
'transport' => $selective_refresh,
|
103 |
+
));
|
104 |
+
$wp_customize->add_control('home_slider_discription', array(
|
105 |
+
'label' => __('Description', 'spicebox'),
|
106 |
+
'section' => 'slider_section',
|
107 |
+
'type' => 'textarea',
|
108 |
+
));
|
109 |
+
|
110 |
+
|
111 |
+
// Slider button text
|
112 |
+
$wp_customize->add_setting('home_slider_btn_txt', array(
|
113 |
+
'default' => __('Nec Sem', 'spicebox'),
|
114 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
115 |
+
'transport' => $selective_refresh,
|
116 |
+
));
|
117 |
+
$wp_customize->add_control('home_slider_btn_txt', array(
|
118 |
+
'label' => __('Button Text', 'spicebox'),
|
119 |
+
'section' => 'slider_section',
|
120 |
+
'type' => 'text',
|
121 |
+
));
|
122 |
+
|
123 |
+
// Slider button link
|
124 |
+
$wp_customize->add_setting('home_slider_btn_link', array(
|
125 |
+
'default' => __('#', 'spicebox'),
|
126 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
127 |
+
'transport' => $selective_refresh,
|
128 |
+
));
|
129 |
+
$wp_customize->add_control('home_slider_btn_link', array(
|
130 |
+
'label' => __('Button Link', 'spicebox'),
|
131 |
+
'section' => 'slider_section',
|
132 |
+
'type' => 'text',
|
133 |
+
));
|
134 |
+
|
135 |
+
// Slider button target
|
136 |
+
$wp_customize->add_setting(
|
137 |
+
'home_slider_btn_target',
|
138 |
+
array(
|
139 |
+
'default' => false,
|
140 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
141 |
+
));
|
142 |
+
$wp_customize->add_control('home_slider_btn_target', array(
|
143 |
+
'label' => __('Open link in new tab', 'spicebox'),
|
144 |
+
'section' => 'slider_section',
|
145 |
+
'type' => 'checkbox',
|
146 |
+
));
|
147 |
+
|
148 |
+
// Slider button2 text
|
149 |
+
$wp_customize->add_setting('home_slider_btn_txt2', array(
|
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_slider_btn_txt2', array(
|
155 |
+
'label' => __('Button 2 Text', 'spicebox'),
|
156 |
+
'section' => 'slider_section',
|
157 |
+
'type' => 'text',
|
158 |
+
));
|
159 |
+
|
160 |
+
// Slider button link
|
161 |
+
$wp_customize->add_setting('home_slider_btn_link2', array(
|
162 |
+
'default' => __('#', 'spicebox'),
|
163 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
164 |
+
'transport' => $selective_refresh,
|
165 |
+
));
|
166 |
+
$wp_customize->add_control('home_slider_btn_link2', array(
|
167 |
+
'label' => __('Button 2 Link', 'spicebox'),
|
168 |
+
'section' => 'slider_section',
|
169 |
+
'type' => 'text',
|
170 |
+
));
|
171 |
+
|
172 |
+
// Slider button target
|
173 |
+
$wp_customize->add_setting(
|
174 |
+
'home_slider_btn_target2',
|
175 |
+
array(
|
176 |
+
'default' => false,
|
177 |
+
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
178 |
+
));
|
179 |
+
$wp_customize->add_control('home_slider_btn_target2', array(
|
180 |
+
'label' => __('Open link in new tab', 'spicebox'),
|
181 |
+
'section' => 'slider_section',
|
182 |
+
'type' => 'checkbox',
|
183 |
+
));
|
184 |
+
}
|
185 |
+
|
186 |
+
add_action('customize_register', 'spiceb_honeypress_slider_customize_register');
|
187 |
endif;
|
188 |
|
189 |
/**
|
190 |
* Add selective refresh for Front page section section controls.
|
191 |
*/
|
192 |
+
function spiceb_honeypress_register_home_slider_section_partials($wp_customize) {
|
193 |
+
$wp_customize->selective_refresh->add_partial('home_slider_image', array(
|
194 |
+
'selector' => '.slider .item',
|
195 |
+
'settings' => 'home_slider_image',
|
196 |
+
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
|
198 |
+
//Slider section
|
199 |
+
$wp_customize->selective_refresh->add_partial('home_slider_title', array(
|
200 |
+
'selector' => '.caption-content.text-center .title',
|
201 |
+
'settings' => 'home_slider_title',
|
202 |
+
'render_callback' => 'spiceb_honeypress_slider_section_title_render_callback',
|
203 |
+
));
|
204 |
|
205 |
+
$wp_customize->selective_refresh->add_partial('home_slider_discription', array(
|
206 |
+
'selector' => '.caption-content.text-center .description',
|
207 |
+
'settings' => 'home_slider_discription',
|
208 |
+
'render_callback' => 'spiceb_honeypress_slider_section_discription_render_callback',
|
209 |
+
));
|
210 |
+
|
211 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt', array(
|
212 |
+
'selector' => '.caption-content.text-center .btn-small.btn-default',
|
213 |
+
'settings' => 'home_slider_btn_txt',
|
214 |
+
'render_callback' => 'spiceb_honeypress_slider_btn_render_callback',
|
215 |
+
));
|
216 |
+
|
217 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt2', array(
|
218 |
+
'selector' => '.about-tbn',
|
219 |
+
'settings' => 'home_slider_btn_txt2',
|
220 |
+
'render_callback' => 'spiceb_honeypress_slider_btn2_render_callback',
|
221 |
+
));
|
222 |
+
}
|
223 |
+
|
224 |
+
add_action('customize_register', 'spiceb_honeypress_register_home_slider_section_partials');
|
225 |
|
226 |
function spiceb_honeypress_slider_section_title_render_callback() {
|
227 |
+
return get_theme_mod('home_slider_title');
|
228 |
}
|
229 |
|
230 |
function spiceb_honeypress_slider_section_discription_render_callback() {
|
231 |
+
return get_theme_mod('home_slider_discription');
|
232 |
}
|
233 |
|
234 |
function spiceb_honeypress_slider_btn_render_callback() {
|
235 |
+
return get_theme_mod('home_slider_btn_txt');
|
236 |
}
|
237 |
|
238 |
function spiceb_honeypress_slider_btn2_render_callback() {
|
239 |
+
return get_theme_mod('home_slider_btn_txt2');
|
240 |
+
}
|
inc/honeypress/features/feature-testimonial-section.php
CHANGED
@@ -23,10 +23,25 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
23 |
));
|
24 |
|
25 |
//Testimonial Background Color
|
26 |
-
$
|
27 |
-
|
28 |
-
'
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
$wp_customize->add_control(new honeypress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
|
32 |
'label' => __('Background Color','spicebox'),
|
@@ -37,7 +52,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
37 |
// testimonial section title
|
38 |
$wp_customize->add_setting( 'home_testimonial_section_title',array(
|
39 |
'capability' => 'edit_theme_options',
|
40 |
-
'default' => __('
|
41 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
42 |
'transport' => $selective_refresh,
|
43 |
));
|
@@ -50,7 +65,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
50 |
//testimonial section discription
|
51 |
$wp_customize->add_setting( 'home_testimonial_section_discription',array(
|
52 |
'capability' => 'edit_theme_options',
|
53 |
-
'default'=> __('
|
54 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
55 |
'transport' => $selective_refresh,
|
56 |
));
|
@@ -94,7 +109,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
94 |
// testimonial section title
|
95 |
$wp_customize->add_setting( 'home_testimonial_title',array(
|
96 |
'capability' => 'edit_theme_options',
|
97 |
-
'default' => __('
|
98 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
99 |
'transport' => $selective_refresh,
|
100 |
));
|
@@ -106,7 +121,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
106 |
|
107 |
$wp_customize->add_setting( 'home_testimonial_designation',array(
|
108 |
'capability' => 'edit_theme_options',
|
109 |
-
'default' => __('
|
110 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
111 |
'transport' => $selective_refresh,
|
112 |
));
|
@@ -188,5 +203,4 @@ function spiceb_honeypress_testimonial_title_render_callback() {
|
|
188 |
|
189 |
function spiceb_honeypress_testimonial_designation_render_callback() {
|
190 |
return get_theme_mod( 'home_testimonial_designation' );
|
191 |
-
}
|
192 |
-
?>
|
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 |
+
else{
|
40 |
+
$wp_customize->add_setting( 'testimonial_overlay_section_color', array(
|
41 |
+
'sanitize_callback' => 'sanitize_text_field',
|
42 |
+
'default' => 'rgba(0, 0, 0, 0.9)',
|
43 |
+
) );
|
44 |
+
}
|
45 |
|
46 |
$wp_customize->add_control(new honeypress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
|
47 |
'label' => __('Background Color','spicebox'),
|
52 |
// testimonial section title
|
53 |
$wp_customize->add_setting( 'home_testimonial_section_title',array(
|
54 |
'capability' => 'edit_theme_options',
|
55 |
+
'default' => __('Proin Egestas','spicebox'),
|
56 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
57 |
'transport' => $selective_refresh,
|
58 |
));
|
65 |
//testimonial section discription
|
66 |
$wp_customize->add_setting( 'home_testimonial_section_discription',array(
|
67 |
'capability' => 'edit_theme_options',
|
68 |
+
'default'=> __('Nam Viverra Iaculis Finibus','spicebox'),
|
69 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
70 |
'transport' => $selective_refresh,
|
71 |
));
|
109 |
// testimonial section title
|
110 |
$wp_customize->add_setting( 'home_testimonial_title',array(
|
111 |
'capability' => 'edit_theme_options',
|
112 |
+
'default' => __('Cras Vitae','spicebox'),
|
113 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
114 |
'transport' => $selective_refresh,
|
115 |
));
|
121 |
|
122 |
$wp_customize->add_setting( 'home_testimonial_designation',array(
|
123 |
'capability' => 'edit_theme_options',
|
124 |
+
'default' => __('Eu Suscipit','spicebox'),
|
125 |
'sanitize_callback' => 'spiceb_honeypress_home_page_sanitize_text',
|
126 |
'transport' => $selective_refresh,
|
127 |
));
|
203 |
|
204 |
function spiceb_honeypress_testimonial_designation_render_callback() {
|
205 |
return get_theme_mod( 'home_testimonial_designation' );
|
206 |
+
}
|
|
inc/honeypress/images/bizhunt-logo.png
ADDED
Binary file
|
inc/honeypress/images/honeywaves-logo.png
ADDED
Binary file
|
inc/honeypress/images/radix-multipurpose-logo.png
ADDED
Binary file
|
inc/honeypress/images/slider/bizhunt-slider.jpg
ADDED
Binary file
|
inc/honeypress/images/slider/honeywaves-slider.jpg
ADDED
Binary file
|
inc/honeypress/images/slider/radix-multipurpose-slider.jpg
ADDED
Binary file
|
inc/honeypress/images/slider/tromas-slider.jpg
ADDED
Binary file
|
inc/honeypress/images/tromas-logo.png
ADDED
Binary file
|
inc/honeypress/sections/honeypress-service-section.php
CHANGED
@@ -2,144 +2,179 @@
|
|
2 |
/**
|
3 |
* Services section for the homepage.
|
4 |
*/
|
5 |
-
if (
|
6 |
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
-
|
10 |
-
$home_service_section_title = get_theme_mod('home_service_section_title',__('What we Offer?','spicebox'));
|
11 |
-
$home_service_section_discription = get_theme_mod('home_service_section_discription',__('Why Choose Us','spicebox'));
|
12 |
-
$honeypress_service_content = get_theme_mod( 'honeypress_service_content', spiceb_honeypress_get_service_default() );
|
13 |
-
$section_is_empty = empty( $honeypress_service_content ) && empty( $home_service_section_discription ) && empty( $home_service_section_title );
|
14 |
-
if($home_service_section_enabled !='off')
|
15 |
-
{
|
16 |
-
?>
|
17 |
-
<section class="section-module services">
|
18 |
-
<div class="container">
|
19 |
-
<?php if( ($home_service_section_title) || ($home_service_section_discription)!='' ) { ?>
|
20 |
-
<div class="row">
|
21 |
-
<div class="col-lg-12 col-md-12 col-xs-12">
|
22 |
-
<div class="section-header text-center">
|
23 |
-
<div class="section-separator border-center"></div>
|
24 |
-
<?php if ( ! empty( $home_service_section_title ) || is_customize_preview() ) : ?>
|
25 |
-
<p class="section-subtitle">
|
26 |
-
<?php echo $home_service_section_title; ?>
|
27 |
-
</p>
|
28 |
-
<?php endif; ?>
|
29 |
-
<?php if($home_service_section_discription) {?>
|
30 |
-
<h2 class="section-title">
|
31 |
-
<?php echo $home_service_section_discription; ?>
|
32 |
-
</h2>
|
33 |
-
<?php } ?>
|
34 |
-
</div>
|
35 |
-
</div>
|
36 |
-
</div>
|
37 |
-
<?php }
|
38 |
-
spiceb_honeypress_service_content( $honeypress_service_content );
|
39 |
-
?>
|
40 |
-
</div>
|
41 |
-
</section>
|
42 |
-
<?php } }
|
43 |
-
endif;
|
44 |
|
45 |
-
function spiceb_honeypress_service_content(
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
$honeypress_service_content = json_decode( $honeypress_service_content );
|
61 |
-
if ( ! empty( $honeypress_service_content ) ) {
|
62 |
-
$i = 1;
|
63 |
-
echo '<div class="row" id="service_content_section">';
|
64 |
-
foreach ( $honeypress_service_content as $service_item ) :
|
65 |
-
$icon = ! empty( $service_item->icon_value ) ? $service_item->icon_value : '';
|
66 |
-
$image = ! empty( $service_item->image_url ) ? $service_item->image_url: '';
|
67 |
-
$title = ! empty( $service_item->title ) ? $service_item->title : '';
|
68 |
-
$text = ! empty( $service_item->text ) ? $service_item->text : '';
|
69 |
-
$link = ! empty( $service_item->link ) ? $service_item->link : '';
|
70 |
-
$color = ! empty( $service_item->color ) ? $service_item->color : '';
|
71 |
-
$choice = ! empty( $service_item->choice ) ? $service_item->choice : 'customizer_repeater_icon';
|
72 |
-
$open_new_tab = ! empty( $service_item->open_new_tab ) ? $service_item->open_new_tab : 'no';
|
73 |
-
|
74 |
-
?>
|
75 |
-
<div class="col-md-4 col-sm-6 col-xs-12">
|
76 |
-
<div class="post text-center wow flipInX animated" data-wow-delay=".5s">
|
77 |
-
<?php if($choice == 'customizer_repeater_image'){ ?>
|
78 |
-
<?php if ( ! empty( $image ) ) : ?>
|
79 |
-
<figure class="post-thumbnail">
|
80 |
-
|
81 |
-
<?php if ( ! empty( $link ) ) : ?>
|
82 |
-
<a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?>>
|
83 |
-
<?php endif; ?>
|
84 |
-
<img class="services_cols_mn_icon"
|
85 |
-
src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
|
86 |
-
<?php if ( ! empty( $link ) ) : ?>
|
87 |
-
</a>
|
88 |
-
<?php endif; ?>
|
89 |
-
<?php endif; ?>
|
90 |
-
</figure>
|
91 |
-
<?php } ?>
|
92 |
-
|
93 |
-
<?php if($choice == 'customizer_repeater_icon'){ ?>
|
94 |
-
<?php if ( ! empty( $icon ) ) :?>
|
95 |
-
<figure class="post-thumbnail">
|
96 |
-
<?php if ( ! empty( $link ) ) : ?>
|
97 |
-
<a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> >
|
98 |
-
<?php endif; ?>
|
99 |
-
|
100 |
-
<i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
|
101 |
-
<?php if ( ! empty( $link ) ) : ?>
|
102 |
-
</a>
|
103 |
-
<?php endif; ?>
|
104 |
-
</figure>
|
105 |
-
<?php endif; ?>
|
106 |
-
<?php } ?>
|
107 |
-
|
108 |
-
<?php if ( ! empty( $title ) ) : ?>
|
109 |
-
<div class="entry-header">
|
110 |
-
<h4 class="entry-title"><?php if ( ! empty( $link ) ) : ?>
|
111 |
-
<a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> ><?php endif; ?><?php echo esc_html( $title ); ?><?php if ( ! empty( $link ) ) : ?></a>
|
112 |
-
<?php endif; ?>
|
113 |
-
</h4>
|
114 |
-
</div>
|
115 |
-
|
116 |
-
<?php endif; ?>
|
117 |
-
<?php if ( ! empty( $link ) ) : ?>
|
118 |
-
</a>
|
119 |
-
<?php endif; ?>
|
120 |
-
<?php if ( ! empty( $text ) ) : ?>
|
121 |
-
|
122 |
-
<div class="entry-content">
|
123 |
-
<p><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
|
124 |
-
</div>
|
125 |
-
<?php endif; ?>
|
126 |
-
</div>
|
127 |
-
</div>
|
128 |
-
<?php
|
129 |
-
if ( $i % apply_filters( 'honeypress_service_per_row_no', 3 ) == 0 ) {
|
130 |
-
echo '</div><!-- /.row -->';
|
131 |
-
echo '<div class="row">';
|
132 |
-
}
|
133 |
-
$i++;
|
134 |
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
}
|
144 |
|
145 |
/**
|
@@ -150,39 +185,39 @@ function spiceb_honeypress_service_content( $honeypress_service_content, $is_cal
|
|
150 |
*/
|
151 |
function spiceb_honeypress_get_service_default() {
|
152 |
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
}
|
184 |
|
185 |
-
if (
|
186 |
-
|
187 |
-
|
188 |
}
|
2 |
/**
|
3 |
* Services section for the homepage.
|
4 |
*/
|
5 |
+
if (!function_exists('spiceb_honeypress_service')) :
|
6 |
|
7 |
+
function spiceb_honeypress_service() {
|
8 |
+
$theme = wp_get_theme();
|
9 |
+
if ($theme->name == 'HoneyWaves') {
|
10 |
+
$service_variant_class = 'section-module services4 service_wrapper';
|
11 |
+
} elseif ($theme->name == 'Radix Multipurpose') {
|
12 |
+
$service_variant_class = 'section-module services3 service_wrapper';
|
13 |
+
} elseif ($theme->name == 'Bizhunt') {
|
14 |
+
$service_variant_class = 'section-module services2 service_wrapper';
|
15 |
+
} elseif ($theme->name == 'Tromas') {
|
16 |
+
$service_variant_class = 'section-module services5 service_wrapper';
|
17 |
+
} else {
|
18 |
+
$service_variant_class = 'section-module services';
|
19 |
+
}
|
20 |
+
$home_service_section_enabled = get_theme_mod('home_service_section_enabled', 'on');
|
21 |
+
$home_service_section_title = get_theme_mod('home_service_section_title', __('Etiam et Urna?', 'spicebox'));
|
22 |
+
$home_service_section_discription = get_theme_mod('home_service_section_discription', __('Fusce Sed Massa', 'spicebox'));
|
23 |
+
$honeypress_service_content = get_theme_mod('honeypress_service_content', spiceb_honeypress_get_service_default());
|
24 |
+
$section_is_empty = empty($honeypress_service_content) && empty($home_service_section_discription) && empty($home_service_section_title);
|
25 |
+
if ($home_service_section_enabled != 'off') {
|
26 |
+
?>
|
27 |
+
<section class="<?php echo $service_variant_class; ?>">
|
28 |
+
<div class="container">
|
29 |
+
<?php if (($home_service_section_title) || ($home_service_section_discription) != '') { ?>
|
30 |
+
<div class="row">
|
31 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
32 |
+
<div class="section-header text-center">
|
33 |
+
<div class="section-separator border-center"></div>
|
34 |
+
<?php if (!empty($home_service_section_title) || is_customize_preview()) : ?>
|
35 |
+
<p class="section-subtitle">
|
36 |
+
<?php echo $home_service_section_title; ?>
|
37 |
+
</p>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php if ($home_service_section_discription) { ?>
|
40 |
+
<h2 class="section-title">
|
41 |
+
<?php echo $home_service_section_discription; ?>
|
42 |
+
</h2>
|
43 |
+
<?php } ?>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<?php
|
48 |
+
}
|
49 |
+
spiceb_honeypress_service_content($honeypress_service_content);
|
50 |
+
?>
|
51 |
+
</div>
|
52 |
+
</section>
|
53 |
+
<?php
|
54 |
+
}
|
55 |
+
}
|
56 |
|
57 |
+
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
+
function spiceb_honeypress_service_content($honeypress_service_content, $is_callback = false) {
|
60 |
+
if (!$is_callback) {
|
61 |
+
?>
|
62 |
+
<?php
|
63 |
+
}
|
64 |
+
if (!empty($honeypress_service_content)) :
|
65 |
|
66 |
+
$allowed_html = array(
|
67 |
+
'br' => array(),
|
68 |
+
'em' => array(),
|
69 |
+
'strong' => array(),
|
70 |
+
'b' => array(),
|
71 |
+
'i' => array(),
|
72 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
$honeypress_service_content = json_decode($honeypress_service_content);
|
75 |
+
if (!empty($honeypress_service_content)) {
|
76 |
+
$theme = wp_get_theme();
|
77 |
+
if ($theme->name == 'HoneyPress') {
|
78 |
+
$post_class = 'text-center wow flipInX animated';
|
79 |
+
} elseif ($theme->name == 'HoneyWaves') {
|
80 |
+
$post_class = '';
|
81 |
+
} elseif ($theme->name == 'Radix Multipurpose') {
|
82 |
+
$post_class = 'text-center';
|
83 |
+
} elseif ($theme->name == 'Bizhunt') {
|
84 |
+
$post_class = '';
|
85 |
+
} elseif ($theme->name == 'Tromas') {
|
86 |
+
$post_class = '';
|
87 |
+
} else {
|
88 |
+
$post_class = 'text-center wow flipInX animated';
|
89 |
+
}
|
90 |
+
$i = 1;
|
91 |
+
echo '<div class="row" id="service_content_section">';
|
92 |
+
foreach ($honeypress_service_content as $service_item) :
|
93 |
+
$icon = !empty($service_item->icon_value) ? $service_item->icon_value : '';
|
94 |
+
$image = !empty($service_item->image_url) ? $service_item->image_url : '';
|
95 |
+
$title = !empty($service_item->title) ? $service_item->title : '';
|
96 |
+
$text = !empty($service_item->text) ? $service_item->text : '';
|
97 |
+
$link = !empty($service_item->link) ? $service_item->link : '';
|
98 |
+
$color = !empty($service_item->color) ? $service_item->color : '';
|
99 |
+
$choice = !empty($service_item->choice) ? $service_item->choice : 'customizer_repeater_icon';
|
100 |
+
$open_new_tab = !empty($service_item->open_new_tab) ? $service_item->open_new_tab : 'no';
|
101 |
+
?>
|
102 |
+
<div class="col-md-4 col-sm-6 col-xs-12">
|
103 |
+
<div class="post <?php echo $post_class; ?>"<?php if ($theme->name == 'HoneyPress') {
|
104 |
+
echo 'data-wow-delay=".5s"';
|
105 |
+
} ?>>
|
106 |
+
<?php if ($choice == 'customizer_repeater_image') { ?>
|
107 |
+
<?php if (!empty($image)) : ?>
|
108 |
+
<figure class="post-thumbnail">
|
109 |
+
|
110 |
+
<?php if (!empty($link)) : ?>
|
111 |
+
<a href="<?php echo esc_url($link); ?>" <?php if ($open_new_tab == 'yes') {
|
112 |
+
echo 'target="_blank"';
|
113 |
+
} ?>>
|
114 |
+
<?php endif; ?>
|
115 |
+
<img class="services_cols_mn_icon"
|
116 |
+
src="<?php echo esc_url($image); ?>" <?php if (!empty($title)) : ?> alt="<?php echo esc_attr($title); ?>" title="<?php echo esc_attr($title); ?>" <?php endif; ?> />
|
117 |
+
<?php if (!empty($link)) : ?>
|
118 |
+
</a>
|
119 |
+
<?php endif; ?>
|
120 |
+
<?php endif; ?>
|
121 |
+
</figure>
|
122 |
+
<?php } ?>
|
123 |
+
|
124 |
+
<?php if ($choice == 'customizer_repeater_icon') { ?>
|
125 |
+
<?php if (!empty($icon)) : ?>
|
126 |
+
<figure class="post-thumbnail">
|
127 |
+
<?php if (!empty($link)) : ?>
|
128 |
+
<a href="<?php echo esc_url($link); ?>" <?php if ($open_new_tab == 'yes') {
|
129 |
+
echo 'target="_blank"';
|
130 |
+
} ?> >
|
131 |
+
<?php endif; ?>
|
132 |
+
|
133 |
+
<i class="fa <?php echo esc_html($icon); ?> txt-pink"></i>
|
134 |
+
<?php if (!empty($link)) : ?>
|
135 |
+
</a>
|
136 |
+
<?php endif; ?>
|
137 |
+
</figure>
|
138 |
+
<?php endif; ?>
|
139 |
+
<?php } ?>
|
140 |
+
|
141 |
+
<?php if (!empty($title)) : ?>
|
142 |
+
<div class="entry-header">
|
143 |
+
<h4 class="entry-title"><?php if (!empty($link)) : ?>
|
144 |
+
<a href="<?php echo esc_url($link); ?>" <?php if ($open_new_tab == 'yes') {
|
145 |
+
echo 'target="_blank"';
|
146 |
+
} ?> ><?php endif; ?><?php echo esc_html($title); ?><?php if (!empty($link)) : ?></a>
|
147 |
+
<?php endif; ?>
|
148 |
+
</h4>
|
149 |
+
</div>
|
150 |
+
|
151 |
+
<?php endif; ?>
|
152 |
+
<?php if (!empty($link)) : ?>
|
153 |
+
</a>
|
154 |
+
<?php endif; ?>
|
155 |
+
<?php if (!empty($text)) : ?>
|
156 |
+
|
157 |
+
<div class="entry-content">
|
158 |
+
<p><?php echo wp_kses(html_entity_decode($text), $allowed_html); ?></p>
|
159 |
+
</div>
|
160 |
+
<?php endif; ?>
|
161 |
+
</div>
|
162 |
+
</div>
|
163 |
+
<?php
|
164 |
+
if ($i % apply_filters('honeypress_service_per_row_no', 3) == 0) {
|
165 |
+
echo '</div><!-- /.row -->';
|
166 |
+
echo '<div class="row">';
|
167 |
+
}
|
168 |
+
$i++;
|
169 |
+
|
170 |
+
endforeach;
|
171 |
+
echo '</div>';
|
172 |
+
}// End if().
|
173 |
+
endif;
|
174 |
+
if (!$is_callback) {
|
175 |
+
?>
|
176 |
+
<?php
|
177 |
+
}
|
178 |
}
|
179 |
|
180 |
/**
|
185 |
*/
|
186 |
function spiceb_honeypress_get_service_default() {
|
187 |
|
188 |
+
return apply_filters(
|
189 |
+
'honeypress_service_content', json_encode(
|
190 |
+
array(
|
191 |
+
array(
|
192 |
+
'icon_value' => 'fa-laptop',
|
193 |
+
'title' => esc_html__('Suspendisse Tristique', 'spicebox'),
|
194 |
+
'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor', 'spicebox',
|
195 |
+
'choice' => 'customizer_repeater_icon',
|
196 |
+
'link' => '#',
|
197 |
+
'open_new_tab' => 'no',
|
198 |
+
),
|
199 |
+
array(
|
200 |
+
'icon_value' => 'fa fa-cogs',
|
201 |
+
'title' => esc_html__('Blandit-Gravida', 'spicebox'),
|
202 |
+
'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor', 'spicebox',
|
203 |
+
'choice' => 'customizer_repeater_icon',
|
204 |
+
'link' => '#',
|
205 |
+
'open_new_tab' => 'no',
|
206 |
+
),
|
207 |
+
array(
|
208 |
+
'icon_value' => 'fa fa-cog',
|
209 |
+
'title' => esc_html__('Justo Bibendum', 'spicebox'),
|
210 |
+
'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor',
|
211 |
+
'choice' => 'customizer_repeater_icon',
|
212 |
+
'link' => '#',
|
213 |
+
'open_new_tab' => 'no',
|
214 |
+
),
|
215 |
+
)
|
216 |
+
)
|
217 |
+
);
|
218 |
}
|
219 |
|
220 |
+
if (function_exists('spiceb_honeypress_service')) {
|
221 |
+
$section_priority = apply_filters('honeypress_section_priority', 11, 'spiceb_honeypress_service');
|
222 |
+
add_action('spiceb_honeypress_sections', 'spiceb_honeypress_service', absint($section_priority));
|
223 |
}
|
inc/honeypress/sections/honeypress-slider-section.php
CHANGED
@@ -6,15 +6,26 @@ if ( ! function_exists( 'spiceb_honeypress_slider' ) ) :
|
|
6 |
|
7 |
function spiceb_honeypress_slider() {
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/slider.jpg');
|
10 |
-
|
|
|
11 |
|
12 |
$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'));
|
13 |
-
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('
|
14 |
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
15 |
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
16 |
|
17 |
-
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('
|
18 |
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
19 |
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
20 |
|
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');
|
12 |
+
}elseif( $theme->name=='Radix Multipurpose'){
|
13 |
+
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/radix-multipurpose-slider.jpg');
|
14 |
+
}elseif( $theme->name=='Bizhunt'){
|
15 |
+
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/bizhunt-slider.jpg');
|
16 |
+
}elseif( $theme->name=='Tromas'){
|
17 |
+
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/tromas-slider.jpg');
|
18 |
+
}else{
|
19 |
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/honeypress/images/slider/slider.jpg');
|
20 |
+
}
|
21 |
+
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
|
22 |
|
23 |
$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'));
|
24 |
+
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
25 |
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
26 |
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
27 |
|
28 |
+
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
29 |
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
30 |
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
31 |
|
inc/honeypress/sections/honeypress-testimonail-section.php
CHANGED
@@ -2,64 +2,198 @@
|
|
2 |
/**
|
3 |
* Testimonial section for the homepage.
|
4 |
*/
|
5 |
-
if (
|
6 |
-
function spiceb_honeypress_testimonial() {
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
-
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color','rgba(0, 76, 236, 0.9)');
|
13 |
-
?>
|
14 |
-
<section class="section-module testimonial" style="background-color:<?php echo $testimonial_overlay_section_color; ?>">
|
15 |
-
<div class="container">
|
16 |
-
<?php
|
17 |
-
$home_testimonial_section_title = get_theme_mod('home_testimonial_section_title',__('What People Say','spicebox'));
|
18 |
-
$home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription',__('What Clients Are Say','spicebox'));
|
19 |
-
$home_testimonial_title = get_theme_mod('home_testimonial_title',__('Alice Culan','spicebox'));
|
20 |
-
$home_testimonial_designation= get_theme_mod('home_testimonial_designation',__('UI Developer','spicebox'));
|
21 |
-
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb',SPICEB_PLUGIN_URL .'inc/honeypress/images/testimonial/testi1.jpg');
|
22 |
-
$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'));?>
|
23 |
-
<?php if( $home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
24 |
-
<div class="row">
|
25 |
-
<div class="col-lg-12 col-md-12 col-xs-12">
|
26 |
-
<div class="section-header text-center">
|
27 |
-
<div class="section-separator white border-center"></div>
|
28 |
-
<p class="section-subtitle text-white">
|
29 |
-
<?php echo esc_attr($home_testimonial_section_title); ?>
|
30 |
-
</p>
|
31 |
-
<h2 class="section-title text-white">
|
32 |
-
<?php echo esc_attr($home_testimonial_section_discription); ?>
|
33 |
-
</h2>
|
34 |
-
</div>
|
35 |
-
</div>
|
36 |
-
</div>
|
37 |
-
<?php } ?>
|
38 |
-
<div class="row">
|
39 |
-
<div class="col-md-12">
|
40 |
-
<article class="testmonial-block text-center">
|
41 |
-
<?php if($home_testimonial_thumb !=''){ ?>
|
42 |
-
<figure class="avatar">
|
43 |
-
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
44 |
-
</figure>
|
45 |
-
<?php } ?>
|
46 |
-
<div class="entry-content">
|
47 |
-
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
48 |
-
</div>
|
49 |
-
<figcaption>
|
50 |
-
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
51 |
-
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
52 |
-
</figcaption>
|
53 |
-
</article>
|
54 |
-
</div>
|
55 |
-
</div>
|
56 |
-
</div>
|
57 |
-
</section>
|
58 |
-
<div class="clearfix"></div>
|
59 |
-
<?php }
|
60 |
-
}
|
61 |
endif;
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* Testimonial section for the homepage.
|
4 |
*/
|
5 |
+
if (!function_exists('spiceb_honeypress_testimonial')) :
|
|
|
6 |
|
7 |
+
function spiceb_honeypress_testimonial() {
|
8 |
+
|
9 |
+
$testimonial_section_enable = get_theme_mod('testimonial_section_enable', 'on');
|
10 |
+
if ($testimonial_section_enable != 'off') {
|
11 |
+
$theme = wp_get_theme();
|
12 |
+
if ($theme->name == 'HoneyPress') {
|
13 |
+
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(0, 76, 236, 0.9)');
|
14 |
+
} elseif ($theme->name == 'Radix Multipurpose') {
|
15 |
+
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(130, 180, 64, 0.9)');
|
16 |
+
}elseif($theme->name == 'Bizhunt'){
|
17 |
+
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(105,116,234,0.9)');
|
18 |
+
} else {
|
19 |
+
$testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color', 'rgba(0, 0, 0, 0.9)');
|
20 |
+
}
|
21 |
+
?>
|
22 |
+
<section class="section-module testimonial" style="background-color:<?php echo $testimonial_overlay_section_color; ?>">
|
23 |
+
<div class="container">
|
24 |
+
<?php
|
25 |
+
$home_testimonial_section_title = get_theme_mod('home_testimonial_section_title', __('Proin Egestas', 'spicebox'));
|
26 |
+
$home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription', __('Nam Viverra Iaculis Finibus', 'spicebox'));
|
27 |
+
$home_testimonial_title = get_theme_mod('home_testimonial_title', __('Cras Vitae', 'spicebox'));
|
28 |
+
$home_testimonial_designation = get_theme_mod('home_testimonial_designation', __('Eu Suscipit', 'spicebox'));
|
29 |
+
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL . 'inc/honeypress/images/testimonial/testi1.jpg');
|
30 |
+
$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'));
|
31 |
+
?>
|
32 |
+
<?php if ($home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
33 |
+
<div class="row">
|
34 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
35 |
+
<div class="section-header text-center">
|
36 |
+
<div class="section-separator white border-center"></div>
|
37 |
+
<p class="section-subtitle text-white">
|
38 |
+
<?php echo esc_attr($home_testimonial_section_title); ?>
|
39 |
+
</p>
|
40 |
+
<h2 class="section-title text-white">
|
41 |
+
<?php echo esc_attr($home_testimonial_section_discription); ?>
|
42 |
+
</h2>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<?php } ?>
|
47 |
+
<div class="row">
|
48 |
+
<?php
|
49 |
+
honeypress_testimonial_variant();
|
50 |
+
?>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
</section>
|
54 |
+
<div class="clearfix"></div>
|
55 |
+
<?php
|
56 |
+
}
|
57 |
+
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
endif;
|
60 |
+
if (function_exists('spiceb_honeypress_testimonial')) {
|
61 |
+
$section_priority = apply_filters('honeypress_section_priority', 13, 'spiceb_honeypress_testimonial');
|
62 |
+
add_action('spiceb_honeypress_sections', 'spiceb_honeypress_testimonial', absint($section_priority));
|
63 |
+
}
|
64 |
+
|
65 |
+
// Testimonial Variant
|
66 |
+
if (!function_exists('honeypress_testimonial_variant')) :
|
67 |
+
|
68 |
+
function honeypress_testimonial_variant() {
|
69 |
+
$home_testimonial_title = get_theme_mod('home_testimonial_title', __('Cras Vitae', 'spicebox'));
|
70 |
+
$home_testimonial_designation = get_theme_mod('home_testimonial_designation', __('Eu Suscipit', 'spicebox'));
|
71 |
+
$home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL . 'inc/honeypress/images/testimonial/testi1.jpg');
|
72 |
+
$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'));
|
73 |
+
|
74 |
+
$theme = wp_get_theme();
|
75 |
+
if ($theme->name == 'HoneyWaves') {
|
76 |
+
?>
|
77 |
+
<div id="testimonial-carousel2" >
|
78 |
+
<div class="item">
|
79 |
+
<article class="testmonial-block">
|
80 |
+
<?php if ($home_testimonial_thumb != '') { ?>
|
81 |
+
<figure class="avatar">
|
82 |
+
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
83 |
+
</figure>
|
84 |
+
<?php } ?>
|
85 |
+
<div class="entry-content">
|
86 |
+
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
87 |
+
</div>
|
88 |
+
<figcaption>
|
89 |
+
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
90 |
+
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
91 |
+
</figcaption>
|
92 |
+
</article>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<?php } elseif ($theme->name == 'HoneyPress') {
|
96 |
+
?>
|
97 |
+
<div class="col-md-12">
|
98 |
+
<article class="testmonial-block text-center">
|
99 |
+
<?php if ($home_testimonial_thumb != '') { ?>
|
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>
|
110 |
+
</figcaption>
|
111 |
+
</article>
|
112 |
+
</div>
|
113 |
+
<?php } elseif ($theme->name == 'Radix Multipurpose') {
|
114 |
+
?>
|
115 |
+
<div id="testimonial-carousel4">
|
116 |
+
<div class="item">
|
117 |
+
<article class="testmonial-block text-center">
|
118 |
+
<?php if ($home_testimonial_thumb != '') { ?>
|
119 |
+
<figure class="avatar">
|
120 |
+
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
121 |
+
</figure>
|
122 |
+
<?php } ?>
|
123 |
+
<figcaption>
|
124 |
+
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
125 |
+
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
126 |
+
</figcaption>
|
127 |
+
<div class="entry-content">
|
128 |
+
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
129 |
+
</div>
|
130 |
+
</article>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
<?php } elseif ($theme->name == 'Bizhunt') {
|
134 |
+
?>
|
135 |
+
<div class="col-md-12">
|
136 |
+
<article class="testmonial-block text-center">
|
137 |
+
<?php if ($home_testimonial_thumb != '') { ?>
|
138 |
+
<figure class="avatar">
|
139 |
+
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
140 |
+
</figure>
|
141 |
+
<?php } ?>
|
142 |
+
|
143 |
+
<figcaption>
|
144 |
+
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
145 |
+
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
146 |
+
</figcaption>
|
147 |
+
|
148 |
+
<div class="entry-content">
|
149 |
+
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
150 |
+
</div>
|
151 |
+
|
152 |
+
</article>
|
153 |
+
</div>
|
154 |
+
<?php } elseif ($theme->name == 'Tromas') {
|
155 |
+
?>
|
156 |
+
<div id="testimonial-carousel5">
|
157 |
+
<div class="item">
|
158 |
+
<article class="testmonial-block5 text-center">
|
159 |
+
<?php if ($home_testimonial_thumb != '') { ?>
|
160 |
+
<figure class="avatar">
|
161 |
+
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
162 |
+
</figure>
|
163 |
+
<?php } ?>
|
164 |
+
<div class="entry-content">
|
165 |
+
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
166 |
+
</div>
|
167 |
+
<figcaption>
|
168 |
+
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
169 |
+
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
170 |
+
</figcaption>
|
171 |
+
</article>
|
172 |
+
</div>
|
173 |
+
</div>
|
174 |
+
<?php } else {
|
175 |
+
?>
|
176 |
+
<div class="col-md-12">
|
177 |
+
<article class="testmonial-block text-center">
|
178 |
+
<?php if ($home_testimonial_thumb != '') { ?>
|
179 |
+
<figure class="avatar">
|
180 |
+
<img src="<?php echo $home_testimonial_thumb; ?>" class="img-fluid rounded-circle" alt="img">
|
181 |
+
</figure>
|
182 |
+
<?php } ?>
|
183 |
+
<div class="entry-content">
|
184 |
+
<p class="text-white"><?php echo $home_testimonial_desc; ?></p>
|
185 |
+
</div>
|
186 |
+
<figcaption>
|
187 |
+
<cite class="name"><?php echo $home_testimonial_title; ?></cite>
|
188 |
+
<span class="designation"><?php echo $home_testimonial_designation; ?></span>
|
189 |
+
</figcaption>
|
190 |
+
</article>
|
191 |
+
</div>
|
192 |
+
<?php
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
|
197 |
+
|
198 |
+
|
199 |
+
endif;
|
inc/innofit-feedback-pop-up-form.php
CHANGED
@@ -107,6 +107,4 @@ echo home_url( $wp->request ).'/wp-admin/themes.php';
|
|
107 |
|
108 |
<?php
|
109 |
unset( $_GET['action'] );
|
110 |
-
require ABSPATH . 'wp-admin/themes.php';
|
111 |
-
|
112 |
-
?>
|
107 |
|
108 |
<?php
|
109 |
unset( $_GET['action'] );
|
110 |
+
require ABSPATH . 'wp-admin/themes.php';
|
|
|
|
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"
|
@@ -42,7 +42,8 @@ msgstr ""
|
|
42 |
"_nc:4c,1,2\n"
|
43 |
"X-Poedit-Basepath: ..\n"
|
44 |
"Language: en_US\n"
|
45 |
-
"X-Generator: Poedit
|
|
|
46 |
"X-Poedit-"
|
47 |
"SearchPath-0: .\n"
|
48 |
|
@@ -81,7 +82,7 @@ msgstr ""
|
|
81 |
#: inc/cloudpress/features/feature-service-section.php:20
|
82 |
#: inc/cloudpress/features/feature-slider-section.php:19
|
83 |
#: inc/honeypress/features/feature-service-section.php:20
|
84 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
85 |
#: inc/honeypress/features/feature-testimonial-section.php:20
|
86 |
#: inc/innofit/customizer/about-section.php:17
|
87 |
#: inc/innofit/customizer/callout-section.php:16
|
@@ -105,7 +106,7 @@ msgstr ""
|
|
105 |
#: inc/cloudpress/features/feature-service-section.php:21
|
106 |
#: inc/cloudpress/features/feature-slider-section.php:20
|
107 |
#: inc/honeypress/features/feature-service-section.php:21
|
108 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
109 |
#: inc/honeypress/features/feature-testimonial-section.php:21
|
110 |
#: inc/innofit/customizer/about-section.php:18
|
111 |
#: inc/innofit/customizer/callout-section.php:17
|
@@ -136,9 +137,9 @@ msgstr ""
|
|
136 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
|
137 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
|
138 |
#: inc/honeypress/features/feature-service-section.php:33
|
139 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
140 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
141 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
142 |
#: inc/innofit/customizer/callout-section.php:29
|
143 |
#: inc/innofit/customizer/news-section.php:30
|
144 |
#: inc/innofit/customizer/services-section.php:31
|
@@ -184,8 +185,8 @@ msgstr ""
|
|
184 |
#: inc/cloudpress/features/feature-cta-section.php:65
|
185 |
#: inc/cloudpress/features/feature-slider-section.php:109
|
186 |
#: inc/cloudpress/features/feature-slider-section.php:146
|
187 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
188 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
189 |
#: inc/innofit/customizer/callout-section.php:68
|
190 |
#: inc/innofit/customizer/slider-section.php:105
|
191 |
#: inc/spicepress/features/feature-slider-section.php:108
|
@@ -194,7 +195,7 @@ msgstr ""
|
|
194 |
|
195 |
#: inc/cloudpress/features/feature-cta-section.php:70
|
196 |
#: inc/cloudpress/features/feature-slider-section.php:114
|
197 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
198 |
#: inc/innofit/customizer/callout-section.php:74
|
199 |
#: inc/innofit/customizer/slider-section.php:110
|
200 |
#: inc/spicepress/features/feature-slider-section.php:113
|
@@ -230,7 +231,7 @@ msgstr ""
|
|
230 |
|
231 |
#: inc/cloudpress/features/feature-funfact-section.php:45
|
232 |
#: inc/cloudpress/features/feature-service-section.php:74
|
233 |
-
#: inc/honeypress/features/feature-service-section.php:
|
234 |
#: inc/innofit/customizer/services-section.php:73
|
235 |
#: inc/innofit/customizer/team-section.php:73
|
236 |
#: inc/innofit/customizer/testimonial-section.php:106
|
@@ -255,8 +256,6 @@ msgstr ""
|
|
255 |
|
256 |
#: inc/cloudpress/features/feature-service-section.php:28
|
257 |
#: inc/cloudpress/sections/cloudpress-service-section.php:10
|
258 |
-
#: inc/honeypress/features/feature-service-section.php:28
|
259 |
-
#: inc/honeypress/sections/honeypress-service-section.php:10
|
260 |
#: inc/spicepress/features/feature-service-section.php:35
|
261 |
#: inc/spicepress/sections/spicepress-features-section.php:10
|
262 |
msgid "What we Offer?"
|
@@ -264,8 +263,6 @@ msgstr ""
|
|
264 |
|
265 |
#: inc/cloudpress/features/feature-service-section.php:41
|
266 |
#: inc/cloudpress/sections/cloudpress-service-section.php:11
|
267 |
-
#: inc/honeypress/features/feature-service-section.php:41
|
268 |
-
#: inc/honeypress/sections/honeypress-service-section.php:11
|
269 |
msgid "Why Choose Us"
|
270 |
msgstr ""
|
271 |
|
@@ -274,9 +271,9 @@ msgstr ""
|
|
274 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
|
275 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
|
276 |
#: inc/honeypress/features/feature-service-section.php:46
|
277 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
278 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
279 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
280 |
#: inc/innofit/customizer/callout-section.php:41
|
281 |
#: inc/innofit/customizer/news-section.php:42
|
282 |
#: inc/innofit/customizer/services-section.php:46
|
@@ -318,20 +315,20 @@ msgid "Service"
|
|
318 |
msgstr ""
|
319 |
|
320 |
#: inc/cloudpress/features/feature-service-section.php:73
|
321 |
-
#: inc/honeypress/features/feature-service-section.php:
|
322 |
#: inc/innofit/customizer/services-section.php:72
|
323 |
msgid ""
|
324 |
"To add More Service? Then"
|
325 |
msgstr ""
|
326 |
|
327 |
#: inc/cloudpress/features/feature-slider-section.php:7
|
328 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
329 |
#: inc/spicepress/features/feature-slider-section.php:7
|
330 |
msgid "Slider settings"
|
331 |
msgstr ""
|
332 |
|
333 |
#: inc/cloudpress/features/feature-slider-section.php:15
|
334 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
335 |
#: inc/spicepress/features/feature-slider-section.php:15
|
336 |
msgid "Enable slider"
|
337 |
msgstr ""
|
@@ -339,8 +336,8 @@ msgstr ""
|
|
339 |
#: inc/cloudpress/features/feature-slider-section.php:35
|
340 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
|
341 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
|
342 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
343 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
344 |
#: inc/innofit/customizer/about-section.php:73
|
345 |
#: inc/innofit/customizer/slider-section.php:32
|
346 |
#: inc/spicepress/features/feature-portfolio-section.php:59
|
@@ -352,7 +349,7 @@ msgid "Image"
|
|
352 |
msgstr ""
|
353 |
|
354 |
#: inc/cloudpress/features/feature-slider-section.php:50
|
355 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
356 |
#: inc/innofit/customizer/slider-section.php:47
|
357 |
#: inc/spicepress/features/feature-slider-section.php:50
|
358 |
msgid ""
|
@@ -361,7 +358,7 @@ msgid ""
|
|
361 |
msgstr ""
|
362 |
|
363 |
#: inc/cloudpress/features/feature-slider-section.php:63
|
364 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
365 |
#: inc/innofit/customizer/slider-section.php:60
|
366 |
#: inc/spicepress/features/feature-slider-section.php:63
|
367 |
msgid ""
|
@@ -377,7 +374,7 @@ msgid ""
|
|
377 |
msgstr ""
|
378 |
|
379 |
#: inc/cloudpress/features/feature-slider-section.php:84
|
380 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
381 |
msgid ""
|
382 |
"Sea summo mazim ex, ea "
|
383 |
"errem eleifend "
|
@@ -389,8 +386,6 @@ msgstr ""
|
|
389 |
|
390 |
#: inc/cloudpress/features/feature-slider-section.php:97
|
391 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:13
|
392 |
-
#: inc/honeypress/features/feature-slider-section.php:97
|
393 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:13
|
394 |
#: inc/innofit/sections/innofit-news-section.php:97
|
395 |
#: inc/spicepress/sections/spicepress-slider-section.php:13
|
396 |
msgid "Read More"
|
@@ -399,7 +394,7 @@ msgstr ""
|
|
399 |
#: inc/cloudpress/features/feature-slider-section.php:102
|
400 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:276
|
401 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:424
|
402 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
403 |
#: inc/innofit/customizer/callout-section.php:60
|
404 |
#: inc/innofit/customizer/slider-section.php:98
|
405 |
#: inc/spicepress/features/feature-slider-section.php:101
|
@@ -408,8 +403,8 @@ msgstr ""
|
|
408 |
|
409 |
#: inc/cloudpress/features/feature-slider-section.php:127
|
410 |
#: inc/cloudpress/features/feature-slider-section.php:164
|
411 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
412 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
413 |
#: inc/innofit/customizer/callout-section.php:90
|
414 |
#: inc/innofit/customizer/slider-section.php:123
|
415 |
#: inc/spicepress/features/feature-slider-section.php:126
|
@@ -419,18 +414,16 @@ msgstr ""
|
|
419 |
|
420 |
#: inc/cloudpress/features/feature-slider-section.php:134
|
421 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:17
|
422 |
-
#: inc/honeypress/features/feature-slider-section.php:134
|
423 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:17
|
424 |
msgid "About Us"
|
425 |
msgstr ""
|
426 |
|
427 |
#: inc/cloudpress/features/feature-slider-section.php:139
|
428 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
429 |
msgid "Button 2 Text"
|
430 |
msgstr ""
|
431 |
|
432 |
#: inc/cloudpress/features/feature-slider-section.php:151
|
433 |
-
#: inc/honeypress/features/feature-slider-section.php:
|
434 |
msgid "Button 2 Link"
|
435 |
msgstr ""
|
436 |
|
@@ -463,26 +456,23 @@ msgid "Clients Review"
|
|
463 |
msgstr ""
|
464 |
|
465 |
#: inc/cloudpress/sections/cloudpress-service-section.php:161
|
466 |
-
#: inc/honeypress/sections/honeypress-service-section.php:158
|
467 |
#: inc/spicepress/sections/spicepress-features-section.php:191
|
468 |
msgid "Responsive Design"
|
469 |
msgstr ""
|
470 |
|
471 |
#: inc/cloudpress/sections/cloudpress-service-section.php:169
|
472 |
-
#: inc/honeypress/sections/honeypress-service-section.php:166
|
473 |
#: inc/spicepress/sections/spicepress-features-section.php:183
|
474 |
msgid "Multi-Purpose"
|
475 |
msgstr ""
|
476 |
|
477 |
#: inc/cloudpress/sections/cloudpress-service-section.php:177
|
478 |
-
#: inc/honeypress/sections/honeypress-service-section.php:174
|
479 |
#: inc/innofit/customizer.php:29
|
480 |
#: inc/innofit/sections/innofit-services-section.php:30
|
481 |
msgid "Powerful Options"
|
482 |
msgstr ""
|
483 |
|
484 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:12
|
485 |
-
#: inc/honeypress/sections/honeypress-slider-section.php:
|
486 |
msgid ""
|
487 |
"Sea summo mazim ex, ea "
|
488 |
"errem eleifend "
|
@@ -529,7 +519,7 @@ msgstr ""
|
|
529 |
|
530 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
|
531 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
|
532 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
533 |
#: inc/spicepress/features/feature-testimonial-section.php:141
|
534 |
msgid "Designation"
|
535 |
msgstr ""
|
@@ -679,11 +669,33 @@ msgid ""
|
|
679 |
"Create your own JotForm"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: inc/honeypress/features/feature-
|
683 |
-
#: inc/honeypress/sections/honeypress-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
684 |
msgid ""
|
685 |
-
"
|
686 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
687 |
msgstr ""
|
688 |
|
689 |
#: inc/honeypress/features/feature-testimonial-section.php:8
|
@@ -700,25 +712,25 @@ msgid ""
|
|
700 |
"section"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
704 |
msgid "Background Color"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
708 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
709 |
-
|
710 |
-
#: inc/spicepress/sections/spicepress-testimonail-section.php:24
|
711 |
-
msgid "What People Say"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
715 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
716 |
msgid ""
|
717 |
-
"
|
|
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
721 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
|
|
722 |
#: inc/spicepress/features/feature-testimonial-section.php:109
|
723 |
#: inc/spicepress/sections/spicepress-testimonail-section.php:29
|
724 |
msgid ""
|
@@ -739,20 +751,30 @@ msgid ""
|
|
739 |
"pariatur."
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: inc/honeypress/features/feature-testimonial-section.php:
|
743 |
-
#: inc/honeypress/sections/honeypress-testimonail-section.php:
|
744 |
-
|
745 |
-
#: inc/spicepress/sections/spicepress-testimonail-section.php:26
|
746 |
-
msgid "Alice Culan"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: inc/honeypress/
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
#: inc/
|
755 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
756 |
msgstr ""
|
757 |
|
758 |
#: inc/innofit/customizer.php:11
|
@@ -796,6 +818,13 @@ msgstr ""
|
|
796 |
msgid "Web Master"
|
797 |
msgstr ""
|
798 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
799 |
#: inc/innofit/customizer/about-section.php:4
|
800 |
msgid "About settings"
|
801 |
msgstr ""
|
@@ -1318,6 +1347,16 @@ msgid ""
|
|
1318 |
"Theme"
|
1319 |
msgstr ""
|
1320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1321 |
#: inc/spicepress/sections/spicepress-features-section.php:175
|
1322 |
msgid "Easy to Use"
|
1323 |
msgstr ""
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
+
"2020-08-31 17:42+0530\n"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
42 |
"_nc:4c,1,2\n"
|
43 |
"X-Poedit-Basepath: ..\n"
|
44 |
"Language: en_US\n"
|
45 |
+
"X-Generator: Poedit "
|
46 |
+
"2.2.4\n"
|
47 |
"X-Poedit-"
|
48 |
"SearchPath-0: .\n"
|
49 |
|
82 |
#: inc/cloudpress/features/feature-service-section.php:20
|
83 |
#: inc/cloudpress/features/feature-slider-section.php:19
|
84 |
#: inc/honeypress/features/feature-service-section.php:20
|
85 |
+
#: inc/honeypress/features/feature-slider-section.php:22
|
86 |
#: inc/honeypress/features/feature-testimonial-section.php:20
|
87 |
#: inc/innofit/customizer/about-section.php:17
|
88 |
#: inc/innofit/customizer/callout-section.php:16
|
106 |
#: inc/cloudpress/features/feature-service-section.php:21
|
107 |
#: inc/cloudpress/features/feature-slider-section.php:20
|
108 |
#: inc/honeypress/features/feature-service-section.php:21
|
109 |
+
#: inc/honeypress/features/feature-slider-section.php:23
|
110 |
#: inc/honeypress/features/feature-testimonial-section.php:21
|
111 |
#: inc/innofit/customizer/about-section.php:18
|
112 |
#: inc/innofit/customizer/callout-section.php:17
|
137 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
|
138 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
|
139 |
#: inc/honeypress/features/feature-service-section.php:33
|
140 |
+
#: inc/honeypress/features/feature-slider-section.php:93
|
141 |
+
#: inc/honeypress/features/feature-testimonial-section.php:60
|
142 |
+
#: inc/honeypress/features/feature-testimonial-section.php:117
|
143 |
#: inc/innofit/customizer/callout-section.php:29
|
144 |
#: inc/innofit/customizer/news-section.php:30
|
145 |
#: inc/innofit/customizer/services-section.php:31
|
185 |
#: inc/cloudpress/features/feature-cta-section.php:65
|
186 |
#: inc/cloudpress/features/feature-slider-section.php:109
|
187 |
#: inc/cloudpress/features/feature-slider-section.php:146
|
188 |
+
#: inc/honeypress/features/feature-slider-section.php:125
|
189 |
+
#: inc/honeypress/features/feature-slider-section.php:162
|
190 |
#: inc/innofit/customizer/callout-section.php:68
|
191 |
#: inc/innofit/customizer/slider-section.php:105
|
192 |
#: inc/spicepress/features/feature-slider-section.php:108
|
195 |
|
196 |
#: inc/cloudpress/features/feature-cta-section.php:70
|
197 |
#: inc/cloudpress/features/feature-slider-section.php:114
|
198 |
+
#: inc/honeypress/features/feature-slider-section.php:130
|
199 |
#: inc/innofit/customizer/callout-section.php:74
|
200 |
#: inc/innofit/customizer/slider-section.php:110
|
201 |
#: inc/spicepress/features/feature-slider-section.php:113
|
231 |
|
232 |
#: inc/cloudpress/features/feature-funfact-section.php:45
|
233 |
#: inc/cloudpress/features/feature-service-section.php:74
|
234 |
+
#: inc/honeypress/features/feature-service-section.php:75
|
235 |
#: inc/innofit/customizer/services-section.php:73
|
236 |
#: inc/innofit/customizer/team-section.php:73
|
237 |
#: inc/innofit/customizer/testimonial-section.php:106
|
256 |
|
257 |
#: inc/cloudpress/features/feature-service-section.php:28
|
258 |
#: inc/cloudpress/sections/cloudpress-service-section.php:10
|
|
|
|
|
259 |
#: inc/spicepress/features/feature-service-section.php:35
|
260 |
#: inc/spicepress/sections/spicepress-features-section.php:10
|
261 |
msgid "What we Offer?"
|
263 |
|
264 |
#: inc/cloudpress/features/feature-service-section.php:41
|
265 |
#: inc/cloudpress/sections/cloudpress-service-section.php:11
|
|
|
|
|
266 |
msgid "Why Choose Us"
|
267 |
msgstr ""
|
268 |
|
271 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
|
272 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
|
273 |
#: inc/honeypress/features/feature-service-section.php:46
|
274 |
+
#: inc/honeypress/features/feature-slider-section.php:105
|
275 |
+
#: inc/honeypress/features/feature-testimonial-section.php:73
|
276 |
+
#: inc/honeypress/features/feature-testimonial-section.php:104
|
277 |
#: inc/innofit/customizer/callout-section.php:41
|
278 |
#: inc/innofit/customizer/news-section.php:42
|
279 |
#: inc/innofit/customizer/services-section.php:46
|
315 |
msgstr ""
|
316 |
|
317 |
#: inc/cloudpress/features/feature-service-section.php:73
|
318 |
+
#: inc/honeypress/features/feature-service-section.php:74
|
319 |
#: inc/innofit/customizer/services-section.php:72
|
320 |
msgid ""
|
321 |
"To add More Service? Then"
|
322 |
msgstr ""
|
323 |
|
324 |
#: inc/cloudpress/features/feature-slider-section.php:7
|
325 |
+
#: inc/honeypress/features/feature-slider-section.php:10
|
326 |
#: inc/spicepress/features/feature-slider-section.php:7
|
327 |
msgid "Slider settings"
|
328 |
msgstr ""
|
329 |
|
330 |
#: inc/cloudpress/features/feature-slider-section.php:15
|
331 |
+
#: inc/honeypress/features/feature-slider-section.php:18
|
332 |
#: inc/spicepress/features/feature-slider-section.php:15
|
333 |
msgid "Enable slider"
|
334 |
msgstr ""
|
336 |
#: inc/cloudpress/features/feature-slider-section.php:35
|
337 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
|
338 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
|
339 |
+
#: inc/honeypress/features/feature-slider-section.php:52
|
340 |
+
#: inc/honeypress/features/feature-testimonial-section.php:87
|
341 |
#: inc/innofit/customizer/about-section.php:73
|
342 |
#: inc/innofit/customizer/slider-section.php:32
|
343 |
#: inc/spicepress/features/feature-portfolio-section.php:59
|
349 |
msgstr ""
|
350 |
|
351 |
#: inc/cloudpress/features/feature-slider-section.php:50
|
352 |
+
#: inc/honeypress/features/feature-slider-section.php:66
|
353 |
#: inc/innofit/customizer/slider-section.php:47
|
354 |
#: inc/spicepress/features/feature-slider-section.php:50
|
355 |
msgid ""
|
358 |
msgstr ""
|
359 |
|
360 |
#: inc/cloudpress/features/feature-slider-section.php:63
|
361 |
+
#: inc/honeypress/features/feature-slider-section.php:79
|
362 |
#: inc/innofit/customizer/slider-section.php:60
|
363 |
#: inc/spicepress/features/feature-slider-section.php:63
|
364 |
msgid ""
|
374 |
msgstr ""
|
375 |
|
376 |
#: inc/cloudpress/features/feature-slider-section.php:84
|
377 |
+
#: inc/honeypress/features/feature-slider-section.php:100
|
378 |
msgid ""
|
379 |
"Sea summo mazim ex, ea "
|
380 |
"errem eleifend "
|
386 |
|
387 |
#: inc/cloudpress/features/feature-slider-section.php:97
|
388 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:13
|
|
|
|
|
389 |
#: inc/innofit/sections/innofit-news-section.php:97
|
390 |
#: inc/spicepress/sections/spicepress-slider-section.php:13
|
391 |
msgid "Read More"
|
394 |
#: inc/cloudpress/features/feature-slider-section.php:102
|
395 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:276
|
396 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:424
|
397 |
+
#: inc/honeypress/features/feature-slider-section.php:118
|
398 |
#: inc/innofit/customizer/callout-section.php:60
|
399 |
#: inc/innofit/customizer/slider-section.php:98
|
400 |
#: inc/spicepress/features/feature-slider-section.php:101
|
403 |
|
404 |
#: inc/cloudpress/features/feature-slider-section.php:127
|
405 |
#: inc/cloudpress/features/feature-slider-section.php:164
|
406 |
+
#: inc/honeypress/features/feature-slider-section.php:143
|
407 |
+
#: inc/honeypress/features/feature-slider-section.php:180
|
408 |
#: inc/innofit/customizer/callout-section.php:90
|
409 |
#: inc/innofit/customizer/slider-section.php:123
|
410 |
#: inc/spicepress/features/feature-slider-section.php:126
|
414 |
|
415 |
#: inc/cloudpress/features/feature-slider-section.php:134
|
416 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:17
|
|
|
|
|
417 |
msgid "About Us"
|
418 |
msgstr ""
|
419 |
|
420 |
#: inc/cloudpress/features/feature-slider-section.php:139
|
421 |
+
#: inc/honeypress/features/feature-slider-section.php:155
|
422 |
msgid "Button 2 Text"
|
423 |
msgstr ""
|
424 |
|
425 |
#: inc/cloudpress/features/feature-slider-section.php:151
|
426 |
+
#: inc/honeypress/features/feature-slider-section.php:167
|
427 |
msgid "Button 2 Link"
|
428 |
msgstr ""
|
429 |
|
456 |
msgstr ""
|
457 |
|
458 |
#: inc/cloudpress/sections/cloudpress-service-section.php:161
|
|
|
459 |
#: inc/spicepress/sections/spicepress-features-section.php:191
|
460 |
msgid "Responsive Design"
|
461 |
msgstr ""
|
462 |
|
463 |
#: inc/cloudpress/sections/cloudpress-service-section.php:169
|
|
|
464 |
#: inc/spicepress/sections/spicepress-features-section.php:183
|
465 |
msgid "Multi-Purpose"
|
466 |
msgstr ""
|
467 |
|
468 |
#: inc/cloudpress/sections/cloudpress-service-section.php:177
|
|
|
469 |
#: inc/innofit/customizer.php:29
|
470 |
#: inc/innofit/sections/innofit-services-section.php:30
|
471 |
msgid "Powerful Options"
|
472 |
msgstr ""
|
473 |
|
474 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:12
|
475 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:23
|
476 |
msgid ""
|
477 |
"Sea summo mazim ex, ea "
|
478 |
"errem eleifend "
|
519 |
|
520 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
|
521 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
|
522 |
+
#: inc/honeypress/features/feature-testimonial-section.php:129
|
523 |
#: inc/spicepress/features/feature-testimonial-section.php:141
|
524 |
msgid "Designation"
|
525 |
msgstr ""
|
669 |
"Create your own JotForm"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: inc/honeypress/features/feature-service-section.php:28
|
673 |
+
#: inc/honeypress/sections/honeypress-service-section.php:21
|
674 |
+
msgid "Etiam et Urna?"
|
675 |
+
msgstr ""
|
676 |
+
|
677 |
+
#: inc/honeypress/features/feature-service-section.php:41
|
678 |
+
#: inc/honeypress/sections/honeypress-service-section.php:22
|
679 |
+
msgid "Fusce Sed Massa"
|
680 |
+
msgstr ""
|
681 |
+
|
682 |
+
#: inc/honeypress/features/feature-slider-section.php:87
|
683 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:21
|
684 |
msgid ""
|
685 |
+
"Nulla nec dolor sit amet "
|
686 |
+
"lacus molestie"
|
687 |
+
msgstr ""
|
688 |
+
|
689 |
+
#: inc/honeypress/features/feature-slider-section.php:113
|
690 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:24
|
691 |
+
msgid "Nec Sem"
|
692 |
+
msgstr ""
|
693 |
+
|
694 |
+
#: inc/honeypress/features/feature-slider-section.php:150
|
695 |
+
#: inc/honeypress/features/feature-testimonial-section.php:112
|
696 |
+
#: inc/honeypress/sections/honeypress-slider-section.php:28
|
697 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:26
|
698 |
+
msgid "Cras Vitae"
|
699 |
msgstr ""
|
700 |
|
701 |
#: inc/honeypress/features/feature-testimonial-section.php:8
|
712 |
"section"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: inc/honeypress/features/feature-testimonial-section.php:47
|
716 |
msgid "Background Color"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: inc/honeypress/features/feature-testimonial-section.php:55
|
720 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:24
|
721 |
+
msgid "Proin Egestas"
|
|
|
|
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: inc/honeypress/features/feature-testimonial-section.php:68
|
725 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:25
|
726 |
msgid ""
|
727 |
+
"Nam Viverra Iaculis "
|
728 |
+
"Finibus"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: inc/honeypress/features/feature-testimonial-section.php:99
|
732 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:29
|
733 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:67
|
734 |
#: inc/spicepress/features/feature-testimonial-section.php:109
|
735 |
#: inc/spicepress/sections/spicepress-testimonail-section.php:29
|
736 |
msgid ""
|
751 |
"pariatur."
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: inc/honeypress/features/feature-testimonial-section.php:124
|
755 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:27
|
756 |
+
msgid "Eu Suscipit"
|
|
|
|
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: inc/honeypress/sections/honeypress-service-section.php:193
|
760 |
+
msgid ""
|
761 |
+
"Suspendisse Tristique"
|
762 |
+
msgstr ""
|
763 |
+
|
764 |
+
#: inc/honeypress/sections/honeypress-service-section.php:201
|
765 |
+
msgid "Blandit-Gravida"
|
766 |
+
msgstr ""
|
767 |
+
|
768 |
+
#: inc/honeypress/sections/honeypress-service-section.php:209
|
769 |
+
msgid "Justo Bibendum"
|
770 |
+
msgstr ""
|
771 |
+
|
772 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:64
|
773 |
+
msgid "Donec Mauris"
|
774 |
+
msgstr ""
|
775 |
+
|
776 |
+
#: inc/honeypress/sections/honeypress-testimonail-section.php:65
|
777 |
+
msgid "Tellus Sed"
|
778 |
msgstr ""
|
779 |
|
780 |
#: inc/innofit/customizer.php:11
|
818 |
msgid "Web Master"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: inc/innofit/customizer.php:203
|
822 |
+
#: inc/innofit/sections/innofit-team-section.php:183
|
823 |
+
#: inc/spicepress/features/feature-testimonial-section.php:136
|
824 |
+
#: inc/spicepress/sections/spicepress-testimonail-section.php:27
|
825 |
+
msgid "UI Developer"
|
826 |
+
msgstr ""
|
827 |
+
|
828 |
#: inc/innofit/customizer/about-section.php:4
|
829 |
msgid "About settings"
|
830 |
msgstr ""
|
1347 |
"Theme"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: inc/spicepress/features/feature-testimonial-section.php:65
|
1351 |
+
#: inc/spicepress/sections/spicepress-testimonail-section.php:24
|
1352 |
+
msgid "What People Say"
|
1353 |
+
msgstr ""
|
1354 |
+
|
1355 |
+
#: inc/spicepress/features/feature-testimonial-section.php:123
|
1356 |
+
#: inc/spicepress/sections/spicepress-testimonail-section.php:26
|
1357 |
+
msgid "Alice Culan"
|
1358 |
+
msgstr ""
|
1359 |
+
|
1360 |
#: inc/spicepress/sections/spicepress-features-section.php:175
|
1361 |
msgid "Easy to Use"
|
1362 |
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.5
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -198,6 +198,9 @@ This plugin create repeater controls in the customizer settings allowing you to
|
|
198 |
= 1.2.8 =
|
199 |
Fixed jQuery compatibiltiy issue coming with latest release on WP 5.5
|
200 |
|
|
|
|
|
|
|
201 |
=======External resources=======
|
202 |
|
203 |
Alpha color picker Control:
|
@@ -208,4 +211,27 @@ Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-a
|
|
208 |
Repeater Control:
|
209 |
Copyright: (c) 2016 Codeinwp cristian-ungureanu
|
210 |
License: MIT license
|
211 |
-
Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 1.2.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
198 |
= 1.2.8 =
|
199 |
Fixed jQuery compatibiltiy issue coming with latest release on WP 5.5
|
200 |
|
201 |
+
= 1.2.9 =
|
202 |
+
Added variations for HoneyPress child themes.
|
203 |
+
|
204 |
=======External resources=======
|
205 |
|
206 |
Alpha color picker Control:
|
211 |
Repeater Control:
|
212 |
Copyright: (c) 2016 Codeinwp cristian-ungureanu
|
213 |
License: MIT license
|
214 |
+
Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
|
215 |
+
|
216 |
+
|
217 |
+
== HoneyWaves Images ==
|
218 |
+
|
219 |
+
* Image used in Slider
|
220 |
+
License CC0 Public Domain
|
221 |
+
https://pxhere.com/en/photo/871986
|
222 |
+
|
223 |
+
==Radix Multipurpose Images==
|
224 |
+
* Image used in Slider
|
225 |
+
License CC0 Public Domain
|
226 |
+
https://pxhere.com/en/photo/1622682
|
227 |
+
|
228 |
+
==Bizhunt Images==
|
229 |
+
* Image used in Slider
|
230 |
+
License CC0 Public Domain
|
231 |
+
https://pxhere.com/en/photo/759001
|
232 |
+
|
233 |
+
==Tromas Images==
|
234 |
+
* Image used in Slider
|
235 |
+
License CC0 Public Domain
|
236 |
+
https://pxhere.com/en/photo/1434201
|
237 |
+
|
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
|
@@ -29,7 +29,7 @@ function spiceb_activate() {
|
|
29 |
|
30 |
}
|
31 |
|
32 |
-
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name){
|
33 |
require_once('inc/honeypress/features/feature-slider-section.php');
|
34 |
require_once('inc/honeypress/features/feature-service-section.php');
|
35 |
require_once('inc/honeypress/features/feature-testimonial-section.php');
|
@@ -169,7 +169,7 @@ $item_details_page = get_option('item_details_page');
|
|
169 |
|
170 |
|
171 |
//Honeypress
|
172 |
-
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name){
|
173 |
register_activation_hook( __FILE__, 'spiceb_install_function');
|
174 |
function spiceb_install_function()
|
175 |
{
|
@@ -293,4 +293,4 @@ add_action( 'init', 'wpdocs_load_textdomain' );
|
|
293 |
function wpdocs_load_textdomain() {
|
294 |
load_plugin_textdomain( 'spicebox', false, plugin_dir_url(__FILE__). 'languages' );
|
295 |
|
296 |
-
}
|
3 |
Plugin Name: SpiceBox
|
4 |
Plugin URI:
|
5 |
Description: Enhances SpiceThemes with extra functionality.
|
6 |
+
Version: 1.2.9
|
7 |
Author: Spicethemes
|
8 |
Author URI: https://spicethemes.com
|
9 |
Text Domain: spicebox
|
29 |
|
30 |
}
|
31 |
|
32 |
+
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name || 'Radix Multipurpose' == $theme->name || 'HoneyWaves' == $theme->name || 'Bizhunt' == $theme->name || 'Tromas' == $theme->name){
|
33 |
require_once('inc/honeypress/features/feature-slider-section.php');
|
34 |
require_once('inc/honeypress/features/feature-service-section.php');
|
35 |
require_once('inc/honeypress/features/feature-testimonial-section.php');
|
169 |
|
170 |
|
171 |
//Honeypress
|
172 |
+
if ( 'HoneyPress' == $theme->name || 'HoneyPress Child' == $theme->name || 'Radix Multipurpose' == $theme->name || 'HoneyWaves' == $theme->name || 'Bizhunt' == $theme->name || 'Tromas' == $theme->name){
|
173 |
register_activation_hook( __FILE__, 'spiceb_install_function');
|
174 |
function spiceb_install_function()
|
175 |
{
|
293 |
function wpdocs_load_textdomain() {
|
294 |
load_plugin_textdomain( 'spicebox', false, plugin_dir_url(__FILE__). 'languages' );
|
295 |
|
296 |
+
}
|