Version Description
- Added homepage sections for Spiko theme.
- Added homepage sections for Spiko Dark child theme.
=====External resources=====
Alpha color picker Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT License Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-alpha-color-picker
Repeater Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT license Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
Custom control - Image Radio Button Custom Control Copyright: Anthony Hortin License: GNU General Public License v2 or later Source: https://github.com/maddisondesigns/customizer-custom-controls
==========
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 1.9 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.9
- inc/controls/customizer-repeater/js/customizer_limit_repeater.js +5 -2
- inc/spiko/customizer.php +316 -0
- inc/spiko/customizer/news-section.php +178 -0
- inc/spiko/customizer/services-section.php +125 -0
- inc/spiko/customizer/slider-section.php +301 -0
- inc/spiko/customizer/team-section.php +150 -0
- inc/spiko/customizer/testimonial-section.php +225 -0
- inc/spiko/default-pages/blog-page.php +22 -0
- inc/spiko/default-pages/home-page.php +24 -0
- inc/spiko/default-pages/upload-media.php +39 -0
- inc/spiko/default-widgets/default-widget.php +52 -0
- inc/spiko/images/logo-footer.png +0 -0
- inc/spiko/images/logo.png +0 -0
- inc/spiko/images/slider/slider.jpg +0 -0
- inc/spiko/images/spiko-dark-logo.png +0 -0
- inc/spiko/images/testimonial/bg-img.jpg +0 -0
- inc/spiko/images/testimonial/bg-img1.jpg +0 -0
- inc/spiko/js/front-page/team.js +54 -0
- inc/spiko/js/front-page/testi.js +82 -0
- inc/spiko/js/masonry/mansory.js +9 -0
- inc/spiko/sections/spiko-news-section.php +153 -0
- inc/spiko/sections/spiko-services-section.php +204 -0
- inc/spiko/sections/spiko-slider-section.php +123 -0
- inc/spiko/sections/spiko-team-section.php +247 -0
- inc/spiko/sections/spiko-testimonial-section.php +193 -0
- languages/spicebox.pot +151 -1
- readme.txt +26 -3
- spicebox.php +73 -2
inc/controls/customizer-repeater/js/customizer_limit_repeater.js
CHANGED
@@ -263,11 +263,13 @@ jQuery(document).ready(function () {
|
|
263 |
* This adds a new box to repeater
|
264 |
*
|
265 |
*/
|
266 |
-
theme_conrols.on('click', '#customize-control-busicare_service_content .customizer-repeater-new-field,#customize-control-spice_software_service_content .customizer-repeater-new-field', function () {
|
|
|
267 |
if(jQuery("#spiceb_service_limit").val()==3)
|
268 |
{
|
269 |
jQuery(".customizer_busicareservice_upgrade_section").show();
|
270 |
jQuery(".customizer_spice_software_service_upgrade_section").show();
|
|
|
271 |
return false;
|
272 |
}
|
273 |
else if(jQuery("#spiceb_service_limit").val()<4)
|
@@ -365,13 +367,14 @@ jQuery(document).ready(function () {
|
|
365 |
{
|
366 |
jQuery(".customizer_busicareservice_upgrade_section").hide();
|
367 |
jQuery(".customizer_spice_software_service_upgrade_section").hide();
|
|
|
368 |
}
|
369 |
}
|
370 |
|
371 |
return false;
|
372 |
});
|
373 |
|
374 |
-
theme_conrols.on('click', '#customize-control-busicare_team_content .customizer-repeater-new-field,#customize-control-busicare_testimonial_content .customizer-repeater-new-field,#customize-control-spice_software_team_content .customizer-repeater-new-field,#customize-control-spice_software_testimonial_content .customizer-repeater-new-field', function () {
|
375 |
var th = jQuery(this).parent();
|
376 |
var id = 'customizer-repeater-' + customizer_repeater_uniqid();
|
377 |
if (typeof th !== 'undefined') {
|
263 |
* This adds a new box to repeater
|
264 |
*
|
265 |
*/
|
266 |
+
theme_conrols.on('click', '#customize-control-busicare_service_content .customizer-repeater-new-field,#customize-control-spice_software_service_content .customizer-repeater-new-field,#customize-control-spiko_service_content .customizer-repeater-new-field', function () {
|
267 |
+
|
268 |
if(jQuery("#spiceb_service_limit").val()==3)
|
269 |
{
|
270 |
jQuery(".customizer_busicareservice_upgrade_section").show();
|
271 |
jQuery(".customizer_spice_software_service_upgrade_section").show();
|
272 |
+
jQuery(".customizer_spiko_service_upgrade_section").show();
|
273 |
return false;
|
274 |
}
|
275 |
else if(jQuery("#spiceb_service_limit").val()<4)
|
367 |
{
|
368 |
jQuery(".customizer_busicareservice_upgrade_section").hide();
|
369 |
jQuery(".customizer_spice_software_service_upgrade_section").hide();
|
370 |
+
jQuery(".customizer_spiko_service_upgrade_section").hide();
|
371 |
}
|
372 |
}
|
373 |
|
374 |
return false;
|
375 |
});
|
376 |
|
377 |
+
theme_conrols.on('click', '#customize-control-busicare_team_content .customizer-repeater-new-field,#customize-control-busicare_testimonial_content .customizer-repeater-new-field,#customize-control-spice_software_team_content .customizer-repeater-new-field,#customize-control-spice_software_testimonial_content .customizer-repeater-new-field,#customize-control-spiko_team_content .customizer-repeater-new-field,#customize-control-spiko_testimonial_content .customizer-repeater-new-field', function () {
|
378 |
var th = jQuery(this).parent();
|
379 |
var id = 'customizer-repeater-' + customizer_repeater_uniqid();
|
380 |
if (typeof th !== 'undefined') {
|
inc/spiko/customizer.php
ADDED
@@ -0,0 +1,316 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Spiko default service data
|
3 |
+
if (!function_exists('spiceb_spiko_service_default_customize_register')) :
|
4 |
+
|
5 |
+
function spiceb_spiko_service_default_customize_register($wp_customize) {
|
6 |
+
|
7 |
+
$spiko_service_content_control = $wp_customize->get_setting('spiko_service_content');
|
8 |
+
if (!empty($spiko_service_content_control)) {
|
9 |
+
$spiko_service_content_control->default = json_encode(array(
|
10 |
+
array(
|
11 |
+
'icon_value' => 'fa-headphones',
|
12 |
+
'title' => esc_html__('Suspendisse Tristique', 'spicebox'),
|
13 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
14 |
+
'choice' => 'customizer_repeater_icon',
|
15 |
+
'link' => '#',
|
16 |
+
'open_new_tab' => 'no',
|
17 |
+
'id' => 'customizer_repeater_56d7ea7f40b56',
|
18 |
+
),
|
19 |
+
array(
|
20 |
+
'icon_value' => 'fa-mobile',
|
21 |
+
'title' => esc_html__('Blandit-Gravida', 'spicebox'),
|
22 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
23 |
+
'choice' => 'customizer_repeater_icon',
|
24 |
+
'link' => '#',
|
25 |
+
'open_new_tab' => 'no',
|
26 |
+
'id' => 'customizer_repeater_56d7ea7f40b66',
|
27 |
+
),
|
28 |
+
array(
|
29 |
+
'icon_value' => 'fa fa-cogs',
|
30 |
+
'title' => esc_html__('Justo Bibendum', 'spicebox'),
|
31 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
32 |
+
'choice' => 'customizer_repeater_icon',
|
33 |
+
'link' => '#',
|
34 |
+
'open_new_tab' => 'no',
|
35 |
+
'id' => 'customizer_repeater_56d7ea7f40b86',
|
36 |
+
),
|
37 |
+
));
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
add_action('customize_register', 'spiceb_spiko_service_default_customize_register');
|
42 |
+
|
43 |
+
endif;
|
44 |
+
|
45 |
+
// Spiko default Testimonial data
|
46 |
+
if (!function_exists('spiceb_spiko_testimonial_default_customize_register')) :
|
47 |
+
|
48 |
+
function spiceb_spiko_testimonial_default_customize_register($wp_customize) {
|
49 |
+
|
50 |
+
$spiko_service_content_control = $wp_customize->get_setting('spiko_testimonial_content');
|
51 |
+
if (!empty($spiko_service_content_control)) {
|
52 |
+
$spiko_service_content_control->default = json_encode(array(
|
53 |
+
array(
|
54 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
55 |
+
'text' => 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem ipsum dolor sit amet,<br> temp consectetur adipisicing elit.',
|
56 |
+
'clientname' => __('Amanda Smith', 'spicebox'),
|
57 |
+
'designation' => __('Developer', 'spicebox'),
|
58 |
+
'home_testimonial_star' => '4.5',
|
59 |
+
'link' => '#',
|
60 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user1.jpg',
|
61 |
+
'open_new_tab' => 'no',
|
62 |
+
'id' => 'customizer_repeater_77d7ea7f40b96',
|
63 |
+
'home_slider_caption' => 'customizer_repeater_star_4.5',
|
64 |
+
),
|
65 |
+
array(
|
66 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
67 |
+
'text' => 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem ipsum dolor sit amet,<br> temp consectetur adipisicing elit.',
|
68 |
+
'clientname' => __('Travis Cullan', 'spicebox'),
|
69 |
+
'designation' => __('Team Leader', 'spicebox'),
|
70 |
+
'home_testimonial_star' => '5',
|
71 |
+
'link' => '#',
|
72 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user2.jpg',
|
73 |
+
'open_new_tab' => 'no',
|
74 |
+
'id' => 'customizer_repeater_88d7ea7f40b97',
|
75 |
+
'home_slider_caption' => 'customizer_repeater_star_5',
|
76 |
+
),
|
77 |
+
array(
|
78 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
79 |
+
'text' => 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem ipsum dolor sit amet,<br> temp consectetur adipisicing elit.',
|
80 |
+
'clientname' => __('Victoria Wills', 'spicebox'),
|
81 |
+
'designation' => __('Volunteer', 'spicebox'),
|
82 |
+
'home_testimonial_star' => '3.5',
|
83 |
+
'link' => '#',
|
84 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user3.jpg',
|
85 |
+
'id' => 'customizer_repeater_11d7ea7f40b98',
|
86 |
+
'open_new_tab' => 'no',
|
87 |
+
'home_slider_caption' => 'customizer_repeater_star_3.5',
|
88 |
+
),
|
89 |
+
));
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
add_action('customize_register', 'spiceb_spiko_testimonial_default_customize_register');
|
94 |
+
|
95 |
+
endif;
|
96 |
+
|
97 |
+
// Spiko default Team data
|
98 |
+
if (!function_exists('spiceb_spiko_team_default_customize_register')) :
|
99 |
+
|
100 |
+
function spiceb_spiko_team_default_customize_register($wp_customize) {
|
101 |
+
|
102 |
+
$spiko_team_content_control = $wp_customize->get_setting('spiko_team_content');
|
103 |
+
if (!empty($spiko_team_content_control)) {
|
104 |
+
$spiko_team_content_control->default = json_encode(array(
|
105 |
+
array(
|
106 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team1.jpg',
|
107 |
+
'image_url2' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/item-bg1.jpg',
|
108 |
+
'membername' => 'Danial Wilson',
|
109 |
+
'designation' => esc_html__('Senior Manager', 'spicebox'),
|
110 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
111 |
+
'open_new_tab' => 'no',
|
112 |
+
'id' => 'customizer_repeater_26d7ea7f40c56',
|
113 |
+
'social_repeater' => json_encode(
|
114 |
+
array(
|
115 |
+
array(
|
116 |
+
'id' => 'customizer-repeater-social-repeater-37fb908374e06',
|
117 |
+
'link' => 'facebook.com',
|
118 |
+
'icon' => 'fa-facebook',
|
119 |
+
),
|
120 |
+
array(
|
121 |
+
'id' => 'customizer-repeater-social-repeater-47fb9144530fc',
|
122 |
+
'link' => 'twitter.com',
|
123 |
+
'icon' => 'fa-twitter',
|
124 |
+
),
|
125 |
+
array(
|
126 |
+
'id' => 'customizer-repeater-social-repeater-57fb9750e1e09',
|
127 |
+
'link' => 'linkedin.com',
|
128 |
+
'icon' => 'fa-linkedin',
|
129 |
+
),
|
130 |
+
array(
|
131 |
+
'id' => 'customizer-repeater-social-repeater-67fb0150e1e256',
|
132 |
+
'link' => 'behance.com',
|
133 |
+
'icon' => 'fa-behance',
|
134 |
+
),
|
135 |
+
)
|
136 |
+
),
|
137 |
+
),
|
138 |
+
array(
|
139 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team2.jpg',
|
140 |
+
'image_url2' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/item-bg2.jpg',
|
141 |
+
'membername' => 'Amanda Smith',
|
142 |
+
'designation' => esc_html__('Founder & CEO', 'spicebox'),
|
143 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
144 |
+
'open_new_tab' => 'no',
|
145 |
+
'id' => 'customizer_repeater_56d1ea2f40c66',
|
146 |
+
'social_repeater' => json_encode(
|
147 |
+
array(
|
148 |
+
array(
|
149 |
+
'id' => 'customizer-repeater-social-repeater-57fb9133a7772',
|
150 |
+
'link' => 'facebook.com',
|
151 |
+
'icon' => 'fa-facebook',
|
152 |
+
),
|
153 |
+
array(
|
154 |
+
'id' => 'customizer-repeater-social-repeater-57fb9160rt683',
|
155 |
+
'link' => 'twitter.com',
|
156 |
+
'icon' => 'fa-twitter',
|
157 |
+
),
|
158 |
+
array(
|
159 |
+
'id' => 'customizer-repeater-social-repeater-57fb916zzooc9',
|
160 |
+
'link' => 'linkedin.com',
|
161 |
+
'icon' => 'fa-linkedin',
|
162 |
+
),
|
163 |
+
array(
|
164 |
+
'id' => 'customizer-repeater-social-repeater-57fb916qqwwc784',
|
165 |
+
'link' => 'behance.com',
|
166 |
+
'icon' => 'fa-behance',
|
167 |
+
),
|
168 |
+
)
|
169 |
+
),
|
170 |
+
),
|
171 |
+
array(
|
172 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team3.jpg',
|
173 |
+
'image_url2' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/item-bg1.jpg',
|
174 |
+
'membername' => 'Victoria Wills',
|
175 |
+
'designation' => esc_html__('Web Master', 'spicebox'),
|
176 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
177 |
+
'open_new_tab' => 'no',
|
178 |
+
'id' => 'customizer_repeater_56d7ea7f40c76',
|
179 |
+
'social_repeater' => json_encode(
|
180 |
+
array(
|
181 |
+
array(
|
182 |
+
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
183 |
+
'link' => 'facebook.com',
|
184 |
+
'icon' => 'fa-facebook',
|
185 |
+
),
|
186 |
+
array(
|
187 |
+
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
188 |
+
'link' => 'twitter.com',
|
189 |
+
'icon' => 'fa-twitter',
|
190 |
+
),
|
191 |
+
array(
|
192 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
193 |
+
'link' => 'linkedin.com',
|
194 |
+
'icon' => 'fa-linkedin',
|
195 |
+
),
|
196 |
+
array(
|
197 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e8',
|
198 |
+
'link' => 'behance.com',
|
199 |
+
'icon' => 'fa-behance',
|
200 |
+
),
|
201 |
+
)
|
202 |
+
),
|
203 |
+
),
|
204 |
+
array(
|
205 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team4.jpg',
|
206 |
+
'image_url2' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/item-bg2.jpg',
|
207 |
+
'membername' => 'Travis Marcus',
|
208 |
+
'designation' => esc_html__('UI Developer', 'spicebox'),
|
209 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
210 |
+
'open_new_tab' => 'no',
|
211 |
+
'id' => 'customizer_repeater_56d7ea7f40c86',
|
212 |
+
'social_repeater' => json_encode(
|
213 |
+
array(
|
214 |
+
array(
|
215 |
+
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
216 |
+
'link' => 'facebook.com',
|
217 |
+
'icon' => 'fa-facebook',
|
218 |
+
),
|
219 |
+
array(
|
220 |
+
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
221 |
+
'link' => 'twitter.com',
|
222 |
+
'icon' => 'fa-twitter',
|
223 |
+
),
|
224 |
+
array(
|
225 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
226 |
+
'link' => 'linkedin.com',
|
227 |
+
'icon' => 'fa-linkedin',
|
228 |
+
),
|
229 |
+
array(
|
230 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
231 |
+
'link' => 'behance.com',
|
232 |
+
'icon' => 'fa-behance',
|
233 |
+
),
|
234 |
+
)
|
235 |
+
),
|
236 |
+
),
|
237 |
+
));
|
238 |
+
}
|
239 |
+
}
|
240 |
+
|
241 |
+
add_action('customize_register', 'spiceb_spiko_team_default_customize_register');
|
242 |
+
|
243 |
+
endif;
|
244 |
+
|
245 |
+
function spiceb_spiko_sections_settings($wp_customize) {
|
246 |
+
|
247 |
+
$selective_refresh = isset($wp_customize->selective_refresh) ? 'postMessage' : 'refresh';
|
248 |
+
/* Sections Settings */
|
249 |
+
$wp_customize->add_panel('section_settings', array(
|
250 |
+
'priority' => 126,
|
251 |
+
'capability' => 'edit_theme_options',
|
252 |
+
'title' => esc_html__('Homepage Section Settings', 'spicebox'),
|
253 |
+
));
|
254 |
+
}
|
255 |
+
|
256 |
+
add_action('customize_register', 'spiceb_spiko_sections_settings');
|
257 |
+
|
258 |
+
/* * *********************** Slider Callback function ******************************** */
|
259 |
+
|
260 |
+
function spiceb_spiko_slider_callback($control) {
|
261 |
+
if (true == $control->manager->get_setting('home_page_slider_enabled')->value()) {
|
262 |
+
return true;
|
263 |
+
} else {
|
264 |
+
return false;
|
265 |
+
}
|
266 |
+
}
|
267 |
+
|
268 |
+
/* * *********************** Service Callback function ******************************** */
|
269 |
+
|
270 |
+
function spiceb_spiko_service_callback($control) {
|
271 |
+
if (true == $control->manager->get_setting('home_service_section_enabled')->value()) {
|
272 |
+
return true;
|
273 |
+
} else {
|
274 |
+
return false;
|
275 |
+
}
|
276 |
+
}
|
277 |
+
|
278 |
+
/* * *********************** Testimonial Callback function ******************************** */
|
279 |
+
|
280 |
+
function spiceb_spiko_testimonial_callback($control) {
|
281 |
+
if (true == $control->manager->get_setting('testimonial_section_enable')->value()) {
|
282 |
+
return true;
|
283 |
+
} else {
|
284 |
+
return false;
|
285 |
+
}
|
286 |
+
}
|
287 |
+
|
288 |
+
/* * *********************** Latest News Callback function ******************************** */
|
289 |
+
|
290 |
+
function spiceb_spiko_news_callback($control) {
|
291 |
+
if (true == $control->manager->get_setting('latest_news_section_enable')->value()) {
|
292 |
+
return true;
|
293 |
+
} else {
|
294 |
+
return false;
|
295 |
+
}
|
296 |
+
}
|
297 |
+
|
298 |
+
/* * *********************** CTA1 Callback function ******************************** */
|
299 |
+
|
300 |
+
function spiceb_spiko_team_callback($control) {
|
301 |
+
if (true == $control->manager->get_setting('team_section_enable')->value()) {
|
302 |
+
return true;
|
303 |
+
} else {
|
304 |
+
return false;
|
305 |
+
}
|
306 |
+
}
|
307 |
+
|
308 |
+
add_action('wp_head','spicebox_spiko_sections_script');
|
309 |
+
function spicebox_spiko_sections_script(){?>
|
310 |
+
<script type="text/javascript">
|
311 |
+
|
312 |
+
|
313 |
+
|
314 |
+
</script>
|
315 |
+
<?php
|
316 |
+
}
|
inc/spiko/customizer/news-section.php
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
//Latest News Section
|
3 |
+
$wp_customize->add_section('spiko_latest_news_section', array(
|
4 |
+
'title' => esc_html__('Latest News Settings', 'spicebox'),
|
5 |
+
'panel' => 'section_settings',
|
6 |
+
'priority' => 5,
|
7 |
+
));
|
8 |
+
|
9 |
+
|
10 |
+
// Enable news section
|
11 |
+
$wp_customize->add_setting('latest_news_section_enable', array(
|
12 |
+
'default' => true,
|
13 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox'
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new Spiko_Toggle_Control($wp_customize, 'latest_news_section_enable',
|
17 |
+
array(
|
18 |
+
'label' => esc_html__('Enable/Disable Latest News Section', 'spicebox'),
|
19 |
+
'type' => 'toggle',
|
20 |
+
'section' => 'spiko_latest_news_section',
|
21 |
+
)
|
22 |
+
));
|
23 |
+
|
24 |
+
//News section subtitle
|
25 |
+
$wp_customize->add_setting('home_news_section_discription', array(
|
26 |
+
'default' => esc_html__('Cras Vitae Placerat', 'spicebox'),
|
27 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
28 |
+
'transport' => $selective_refresh,
|
29 |
+
));
|
30 |
+
$wp_customize->add_control('home_news_section_discription', array(
|
31 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
32 |
+
'section' => 'spiko_latest_news_section',
|
33 |
+
'type' => 'text',
|
34 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
35 |
+
));
|
36 |
+
|
37 |
+
// News section title
|
38 |
+
$wp_customize->add_setting('home_news_section_title', array(
|
39 |
+
'capability' => 'edit_theme_options',
|
40 |
+
'default' => esc_html__('Vitae Lacinia', 'spicebox'),
|
41 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
42 |
+
'transport' => $selective_refresh,
|
43 |
+
));
|
44 |
+
$wp_customize->add_control('home_news_section_title', array(
|
45 |
+
'label' => esc_html__('Title', 'spicebox'),
|
46 |
+
'section' => 'spiko_latest_news_section',
|
47 |
+
'type' => 'text',
|
48 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
49 |
+
));
|
50 |
+
|
51 |
+
|
52 |
+
// Read More Button
|
53 |
+
$wp_customize->add_setting('home_news_button_title', array(
|
54 |
+
'capability' => 'edit_theme_options',
|
55 |
+
'default' => esc_html__('Cras Vitae', 'spicebox'),
|
56 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
57 |
+
'transport' => $selective_refresh,
|
58 |
+
));
|
59 |
+
$wp_customize->add_control('home_news_button_title', array(
|
60 |
+
'label' => esc_html__('Read More Text', 'spicebox'),
|
61 |
+
'section' => 'spiko_latest_news_section',
|
62 |
+
'type' => 'text',
|
63 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
64 |
+
));
|
65 |
+
|
66 |
+
// enable/disable meta section
|
67 |
+
$wp_customize->add_setting('home_meta_section_settings',
|
68 |
+
array('capability' => 'edit_theme_options',
|
69 |
+
'default' => true,
|
70 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox',
|
71 |
+
|
72 |
+
));
|
73 |
+
$wp_customize->add_control(
|
74 |
+
'home_meta_section_settings',
|
75 |
+
array(
|
76 |
+
'type' => 'checkbox',
|
77 |
+
'label' => esc_html__('Enable/Disable post meta in blog section', 'spicebox'),
|
78 |
+
'section' => 'spiko_latest_news_section',
|
79 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
80 |
+
)
|
81 |
+
);
|
82 |
+
|
83 |
+
//Button Text
|
84 |
+
$wp_customize->add_setting(
|
85 |
+
'home_blog_more_btn',
|
86 |
+
array(
|
87 |
+
'default' => esc_html__('Cras Vitae', 'spicebox'),
|
88 |
+
'capability' => 'edit_theme_options',
|
89 |
+
'sanitize_callback' => 'sanitize_text_field',
|
90 |
+
'transport' => $selective_refresh,
|
91 |
+
)
|
92 |
+
);
|
93 |
+
$wp_customize->add_control(
|
94 |
+
'home_blog_more_btn',
|
95 |
+
array(
|
96 |
+
'label' => esc_html__('View More Button Text', 'spicebox'),
|
97 |
+
'section' => 'spiko_latest_news_section',
|
98 |
+
'type' => 'text',
|
99 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
100 |
+
));
|
101 |
+
|
102 |
+
//Button Link
|
103 |
+
$wp_customize->add_setting(
|
104 |
+
'home_blog_more_btn_link',
|
105 |
+
array(
|
106 |
+
'default' => '#',
|
107 |
+
'capability' => 'edit_theme_options',
|
108 |
+
'sanitize_callback' => 'esc_url_raw',
|
109 |
+
'transport' => $selective_refresh,
|
110 |
+
));
|
111 |
+
$wp_customize->add_control(
|
112 |
+
'home_blog_more_btn_link',
|
113 |
+
array(
|
114 |
+
'label' => esc_html__('View More Button Link', 'spicebox'),
|
115 |
+
'section' => 'spiko_latest_news_section',
|
116 |
+
'type' => 'text',
|
117 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
118 |
+
));
|
119 |
+
|
120 |
+
//Add option target
|
121 |
+
$wp_customize->add_setting(
|
122 |
+
'home_blog_more_btn_link_target',
|
123 |
+
array('sanitize_callback' => 'spiceb_spiko_sanitize_checkbox',
|
124 |
+
'transport' => $selective_refresh,
|
125 |
+
));
|
126 |
+
|
127 |
+
$wp_customize->add_control(
|
128 |
+
'home_blog_more_btn_link_target',
|
129 |
+
array(
|
130 |
+
'type' => 'checkbox',
|
131 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
132 |
+
'section' => 'spiko_latest_news_section',
|
133 |
+
'active_callback' => 'spiceb_spiko_news_callback'
|
134 |
+
)
|
135 |
+
);
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Add selective refresh for Front page news section controls.
|
139 |
+
*/
|
140 |
+
$wp_customize->selective_refresh->add_partial('home_news_section_title', array(
|
141 |
+
'selector' => '.home-blog .section-header h2',
|
142 |
+
'settings' => 'home_news_section_title',
|
143 |
+
'render_callback' => 'spiceb_home_news_section_title_render_callback',
|
144 |
+
));
|
145 |
+
|
146 |
+
$wp_customize->selective_refresh->add_partial('home_news_section_discription', array(
|
147 |
+
'selector' => '.home-blog .section-header h5',
|
148 |
+
'settings' => 'home_news_section_discription',
|
149 |
+
'render_callback' => 'spiceb_home_news_section_discription_render_callback',
|
150 |
+
));
|
151 |
+
|
152 |
+
$wp_customize->selective_refresh->add_partial('home_blog_more_btn', array(
|
153 |
+
'selector' => '.home-blog .business-view-more-post',
|
154 |
+
'settings' => 'home_blog_more_btn',
|
155 |
+
'render_callback' => 'spiceb_home_blog_more_btn_render_callback',
|
156 |
+
));
|
157 |
+
|
158 |
+
$wp_customize->selective_refresh->add_partial('home_news_button_title', array(
|
159 |
+
'selector' => '.home-blog a.more-link',
|
160 |
+
'settings' => 'home_news_button_title',
|
161 |
+
'render_callback' => 'spiceb_home_news_button_title_render_callback',
|
162 |
+
));
|
163 |
+
|
164 |
+
function spiceb_home_news_section_title_render_callback() {
|
165 |
+
return get_theme_mod('home_news_section_title');
|
166 |
+
}
|
167 |
+
|
168 |
+
function spiceb_home_news_section_discription_render_callback() {
|
169 |
+
return get_theme_mod('home_news_section_discription');
|
170 |
+
}
|
171 |
+
|
172 |
+
function spiceb_home_blog_more_btn_render_callback() {
|
173 |
+
return get_theme_mod('home_blog_more_btn');
|
174 |
+
}
|
175 |
+
|
176 |
+
function spiceb_home_news_button_title_render_callback() {
|
177 |
+
return get_theme_mod('home_news_button_title');
|
178 |
+
}
|
inc/spiko/customizer/services-section.php
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$wp_customize->add_section('services_section', array(
|
3 |
+
'title' => esc_html__('Services Settings', 'spicebox'),
|
4 |
+
'panel' => 'section_settings',
|
5 |
+
'priority' => 2,
|
6 |
+
));
|
7 |
+
|
8 |
+
// Enable service more btn
|
9 |
+
$wp_customize->add_setting('home_service_section_enabled', array(
|
10 |
+
'default' => true,
|
11 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox'
|
12 |
+
));
|
13 |
+
|
14 |
+
$wp_customize->add_control(new Spiko_Toggle_Control($wp_customize, 'home_service_section_enabled',
|
15 |
+
array(
|
16 |
+
'label' => esc_html__('Enable/Disable Service Section', 'spicebox'),
|
17 |
+
'type' => 'toggle',
|
18 |
+
'section' => 'services_section',
|
19 |
+
)
|
20 |
+
));
|
21 |
+
|
22 |
+
// Service section description
|
23 |
+
$wp_customize->add_setting('home_service_section_discription', array(
|
24 |
+
'capability' => 'edit_theme_options',
|
25 |
+
'default' => esc_html__('Fusce Sed Massa', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
27 |
+
'transport' => $selective_refresh,
|
28 |
+
));
|
29 |
+
|
30 |
+
$wp_customize->add_control('home_service_section_discription', array(
|
31 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
32 |
+
'section' => 'services_section',
|
33 |
+
'type' => 'text',
|
34 |
+
'active_callback' => 'spiceb_spiko_service_callback'
|
35 |
+
));
|
36 |
+
|
37 |
+
//Service section title
|
38 |
+
$wp_customize->add_setting('home_service_section_title', array(
|
39 |
+
'capability' => 'edit_theme_options',
|
40 |
+
'default' => esc_html__('Quisque Blandit', 'spicebox'),
|
41 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
42 |
+
'transport' => $selective_refresh,
|
43 |
+
));
|
44 |
+
|
45 |
+
$wp_customize->add_control('home_service_section_title', array(
|
46 |
+
'label' => esc_html__('Title', 'spicebox'),
|
47 |
+
'section' => 'services_section',
|
48 |
+
'type' => 'text',
|
49 |
+
'active_callback' => 'spiceb_spiko_service_callback'
|
50 |
+
));
|
51 |
+
|
52 |
+
|
53 |
+
if (class_exists('Spicebox_Limit_Repeater')) {
|
54 |
+
$wp_customize->add_setting('spiko_service_content', array());
|
55 |
+
|
56 |
+
$wp_customize->add_control(new Spicebox_Limit_Repeater($wp_customize, 'spiko_service_content', array(
|
57 |
+
'label' => esc_html__('Service content', 'spicebox'),
|
58 |
+
'section' => 'services_section',
|
59 |
+
'priority' => 10,
|
60 |
+
'add_field_label' => esc_html__('Add new Service', 'spicebox'),
|
61 |
+
'item_name' => esc_html__('Service', 'spicebox'),
|
62 |
+
'customizer_repeater_icon_control' => true,
|
63 |
+
'customizer_repeater_title_control' => true,
|
64 |
+
'customizer_repeater_text_control' => true,
|
65 |
+
'customizer_repeater_link_control' => true,
|
66 |
+
'customizer_repeater_checkbox_control' => true,
|
67 |
+
'customizer_repeater_image_control' => true,
|
68 |
+
'active_callback' => 'spiceb_spiko_service_callback'
|
69 |
+
)));
|
70 |
+
}
|
71 |
+
|
72 |
+
class spiko_services_section_upgrade extends WP_Customize_Control {
|
73 |
+
public function render_content() { ?>
|
74 |
+
<h3 class="customizer_spiko_service_upgrade_section" style="display: none;">
|
75 |
+
<?php esc_html_e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/spiko-plus' ); ?>" target="_blank">
|
76 |
+
<?php esc_html_e('Upgrade to Plus','spicebox'); ?> </a>
|
77 |
+
</h3>
|
78 |
+
<?php
|
79 |
+
}
|
80 |
+
}
|
81 |
+
|
82 |
+
$wp_customize->add_setting( 'spiko_service_upgrade_to_pro', array(
|
83 |
+
'capability' => 'edit_theme_options',
|
84 |
+
));
|
85 |
+
$wp_customize->add_control(
|
86 |
+
new spiko_services_section_upgrade(
|
87 |
+
$wp_customize,
|
88 |
+
'spiko_service_upgrade_to_pro',
|
89 |
+
array(
|
90 |
+
'section' => 'services_section',
|
91 |
+
'settings' => 'spiko_service_upgrade_to_pro',
|
92 |
+
'active_callback' => 'spiceb_spiko_service_callback'
|
93 |
+
)
|
94 |
+
)
|
95 |
+
);
|
96 |
+
|
97 |
+
$wp_customize->selective_refresh->add_partial('home_service_section_title', array(
|
98 |
+
'selector' => '.services .section-title, .services2 .section-title, .services3 .section-title, .services4 .section-title',
|
99 |
+
'settings' => 'home_service_section_title',
|
100 |
+
'render_callback' => 'spiceb_home_service_section_title_render_callback'
|
101 |
+
));
|
102 |
+
|
103 |
+
$wp_customize->selective_refresh->add_partial('home_service_section_discription', array(
|
104 |
+
'selector' => '.services .section-subtitle, .services2 .section-subtitle, .services3 .section-subtitle, .services4 .section-subtitle',
|
105 |
+
'settings' => 'home_service_section_discription',
|
106 |
+
'render_callback' => 'spiceb_home_service_section_discription_render_callback'
|
107 |
+
));
|
108 |
+
|
109 |
+
$wp_customize->selective_refresh->add_partial('service_viewmore_btn_text', array(
|
110 |
+
'selector' => '.services .view-more-services',
|
111 |
+
'settings' => 'service_viewmore_btn_text',
|
112 |
+
'render_callback' => 'spiceb_service_viewmore_btn_text_render_callback'
|
113 |
+
));
|
114 |
+
|
115 |
+
function spiceb_home_service_section_title_render_callback() {
|
116 |
+
return get_theme_mod('home_service_section_title');
|
117 |
+
}
|
118 |
+
|
119 |
+
function spiceb_home_service_section_discription_render_callback() {
|
120 |
+
return get_theme_mod('home_service_section_discription');
|
121 |
+
}
|
122 |
+
|
123 |
+
function spiceb_service_viewmore_btn_text_render_callback() {
|
124 |
+
return get_theme_mod('service_viewmore_btn_text');
|
125 |
+
}
|
inc/spiko/customizer/slider-section.php
ADDED
@@ -0,0 +1,301 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* Slider Section */
|
4 |
+
$wp_customize->add_section('slider_section', array(
|
5 |
+
'title' => esc_html__('Slider Settings', 'spicebox'),
|
6 |
+
'panel' => 'section_settings',
|
7 |
+
'priority' => 1,
|
8 |
+
));
|
9 |
+
|
10 |
+
// Enable slider
|
11 |
+
$wp_customize->add_setting('home_page_slider_enabled', array(
|
12 |
+
'default' => true,
|
13 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox',
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new Spiko_Toggle_Control($wp_customize, 'home_page_slider_enabled',
|
17 |
+
array(
|
18 |
+
'label' => esc_html__('Enable/Disable Slider Section', 'spicebox'),
|
19 |
+
'type' => 'toggle',
|
20 |
+
'section' => 'slider_section',
|
21 |
+
'priority' => 1,
|
22 |
+
)
|
23 |
+
));
|
24 |
+
|
25 |
+
// Slider Variation
|
26 |
+
$wp_customize->add_setting( 'slide_variation', array( 'default' => 'slide') );
|
27 |
+
$wp_customize->add_control( 'slide_variation',
|
28 |
+
array(
|
29 |
+
'label' => esc_html__( 'Slider Background Type', 'spicebox' ),
|
30 |
+
'section' => 'slider_section',
|
31 |
+
'type' => 'select',
|
32 |
+
'active_callback' => 'spiceb_spiko_slider_callback',
|
33 |
+
'choices'=>array(
|
34 |
+
'slide'=>esc_html__('Image', 'spicebox'),
|
35 |
+
'video'=>esc_html__('Video', 'spicebox')
|
36 |
+
)
|
37 |
+
));
|
38 |
+
|
39 |
+
// Slider Video Section
|
40 |
+
$wp_customize->add_setting( 'slide_video_upload',
|
41 |
+
array(
|
42 |
+
'default' => '',
|
43 |
+
'transport' => 'refresh',
|
44 |
+
'sanitize_callback' => 'absint'
|
45 |
+
)
|
46 |
+
);
|
47 |
+
$wp_customize->add_control( new WP_Customize_Media_Control( $wp_customize, 'slide_video_upload',
|
48 |
+
array(
|
49 |
+
'label' => esc_html__( 'Slider video' ),
|
50 |
+
'description' => esc_html__( 'Upload your video in .mp4 format and minimize its file size for best results. For this theme the recommended size is 1150 × 2000 pixels.','innofit' ),
|
51 |
+
'section' => 'slider_section',
|
52 |
+
'mime_type' => 'video', // Required. Can be image, audio, video, application, text
|
53 |
+
'active_callback' => 'spiceb_spiko_slider_callback',
|
54 |
+
'button_labels' => array( // Optional
|
55 |
+
'select' => esc_html__( 'Select File' ),
|
56 |
+
'change' => esc_html__( 'Change File' ),
|
57 |
+
'default' => esc_html__( 'Default' ),
|
58 |
+
'remove' => esc_html__( 'Remove' ),
|
59 |
+
'placeholder' => esc_html__( 'No file selected' ),
|
60 |
+
'frame_title' => esc_html__( 'Select File' ),
|
61 |
+
'frame_button' => esc_html__( 'Choose File' ),
|
62 |
+
|
63 |
+
)
|
64 |
+
)
|
65 |
+
) );
|
66 |
+
|
67 |
+
//Slider video url
|
68 |
+
$wp_customize->add_setting( 'slide_video_url',array(
|
69 |
+
'capability' => 'edit_theme_options',
|
70 |
+
'default' => '',
|
71 |
+
'sanitize_callback' => 'esc_url_raw',
|
72 |
+
));
|
73 |
+
$wp_customize->add_control( 'slide_video_url',array(
|
74 |
+
'label' => esc_html__('Or, enter a YouTube URL:','spicebox'),
|
75 |
+
'section' => 'slider_section',
|
76 |
+
'type' => 'text',
|
77 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
78 |
+
|
79 |
+
));
|
80 |
+
|
81 |
+
|
82 |
+
$theme=wp_get_theme();
|
83 |
+
if ('Spiko Dark' == $theme->name){
|
84 |
+
//Slider Image
|
85 |
+
$wp_customize->add_setting('home_slider_image', array(
|
86 |
+
'default' => SPIKO_DARK_TEMPLATE_DIR_URI .'/assets/images/slider.jpg',
|
87 |
+
'sanitize_callback' => 'esc_url_raw',
|
88 |
+
));
|
89 |
+
} else{
|
90 |
+
//Slider Image
|
91 |
+
$wp_customize->add_setting('home_slider_image', array(
|
92 |
+
'default' => SPICEB_PLUGIN_URL . '/inc/spiko/images/slider/slider.jpg',
|
93 |
+
'sanitize_callback' => 'esc_url_raw',
|
94 |
+
));
|
95 |
+
}
|
96 |
+
|
97 |
+
$wp_customize->add_control(
|
98 |
+
new WP_Customize_Image_Control(
|
99 |
+
$wp_customize,
|
100 |
+
'home_slider_image',
|
101 |
+
array(
|
102 |
+
'type' => 'upload',
|
103 |
+
'label' => esc_html__('Image', 'spicebox'),
|
104 |
+
'settings' => 'home_slider_image',
|
105 |
+
'section' => 'slider_section',
|
106 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
107 |
+
)
|
108 |
+
)
|
109 |
+
);
|
110 |
+
|
111 |
+
// Image overlay
|
112 |
+
$wp_customize->add_setting('slider_image_overlay', array(
|
113 |
+
'default' => true,
|
114 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox',
|
115 |
+
)
|
116 |
+
);
|
117 |
+
|
118 |
+
$wp_customize->add_control('slider_image_overlay', array(
|
119 |
+
'label' => esc_html__('Enable/Disable slider image overlay', 'spicebox'),
|
120 |
+
'section' => 'slider_section',
|
121 |
+
'type' => 'checkbox',
|
122 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
123 |
+
)
|
124 |
+
);
|
125 |
+
|
126 |
+
//Slider Background Overlay Color
|
127 |
+
$wp_customize->add_setting('slider_overlay_section_color', array(
|
128 |
+
'sanitize_callback' => 'sanitize_text_field',
|
129 |
+
'default' => 'rgba(0,0,0,0.6)',
|
130 |
+
)
|
131 |
+
);
|
132 |
+
|
133 |
+
$wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'slider_overlay_section_color', array(
|
134 |
+
'label' => esc_html__('Slider image overlay color', 'spicebox'),
|
135 |
+
'palette' => true,
|
136 |
+
'section' => 'slider_section',
|
137 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
138 |
+
)
|
139 |
+
));
|
140 |
+
|
141 |
+
//Content Alignment
|
142 |
+
$wp_customize->add_setting( 'slider_content_alignment',
|
143 |
+
array(
|
144 |
+
'default' => 'left',
|
145 |
+
'transport' => 'refresh',
|
146 |
+
)
|
147 |
+
);
|
148 |
+
$wp_customize->add_control( new Spicebox_Text_Radio_Button_Custom_Control( $wp_customize, 'slider_content_alignment',
|
149 |
+
array(
|
150 |
+
'label' => esc_html__( 'Slider Content Alignment', 'spicebox' ),
|
151 |
+
'section' => 'slider_section',
|
152 |
+
'active_callback' => 'spiceb_spiko_slider_callback',
|
153 |
+
'choices' => array(
|
154 |
+
'left' => esc_html__( 'Left' ), // Required. Setting for this particular radio button choice and the text to display
|
155 |
+
'center' => esc_html__( 'Center' ), // Required. Setting for this particular radio button choice and the text to display
|
156 |
+
'right' => esc_html__( 'Right' ) // Required. Setting for this particular radio button choice and the text to display
|
157 |
+
)
|
158 |
+
)
|
159 |
+
) );
|
160 |
+
|
161 |
+
// Slider subtitle
|
162 |
+
$wp_customize->add_setting('home_slider_subtitle', array(
|
163 |
+
'default' => esc_html__('Lorem Ipsum', 'spicebox'),
|
164 |
+
'capability' => 'edit_theme_options',
|
165 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
166 |
+
));
|
167 |
+
$wp_customize->add_control('home_slider_subtitle', array(
|
168 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
169 |
+
'section' => 'slider_section',
|
170 |
+
'type' => 'text',
|
171 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
172 |
+
));
|
173 |
+
|
174 |
+
// Slider title
|
175 |
+
$wp_customize->add_setting('home_slider_title', array(
|
176 |
+
'default' => esc_html__('Nulla nec dolor sit amet lacus molestie', 'spicebox'),
|
177 |
+
'capability' => 'edit_theme_options',
|
178 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
179 |
+
));
|
180 |
+
$wp_customize->add_control('home_slider_title', array(
|
181 |
+
'label' => esc_html__('Title', 'spicebox'),
|
182 |
+
'section' => 'slider_section',
|
183 |
+
'type' => 'text',
|
184 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
185 |
+
));
|
186 |
+
|
187 |
+
//Slider discription
|
188 |
+
$wp_customize->add_setting('home_slider_discription', array(
|
189 |
+
'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'),
|
190 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
191 |
+
));
|
192 |
+
$wp_customize->add_control('home_slider_discription', array(
|
193 |
+
'label' => esc_html__('Description', 'spicebox'),
|
194 |
+
'section' => 'slider_section',
|
195 |
+
'type' => 'textarea',
|
196 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
197 |
+
));
|
198 |
+
|
199 |
+
|
200 |
+
// Slider button text
|
201 |
+
$wp_customize->add_setting('home_slider_btn_txt', array(
|
202 |
+
'default' => esc_html__('Nec Sem', 'spicebox'),
|
203 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
204 |
+
));
|
205 |
+
$wp_customize->add_control('home_slider_btn_txt', array(
|
206 |
+
'label' => esc_html__('Button Text', 'spicebox'),
|
207 |
+
'section' => 'slider_section',
|
208 |
+
'type' => 'text',
|
209 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
210 |
+
));
|
211 |
+
|
212 |
+
// Slider button link
|
213 |
+
$wp_customize->add_setting('home_slider_btn_link', array(
|
214 |
+
'default' => esc_html__('#', 'spicebox'),
|
215 |
+
'sanitize_callback' => 'esc_url_raw',
|
216 |
+
));
|
217 |
+
$wp_customize->add_control('home_slider_btn_link', array(
|
218 |
+
'label' => esc_html__('Button Link', 'spicebox'),
|
219 |
+
'section' => 'slider_section',
|
220 |
+
'type' => 'text',
|
221 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
222 |
+
));
|
223 |
+
|
224 |
+
// Slider button target
|
225 |
+
$wp_customize->add_setting(
|
226 |
+
'home_slider_btn_target',
|
227 |
+
array(
|
228 |
+
'default' => false,
|
229 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox',
|
230 |
+
));
|
231 |
+
$wp_customize->add_control('home_slider_btn_target', array(
|
232 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
233 |
+
'section' => 'slider_section',
|
234 |
+
'type' => 'checkbox',
|
235 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
236 |
+
));
|
237 |
+
|
238 |
+
// Slider button2 text
|
239 |
+
$wp_customize->add_setting('home_slider_btn_txt2', array(
|
240 |
+
'default' => esc_html__('Cras Vitae', 'spicebox'),
|
241 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
242 |
+
));
|
243 |
+
$wp_customize->add_control('home_slider_btn_txt2', array(
|
244 |
+
'label' => esc_html__('Button 2 Text', 'spicebox'),
|
245 |
+
'section' => 'slider_section',
|
246 |
+
'type' => 'text',
|
247 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
248 |
+
));
|
249 |
+
|
250 |
+
// Slider button link
|
251 |
+
$wp_customize->add_setting('home_slider_btn_link2', array(
|
252 |
+
'default' => esc_html__('#', 'spicebox'),
|
253 |
+
'sanitize_callback' => 'esc_url_raw',
|
254 |
+
));
|
255 |
+
$wp_customize->add_control('home_slider_btn_link2', array(
|
256 |
+
'label' => esc_html__('Button 2 Link', 'spicebox'),
|
257 |
+
'section' => 'slider_section',
|
258 |
+
'type' => 'text',
|
259 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
260 |
+
));
|
261 |
+
|
262 |
+
// Slider button target
|
263 |
+
$wp_customize->add_setting(
|
264 |
+
'home_slider_btn_target2',
|
265 |
+
array(
|
266 |
+
'default' => false,
|
267 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox',
|
268 |
+
));
|
269 |
+
$wp_customize->add_control('home_slider_btn_target2', array(
|
270 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
271 |
+
'section' => 'slider_section',
|
272 |
+
'type' => 'checkbox',
|
273 |
+
'active_callback' => 'spiceb_spiko_slider_callback'
|
274 |
+
));
|
275 |
+
|
276 |
+
|
277 |
+
$wp_customize->selective_refresh->add_partial('home_slider_subtitle', array(
|
278 |
+
'selector' => '.bcslider-section .slider-caption .heading ',
|
279 |
+
'settings' => 'home_slider_subtitle',
|
280 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
281 |
+
));
|
282 |
+
$wp_customize->selective_refresh->add_partial('home_slider_title', array(
|
283 |
+
'selector' => '.bcslider-section .slider-caption .title ',
|
284 |
+
'settings' => 'home_slider_title',
|
285 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
286 |
+
));
|
287 |
+
$wp_customize->selective_refresh->add_partial('home_slider_discription', array(
|
288 |
+
'selector' => '.bcslider-section .slider-caption .description ',
|
289 |
+
'settings' => 'home_slider_discription',
|
290 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
291 |
+
));
|
292 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt', array(
|
293 |
+
'selector' => '.bcslider-section .slider-caption .btn-combo .btn-default ',
|
294 |
+
'settings' => 'home_slider_btn_txt',
|
295 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
296 |
+
));
|
297 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt2', array(
|
298 |
+
'selector' => '.bcslider-section .slider-caption .btn-combo .btn-light ',
|
299 |
+
'settings' => 'home_slider_btn_txt2',
|
300 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
301 |
+
));
|
inc/spiko/customizer/team-section.php
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
//Team Section
|
4 |
+
$wp_customize->add_section('spiko_team_section', array(
|
5 |
+
'title' => esc_html__('Team Settings', 'spicebox'),
|
6 |
+
'panel' => 'section_settings',
|
7 |
+
'priority' => 4,
|
8 |
+
));
|
9 |
+
|
10 |
+
$wp_customize->add_setting('team_section_enable', array(
|
11 |
+
'default' => true,
|
12 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new Spiko_Toggle_Control($wp_customize, 'team_section_enable',
|
16 |
+
array(
|
17 |
+
'label' => esc_html__('Enable/Disable Team Section', 'spicebox'),
|
18 |
+
'type' => 'toggle',
|
19 |
+
'section' => 'spiko_team_section',
|
20 |
+
)
|
21 |
+
));
|
22 |
+
|
23 |
+
//Team section discription
|
24 |
+
$wp_customize->add_setting('home_team_section_discription', array(
|
25 |
+
'default' => esc_html__('Ullamco Laboris Nisi', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
27 |
+
|
28 |
+
));
|
29 |
+
$wp_customize->add_control('home_team_section_discription', array(
|
30 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
31 |
+
'section' => 'spiko_team_section',
|
32 |
+
'type' => 'text',
|
33 |
+
'active_callback' => 'spiceb_spiko_team_callback'
|
34 |
+
));
|
35 |
+
|
36 |
+
// Team section title
|
37 |
+
$wp_customize->add_setting('home_team_section_title', array(
|
38 |
+
'default' => esc_html__('Magna Aliqua', 'spicebox'),
|
39 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
40 |
+
));
|
41 |
+
$wp_customize->add_control('home_team_section_title', array(
|
42 |
+
'label' => esc_html__('Title', 'spicebox'),
|
43 |
+
'section' => 'spiko_team_section',
|
44 |
+
'type' => 'text',
|
45 |
+
'active_callback' => 'spiceb_spiko_team_callback'
|
46 |
+
));
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
if (class_exists('Spicebox_Repeater')) {
|
51 |
+
$wp_customize->add_setting(
|
52 |
+
'spiko_team_content', array(
|
53 |
+
)
|
54 |
+
);
|
55 |
+
|
56 |
+
$wp_customize->add_control(
|
57 |
+
new Spicebox_Repeater(
|
58 |
+
$wp_customize, 'spiko_team_content', array(
|
59 |
+
'label' => esc_html__('Team content', 'spicebox'),
|
60 |
+
'section' => 'spiko_team_section',
|
61 |
+
'priority' => 15,
|
62 |
+
'add_field_label' => esc_html__('Add new Team Member', 'spicebox'),
|
63 |
+
'item_name' => esc_html__('Team Member', 'spicebox'),
|
64 |
+
'customizer_repeater_member_name_control' => true,
|
65 |
+
//'customizer_repeater_text_control' => true,
|
66 |
+
'customizer_repeater_designation_control' => true,
|
67 |
+
'customizer_repeater_image_control' => true,
|
68 |
+
//'customizer_repeater_image_control2' => true,
|
69 |
+
// 'customizer_repeater_checkbox_control' => true,
|
70 |
+
'customizer_repeater_repeater_control' => true,
|
71 |
+
'active_callback' => 'spiceb_spiko_team_callback'
|
72 |
+
)
|
73 |
+
)
|
74 |
+
);
|
75 |
+
}
|
76 |
+
|
77 |
+
// animation speed
|
78 |
+
$wp_customize->add_setting('team_animation_speed', array('default' => 3000));
|
79 |
+
$wp_customize->add_control('team_animation_speed',
|
80 |
+
array(
|
81 |
+
'label' => esc_html__('Animation speed', 'spicebox'),
|
82 |
+
'section' => 'spiko_team_section',
|
83 |
+
'type' => 'select',
|
84 |
+
'priority' => 53,
|
85 |
+
'choices' => array(
|
86 |
+
'2000' => '2.0',
|
87 |
+
'3000' => '3.0',
|
88 |
+
'4000' => '4.0',
|
89 |
+
'5000' => '5.0',
|
90 |
+
'6000' => '6.0',
|
91 |
+
),
|
92 |
+
'active_callback' => 'spiceb_spiko_team_callback'
|
93 |
+
));
|
94 |
+
|
95 |
+
//Navigation Type
|
96 |
+
$wp_customize->add_setting('team_nav_style', array('default' => 'bullets'));
|
97 |
+
$wp_customize->add_control('team_nav_style', array(
|
98 |
+
'label' => esc_html__('Navigation Style', 'spicebox'),
|
99 |
+
'section' => 'spiko_team_section',
|
100 |
+
'type' => 'radio',
|
101 |
+
'priority' => 17,
|
102 |
+
'choices' => array(
|
103 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
104 |
+
'navigation' => esc_html__('Navigation', 'spicebox'),
|
105 |
+
'both' => esc_html__('Both', 'spicebox'),
|
106 |
+
),
|
107 |
+
'active_callback' => 'spiceb_spiko_team_callback'
|
108 |
+
));
|
109 |
+
|
110 |
+
// smooth speed
|
111 |
+
$wp_customize->add_setting('team_smooth_speed', array('default' => 1000));
|
112 |
+
$wp_customize->add_control('team_smooth_speed',
|
113 |
+
array(
|
114 |
+
'label' => esc_html__('Smooth speed', 'spicebox'),
|
115 |
+
'section' => 'spiko_team_section',
|
116 |
+
'type' => 'select',
|
117 |
+
'priority' => 17,
|
118 |
+
'active_callback' => 'spiceb_spiko_team_callback',
|
119 |
+
'choices' => array('500' => '0.5',
|
120 |
+
'1000' => '1.0',
|
121 |
+
'1500' => '1.5',
|
122 |
+
'2000' => '2.0',
|
123 |
+
'2500' => '2.5',
|
124 |
+
'3000' => '3.0')
|
125 |
+
));
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Add selective refresh for Front page team section controls.
|
129 |
+
*/
|
130 |
+
$wp_customize->selective_refresh->add_partial('home_team_section_title', array(
|
131 |
+
'selector' => '.team h2, .team2 .section-title, .team3 .section-title, .team4 .section-title',
|
132 |
+
'settings' => 'home_team_section_title',
|
133 |
+
'render_callback' => 'spiceb_home_team_section_title_render_callback',
|
134 |
+
));
|
135 |
+
|
136 |
+
$wp_customize->selective_refresh->add_partial('home_team_section_discription', array(
|
137 |
+
'selector' => '.team h5, .team2 .section-subtitle, .team3 .section-subtitle, .team4 .section-subtitle',
|
138 |
+
'settings' => 'home_team_section_discription',
|
139 |
+
'render_callback' => 'spiceb_home_team_section_discription_render_callback',
|
140 |
+
));
|
141 |
+
|
142 |
+
function spiceb_home_team_section_title_render_callback() {
|
143 |
+
return get_theme_mod('home_team_section_title');
|
144 |
+
}
|
145 |
+
|
146 |
+
function spiceb_home_team_section_discription_render_callback() {
|
147 |
+
return get_theme_mod('home_team_section_discription');
|
148 |
+
}
|
149 |
+
|
150 |
+
?>
|
inc/spiko/customizer/testimonial-section.php
ADDED
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Testimonial Section */
|
3 |
+
$wp_customize->add_section('testimonial_section', array(
|
4 |
+
'title' => esc_html__('Testimonials Settings', 'spicebox'),
|
5 |
+
'panel' => 'section_settings',
|
6 |
+
'priority' =>3,
|
7 |
+
));
|
8 |
+
|
9 |
+
// Enable testimonial section
|
10 |
+
$wp_customize->add_setting('testimonial_section_enable', array(
|
11 |
+
'default' => true,
|
12 |
+
'sanitize_callback' => 'spiceb_spiko_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new Spiko_Toggle_Control($wp_customize, 'testimonial_section_enable',
|
16 |
+
array(
|
17 |
+
'label' => esc_html__('Enable/Disable Testimonial Section', 'spicebox'),
|
18 |
+
'type' => 'toggle',
|
19 |
+
'section' => 'testimonial_section',
|
20 |
+
)
|
21 |
+
));
|
22 |
+
// testimonial section Description
|
23 |
+
$wp_customize->add_setting('home_testimonial_section_discription', array(
|
24 |
+
'capability' => 'edit_theme_options',
|
25 |
+
'default' => esc_html__('Nam Viverra Iaculis Finibus', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
27 |
+
));
|
28 |
+
$wp_customize->add_control('home_testimonial_section_discription', array(
|
29 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
30 |
+
'section' => 'testimonial_section',
|
31 |
+
'type' => 'text',
|
32 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
33 |
+
));
|
34 |
+
|
35 |
+
// testimonial section title
|
36 |
+
$wp_customize->add_setting('home_testimonial_section_title', array(
|
37 |
+
'capability' => 'edit_theme_options',
|
38 |
+
'default' => esc_html__('Proin Egestas', 'spicebox'),
|
39 |
+
'sanitize_callback' => 'spiceb_spiko_home_page_sanitize_text',
|
40 |
+
));
|
41 |
+
$wp_customize->add_control('home_testimonial_section_title', array(
|
42 |
+
'label' => esc_html__('Title', 'spicebox'),
|
43 |
+
'section' => 'testimonial_section',
|
44 |
+
'type' => 'text',
|
45 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
46 |
+
));
|
47 |
+
|
48 |
+
|
49 |
+
$theme=wp_get_theme();
|
50 |
+
if ('Spiko Dark' == $theme->name){
|
51 |
+
|
52 |
+
if (class_exists('Spicebox_Repeater')) {
|
53 |
+
$wp_customize->add_setting('spiko_testimonial_content', array(
|
54 |
+
));
|
55 |
+
|
56 |
+
$wp_customize->add_control(new Spicebox_Repeater($wp_customize, 'spiko_testimonial_content', array(
|
57 |
+
'label' => esc_html__('Testimonial content', 'spicebox'),
|
58 |
+
'section' => 'testimonial_section',
|
59 |
+
'add_field_label' => esc_html__('Add new Testimonial', 'spicebox'),
|
60 |
+
'item_name' => esc_html__('Testimonial', 'spicebox'),
|
61 |
+
'customizer_repeater_text_control' => true,
|
62 |
+
'customizer_repeater_link_control' => true,
|
63 |
+
'customizer_repeater_checkbox_control' => true,
|
64 |
+
'customizer_repeater_image_control' => true,
|
65 |
+
'customizer_repeater_user_name_control' => true,
|
66 |
+
'customizer_repeater_designation_control' => true,
|
67 |
+
//'customizer_repeater_star_rating_control' => true,
|
68 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
69 |
+
)));
|
70 |
+
}
|
71 |
+
}else{
|
72 |
+
|
73 |
+
if (class_exists('Spicebox_Repeater')) {
|
74 |
+
$wp_customize->add_setting('spiko_testimonial_content', array(
|
75 |
+
));
|
76 |
+
$wp_customize->add_control(new Spicebox_Repeater($wp_customize, 'spiko_testimonial_content', array(
|
77 |
+
'label' => esc_html__('Testimonial content', 'spicebox'),
|
78 |
+
'section' => 'testimonial_section',
|
79 |
+
'add_field_label' => esc_html__('Add new Testimonial', 'spicebox'),
|
80 |
+
'item_name' => esc_html__('Testimonial', 'spicebox'),
|
81 |
+
'customizer_repeater_text_control' => true,
|
82 |
+
'customizer_repeater_link_control' => true,
|
83 |
+
'customizer_repeater_checkbox_control' => true,
|
84 |
+
'customizer_repeater_image_control' => true,
|
85 |
+
'customizer_repeater_user_name_control' => true,
|
86 |
+
//'customizer_repeater_designation_control' => true,
|
87 |
+
//'customizer_repeater_star_rating_control' => true,
|
88 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
89 |
+
)));
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
//Navigation Type
|
94 |
+
$wp_customize->add_setting('testimonial_nav_style', array('default' => 'bullets'));
|
95 |
+
$wp_customize->add_control('testimonial_nav_style', array(
|
96 |
+
'label' => esc_html__('Navigation Style', 'spicebox'),
|
97 |
+
'section' => 'testimonial_section',
|
98 |
+
'type' => 'radio',
|
99 |
+
'priority' => 17,
|
100 |
+
'choices' => array(
|
101 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
102 |
+
'navigation' => esc_html__('Navigation', 'spicebox'),
|
103 |
+
'both' => esc_html__('Both', 'spicebox'),
|
104 |
+
),
|
105 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
106 |
+
));
|
107 |
+
|
108 |
+
$theme=wp_get_theme();
|
109 |
+
if ('Spiko Dark' == $theme->name){
|
110 |
+
$wp_customize->add_setting('testimonial_callout_background', array(
|
111 |
+
'default' => SPICEB_PLUGIN_URL.'inc/spiko/images/testimonial/bg-img1.jpg',
|
112 |
+
'sanitize_callback' => 'esc_url_raw',
|
113 |
+
));
|
114 |
+
}else{
|
115 |
+
//Testimonial Background Image
|
116 |
+
$wp_customize->add_setting('testimonial_callout_background', array(
|
117 |
+
'default' => SPICEB_PLUGIN_URL.'inc/spiko/images/testimonial/bg-img.jpg',
|
118 |
+
'sanitize_callback' => 'esc_url_raw',
|
119 |
+
));
|
120 |
+
}
|
121 |
+
|
122 |
+
$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'testimonial_callout_background', array(
|
123 |
+
'label' => __('Background Image', 'spiko-plus'),
|
124 |
+
'section' => 'testimonial_section',
|
125 |
+
'settings' => 'testimonial_callout_background',
|
126 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
127 |
+
)));
|
128 |
+
|
129 |
+
// Image overlay
|
130 |
+
$wp_customize->add_setting('testimonial_image_overlay', array(
|
131 |
+
'default' => true,
|
132 |
+
'sanitize_callback' => 'sanitize_text_field',
|
133 |
+
));
|
134 |
+
|
135 |
+
$wp_customize->add_control('testimonial_image_overlay', array(
|
136 |
+
'label' => __('Enable testimonial image overlay', 'spiko-plus'),
|
137 |
+
'section' => 'testimonial_section',
|
138 |
+
'type' => 'checkbox',
|
139 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
140 |
+
));
|
141 |
+
|
142 |
+
if ('Spiko Dark' == $theme->name){
|
143 |
+
//Testimonial Background Overlay Color
|
144 |
+
$wp_customize->add_setting('testimonial_overlay_section_color', array(
|
145 |
+
'sanitize_callback' => 'sanitize_text_field',
|
146 |
+
'default' => 'rgba(0,0,0,0.8)',
|
147 |
+
));
|
148 |
+
}else{
|
149 |
+
$wp_customize->add_setting('testimonial_overlay_section_color', array(
|
150 |
+
'sanitize_callback' => 'sanitize_text_field',
|
151 |
+
'default' => 'rgba(255,255,255,0.8)',
|
152 |
+
));
|
153 |
+
}
|
154 |
+
|
155 |
+
$wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'testimonial_overlay_section_color', array(
|
156 |
+
'label' => __('Testimonial image overlay color', 'spiko-plus'),
|
157 |
+
'palette' => true,
|
158 |
+
'section' => 'testimonial_section',
|
159 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback')
|
160 |
+
));
|
161 |
+
|
162 |
+
// animation speed
|
163 |
+
$wp_customize->add_setting('testimonial_animation_speed', array('default' => 3000));
|
164 |
+
$wp_customize->add_control('testimonial_animation_speed',
|
165 |
+
array(
|
166 |
+
'label' => esc_html__('Animation speed', 'spicebox'),
|
167 |
+
'section' => 'testimonial_section',
|
168 |
+
'type' => 'select',
|
169 |
+
'choices' => array(
|
170 |
+
'2000' => '2.0',
|
171 |
+
'3000' => '3.0',
|
172 |
+
'4000' => '4.0',
|
173 |
+
'5000' => '5.0',
|
174 |
+
'6000' => '6.0',
|
175 |
+
),
|
176 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
177 |
+
));
|
178 |
+
|
179 |
+
// smooth speed
|
180 |
+
$wp_customize->add_setting('testimonial_smooth_speed', array('default' => 1000));
|
181 |
+
$wp_customize->add_control('testimonial_smooth_speed',
|
182 |
+
array(
|
183 |
+
'label' => esc_html__('Smooth speed', 'spicebox'),
|
184 |
+
'section' => 'testimonial_section',
|
185 |
+
'type' => 'select',
|
186 |
+
'choices' => array('500' => '0.5',
|
187 |
+
'1000' => '1.0',
|
188 |
+
'1500' => '1.5',
|
189 |
+
'2000' => '2.0',
|
190 |
+
'2500' => '2.5',
|
191 |
+
'3000' => '3.0'),
|
192 |
+
'active_callback' => 'spiceb_spiko_testimonial_callback'
|
193 |
+
));
|
194 |
+
|
195 |
+
|
196 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_title', array(
|
197 |
+
'selector' => '.testimonial h2',
|
198 |
+
'settings' => 'home_testimonial_section_title',
|
199 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
200 |
+
));
|
201 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_thumb', array(
|
202 |
+
'selector' => '.testimonial .testmonial-block img',
|
203 |
+
'settings' => 'home_testimonial_thumb',
|
204 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
205 |
+
));
|
206 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_title', array(
|
207 |
+
'selector' => '.testimonial .testmonial-block .entry-content .title span',
|
208 |
+
'settings' => 'home_testimonial_title',
|
209 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
210 |
+
));
|
211 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_desc', array(
|
212 |
+
'selector' => '.testimonial .testmonial-block .entry-content p',
|
213 |
+
'settings' => 'home_testimonial_desc',
|
214 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
215 |
+
));
|
216 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_name', array(
|
217 |
+
'selector' => '.testimonial .testmonial-block figcaption .name',
|
218 |
+
'settings' => 'home_testimonial_name',
|
219 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
220 |
+
));
|
221 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_designation', array(
|
222 |
+
'selector' => '.testimonial .testmonial-block figcaption .designation ',
|
223 |
+
'settings' => 'home_testimonial_designation',
|
224 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
225 |
+
));
|
inc/spiko/default-pages/blog-page.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$post = array(
|
3 |
+
'comment_status' => 'closed',
|
4 |
+
'ping_status' => 'closed' ,
|
5 |
+
'post_author' => 1,
|
6 |
+
'post_date' => date('Y-m-d H:i:s'),
|
7 |
+
'post_name' => 'Blog',
|
8 |
+
'post_status' => 'publish' ,
|
9 |
+
'post_title' => 'Blog',
|
10 |
+
'post_type' => 'page',
|
11 |
+
);
|
12 |
+
//insert page and save the id
|
13 |
+
$newvalue = wp_insert_post( $post, false );
|
14 |
+
if ( $newvalue && ! is_wp_error( $newvalue ) ){
|
15 |
+
update_post_meta( $newvalue, '_wp_page_template', 'page.php' );
|
16 |
+
|
17 |
+
// Use a static front page
|
18 |
+
$page = get_page_by_title('Blog');
|
19 |
+
update_option( 'show_on_front', 'page' );
|
20 |
+
update_option( 'page_for_posts', $page->ID );
|
21 |
+
|
22 |
+
}
|
inc/spiko/default-pages/home-page.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
//post status and options
|
3 |
+
$post = array(
|
4 |
+
'comment_status' => 'closed',
|
5 |
+
'ping_status' => 'closed' ,
|
6 |
+
'post_author' => 1,
|
7 |
+
'post_date' => date('Y-m-d H:i:s'),
|
8 |
+
'post_name' => 'Home',
|
9 |
+
'post_status' => 'publish' ,
|
10 |
+
'post_title' => 'Home',
|
11 |
+
'post_type' => 'page',
|
12 |
+
);
|
13 |
+
//insert page and save the id
|
14 |
+
$newvalue = wp_insert_post( $post, false );
|
15 |
+
if ( $newvalue && ! is_wp_error( $newvalue ) ){
|
16 |
+
update_post_meta( $newvalue, '_wp_page_template', 'template-business.php' );
|
17 |
+
|
18 |
+
// Use a static front page
|
19 |
+
$page = get_page_by_title('Home');
|
20 |
+
update_option( 'show_on_front', 'page' );
|
21 |
+
update_option( 'page_on_front', $page->ID );
|
22 |
+
|
23 |
+
}
|
24 |
+
?>
|
inc/spiko/default-pages/upload-media.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$theme=wp_get_theme();
|
3 |
+
$ImagePath = SPICEB_PLUGIN_URL . 'inc/spiko/images';
|
4 |
+
|
5 |
+
if('Spiko Dark'==$theme->name):
|
6 |
+
$images = array(
|
7 |
+
$ImagePath . '/spiko-dark-logo.png',
|
8 |
+
);
|
9 |
+
else:
|
10 |
+
$images = array(
|
11 |
+
$ImagePath . '/logo.png',
|
12 |
+
);
|
13 |
+
endif;
|
14 |
+
|
15 |
+
foreach ($images as $name) {
|
16 |
+
$filename = basename($name);
|
17 |
+
$upload_file = wp_upload_bits($filename, null, file_get_contents($name));
|
18 |
+
if (!$upload_file['error']) {
|
19 |
+
$wp_filetype = wp_check_filetype($filename, null);
|
20 |
+
$attachment = array(
|
21 |
+
'post_mime_type' => $wp_filetype['type'],
|
22 |
+
//'post_parent' => $parent_post_id,
|
23 |
+
'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
|
24 |
+
'post_status' => 'inherit'
|
25 |
+
);
|
26 |
+
$ImageId[] = $attachment_id = wp_insert_attachment($attachment, $upload_file['file']);
|
27 |
+
|
28 |
+
if (!is_wp_error($attachment_id)) {
|
29 |
+
require_once(ABSPATH . "wp-admin" . '/includes/image.php');
|
30 |
+
$attachment_data = wp_generate_attachment_metadata($attachment_id, $upload_file['file']);
|
31 |
+
wp_update_attachment_metadata($attachment_id, $attachment_data);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
}
|
35 |
+
update_option('spiko_media_id', $ImageId);
|
36 |
+
$MediaId = get_option('spiko_media_id');
|
37 |
+
set_theme_mod('custom_logo', $MediaId[0]);
|
38 |
+
set_theme_mod('header_textcolor', "blank");
|
39 |
+
?>
|
inc/spiko/default-widgets/default-widget.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*$activate = array(
|
3 |
+
'sidebar-1' => array(
|
4 |
+
'search-1',
|
5 |
+
'recent-posts-1',
|
6 |
+
'archives-1',
|
7 |
+
),
|
8 |
+
'footer-sidebar-1' => array(
|
9 |
+
'text-1',
|
10 |
+
),
|
11 |
+
'footer-sidebar-2' => array(
|
12 |
+
'recent-posts-2',
|
13 |
+
),
|
14 |
+
'footer-sidebar-3' => array(
|
15 |
+
'categories-2'
|
16 |
+
),
|
17 |
+
'footer-sidebar-4' => array(
|
18 |
+
'search-2'
|
19 |
+
),
|
20 |
+
);
|
21 |
+
|
22 |
+
|
23 |
+
update_option('widget_text', array(
|
24 |
+
1 => array('title' => '',
|
25 |
+
'text'=>'<img src="'.esc_url(SPICEB_PLUGIN_URL).'/inc/spiko/images/logo-footer.png" alt="'.esc_attr("Logo","spicebox").'" />
|
26 |
+
<br>
|
27 |
+
<p></p>
|
28 |
+
<p class="description custom">Lorem ipsum dolor sit amet, ut ius audiam denique tractatos.</p><address>
|
29 |
+
<p><i class="fa fa-phone"></i><a href="tel:+(15) 718-999-3939">+(15) 718-999-3939</a></p>
|
30 |
+
<p><i class="fa fa-envelope"></i><a href="mailto:support@metlux.com">support@spicethemes.com</a></p><p><i class="fa fa-map-marker"></i>152/02 William Streat, NYE</p>
|
31 |
+
</address>'),
|
32 |
+
));
|
33 |
+
|
34 |
+
update_option('widget_recent-posts', array(
|
35 |
+
1 => array('title' => 'Recent Posts'),
|
36 |
+
2 => array('title' => 'Recent Posts')));
|
37 |
+
|
38 |
+
update_option('widget_categories', array(
|
39 |
+
1 => array('title' => 'Categories'),
|
40 |
+
2 => array('title' => 'Categories')));
|
41 |
+
|
42 |
+
update_option('widget_archives', array(
|
43 |
+
1 => array('title' => 'Archives'),
|
44 |
+
2 => array('title' => 'Archives')));
|
45 |
+
|
46 |
+
update_option('widget_search', array(
|
47 |
+
1 => array('title' => 'Search'),
|
48 |
+
2 => array('title' => 'Search')));
|
49 |
+
|
50 |
+
update_option('sidebars_widgets', $activate);*/
|
51 |
+
|
52 |
+
?>
|
inc/spiko/images/logo-footer.png
ADDED
Binary file
|
inc/spiko/images/logo.png
ADDED
Binary file
|
inc/spiko/images/slider/slider.jpg
ADDED
Binary file
|
inc/spiko/images/spiko-dark-logo.png
ADDED
Binary file
|
inc/spiko/images/testimonial/bg-img.jpg
ADDED
Binary file
|
inc/spiko/images/testimonial/bg-img1.jpg
ADDED
Binary file
|
inc/spiko/js/front-page/team.js
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// HOMEPAGE TEAM
|
2 |
+
if (!jQuery.bol_return) {
|
3 |
+
jQuery.extend({
|
4 |
+
bol_return: function (tmp_vl) {
|
5 |
+
if (tmp_vl == 1) {
|
6 |
+
return true;
|
7 |
+
}
|
8 |
+
return false;
|
9 |
+
}
|
10 |
+
});
|
11 |
+
}
|
12 |
+
|
13 |
+
jQuery(document).ready(function () {
|
14 |
+
switch (team_settings.team_nav_style) {
|
15 |
+
case 'bullets':
|
16 |
+
team_settings.team_nav_style_nav = false;
|
17 |
+
team_settings.team_nav_style_dot = true;
|
18 |
+
break;
|
19 |
+
case 'navigation':
|
20 |
+
team_settings.team_nav_style_nav = true;
|
21 |
+
team_settings.team_nav_style_dot = false;
|
22 |
+
break;
|
23 |
+
case 'both':
|
24 |
+
team_settings.team_nav_style_nav = true;
|
25 |
+
team_settings.team_nav_style_dot = true;
|
26 |
+
break;
|
27 |
+
default:
|
28 |
+
team_settings.team_nav_style_nav = false;
|
29 |
+
team_settings.team_nav_style_dot = true;
|
30 |
+
}
|
31 |
+
|
32 |
+
jQuery('#team-carousel').owlCarousel({
|
33 |
+
navigation: true, // Show next and prev buttons
|
34 |
+
autoplay: 3000,
|
35 |
+
smartSpeed: team_settings.team_smooth_speed,
|
36 |
+
autoplayTimeout: team_settings.team_animation_speed,
|
37 |
+
autoplayHoverPause: true,
|
38 |
+
loop: true, // loop is true up to 1199px screen.
|
39 |
+
nav: team_settings.team_nav_style_nav,
|
40 |
+
margin: 30, // margin 10px till 960 breakpoint
|
41 |
+
autoHeight: true,
|
42 |
+
responsiveClass: true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
43 |
+
items: 1,
|
44 |
+
dots: team_settings.team_nav_style_dot,
|
45 |
+
navText: ["<i class='fa fa-long-arrow-left'></i>", "<i class='fa fa-long-arrow-right'></i>"],
|
46 |
+
responsive: {
|
47 |
+
200: {items: 1},
|
48 |
+
480: {items: 1},
|
49 |
+
678: {items: 2},
|
50 |
+
960: {items: 3}
|
51 |
+
},
|
52 |
+
rtl: jQuery.bol_return(team_settings.rtl)
|
53 |
+
});
|
54 |
+
});
|
inc/spiko/js/front-page/testi.js
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// HOMEPAGE TESTIMONIAL
|
2 |
+
if (!jQuery.bol_return) {
|
3 |
+
jQuery.extend({
|
4 |
+
bol_return: function (tmp_vl) {
|
5 |
+
if (tmp_vl == 1) {
|
6 |
+
return true;
|
7 |
+
}
|
8 |
+
return false;
|
9 |
+
}
|
10 |
+
|
11 |
+
});
|
12 |
+
}
|
13 |
+
|
14 |
+
jQuery(document).ready(function () {
|
15 |
+
|
16 |
+
switch (testimonial_settings.testimonial_nav_style) {
|
17 |
+
case 'bullets':
|
18 |
+
testimonial_settings.testimonial_nav_style_nav = false;
|
19 |
+
testimonial_settings.testimonial_nav_style_dot = true;
|
20 |
+
break;
|
21 |
+
case 'navigation':
|
22 |
+
testimonial_settings.testimonial_nav_style_nav = true;
|
23 |
+
testimonial_settings.testimonial_nav_style_dot = false;
|
24 |
+
break;
|
25 |
+
case 'both':
|
26 |
+
testimonial_settings.testimonial_nav_style_nav = true;
|
27 |
+
testimonial_settings.testimonial_nav_style_dot = true;
|
28 |
+
break;
|
29 |
+
default:
|
30 |
+
testimonial_settings.testimonial_nav_style_nav = false;
|
31 |
+
testimonial_settings.testimonial_nav_style_dot = true;
|
32 |
+
}
|
33 |
+
|
34 |
+
if (testimonial_settings.slide_items == 1) {
|
35 |
+
jQuery(testimonial_settings.design_id).owlCarousel({
|
36 |
+
navigation: true, // Show next and prev buttons
|
37 |
+
autoplay: 3000,
|
38 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
39 |
+
autoplayTimeout: testimonial_settings.animationSpeed,
|
40 |
+
autoplayHoverPause: true,
|
41 |
+
animateIn: testimonial_settings.animation,
|
42 |
+
loop: true, // loop is true up to 1199px screen.
|
43 |
+
nav: testimonial_settings.testimonial_nav_style_nav,
|
44 |
+
margin: 30, // margin 10px till 960 breakpoint
|
45 |
+
autoHeight: true,
|
46 |
+
responsiveClass: true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
47 |
+
items: 1,
|
48 |
+
dots: testimonial_settings.testimonial_nav_style_dot,
|
49 |
+
navText: ["<i class='fa fa-long-arrow-left'></i>", "<i class='fa fa-long-arrow-right'></i>"],
|
50 |
+
responsive: {
|
51 |
+
200: {items: 1},
|
52 |
+
480: {items: 1},
|
53 |
+
678: {items: 1},
|
54 |
+
960: {items: 1}
|
55 |
+
},
|
56 |
+
rtl: jQuery.bol_return(testimonial_settings.rtl)
|
57 |
+
});
|
58 |
+
} else {
|
59 |
+
jQuery(testimonial_settings.design_id).owlCarousel({
|
60 |
+
navigation: true, // Show next and prev buttons
|
61 |
+
autoplay: 3000,
|
62 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
63 |
+
autoplayTimeout: testimonial_settings.animationSpeed,
|
64 |
+
autoplayHoverPause: true,
|
65 |
+
loop: true, // loop is true up to 1199px screen.
|
66 |
+
nav: testimonial_settings.testimonial_nav_style_nav,
|
67 |
+
margin: 30, // margin 10px till 960 breakpoint
|
68 |
+
autoHeight: true,
|
69 |
+
responsiveClass: true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
70 |
+
items: 1,
|
71 |
+
dots: testimonial_settings.testimonial_nav_style_dot,
|
72 |
+
navText: ["<i class='fa fa-long-arrow-left'></i>", "<i class='fa fa-long-arrow-right'></i>"],
|
73 |
+
responsive: {
|
74 |
+
200: {items: 1},
|
75 |
+
480: {items: 1},
|
76 |
+
678: {items: testimonial_settings.slide_items},
|
77 |
+
960: {items: testimonial_settings.slide_items}
|
78 |
+
},
|
79 |
+
rtl: jQuery.bol_return(testimonial_settings.rtl)
|
80 |
+
});
|
81 |
+
}
|
82 |
+
});
|
inc/spiko/js/masonry/mansory.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Masonry PACKAGED v4.2.2
|
3 |
+
* Cascading grid layout library
|
4 |
+
* https://masonry.desandro.com
|
5 |
+
* MIT License
|
6 |
+
* by David DeSandro
|
7 |
+
*/
|
8 |
+
|
9 |
+
!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});
|
inc/spiko/sections/spiko-news-section.php
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$theme=wp_get_theme();
|
4 |
+
if ('Spiko Dark' == $theme->name):
|
5 |
+
add_action('wp_enqueue_scripts', 'spiko_dark_enqueue_script');
|
6 |
+
function spiko_dark_enqueue_script() {
|
7 |
+
wp_enqueue_script('spiko-dark-mp-masonry-js',SPICEB_PLUGIN_URL.'/inc/spiko/js/masonry/mansory.js');
|
8 |
+
}
|
9 |
+
function custom_script(){?>
|
10 |
+
<script>
|
11 |
+
jQuery(document).ready(function () {
|
12 |
+
jQuery('.grid').masonry({
|
13 |
+
itemSelector: '.grid-item',
|
14 |
+
transitionDuration: '0.2s',
|
15 |
+
horizontalOrder: true,
|
16 |
+
});
|
17 |
+
});
|
18 |
+
</script>
|
19 |
+
<?php
|
20 |
+
}
|
21 |
+
add_action('wp_head', 'custom_script');
|
22 |
+
endif;
|
23 |
+
|
24 |
+
/* Call the action for news section */
|
25 |
+
add_action('spiceb_spiko_news_action','spiceb_spiko_news_section');
|
26 |
+
|
27 |
+
/* Function for news section*/
|
28 |
+
function spiceb_spiko_news_section()
|
29 |
+
{
|
30 |
+
$spiko_index_news_link = get_theme_mod('home_blog_more_btn_link', __('#', 'spicebox'));
|
31 |
+
$spiko_index_more_btn = get_theme_mod('home_blog_more_btn', __('Cras Vitae', 'spicebox'));
|
32 |
+
if (empty($spiko_index_news_link)) {
|
33 |
+
$spiko_index_news_link = '#';
|
34 |
+
}
|
35 |
+
if(get_theme_mod('latest_news_section_enable',true)==true):
|
36 |
+
|
37 |
+
$theme=wp_get_theme();
|
38 |
+
if ('Spiko Dark' == $theme->name):
|
39 |
+
$spiko_blog_section_class = 'blog blog-masonry';
|
40 |
+
$spiko_blog_class='grid';
|
41 |
+
else:
|
42 |
+
$spiko_blog_section_class = 'blog';
|
43 |
+
$spiko_blog_class='row';
|
44 |
+
endif;
|
45 |
+
|
46 |
+
?>
|
47 |
+
<!-- Latest News section -->
|
48 |
+
<section class="section-space <?php echo esc_attr($spiko_blog_section_class);?> bg-default-color home-blog">
|
49 |
+
<div class="spiko-newz container">
|
50 |
+
<?php
|
51 |
+
$spiko_home_news_section_title = get_theme_mod('home_news_section_title', __('Vitae Lacinia', 'spicebox'));
|
52 |
+
$spiko_home_news_section_discription = get_theme_mod('home_news_section_discription', __('Cras Vitae Placerat', 'spicebox'));
|
53 |
+
$spiko_home_meta_section_settings = get_theme_mod('home_meta_section_settings', true);
|
54 |
+
if (($spiko_home_news_section_title) || ($spiko_home_news_section_discription) != '') {
|
55 |
+
?>
|
56 |
+
<div class="row">
|
57 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
58 |
+
<div class="section-header">
|
59 |
+
<?php if ($spiko_home_news_section_discription) { ?>
|
60 |
+
<p class="section-subtitle"><?php echo wp_kses_post($spiko_home_news_section_discription); ?></p>
|
61 |
+
<?php } ?>
|
62 |
+
<?php if ($spiko_home_news_section_title) { ?>
|
63 |
+
<h2 class="section-title"><?php echo esc_html($spiko_home_news_section_title); ?></h2>
|
64 |
+
<div class="section-separator border-center"></div>
|
65 |
+
<?php } ?>
|
66 |
+
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
<!-- /Section Title -->
|
71 |
+
<?php } ?>
|
72 |
+
|
73 |
+
<div class="<?php echo esc_attr($spiko_blog_class);?>">
|
74 |
+
<?php
|
75 |
+
$spiko_args = array('post_type' => 'post', 'post__not_in' => get_option("sticky_posts"), 'posts_per_page' => 4);
|
76 |
+
query_posts($spiko_args);
|
77 |
+
if (query_posts($spiko_args)) {
|
78 |
+
while (have_posts()):the_post();
|
79 |
+
{
|
80 |
+
if ('Spiko Dark' == $theme->name){ ?>
|
81 |
+
<div class="grid-item col-md-6 col-sm-12">
|
82 |
+
<?php } else { ?>
|
83 |
+
<div class="col-lg-6 col-md-6 col-sm-12">
|
84 |
+
<?php } ?>
|
85 |
+
<article class="post">
|
86 |
+
<?php if (has_post_thumbnail()) { ?>
|
87 |
+
<figure class="post-thumbnail">
|
88 |
+
<?php $spiko_defalt_arg = array('class' => "img-fluid"); ?>
|
89 |
+
<?php the_post_thumbnail('', $spiko_defalt_arg); ?>
|
90 |
+
</figure>
|
91 |
+
<?php } ?>
|
92 |
+
<div class="post-content">
|
93 |
+
<?php
|
94 |
+
if ($spiko_home_meta_section_settings == true) {
|
95 |
+
if(has_post_thumbnail()) { ?> <div class="entry-date"> <span class="date"><?php echo esc_html(get_the_date()); ?></span> <?php }
|
96 |
+
else{ ?><div class="remove-image"><span class="date"><?php echo esc_html(get_the_date()); ?></span> <?php }?>
|
97 |
+
|
98 |
+
<?php
|
99 |
+
echo '</div>'; } ?>
|
100 |
+
<?php if ($spiko_home_meta_section_settings == true) { ?>
|
101 |
+
<div class="entry-meta">
|
102 |
+
<a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>"> <i class="fa fa-user"></i><span class="author postauthor"><?php echo esc_html(get_the_author()); ?></span></a>
|
103 |
+
<?php
|
104 |
+
$spiko_cat_list = get_the_category_list();
|
105 |
+
if (!empty($spiko_cat_list)) {?>
|
106 |
+
<i class="fa fa-folder-open"></i><span class="cat-links postcat"><?php the_category(', ');?></span>
|
107 |
+
<?php } ?>
|
108 |
+
|
109 |
+
<?php
|
110 |
+
$tag_list = get_the_tag_list();
|
111 |
+
if (!empty($tag_list)) {
|
112 |
+
?>
|
113 |
+
<i class="fa fa-tag"></i>
|
114 |
+
<span class="cat-links posttag"><?php the_tags('', ', ', ''); ?></span>
|
115 |
+
<?php } ?>
|
116 |
+
</div>
|
117 |
+
<?php } ?>
|
118 |
+
<header class="entry-header">
|
119 |
+
<h4 class="entry-title">
|
120 |
+
<a class="home-blog-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
121 |
+
</h4>
|
122 |
+
</header>
|
123 |
+
|
124 |
+
<div class="entry-content">
|
125 |
+
<?php the_excerpt();
|
126 |
+
$blog_button = get_theme_mod('home_news_button_title', __('Read More', 'spicebox'));
|
127 |
+
if (!empty($blog_button)) {?>
|
128 |
+
<p><a href="<?php the_permalink(); ?>" class="btn-small"><?php echo esc_html($blog_button); ?> <i class="fa <?php if(is_rtl()){echo 'fa-angle-double-left';} else{ echo 'fa-angle-double-right';}?>"></i></a></p>
|
129 |
+
<?php } ?>
|
130 |
+
</div>
|
131 |
+
</div>
|
132 |
+
</article>
|
133 |
+
</div>
|
134 |
+
<?php
|
135 |
+
}
|
136 |
+
endwhile;
|
137 |
+
}
|
138 |
+
?>
|
139 |
+
</div>
|
140 |
+
<?php if (!empty($spiko_index_more_btn)): ?>
|
141 |
+
<div class="blog-btn text-center">
|
142 |
+
<a href="<?php echo esc_url($spiko_index_news_link); ?>" class="btn-small btn-default" <?php
|
143 |
+
if (get_theme_mod('home_blog_more_btn_link_target', false) == true) {
|
144 |
+
echo "target='_blank'";
|
145 |
+
};
|
146 |
+
?>><?php echo esc_html($spiko_index_more_btn); ?><i class="fa <?php if(is_rtl()){echo 'fa-long-arrow-left';} else{ echo 'fa-long-arrow-right';}?>"></i></a>
|
147 |
+
</div>
|
148 |
+
<?php endif; ?>
|
149 |
+
</div>
|
150 |
+
</section>
|
151 |
+
<?php
|
152 |
+
endif;
|
153 |
+
} ?>
|
inc/spiko/sections/spiko-services-section.php
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_spiko_services_action','spiceb_spiko_services_section');
|
3 |
+
|
4 |
+
function spiceb_spiko_services_section()
|
5 |
+
{
|
6 |
+
$service_data = get_theme_mod('spiko_service_content');
|
7 |
+
if (empty($service_data)) {
|
8 |
+
$service_data = json_encode(array(
|
9 |
+
array(
|
10 |
+
'icon_value' => 'fa-headphones',
|
11 |
+
'title' => esc_html__('Suspendisse Tristique', 'spicebox'),
|
12 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
13 |
+
'choice' => 'customizer_repeater_icon',
|
14 |
+
'link' => '#',
|
15 |
+
'open_new_tab' => 'no',
|
16 |
+
'id' => 'customizer_repeater_56d7ea7f40b56',
|
17 |
+
),
|
18 |
+
array(
|
19 |
+
'icon_value' => 'fa-mobile',
|
20 |
+
'title' => esc_html__('Blandit-Gravida', 'spicebox'),
|
21 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
22 |
+
'choice' => 'customizer_repeater_icon',
|
23 |
+
'link' => '#',
|
24 |
+
'open_new_tab' => 'no',
|
25 |
+
'id' => 'customizer_repeater_56d7ea7f40b66',
|
26 |
+
),
|
27 |
+
array(
|
28 |
+
'icon_value' => 'fa fa-cogs',
|
29 |
+
'title' => esc_html__('Justo Bibendum', 'spicebox'),
|
30 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
31 |
+
'choice' => 'customizer_repeater_icon',
|
32 |
+
'link' => '#',
|
33 |
+
'open_new_tab' => 'no',
|
34 |
+
'id' => 'customizer_repeater_56d7ea7f40b86',
|
35 |
+
),
|
36 |
+
));
|
37 |
+
}
|
38 |
+
$spiko_service_section_title = get_theme_mod('home_service_section_title', __('Quisque Blandit', 'spicebox'));
|
39 |
+
$spiko_service_section_discription = get_theme_mod('home_service_section_discription', __('Fusce Sed Massa', 'spicebox'));
|
40 |
+
$spiko_service_section_enabled = get_theme_mod('home_service_section_enabled',true);
|
41 |
+
|
42 |
+
$theme=wp_get_theme();
|
43 |
+
if ('Spiko Dark' == $theme->name):
|
44 |
+
$service_section_class = 'services2';
|
45 |
+
else:
|
46 |
+
$service_section_class = 'services';
|
47 |
+
endif;
|
48 |
+
|
49 |
+
if($spiko_service_section_enabled ==true)
|
50 |
+
{
|
51 |
+
?>
|
52 |
+
<section class="section-space bg-default-color <?php echo esc_attr($service_section_class); ?>">
|
53 |
+
<div class="container">
|
54 |
+
<?php if ($spiko_service_section_discription != '' || $spiko_service_section_title != '') {
|
55 |
+
?>
|
56 |
+
<div class="row">
|
57 |
+
<div class="col-md-12 col-sm-12 col-xs-12">
|
58 |
+
<div class="section-header">
|
59 |
+
<?php if($spiko_service_section_discription != ''){ ?>
|
60 |
+
<p class="section-subtitle"><?php echo wp_kses_post($spiko_service_section_discription); ?></p>
|
61 |
+
<?php }?>
|
62 |
+
<?php if($spiko_service_section_title != ''){ ?>
|
63 |
+
<h2 class="section-title"><?php echo esc_html($spiko_service_section_title); ?></h2><div class="section-separator border-center"></div>
|
64 |
+
<?php } ?>
|
65 |
+
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<?php } ?>
|
70 |
+
<div class="row">
|
71 |
+
<?php
|
72 |
+
$service_data = json_decode($service_data);
|
73 |
+
if (!empty($service_data)) {
|
74 |
+
foreach ($service_data as $service_team) {
|
75 |
+
$service_icon = !empty($service_team->icon_value) ? apply_filters('spiko_translate_single_string', $service_team->icon_value, 'Service section') : '';
|
76 |
+
$service_image = !empty($service_team->image_url) ? apply_filters('spiko_translate_single_string', $service_team->image_url, 'Service section') : '';
|
77 |
+
$service_title = !empty($service_team->title) ? apply_filters('spiko_translate_single_string', $service_team->title, 'Service section') : '';
|
78 |
+
$service_desc = !empty($service_team->text) ? apply_filters('spiko_translate_single_string', $service_team->text, 'Service section') : '';
|
79 |
+
$service_link = !empty($service_team->link) ? apply_filters('spiko_translate_single_string', $service_team->link, 'Service section') : '';
|
80 |
+
?>
|
81 |
+
<div class="col-md-4 col-sm-6 col-xs-12">
|
82 |
+
<?php if ('Spiko Dark' == $theme->name){ ?>
|
83 |
+
<article class="post">
|
84 |
+
<?php if ($service_team->choice == 'customizer_repeater_icon') {
|
85 |
+
if ($service_icon != '') { ?>
|
86 |
+
<figure class="post-thumbnail">
|
87 |
+
<?php if ($service_link != '') { ?>
|
88 |
+
<a <?php if ($service_team->open_new_tab == 'yes') {
|
89 |
+
echo "target='_blank'";
|
90 |
+
} ?> href="<?php echo esc_url($service_link); ?>">
|
91 |
+
<i class="fa <?php echo esc_attr($service_icon); ?>"></i>
|
92 |
+
</a>
|
93 |
+
<?php } else { ?>
|
94 |
+
<a><i class="fa <?php echo esc_attr($service_icon); ?>"></i></a>
|
95 |
+
<?php } ?>
|
96 |
+
</figure>
|
97 |
+
<?php
|
98 |
+
}
|
99 |
+
} else if ($service_team->choice == 'customizer_repeater_image') {
|
100 |
+
if ($service_image != '') { ?>
|
101 |
+
<figure class="post-thumbnail">
|
102 |
+
<?php
|
103 |
+
if ($service_link != '') { ?>
|
104 |
+
<a <?php if ($service_team->open_new_tab == 'yes') {
|
105 |
+
echo "target='_blank'";
|
106 |
+
} ?> href="<?php echo esc_url($service_link); ?>">
|
107 |
+
<?php }
|
108 |
+
?>
|
109 |
+
<img class='img-fluid' src="<?php echo esc_url($service_image); ?>">
|
110 |
+
<?php if ($service_link != '') { ?>
|
111 |
+
</a>
|
112 |
+
<?php }
|
113 |
+
} ?>
|
114 |
+
</figure>
|
115 |
+
<?php
|
116 |
+
}
|
117 |
+
?>
|
118 |
+
<?php if ($service_title != "") { ?>
|
119 |
+
<div class="entry-header">
|
120 |
+
<h4 class="entry-title">
|
121 |
+
<?php if ($service_link != '') { ?>
|
122 |
+
<a href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {
|
123 |
+
echo "target='_blank'";
|
124 |
+
} ?>><?php } echo esc_html($service_title);
|
125 |
+
if ($service_link != '') { ?></a>
|
126 |
+
<?php } ?>
|
127 |
+
</h4>
|
128 |
+
</div>
|
129 |
+
<?php
|
130 |
+
}
|
131 |
+
if ($service_desc != ""): ?>
|
132 |
+
<div class="entry-content">
|
133 |
+
<p><?php echo wp_kses_post($service_desc); ?></p>
|
134 |
+
</div>
|
135 |
+
<?php endif; ?>
|
136 |
+
</article>
|
137 |
+
<?php }
|
138 |
+
else { ?>
|
139 |
+
<div class="card">
|
140 |
+
<div class="card-body">
|
141 |
+
<?php if ($service_team->choice == 'customizer_repeater_icon') {
|
142 |
+
if ($service_icon != '') {
|
143 |
+
?>
|
144 |
+
<p class="service-icon">
|
145 |
+
<?php if ($service_link != '') { ?>
|
146 |
+
<a <?php if ($service_team->open_new_tab == 'yes') {
|
147 |
+
echo "target='_blank'";
|
148 |
+
} ?> href="<?php echo esc_url($service_link); ?>">
|
149 |
+
<i class="fa <?php echo esc_attr($service_icon); ?>"></i>
|
150 |
+
</a>
|
151 |
+
<?php } else { ?>
|
152 |
+
<a><i class="fa <?php echo esc_attr($service_icon); ?>"></i></a>
|
153 |
+
<?php } ?>
|
154 |
+
</p>
|
155 |
+
<?php
|
156 |
+
}
|
157 |
+
} else if ($service_team->choice == 'customizer_repeater_image') {
|
158 |
+
if ($service_image != '') {
|
159 |
+
?>
|
160 |
+
<p class="service-icon">
|
161 |
+
<?php if ($service_link != '') { ?>
|
162 |
+
<a <?php if ($service_team->open_new_tab == 'yes') {
|
163 |
+
echo "target='_blank'";
|
164 |
+
} ?> href="<?php echo esc_url($service_link); ?>">
|
165 |
+
<?php } ?>
|
166 |
+
<img class='img-fluid' src="<?php echo esc_url($service_image); ?>">
|
167 |
+
<?php if ($service_link != '') { ?>
|
168 |
+
</a>
|
169 |
+
<?php } ?>
|
170 |
+
</p>
|
171 |
+
<?php
|
172 |
+
}
|
173 |
+
}
|
174 |
+
if ($service_title != "") { ?>
|
175 |
+
<h4 class="entry-title">
|
176 |
+
<?php if ($service_link != '') { ?>
|
177 |
+
<a href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {
|
178 |
+
echo "target='_blank'";
|
179 |
+
} ?>><?php } echo esc_html($service_title);
|
180 |
+
if ($service_link != '') { ?></a>
|
181 |
+
<?php } ?>
|
182 |
+
</h4>
|
183 |
+
<?php
|
184 |
+
}
|
185 |
+
if ($service_desc != ""): ?>
|
186 |
+
<p class="description"><?php echo wp_kses_post($service_desc); ?></p>
|
187 |
+
<?php endif; ?>
|
188 |
+
</div>
|
189 |
+
</div>
|
190 |
+
<?php
|
191 |
+
} ?>
|
192 |
+
</div>
|
193 |
+
<?php
|
194 |
+
}
|
195 |
+
}
|
196 |
+
?>
|
197 |
+
</div>
|
198 |
+
</div>
|
199 |
+
</section>
|
200 |
+
<?php } ?>
|
201 |
+
<div class="clearfix"></div>
|
202 |
+
<?php //End of service section enable condition
|
203 |
+
}
|
204 |
+
?>
|
inc/spiko/sections/spiko-slider-section.php
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Slider section for the homepage.
|
4 |
+
*/
|
5 |
+
add_action('spiceb_spiko_slider_action','spiceb_spiko_slider_section');
|
6 |
+
|
7 |
+
function spiceb_spiko_slider_section()
|
8 |
+
{
|
9 |
+
$theme=wp_get_theme();
|
10 |
+
if('Spiko Dark'==$theme->name):
|
11 |
+
$home_slider_image = get_theme_mod('home_slider_image',SPIKO_DARK_TEMPLATE_DIR_URI .'/assets/images/slider.jpg');
|
12 |
+
else:
|
13 |
+
$home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/spiko/images/slider/slider.jpg');
|
14 |
+
endif;
|
15 |
+
|
16 |
+
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
|
17 |
+
$home_slider_subtitle = get_theme_mod('home_slider_subtitle',__('Lorem Ipsum','spicebox'));
|
18 |
+
$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'));
|
19 |
+
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
20 |
+
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
21 |
+
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
22 |
+
|
23 |
+
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
24 |
+
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
25 |
+
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
26 |
+
$slider_align_split = get_theme_mod('slider_content_alignment','left');
|
27 |
+
|
28 |
+
if(get_theme_mod('home_page_slider_enabled',true)==true) {
|
29 |
+
$video_upload = get_theme_mod('slide_video_upload');
|
30 |
+
$video_upload = wp_get_attachment_url( $video_upload);
|
31 |
+
$video_youtub = get_theme_mod('slide_video_url');
|
32 |
+
// Below Script will run for only video slide
|
33 |
+
if((!empty($video_upload) || !empty($video_youtub) ) && (get_theme_mod('slide_variation','slide')=='video')){ ?>
|
34 |
+
<section class="video-slider home-section home-full-height bcslider-section" id="totop" data-background="assets/images/section-5.jpg">
|
35 |
+
<?php if(!empty($video_youtub)){?>
|
36 |
+
<div class="video-player" data-property="{videoURL:'<?php echo esc_url($video_youtub);?>', containment:'.home-section', mute:false, autoPlay:true, loop:true, opacity:1, showControls:false, showYTLogo:false, vol:25}"></div>
|
37 |
+
<?php }
|
38 |
+
else if(!empty($video_upload)){?>
|
39 |
+
<video autoplay="" muted="" loop="" id="video_slider">
|
40 |
+
<source src="<?php echo esc_url($video_upload); ?>" type="video/mp4">
|
41 |
+
</video>
|
42 |
+
<?php }?>
|
43 |
+
<div class="container slider-caption">
|
44 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
45 |
+
<?php
|
46 |
+
if($home_slider_subtitle!='')
|
47 |
+
{
|
48 |
+
?>
|
49 |
+
<p class="heading"><span class="sub"><?php echo esc_html($home_slider_subtitle); ?></span></p>
|
50 |
+
<?php
|
51 |
+
}
|
52 |
+
if($home_slider_title!=''){ ?>
|
53 |
+
<div class="inner-title">
|
54 |
+
<h2 class="title"><?php echo esc_html($home_slider_title); ?></h2>
|
55 |
+
</div>
|
56 |
+
<?php }
|
57 |
+
if($home_slider_discription!=''){ ?>
|
58 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
59 |
+
<?php } ?>
|
60 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
61 |
+
<div class="btn-combo mt-5">
|
62 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
63 |
+
<a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default"> <?php echo esc_html($home_slider_btn_txt); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i> </a>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
66 |
+
<a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light"><?php echo esc_html($home_slider_btn_txt2); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
67 |
+
<?php endif;?>
|
68 |
+
</div>
|
69 |
+
<?php } ?>
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
73 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
74 |
+
if($slider_image_overlay != false) { ?>
|
75 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
76 |
+
<?php } ?>
|
77 |
+
</section>
|
78 |
+
<?php }
|
79 |
+
else{ ?>
|
80 |
+
<!-- Slider Section -->
|
81 |
+
<section class="bcslider-section">
|
82 |
+
<div class="home-section back-img" <?php if($home_slider_image!='') { ?>style="background-image:url( <?php echo esc_url($home_slider_image); ?> );" <?php } ?>>
|
83 |
+
<div class="container slider-caption">
|
84 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
85 |
+
<?php
|
86 |
+
if($home_slider_subtitle!='')
|
87 |
+
{
|
88 |
+
?>
|
89 |
+
<p class="heading"><span class="sub"><?php echo esc_html($home_slider_subtitle); ?></span></p>
|
90 |
+
<?php
|
91 |
+
}
|
92 |
+
if($home_slider_title!=''){ ?>
|
93 |
+
<div class="inner-title">
|
94 |
+
<h2 class="title"><?php echo esc_html($home_slider_title); ?></h2>
|
95 |
+
</div>
|
96 |
+
<?php }
|
97 |
+
if($home_slider_discription!=''){ ?>
|
98 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
99 |
+
<?php } ?>
|
100 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
101 |
+
<div class="btn-combo mt-5">
|
102 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
103 |
+
<a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default"> <?php echo esc_html($home_slider_btn_txt); ?> <i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
104 |
+
<?php endif; ?>
|
105 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
106 |
+
<a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light"><?php echo esc_html($home_slider_btn_txt2); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
107 |
+
<?php endif;?>
|
108 |
+
</div>
|
109 |
+
<?php } ?>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
113 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
114 |
+
if($slider_image_overlay != false) { ?>
|
115 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
116 |
+
<?php } ?>
|
117 |
+
</div>
|
118 |
+
</section>
|
119 |
+
<?php } ?>
|
120 |
+
<div class="clearfix"></div>
|
121 |
+
<?php
|
122 |
+
}
|
123 |
+
} ?>
|
inc/spiko/sections/spiko-team-section.php
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_spiko_team_action','spiceb_spiko_team_section');
|
3 |
+
|
4 |
+
function spiceb_spiko_team_section(){
|
5 |
+
$team_options = get_theme_mod('spiko_team_content');
|
6 |
+
|
7 |
+
$team_animation_speed = get_theme_mod('team_animation_speed', 3000);
|
8 |
+
$team_smooth_speed = get_theme_mod('team_smooth_speed', 1000);
|
9 |
+
$team_nav_style = get_theme_mod('team_nav_style', 'bullets');
|
10 |
+
$isRTL = (is_rtl()) ? (bool) true : (bool) false;
|
11 |
+
$teamsettings = array('team_animation_speed' => $team_animation_speed, 'team_smooth_speed' => $team_smooth_speed, 'team_nav_style' => $team_nav_style, 'rtl' => $isRTL);
|
12 |
+
wp_register_script('spiko-team', SPICEB_PLUGIN_URL . '/inc/spiko/js/front-page/team.js', array('jquery'));
|
13 |
+
wp_localize_script('spiko-team', 'team_settings', $teamsettings);
|
14 |
+
wp_enqueue_script('spiko-team');
|
15 |
+
|
16 |
+
if (empty($team_options)) {
|
17 |
+
$team_options = json_encode(array(
|
18 |
+
array(
|
19 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team1.jpg',
|
20 |
+
'membername' => 'Danial Wilson',
|
21 |
+
'designation' => esc_html__('Senior Manager', 'spicebox'),
|
22 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
23 |
+
'open_new_tab' => 'no',
|
24 |
+
'id' => 'customizer_repeater_26d7ea7f40c56',
|
25 |
+
'social_repeater' => json_encode(
|
26 |
+
array(
|
27 |
+
array(
|
28 |
+
'id' => 'customizer-repeater-social-repeater-37fb908374e06',
|
29 |
+
'link' => 'facebook.com',
|
30 |
+
'icon' => 'fa-facebook',
|
31 |
+
),
|
32 |
+
array(
|
33 |
+
'id' => 'customizer-repeater-social-repeater-47fb9144530fc',
|
34 |
+
'link' => 'twitter.com',
|
35 |
+
'icon' => 'fa-twitter',
|
36 |
+
),
|
37 |
+
array(
|
38 |
+
'id' => 'customizer-repeater-social-repeater-57fb9750e1e09',
|
39 |
+
'link' => 'linkedin.com',
|
40 |
+
'icon' => 'fa-linkedin',
|
41 |
+
),
|
42 |
+
array(
|
43 |
+
'id' => 'customizer-repeater-social-repeater-67fb0150e1e256',
|
44 |
+
'link' => 'behance.com',
|
45 |
+
'icon' => 'fa-behance',
|
46 |
+
),
|
47 |
+
)
|
48 |
+
),
|
49 |
+
),
|
50 |
+
array(
|
51 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team2.jpg',
|
52 |
+
'membername' => 'Amanda Smith',
|
53 |
+
'designation' => esc_html__('Founder & CEO', 'spicebox'),
|
54 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
55 |
+
'open_new_tab' => 'no',
|
56 |
+
'id' => 'customizer_repeater_56d1ea2f40c66',
|
57 |
+
'social_repeater' => json_encode(
|
58 |
+
array(
|
59 |
+
array(
|
60 |
+
'id' => 'customizer-repeater-social-repeater-57fb9133a7772',
|
61 |
+
'link' => 'facebook.com',
|
62 |
+
'icon' => 'fa-facebook',
|
63 |
+
),
|
64 |
+
array(
|
65 |
+
'id' => 'customizer-repeater-social-repeater-57fb9160rt683',
|
66 |
+
'link' => 'twitter.com',
|
67 |
+
'icon' => 'fa-twitter',
|
68 |
+
),
|
69 |
+
array(
|
70 |
+
'id' => 'customizer-repeater-social-repeater-57fb916zzooc9',
|
71 |
+
'link' => 'linkedin.com',
|
72 |
+
'icon' => 'fa-linkedin',
|
73 |
+
),
|
74 |
+
array(
|
75 |
+
'id' => 'customizer-repeater-social-repeater-57fb916qqwwc784',
|
76 |
+
'link' => 'behance.com',
|
77 |
+
'icon' => 'fa-behance',
|
78 |
+
),
|
79 |
+
)
|
80 |
+
),
|
81 |
+
),
|
82 |
+
array(
|
83 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team3.jpg',
|
84 |
+
'membername' => 'Victoria Wills',
|
85 |
+
'designation' => esc_html__('Web Master', 'spicebox'),
|
86 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
87 |
+
'open_new_tab' => 'no',
|
88 |
+
'id' => 'customizer_repeater_56d7ea7f40c76',
|
89 |
+
'social_repeater' => json_encode(
|
90 |
+
array(
|
91 |
+
array(
|
92 |
+
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
93 |
+
'link' => 'facebook.com',
|
94 |
+
'icon' => 'fa-facebook',
|
95 |
+
),
|
96 |
+
array(
|
97 |
+
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
98 |
+
'link' => 'twitter.com',
|
99 |
+
'icon' => 'fa-twitter',
|
100 |
+
),
|
101 |
+
array(
|
102 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
103 |
+
'link' => 'linkedin.com',
|
104 |
+
'icon' => 'fa-linkedin',
|
105 |
+
),
|
106 |
+
array(
|
107 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e8',
|
108 |
+
'link' => 'behance.com',
|
109 |
+
'icon' => 'fa-behance',
|
110 |
+
),
|
111 |
+
)
|
112 |
+
),
|
113 |
+
),
|
114 |
+
array(
|
115 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team4.jpg',
|
116 |
+
'membername' => 'Travis Marcus',
|
117 |
+
'designation' => esc_html__('UI Developer', 'spicebox'),
|
118 |
+
'text' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?',
|
119 |
+
'open_new_tab' => 'no',
|
120 |
+
'id' => 'customizer_repeater_56d7ea7f40c86',
|
121 |
+
'social_repeater' => json_encode(
|
122 |
+
array(
|
123 |
+
array(
|
124 |
+
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
125 |
+
'link' => 'facebook.com',
|
126 |
+
'icon' => 'fa-facebook',
|
127 |
+
),
|
128 |
+
array(
|
129 |
+
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
130 |
+
'link' => 'twitter.com',
|
131 |
+
'icon' => 'fa-twitter',
|
132 |
+
),
|
133 |
+
array(
|
134 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
135 |
+
'link' => 'linkedin.com',
|
136 |
+
'icon' => 'fa-linkedin',
|
137 |
+
),
|
138 |
+
array(
|
139 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
140 |
+
'link' => 'behance.com',
|
141 |
+
'icon' => 'fa-behance',
|
142 |
+
),
|
143 |
+
)
|
144 |
+
),
|
145 |
+
),
|
146 |
+
));
|
147 |
+
}
|
148 |
+
$team_section_enable = get_theme_mod('team_section_enable', true);
|
149 |
+
if ($team_section_enable != false) {
|
150 |
+
|
151 |
+
$theme=wp_get_theme();
|
152 |
+
if ('Spiko Dark' == $theme->name):
|
153 |
+
$team_section_class = 'team team-common team2';
|
154 |
+
else:
|
155 |
+
$team_section_class = 'team';
|
156 |
+
endif;
|
157 |
+
?>
|
158 |
+
<section class="section-space <?php echo esc_attr($team_section_class);?> bg-default">
|
159 |
+
<div class="spiko-team-container container">
|
160 |
+
<?php
|
161 |
+
$home_team_section_title = get_theme_mod('home_team_section_title', __('Magna Aliqua', 'spicebox'));
|
162 |
+
$home_team_section_discription = get_theme_mod('home_team_section_discription', __('Ullamco Laboris Nisi', 'spicebox'));
|
163 |
+
if (($home_team_section_title) || ($home_team_section_discription) != '') {?>
|
164 |
+
<div class="row">
|
165 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
166 |
+
<div class="section-header">
|
167 |
+
<?php
|
168 |
+
if (!empty($home_team_section_discription)):
|
169 |
+
?>
|
170 |
+
<p class="section-subtitle"><?php echo esc_html($home_team_section_discription); ?></p>
|
171 |
+
<?php endif;
|
172 |
+
if (!empty($home_team_section_title)): ?>
|
173 |
+
<h2 class="section-title"><?php echo esc_html($home_team_section_title); ?></h2>
|
174 |
+
<div class="section-separator border-center"></div>
|
175 |
+
<?php
|
176 |
+
endif;
|
177 |
+
|
178 |
+
?>
|
179 |
+
</div>
|
180 |
+
</div>
|
181 |
+
</div>
|
182 |
+
<?php } ?>
|
183 |
+
<div class="row">
|
184 |
+
<div id="team-carousel" class="owl-carousel owl-theme col-lg-12">
|
185 |
+
<?php
|
186 |
+
$team_options = json_decode($team_options);
|
187 |
+
if (!empty($team_options)) {
|
188 |
+
foreach ($team_options as $team_item) {
|
189 |
+
$image = !empty($team_item->image_url) ? apply_filters('spiko_translate_single_string', $team_item->image_url, 'Team section') : '';
|
190 |
+
|
191 |
+
$title = !empty($team_item->membername) ? apply_filters('spiko_translate_single_string', $team_item->membername, 'Team section') : '';
|
192 |
+
$subtitle = !empty($team_item->designation) ? apply_filters('spiko_translate_single_string', $team_item->designation, 'Team section') : '';
|
193 |
+
$aboutme = !empty($team_item->text) ? apply_filters('spiko_translate_single_string', $team_item->text, 'Team section') : '';?>
|
194 |
+
<div class="item">
|
195 |
+
<div class="team-grid text-center">
|
196 |
+
<div class="face front">
|
197 |
+
<!-- Avatar -->
|
198 |
+
<?php if(!empty($image)){ ?>
|
199 |
+
<div class="img-holder">
|
200 |
+
<img src="<?php echo esc_url($image); ?>" class="img-fluid"
|
201 |
+
alt="<?php echo esc_attr($title); ?>">
|
202 |
+
</div>
|
203 |
+
<?php } ?>
|
204 |
+
<!-- Content -->
|
205 |
+
<div class="card-body">
|
206 |
+
<?php if (!empty($title)) : ?>
|
207 |
+
<h4 class="name mt-1 mb-2"><?php echo esc_html($title); ?></h4>
|
208 |
+
<?php endif;
|
209 |
+
if (!empty($subtitle)) : ?>
|
210 |
+
<p class="mt-1 mb-2"><?php echo esc_html($subtitle); ?></p>
|
211 |
+
<?php endif; ?>
|
212 |
+
<?php
|
213 |
+
$icons = html_entity_decode($team_item->social_repeater);
|
214 |
+
$icons_decoded = json_decode($icons, true);
|
215 |
+
$socails_counts = count($icons_decoded);
|
216 |
+
if (!empty($socails_counts)) :
|
217 |
+
if (!empty($icons_decoded)) : ?>
|
218 |
+
<ul class="list-inline list-unstyled ml-0 mt-3 mb-1">
|
219 |
+
<?php
|
220 |
+
foreach ($icons_decoded as $value) {
|
221 |
+
$social_icon = !empty($value['icon']) ? apply_filters('spiko_translate_single_string', $value['icon'], 'Team section') : '';
|
222 |
+
$social_link = !empty($value['link']) ? apply_filters('spiko_translate_single_string', $value['link'], 'Team section') : '';
|
223 |
+
if (!empty($social_icon)) {
|
224 |
+
?>
|
225 |
+
<li class="list-inline-item"><a class="p-2 fa-lg fb-ic" <?php if($open_new_tab == 'yes'){echo 'target="_blank"';}?> href="<?php echo esc_url($social_link); ?>" class="btn btn-just-icon btn-simple"><i class="fa <?php echo esc_attr($social_icon); ?> " aria-hidden="true"></i></a></li>
|
226 |
+
<?php
|
227 |
+
}
|
228 |
+
}?>
|
229 |
+
</ul>
|
230 |
+
<?php
|
231 |
+
endif;
|
232 |
+
endif;?>
|
233 |
+
</div>
|
234 |
+
</div>
|
235 |
+
<!-- Back Side -->
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
<?php
|
239 |
+
}
|
240 |
+
} ?>
|
241 |
+
</div>
|
242 |
+
</div>
|
243 |
+
</div>
|
244 |
+
</section>
|
245 |
+
<?php
|
246 |
+
}
|
247 |
+
}
|
inc/spiko/sections/spiko-testimonial-section.php
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Call the action for team section */
|
3 |
+
add_action('spiceb_spiko_testimonial_action','spiceb_spiko_testimonial_section');
|
4 |
+
/* Function for team section*/
|
5 |
+
function spiceb_spiko_testimonial_section()
|
6 |
+
{
|
7 |
+
$theme=wp_get_theme();
|
8 |
+
$testimonial_animation_speed = get_theme_mod('testimonial_animation_speed', 3000);
|
9 |
+
$testimonial_smooth_speed = get_theme_mod('testimonial_smooth_speed', 1000);
|
10 |
+
$isRTL = (is_rtl()) ? (bool) true : (bool) false;
|
11 |
+
|
12 |
+
$slide_items = get_theme_mod('home_testimonial_slide_item', 1);
|
13 |
+
$testimonial_nav_style = get_theme_mod('testimonial_nav_style', 'bullets');
|
14 |
+
if ('Spiko Dark' == $theme->name){
|
15 |
+
$testimonial_settings = array('design_id' => '#testimonial-carousel4', 'slide_items' => $slide_items, 'animationSpeed' => $testimonial_animation_speed, 'smoothSpeed' => $testimonial_smooth_speed, 'testimonial_nav_style' => $testimonial_nav_style, 'rtl' => $isRTL);
|
16 |
+
}else{
|
17 |
+
$testimonial_settings = array('design_id' => '#testimonial-carousel1', 'slide_items' => $slide_items, 'animationSpeed' => $testimonial_animation_speed, 'smoothSpeed' => $testimonial_smooth_speed, 'testimonial_nav_style' => $testimonial_nav_style, 'rtl' => $isRTL);
|
18 |
+
}
|
19 |
+
wp_register_script('spiko-testimonial', SPICEB_PLUGIN_URL . '/inc/spiko/js/front-page/testi.js', array('jquery'));
|
20 |
+
wp_localize_script('spiko-testimonial', 'testimonial_settings', $testimonial_settings);
|
21 |
+
wp_enqueue_script('spiko-testimonial');
|
22 |
+
|
23 |
+
$home_testimonial_section_title = get_theme_mod('home_testimonial_section_title', __('Proin Egestas', 'spicebox'));
|
24 |
+
$home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription', __('Nam Viverra Iaculis Finibus', 'spicebox'));
|
25 |
+
if ('Spiko Dark' == $theme->name){
|
26 |
+
$testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL.'inc/spiko/images/testimonial/bg-img1.jpg');
|
27 |
+
}else{
|
28 |
+
$testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL.'inc/spiko/images/testimonial/bg-img.jpg');
|
29 |
+
}
|
30 |
+
|
31 |
+
$testimonial_options = get_theme_mod('spiko_testimonial_content');
|
32 |
+
if (empty($testimonial_options)) {
|
33 |
+
$testimonial_options = json_encode(array(
|
34 |
+
array(
|
35 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
36 |
+
'text' => 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem ipsum dolor sit amet,<br> temp consectetur adipisicing elit.',
|
37 |
+
'clientname' => __('Amanda Smith', 'spicebox'),
|
38 |
+
'designation' => __('Developer', 'spicebox'),
|
39 |
+
'home_testimonial_star' => '4.5',
|
40 |
+
'link' => '#',
|
41 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user1.jpg',
|
42 |
+
'open_new_tab' => 'no',
|
43 |
+
'id' => 'customizer_repeater_77d7ea7f40b96',
|
44 |
+
'home_slider_caption' => 'customizer_repeater_star_4.5',
|
45 |
+
),
|
46 |
+
array(
|
47 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
48 |
+
'text' => 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem ipsum dolor sit amet,<br> temp consectetur adipisicing elit.',
|
49 |
+
'clientname' => __('Travis Cullan', 'spicebox'),
|
50 |
+
'designation' => __('Team Leader', 'spicebox'),
|
51 |
+
'home_testimonial_star' => '5',
|
52 |
+
'link' => '#',
|
53 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user2.jpg',
|
54 |
+
'open_new_tab' => 'no',
|
55 |
+
'id' => 'customizer_repeater_88d7ea7f40b97',
|
56 |
+
'home_slider_caption' => 'customizer_repeater_star_5',
|
57 |
+
),
|
58 |
+
array(
|
59 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
60 |
+
'text' => 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem ipsum dolor sit amet,<br> temp consectetur adipisicing elit.',
|
61 |
+
'clientname' => __('Victoria Wills', 'spicebox'),
|
62 |
+
'designation' => __('Volunteer', 'spicebox'),
|
63 |
+
'home_testimonial_star' => '3.5',
|
64 |
+
'link' => '#',
|
65 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user3.jpg',
|
66 |
+
'id' => 'customizer_repeater_11d7ea7f40b98',
|
67 |
+
'open_new_tab' => 'no',
|
68 |
+
'home_slider_caption' => 'customizer_repeater_star_3.5',
|
69 |
+
),
|
70 |
+
));
|
71 |
+
}
|
72 |
+
if(get_theme_mod('testimonial_section_enable',true)==true):
|
73 |
+
|
74 |
+
$theme=wp_get_theme();
|
75 |
+
if ('Spiko Dark' == $theme->name){
|
76 |
+
$testimonial_class='testi testi-4';
|
77 |
+
}
|
78 |
+
else{
|
79 |
+
$testimonial_class='testi-1';
|
80 |
+
}
|
81 |
+
|
82 |
+
if ($testimonial_callout_background != '') {
|
83 |
+
?>
|
84 |
+
<section class="section-space testimonial <?php echo esc_attr($testimonial_class); ?> slideitem-1" style="background-image:url('<?php echo esc_url($testimonial_callout_background); ?>'); background-repeat: no-repeat; background-position: top left; width: 100%; background-size: cover;">
|
85 |
+
<?php
|
86 |
+
}
|
87 |
+
else
|
88 |
+
{
|
89 |
+
?>
|
90 |
+
<section class="section-space testimonial <?php echo esc_attr($testimonial_class); ?> slideitem-1">
|
91 |
+
<?php
|
92 |
+
}?>
|
93 |
+
<div class="owl-carousel owl-theme">
|
94 |
+
<div class="container">
|
95 |
+
<?php if ($home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
96 |
+
<div class="row">
|
97 |
+
<div class="col-lg-12 col-md-12 col-sm-12">
|
98 |
+
<div class="section-header">
|
99 |
+
<?php if ($home_testimonial_section_discription != ''):?>
|
100 |
+
<p class="section-subtitle"><?php echo esc_attr($home_testimonial_section_discription); ?></p>
|
101 |
+
<?php endif;?>
|
102 |
+
<?php if($home_testimonial_section_title):?>
|
103 |
+
<h2 class="section-title"><?php echo esc_attr($home_testimonial_section_title); ?></h2>
|
104 |
+
<div class="section-separator border-center"></div>
|
105 |
+
<?php endif;?>
|
106 |
+
|
107 |
+
<div class="title_seprater"></div>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
<?php } ?>
|
112 |
+
<!--Testimonial-->
|
113 |
+
<div class="row">
|
114 |
+
<?php if ('Spiko Dark' == $theme->name) { ?>
|
115 |
+
<div class="col-md-12 text-center owl-loaded owl-drag" id="testimonial-carousel4">
|
116 |
+
<?php } else { ?>
|
117 |
+
<div class="col-md-12" id="testimonial-carousel1">
|
118 |
+
<?php }
|
119 |
+
$testimonial_options = json_decode($testimonial_options);
|
120 |
+
if ($testimonial_options != '') {
|
121 |
+
$allowed_html = array(
|
122 |
+
'br' => array(),
|
123 |
+
'em' => array(),
|
124 |
+
'strong' => array(),
|
125 |
+
'b' => array(),
|
126 |
+
'i' => array(),
|
127 |
+
);
|
128 |
+
foreach ($testimonial_options as $testimonial_iteam) {
|
129 |
+
$home_testimonial_thumb = $testimonial_iteam->image_url;
|
130 |
+
$home_testimonial_title = !empty($testimonial_iteam->title) ? apply_filters('spiko_translate_single_string', $testimonial_iteam->title, 'Testimonial section') : '';
|
131 |
+
$home_testimonial_desc = !empty($testimonial_iteam->text) ? apply_filters('spiko_translate_single_string', $testimonial_iteam->text, 'Testimonial section') : '';
|
132 |
+
$home_testimonial_link = $testimonial_iteam->link;
|
133 |
+
$open_new_tab = $testimonial_iteam->open_new_tab;
|
134 |
+
$home_testimonial_clientname = !empty($testimonial_iteam->clientname) ? apply_filters('spiko_translate_single_string', $testimonial_iteam->clientname, 'Testimonial section') : '';
|
135 |
+
$home_testimonial_designation = !empty($testimonial_iteam->designation) ? apply_filters('spiko_translate_single_string', $testimonial_iteam->designation, 'Testimonial section') : '';
|
136 |
+
$stars = !empty($testimonial_iteam->home_testimonial_star) ? apply_filters('spiko_translate_single_string', $testimonial_iteam->home_testimonial_star, 'Testimonial section') : '';
|
137 |
+
?>
|
138 |
+
<div class="item">
|
139 |
+
<?php
|
140 |
+
if ('Spiko Dark' == $theme->name) { ?>
|
141 |
+
<blockquote class="testmonial-block">
|
142 |
+
<?php if ($home_testimonial_thumb != ''): ?>
|
143 |
+
<figure class="avatar">
|
144 |
+
<img src="<?php echo esc_url($home_testimonial_thumb); ?>" class="img-fluid rounded-circle" alt="<?php echo esc_attr($home_testimonial_clientname);?>" >
|
145 |
+
</figure>
|
146 |
+
<?php endif;
|
147 |
+
if (($home_testimonial_clientname != '' || $home_testimonial_designation != '')) { ?>
|
148 |
+
<figcaption>
|
149 |
+
<?php if (!empty($home_testimonial_clientname)): ?>
|
150 |
+
<a href="<?php if (empty($test_link)) { echo '#'; } else { echo $test_link; } ?>" <?php if ($open_new_tab == "yes") { ?> target="_blank"<?php } ?>>
|
151 |
+
<cite class="name"><?php echo $home_testimonial_clientname; ?></cite></a><?php endif; ?>
|
152 |
+
<?php if (!empty($home_testimonial_designation)): ?><span class="designation"><?php echo $home_testimonial_designation; ?></span><?php endif; ?>
|
153 |
+
</figcaption>
|
154 |
+
<?php } if (!empty($home_testimonial_desc)): ?>
|
155 |
+
<div class="entry-content">
|
156 |
+
<p><?php echo wp_kses(html_entity_decode($home_testimonial_desc), $allowed_html); ?></p>
|
157 |
+
</div>
|
158 |
+
<?php endif; ?>
|
159 |
+
</blockquote>
|
160 |
+
<?php } else { ?>
|
161 |
+
<div class="testmonial-block">
|
162 |
+
<?php $default_arg = array('class' => "img-circle"); ?>
|
163 |
+
<?php if ($home_testimonial_thumb != ''): ?>
|
164 |
+
<figure class="avatar">
|
165 |
+
<img src="<?php echo esc_url($home_testimonial_thumb); ?>" class="img-fluid" alt="<?php echo esc_attr($home_testimonial_clientname);?>" >
|
166 |
+
<span class="quotes-seprator"></span>
|
167 |
+
</figure>
|
168 |
+
<?php endif;
|
169 |
+
if ($home_testimonial_clientname != '' || $home_testimonial_desc != '' ) { ?>
|
170 |
+
<div class="entry-content">
|
171 |
+
<?php if (!empty($home_testimonial_clientname)): ?>
|
172 |
+
<h4 class="name">
|
173 |
+
<a href="<?php if (empty($home_testimonial_link)) {echo '#';} else { echo esc_url($home_testimonial_link);}?>" <?php if($open_new_tab=='yes') { ?> target="_blank"<?php } ?>>
|
174 |
+
<?php echo esc_html($home_testimonial_clientname); ?></a>
|
175 |
+
</h4>
|
176 |
+
<?php endif; ?>
|
177 |
+
<?php if ($home_testimonial_desc != '') { ?><p><?php echo wp_kses(html_entity_decode($home_testimonial_desc), $allowed_html); ?></p> <?php } ?>
|
178 |
+
</div>
|
179 |
+
<?php } ?>
|
180 |
+
</div>
|
181 |
+
<?php }?>
|
182 |
+
</div>
|
183 |
+
<?php
|
184 |
+
}
|
185 |
+
}
|
186 |
+
?>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
</div>
|
190 |
+
</section>
|
191 |
+
<?php endif;?>
|
192 |
+
<!-- /End of Testimonial Section-->
|
193 |
+
<?php } ?>
|
languages/spicebox.pot
CHANGED
@@ -4,7 +4,7 @@ msgstr ""
|
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
-
"2021-
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
@@ -52,6 +52,8 @@ msgstr ""
|
|
52 |
#: inc/honeypress/sections/honeypress-service-section.php:195
|
53 |
#: inc/spice-software/customizer.php:12
|
54 |
#: inc/spice-software/sections/spice-software-services-section.php:11
|
|
|
|
|
55 |
msgid ""
|
56 |
"Suspendisse Tristique"
|
57 |
msgstr ""
|
@@ -68,6 +70,12 @@ msgstr ""
|
|
68 |
#: inc/spice-software/sections/spice-software-services-section.php:12
|
69 |
#: inc/spice-software/sections/spice-software-services-section.php:21
|
70 |
#: inc/spice-software/sections/spice-software-services-section.php:30
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
msgid ""
|
72 |
"Sed ut perspiciatis unde "
|
73 |
"omnis iste natus error "
|
@@ -83,6 +91,8 @@ msgstr ""
|
|
83 |
#: inc/honeypress/sections/honeypress-service-section.php:203
|
84 |
#: inc/spice-software/customizer.php:21
|
85 |
#: inc/spice-software/sections/spice-software-services-section.php:20
|
|
|
|
|
86 |
msgid "Blandit-Gravida"
|
87 |
msgstr ""
|
88 |
|
@@ -92,6 +102,8 @@ msgstr ""
|
|
92 |
#: inc/honeypress/sections/honeypress-service-section.php:211
|
93 |
#: inc/spice-software/customizer.php:30
|
94 |
#: inc/spice-software/sections/spice-software-services-section.php:29
|
|
|
|
|
95 |
msgid "Justo Bibendum"
|
96 |
msgstr ""
|
97 |
|
@@ -122,6 +134,11 @@ msgstr ""
|
|
122 |
#: inc/spice-software/sections/spice-software-news-section.php:94
|
123 |
#: inc/spice-software/sections/spice-software-news-section.php:173
|
124 |
#: inc/spice-software/sections/spice-software-slider-section.php:21
|
|
|
|
|
|
|
|
|
|
|
125 |
msgid "Cras Vitae"
|
126 |
msgstr ""
|
127 |
|
@@ -145,6 +162,8 @@ msgstr ""
|
|
145 |
#: inc/innofit/sections/innofit-team-section.php:132
|
146 |
#: inc/spice-software/customizer.php:109
|
147 |
#: inc/spice-software/sections/spice-software-team-section.php:22
|
|
|
|
|
148 |
msgid "Senior Manager"
|
149 |
msgstr ""
|
150 |
|
@@ -154,6 +173,8 @@ msgstr ""
|
|
154 |
#: inc/innofit/sections/innofit-team-section.php:149
|
155 |
#: inc/spice-software/customizer.php:142
|
156 |
#: inc/spice-software/sections/spice-software-team-section.php:55
|
|
|
|
|
157 |
msgid "Founder & CEO"
|
158 |
msgstr ""
|
159 |
|
@@ -163,6 +184,8 @@ msgstr ""
|
|
163 |
#: inc/innofit/sections/innofit-team-section.php:166
|
164 |
#: inc/spice-software/customizer.php:175
|
165 |
#: inc/spice-software/sections/spice-software-team-section.php:88
|
|
|
|
|
166 |
msgid "Web Master"
|
167 |
msgstr ""
|
168 |
|
@@ -172,23 +195,28 @@ msgstr ""
|
|
172 |
#: inc/innofit/sections/innofit-team-section.php:183
|
173 |
#: inc/spice-software/customizer.php:208
|
174 |
#: inc/spice-software/sections/spice-software-team-section.php:121
|
|
|
|
|
175 |
msgid "UI Developer"
|
176 |
msgstr ""
|
177 |
|
178 |
#: inc/busicare/customizer.php:238
|
179 |
#: inc/spice-software/customizer.php:252
|
|
|
180 |
msgid ""
|
181 |
"Homepage Section Settings"
|
182 |
msgstr ""
|
183 |
|
184 |
#: inc/busicare/customizer/news-section.php:13
|
185 |
#: inc/spice-software/customizer/news-section.php:4
|
|
|
186 |
msgid ""
|
187 |
"Latest News Settings"
|
188 |
msgstr ""
|
189 |
|
190 |
#: inc/busicare/customizer/news-section.php:27
|
191 |
#: inc/spice-software/customizer/news-section.php:18
|
|
|
192 |
msgid ""
|
193 |
"Enable/Disable Latest "
|
194 |
"News Section"
|
@@ -199,6 +227,8 @@ msgstr ""
|
|
199 |
#: inc/busicare/sections/busicare-news-section.php:17
|
200 |
#: inc/spice-software/customizer/news-section.php:28
|
201 |
#: inc/spice-software/sections/spice-software-news-section.php:17
|
|
|
|
|
202 |
msgid "Vitae Lacinia"
|
203 |
msgstr ""
|
204 |
|
@@ -242,6 +272,11 @@ msgstr ""
|
|
242 |
#: inc/spicepress/features/feature-slider-section.php:76
|
243 |
#: inc/spicepress/features/feature-testimonial-section.php:70
|
244 |
#: inc/spicepress/features/feature-testimonial-section.php:136
|
|
|
|
|
|
|
|
|
|
|
245 |
msgid "Title"
|
246 |
msgstr ""
|
247 |
|
@@ -250,6 +285,8 @@ msgstr ""
|
|
250 |
#: inc/busicare/sections/busicare-news-section.php:18
|
251 |
#: inc/spice-software/customizer/news-section.php:41
|
252 |
#: inc/spice-software/sections/spice-software-news-section.php:18
|
|
|
|
|
253 |
msgid "Cras Vitae Placerat"
|
254 |
msgstr ""
|
255 |
|
@@ -263,16 +300,23 @@ msgstr ""
|
|
263 |
#: inc/spice-software/customizer/services-section.php:47
|
264 |
#: inc/spice-software/customizer/team-section.php:42
|
265 |
#: inc/spice-software/customizer/testimonial-section.php:43
|
|
|
|
|
|
|
|
|
|
|
266 |
msgid "Sub Title"
|
267 |
msgstr ""
|
268 |
|
269 |
#: inc/busicare/customizer/news-section.php:69
|
270 |
#: inc/spice-software/customizer/news-section.php:60
|
|
|
271 |
msgid "Read More Text"
|
272 |
msgstr ""
|
273 |
|
274 |
#: inc/busicare/customizer/news-section.php:86
|
275 |
#: inc/spice-software/customizer/news-section.php:77
|
|
|
276 |
msgid ""
|
277 |
"Enable/Disable post meta "
|
278 |
"in blog section"
|
@@ -285,12 +329,14 @@ msgstr ""
|
|
285 |
|
286 |
#: inc/busicare/customizer/news-section.php:105
|
287 |
#: inc/spice-software/customizer/news-section.php:96
|
|
|
288 |
msgid ""
|
289 |
"View More Button Text"
|
290 |
msgstr ""
|
291 |
|
292 |
#: inc/busicare/customizer/news-section.php:123
|
293 |
#: inc/spice-software/customizer/news-section.php:114
|
|
|
294 |
msgid ""
|
295 |
"View More Button Link"
|
296 |
msgstr ""
|
@@ -310,17 +356,22 @@ msgstr ""
|
|
310 |
#: inc/spice-software/customizer/slider-section.php:216
|
311 |
#: inc/spice-software/customizer/slider-section.php:254
|
312 |
#: inc/spicepress/features/feature-slider-section.php:126
|
|
|
|
|
|
|
313 |
msgid ""
|
314 |
"Open link in new tab"
|
315 |
msgstr ""
|
316 |
|
317 |
#: inc/busicare/customizer/services-section.php:3
|
318 |
#: inc/spice-software/customizer/services-section.php:3
|
|
|
319 |
msgid "Services Settings"
|
320 |
msgstr ""
|
321 |
|
322 |
#: inc/busicare/customizer/services-section.php:16
|
323 |
#: inc/spice-software/customizer/services-section.php:16
|
|
|
324 |
msgid ""
|
325 |
"Enable/Disable Service "
|
326 |
"Section"
|
@@ -343,6 +394,8 @@ msgstr ""
|
|
343 |
#: inc/honeypress/sections/honeypress-service-section.php:24
|
344 |
#: inc/spice-software/customizer/services-section.php:40
|
345 |
#: inc/spice-software/sections/spice-software-services-section.php:39
|
|
|
|
|
346 |
msgid "Fusce Sed Massa"
|
347 |
msgstr ""
|
348 |
|
@@ -351,6 +404,7 @@ msgstr ""
|
|
351 |
#: inc/honeypress/features/feature-service-section.php:56
|
352 |
#: inc/spice-software/customizer/services-section.php:59
|
353 |
#: inc/spicepress/features/feature-service-section.php:63
|
|
|
354 |
msgid "Service content"
|
355 |
msgstr ""
|
356 |
|
@@ -365,6 +419,7 @@ msgstr ""
|
|
365 |
#: inc/innofit/default-pages/home-custom-menu.php:19
|
366 |
#: inc/spice-software/customizer/services-section.php:63
|
367 |
#: inc/spicepress/features/feature-service-section.php:67
|
|
|
368 |
msgid "Service"
|
369 |
msgstr ""
|
370 |
|
@@ -373,6 +428,7 @@ msgstr ""
|
|
373 |
#: inc/honeypress/features/feature-service-section.php:74
|
374 |
#: inc/innofit/customizer/services-section.php:72
|
375 |
#: inc/spice-software/customizer/services-section.php:77
|
|
|
376 |
msgid ""
|
377 |
"To add More Service? Then"
|
378 |
msgstr ""
|
@@ -386,16 +442,19 @@ msgstr ""
|
|
386 |
#: inc/innofit/customizer/testimonial-section.php:106
|
387 |
#: inc/innofit/customizer/testimonial-section.php:138
|
388 |
#: inc/spice-software/customizer/services-section.php:78
|
|
|
389 |
msgid "Upgrade to Plus"
|
390 |
msgstr ""
|
391 |
|
392 |
#: inc/busicare/customizer/slider-section.php:14
|
393 |
#: inc/spice-software/customizer/slider-section.php:5
|
|
|
394 |
msgid "Slider Settings"
|
395 |
msgstr ""
|
396 |
|
397 |
#: inc/busicare/customizer/slider-section.php:27
|
398 |
#: inc/spice-software/customizer/slider-section.php:18
|
|
|
399 |
msgid ""
|
400 |
"Enable/Disable Slider "
|
401 |
"Section"
|
@@ -404,6 +463,7 @@ msgstr ""
|
|
404 |
#: inc/busicare/customizer/slider-section.php:38
|
405 |
#: inc/honeypress/features/feature-slider-section.php:31
|
406 |
#: inc/spice-software/customizer/slider-section.php:29
|
|
|
407 |
msgid ""
|
408 |
"Slider Background Type"
|
409 |
msgstr ""
|
@@ -429,6 +489,8 @@ msgstr ""
|
|
429 |
#: inc/spicepress/features/feature-portfolio-section.php:157
|
430 |
#: inc/spicepress/features/feature-slider-section.php:35
|
431 |
#: inc/spicepress/features/feature-testimonial-section.php:105
|
|
|
|
|
432 |
msgid "Image"
|
433 |
msgstr ""
|
434 |
|
@@ -437,18 +499,21 @@ msgstr ""
|
|
437 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:757
|
438 |
#: inc/honeypress/features/feature-slider-section.php:36
|
439 |
#: inc/spice-software/customizer/slider-section.php:35
|
|
|
440 |
msgid "Video"
|
441 |
msgstr ""
|
442 |
|
443 |
#: inc/busicare/customizer/slider-section.php:58
|
444 |
#: inc/honeypress/features/feature-slider-section.php:50
|
445 |
#: inc/spice-software/customizer/slider-section.php:49
|
|
|
446 |
msgid "Slider video"
|
447 |
msgstr ""
|
448 |
|
449 |
#: inc/busicare/customizer/slider-section.php:59
|
450 |
#: inc/honeypress/features/feature-slider-section.php:51
|
451 |
#: inc/spice-software/customizer/slider-section.php:50
|
|
|
452 |
msgid ""
|
453 |
"Upload your video in ."
|
454 |
"mp4 format and minimize "
|
@@ -464,48 +529,57 @@ msgstr ""
|
|
464 |
#: inc/honeypress/features/feature-slider-section.php:60
|
465 |
#: inc/spice-software/customizer/slider-section.php:55
|
466 |
#: inc/spice-software/customizer/slider-section.php:60
|
|
|
|
|
467 |
msgid "Select File"
|
468 |
msgstr ""
|
469 |
|
470 |
#: inc/busicare/customizer/slider-section.php:65
|
471 |
#: inc/honeypress/features/feature-slider-section.php:56
|
472 |
#: inc/spice-software/customizer/slider-section.php:56
|
|
|
473 |
msgid "Change File"
|
474 |
msgstr ""
|
475 |
|
476 |
#: inc/busicare/customizer/slider-section.php:66
|
477 |
#: inc/honeypress/features/feature-slider-section.php:57
|
478 |
#: inc/spice-software/customizer/slider-section.php:57
|
|
|
479 |
msgid "Default"
|
480 |
msgstr ""
|
481 |
|
482 |
#: inc/busicare/customizer/slider-section.php:67
|
483 |
#: inc/honeypress/features/feature-slider-section.php:58
|
484 |
#: inc/spice-software/customizer/slider-section.php:58
|
|
|
485 |
msgid "Remove"
|
486 |
msgstr ""
|
487 |
|
488 |
#: inc/busicare/customizer/slider-section.php:68
|
489 |
#: inc/honeypress/features/feature-slider-section.php:59
|
490 |
#: inc/spice-software/customizer/slider-section.php:59
|
|
|
491 |
msgid "No file selected"
|
492 |
msgstr ""
|
493 |
|
494 |
#: inc/busicare/customizer/slider-section.php:70
|
495 |
#: inc/honeypress/features/feature-slider-section.php:61
|
496 |
#: inc/spice-software/customizer/slider-section.php:61
|
|
|
497 |
msgid "Choose File"
|
498 |
msgstr ""
|
499 |
|
500 |
#: inc/busicare/customizer/slider-section.php:83
|
501 |
#: inc/honeypress/features/feature-slider-section.php:75
|
502 |
#: inc/spice-software/customizer/slider-section.php:74
|
|
|
503 |
msgid ""
|
504 |
"Or, enter a YouTube URL:"
|
505 |
msgstr ""
|
506 |
|
507 |
#: inc/busicare/customizer/slider-section.php:118
|
508 |
#: inc/spice-software/customizer/slider-section.php:115
|
|
|
509 |
msgid ""
|
510 |
"Enable/Disable slider "
|
511 |
"image overlay"
|
@@ -517,6 +591,7 @@ msgstr ""
|
|
517 |
#: inc/innofit/customizer/slider-section.php:60
|
518 |
#: inc/spice-software/customizer/slider-section.php:130
|
519 |
#: inc/spicepress/features/feature-slider-section.php:63
|
|
|
520 |
msgid ""
|
521 |
"Slider image overlay "
|
522 |
"color"
|
@@ -525,6 +600,7 @@ msgstr ""
|
|
525 |
#: inc/busicare/customizer/slider-section.php:149
|
526 |
#: inc/honeypress/features/feature-slider-section.php:155
|
527 |
#: inc/spice-software/customizer/slider-section.php:146
|
|
|
528 |
msgid ""
|
529 |
"Slider Content Alignment"
|
530 |
msgstr ""
|
@@ -532,18 +608,21 @@ msgstr ""
|
|
532 |
#: inc/busicare/customizer/slider-section.php:153
|
533 |
#: inc/honeypress/features/feature-slider-section.php:158
|
534 |
#: inc/spice-software/customizer/slider-section.php:150
|
|
|
535 |
msgid "Left"
|
536 |
msgstr ""
|
537 |
|
538 |
#: inc/busicare/customizer/slider-section.php:154
|
539 |
#: inc/honeypress/features/feature-slider-section.php:159
|
540 |
#: inc/spice-software/customizer/slider-section.php:151
|
|
|
541 |
msgid "Center"
|
542 |
msgstr ""
|
543 |
|
544 |
#: inc/busicare/customizer/slider-section.php:155
|
545 |
#: inc/honeypress/features/feature-slider-section.php:160
|
546 |
#: inc/spice-software/customizer/slider-section.php:152
|
|
|
547 |
msgid "Right"
|
548 |
msgstr ""
|
549 |
|
@@ -560,6 +639,8 @@ msgstr ""
|
|
560 |
#: inc/honeypress/sections/honeypress-slider-section.php:25
|
561 |
#: inc/spice-software/customizer/slider-section.php:160
|
562 |
#: inc/spice-software/sections/spice-software-slider-section.php:15
|
|
|
|
|
563 |
msgid ""
|
564 |
"Nulla nec dolor sit amet "
|
565 |
"lacus molestie"
|
@@ -569,6 +650,7 @@ msgstr ""
|
|
569 |
#: inc/cloudpress/features/feature-slider-section.php:84
|
570 |
#: inc/honeypress/features/feature-slider-section.php:181
|
571 |
#: inc/spice-software/customizer/slider-section.php:173
|
|
|
572 |
msgid ""
|
573 |
"Sea summo mazim ex, ea "
|
574 |
"errem eleifend "
|
@@ -608,6 +690,7 @@ msgstr ""
|
|
608 |
#: inc/spicepress/features/feature-slider-section.php:88
|
609 |
#: inc/spicepress/features/feature-testimonial-section.php:83
|
610 |
#: inc/spicepress/features/feature-testimonial-section.php:122
|
|
|
611 |
msgid "Description"
|
612 |
msgstr ""
|
613 |
|
@@ -619,6 +702,8 @@ msgstr ""
|
|
619 |
#: inc/honeypress/sections/honeypress-slider-section.php:28
|
620 |
#: inc/spice-software/customizer/slider-section.php:186
|
621 |
#: inc/spice-software/sections/spice-software-slider-section.php:17
|
|
|
|
|
622 |
msgid "Nec Sem"
|
623 |
msgstr ""
|
624 |
|
@@ -633,6 +718,7 @@ msgstr ""
|
|
633 |
#: inc/innofit/customizer/slider-section.php:98
|
634 |
#: inc/spice-software/customizer/slider-section.php:190
|
635 |
#: inc/spicepress/features/feature-slider-section.php:101
|
|
|
636 |
msgid "Button Text"
|
637 |
msgstr ""
|
638 |
|
@@ -653,6 +739,9 @@ msgstr ""
|
|
653 |
#: inc/spice-software/customizer/slider-section.php:236
|
654 |
#: inc/spice-software/sections/spice-software-news-section.php:6
|
655 |
#: inc/spicepress/features/feature-slider-section.php:108
|
|
|
|
|
|
|
656 |
msgid "#"
|
657 |
msgstr ""
|
658 |
|
@@ -664,6 +753,7 @@ msgstr ""
|
|
664 |
#: inc/innofit/customizer/slider-section.php:110
|
665 |
#: inc/spice-software/customizer/slider-section.php:202
|
666 |
#: inc/spicepress/features/feature-slider-section.php:113
|
|
|
667 |
msgid "Button Link"
|
668 |
msgstr ""
|
669 |
|
@@ -671,6 +761,7 @@ msgstr ""
|
|
671 |
#: inc/cloudpress/features/feature-slider-section.php:139
|
672 |
#: inc/honeypress/features/feature-slider-section.php:236
|
673 |
#: inc/spice-software/customizer/slider-section.php:228
|
|
|
674 |
msgid "Button 2 Text"
|
675 |
msgstr ""
|
676 |
|
@@ -678,17 +769,20 @@ msgstr ""
|
|
678 |
#: inc/cloudpress/features/feature-slider-section.php:151
|
679 |
#: inc/honeypress/features/feature-slider-section.php:248
|
680 |
#: inc/spice-software/customizer/slider-section.php:240
|
|
|
681 |
msgid "Button 2 Link"
|
682 |
msgstr ""
|
683 |
|
684 |
#: inc/busicare/customizer/team-section.php:13
|
685 |
#: inc/cloudpress/features/feature-team-section.php:8
|
686 |
#: inc/spice-software/customizer/team-section.php:5
|
|
|
687 |
msgid "Team Settings"
|
688 |
msgstr ""
|
689 |
|
690 |
#: inc/busicare/customizer/team-section.php:25
|
691 |
#: inc/spice-software/customizer/team-section.php:17
|
|
|
692 |
msgid ""
|
693 |
"Enable/Disable Team "
|
694 |
"Section"
|
@@ -710,6 +804,7 @@ msgstr ""
|
|
710 |
#: inc/innofit/customizer/team-section.php:53
|
711 |
#: inc/spice-software/customizer/team-section.php:57
|
712 |
#: inc/spice-software/customizer/team-section.php:76
|
|
|
713 |
msgid "Team content"
|
714 |
msgstr ""
|
715 |
|
@@ -722,6 +817,7 @@ msgstr ""
|
|
722 |
#: inc/innofit/customizer/team-section.php:57
|
723 |
#: inc/spice-software/customizer/team-section.php:61
|
724 |
#: inc/spice-software/customizer/team-section.php:80
|
|
|
725 |
msgid "Team Member"
|
726 |
msgstr ""
|
727 |
|
@@ -730,6 +826,8 @@ msgstr ""
|
|
730 |
#: inc/cloudpress/features/feature-team-section.php:94
|
731 |
#: inc/spice-software/customizer/team-section.php:114
|
732 |
#: inc/spice-software/customizer/testimonial-section.php:114
|
|
|
|
|
733 |
msgid "Navigation Style"
|
734 |
msgstr ""
|
735 |
|
@@ -738,6 +836,8 @@ msgstr ""
|
|
738 |
#: inc/cloudpress/features/feature-team-section.php:99
|
739 |
#: inc/spice-software/customizer/team-section.php:119
|
740 |
#: inc/spice-software/customizer/testimonial-section.php:119
|
|
|
|
|
741 |
msgid "Bullets"
|
742 |
msgstr ""
|
743 |
|
@@ -746,6 +846,8 @@ msgstr ""
|
|
746 |
#: inc/cloudpress/features/feature-team-section.php:100
|
747 |
#: inc/spice-software/customizer/team-section.php:120
|
748 |
#: inc/spice-software/customizer/testimonial-section.php:120
|
|
|
|
|
749 |
msgid "Navigation"
|
750 |
msgstr ""
|
751 |
|
@@ -754,17 +856,21 @@ msgstr ""
|
|
754 |
#: inc/cloudpress/features/feature-team-section.php:101
|
755 |
#: inc/spice-software/customizer/team-section.php:121
|
756 |
#: inc/spice-software/customizer/testimonial-section.php:121
|
|
|
|
|
757 |
msgid "Both"
|
758 |
msgstr ""
|
759 |
|
760 |
#: inc/busicare/customizer/testimonial-section.php:4
|
761 |
#: inc/spice-software/customizer/testimonial-section.php:5
|
|
|
762 |
msgid ""
|
763 |
"Testimonials Settings"
|
764 |
msgstr ""
|
765 |
|
766 |
#: inc/busicare/customizer/testimonial-section.php:17
|
767 |
#: inc/spice-software/customizer/testimonial-section.php:18
|
|
|
768 |
msgid ""
|
769 |
"Enable/Disable "
|
770 |
"Testimonial Section"
|
@@ -777,12 +883,16 @@ msgstr ""
|
|
777 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:40
|
778 |
#: inc/spice-software/customizer/testimonial-section.php:26
|
779 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:20
|
|
|
|
|
780 |
msgid "Proin Egestas"
|
781 |
msgstr ""
|
782 |
|
783 |
#: inc/busicare/customizer/testimonial-section.php:40
|
784 |
#: inc/innofit/customizer/testimonial-section.php:89
|
785 |
#: inc/spice-software/customizer/testimonial-section.php:54
|
|
|
|
|
786 |
msgid "Testimonial content"
|
787 |
msgstr ""
|
788 |
|
@@ -793,6 +903,8 @@ msgstr ""
|
|
793 |
#: inc/busicare/customizer/testimonial-section.php:43
|
794 |
#: inc/innofit/customizer/testimonial-section.php:92
|
795 |
#: inc/spice-software/customizer/testimonial-section.php:57
|
|
|
|
|
796 |
msgid "Testimonial"
|
797 |
msgstr ""
|
798 |
|
@@ -804,6 +916,7 @@ msgstr ""
|
|
804 |
#: inc/innofit/customizer/testimonial-section.php:27
|
805 |
#: inc/spice-software/customizer/testimonial-section.php:76
|
806 |
#: inc/spicepress/features/feature-testimonial-section.php:31
|
|
|
807 |
msgid "Background Image"
|
808 |
msgstr ""
|
809 |
|
@@ -817,6 +930,7 @@ msgstr ""
|
|
817 |
#: inc/innofit/customizer/testimonial-section.php:52
|
818 |
#: inc/spice-software/customizer/testimonial-section.php:104
|
819 |
#: inc/spicepress/features/feature-testimonial-section.php:56
|
|
|
820 |
msgid ""
|
821 |
"Testimonial image "
|
822 |
"overlay color"
|
@@ -829,6 +943,7 @@ msgstr ""
|
|
829 |
|
830 |
#: inc/busicare/sections/busicare-news-section.php:94
|
831 |
#: inc/innofit/sections/innofit-news-section.php:97
|
|
|
832 |
msgid "Read More"
|
833 |
msgstr ""
|
834 |
|
@@ -836,6 +951,7 @@ msgstr ""
|
|
836 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:12
|
837 |
#: inc/honeypress/sections/honeypress-slider-section.php:27
|
838 |
#: inc/spice-software/sections/spice-software-slider-section.php:16
|
|
|
839 |
msgid ""
|
840 |
"Sea summo mazim ex, ea "
|
841 |
"errem eleifend "
|
@@ -852,6 +968,8 @@ msgstr ""
|
|
852 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:41
|
853 |
#: inc/spice-software/customizer/testimonial-section.php:39
|
854 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:21
|
|
|
|
|
855 |
msgid ""
|
856 |
"Nam Viverra Iaculis "
|
857 |
"Finibus"
|
@@ -1012,6 +1130,7 @@ msgstr ""
|
|
1012 |
#: inc/innofit/customizer/services-section.php:59
|
1013 |
#: inc/spice-software/customizer/services-section.php:62
|
1014 |
#: inc/spicepress/features/feature-service-section.php:66
|
|
|
1015 |
msgid "Add new Service"
|
1016 |
msgstr ""
|
1017 |
|
@@ -1059,18 +1178,23 @@ msgstr ""
|
|
1059 |
#: inc/innofit/customizer/team-section.php:56
|
1060 |
#: inc/spice-software/customizer/team-section.php:60
|
1061 |
#: inc/spice-software/customizer/team-section.php:79
|
|
|
1062 |
msgid "Add new Team Member"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
#: inc/cloudpress/features/feature-team-section.php:78
|
1066 |
#: inc/spice-software/customizer/team-section.php:97
|
1067 |
#: inc/spice-software/customizer/testimonial-section.php:130
|
|
|
|
|
1068 |
msgid "Animation speed"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
#: inc/cloudpress/features/feature-team-section.php:110
|
1072 |
#: inc/spice-software/customizer/team-section.php:130
|
1073 |
#: inc/spice-software/customizer/testimonial-section.php:147
|
|
|
|
|
1074 |
msgid "Smooth speed"
|
1075 |
msgstr ""
|
1076 |
|
@@ -1518,6 +1642,8 @@ msgstr ""
|
|
1518 |
#: inc/innofit/sections/innofit-testimonial-section.php:95
|
1519 |
#: inc/spice-software/customizer.php:57
|
1520 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:31
|
|
|
|
|
1521 |
msgid "Developer"
|
1522 |
msgstr ""
|
1523 |
|
@@ -1525,6 +1651,8 @@ msgstr ""
|
|
1525 |
#: inc/innofit/sections/innofit-testimonial-section.php:95
|
1526 |
#: inc/spice-software/customizer.php:69
|
1527 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:43
|
|
|
|
|
1528 |
msgid "Team Leader"
|
1529 |
msgstr ""
|
1530 |
|
@@ -1532,6 +1660,8 @@ msgstr ""
|
|
1532 |
#: inc/innofit/sections/innofit-testimonial-section.php:95
|
1533 |
#: inc/spice-software/customizer.php:81
|
1534 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:55
|
|
|
|
|
1535 |
msgid "Volunteer"
|
1536 |
msgstr ""
|
1537 |
|
@@ -1868,6 +1998,7 @@ msgstr ""
|
|
1868 |
#: inc/innofit/customizer/testimonial-section.php:39
|
1869 |
#: inc/spice-software/customizer/testimonial-section.php:90
|
1870 |
#: inc/spicepress/features/feature-testimonial-section.php:43
|
|
|
1871 |
msgid ""
|
1872 |
"Enable testimonial image "
|
1873 |
"overlay"
|
@@ -1889,6 +2020,8 @@ msgstr ""
|
|
1889 |
|
1890 |
#: inc/innofit/customizer/testimonial-section.php:91
|
1891 |
#: inc/spice-software/customizer/testimonial-section.php:56
|
|
|
|
|
1892 |
msgid "Add new Testimonial"
|
1893 |
msgstr ""
|
1894 |
|
@@ -1960,31 +2093,43 @@ msgstr ""
|
|
1960 |
|
1961 |
#: inc/spice-software/customizer.php:56
|
1962 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:30
|
|
|
|
|
1963 |
msgid "Amanda Smith"
|
1964 |
msgstr ""
|
1965 |
|
1966 |
#: inc/spice-software/customizer.php:68
|
1967 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:42
|
|
|
|
|
1968 |
msgid "Travis Cullan"
|
1969 |
msgstr ""
|
1970 |
|
1971 |
#: inc/spice-software/customizer.php:80
|
1972 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:54
|
|
|
|
|
1973 |
msgid "Victoria Wills"
|
1974 |
msgstr ""
|
1975 |
|
1976 |
#: inc/spice-software/customizer/services-section.php:25
|
1977 |
#: inc/spice-software/sections/spice-software-services-section.php:38
|
|
|
|
|
1978 |
msgid "Quisque Blandit"
|
1979 |
msgstr ""
|
1980 |
|
1981 |
#: inc/spice-software/customizer/team-section.php:25
|
1982 |
#: inc/spice-software/sections/spice-software-team-section.php:158
|
|
|
|
|
1983 |
msgid "Magna Aliqua"
|
1984 |
msgstr ""
|
1985 |
|
1986 |
#: inc/spice-software/customizer/team-section.php:37
|
1987 |
#: inc/spice-software/sections/spice-software-team-section.php:159
|
|
|
|
|
1988 |
msgid ""
|
1989 |
"Ullamco Laboris Nisi"
|
1990 |
msgstr ""
|
@@ -2131,3 +2276,8 @@ msgstr ""
|
|
2131 |
msgid ""
|
2132 |
"Quis hendrerit purus"
|
2133 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
+
"2021-10-18 17:21+0530\n"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
52 |
#: inc/honeypress/sections/honeypress-service-section.php:195
|
53 |
#: inc/spice-software/customizer.php:12
|
54 |
#: inc/spice-software/sections/spice-software-services-section.php:11
|
55 |
+
#: inc/spiko/customizer.php:12
|
56 |
+
#: inc/spiko/sections/spiko-services-section.php:11
|
57 |
msgid ""
|
58 |
"Suspendisse Tristique"
|
59 |
msgstr ""
|
70 |
#: inc/spice-software/sections/spice-software-services-section.php:12
|
71 |
#: inc/spice-software/sections/spice-software-services-section.php:21
|
72 |
#: inc/spice-software/sections/spice-software-services-section.php:30
|
73 |
+
#: inc/spiko/customizer.php:13
|
74 |
+
#: inc/spiko/customizer.php:22
|
75 |
+
#: inc/spiko/customizer.php:31
|
76 |
+
#: inc/spiko/sections/spiko-services-section.php:12
|
77 |
+
#: inc/spiko/sections/spiko-services-section.php:21
|
78 |
+
#: inc/spiko/sections/spiko-services-section.php:30
|
79 |
msgid ""
|
80 |
"Sed ut perspiciatis unde "
|
81 |
"omnis iste natus error "
|
91 |
#: inc/honeypress/sections/honeypress-service-section.php:203
|
92 |
#: inc/spice-software/customizer.php:21
|
93 |
#: inc/spice-software/sections/spice-software-services-section.php:20
|
94 |
+
#: inc/spiko/customizer.php:21
|
95 |
+
#: inc/spiko/sections/spiko-services-section.php:20
|
96 |
msgid "Blandit-Gravida"
|
97 |
msgstr ""
|
98 |
|
102 |
#: inc/honeypress/sections/honeypress-service-section.php:211
|
103 |
#: inc/spice-software/customizer.php:30
|
104 |
#: inc/spice-software/sections/spice-software-services-section.php:29
|
105 |
+
#: inc/spiko/customizer.php:30
|
106 |
+
#: inc/spiko/sections/spiko-services-section.php:29
|
107 |
msgid "Justo Bibendum"
|
108 |
msgstr ""
|
109 |
|
134 |
#: inc/spice-software/sections/spice-software-news-section.php:94
|
135 |
#: inc/spice-software/sections/spice-software-news-section.php:173
|
136 |
#: inc/spice-software/sections/spice-software-slider-section.php:21
|
137 |
+
#: inc/spiko/customizer/news-section.php:55
|
138 |
+
#: inc/spiko/customizer/news-section.php:87
|
139 |
+
#: inc/spiko/customizer/slider-section.php:240
|
140 |
+
#: inc/spiko/sections/spiko-news-section.php:31
|
141 |
+
#: inc/spiko/sections/spiko-slider-section.php:23
|
142 |
msgid "Cras Vitae"
|
143 |
msgstr ""
|
144 |
|
162 |
#: inc/innofit/sections/innofit-team-section.php:132
|
163 |
#: inc/spice-software/customizer.php:109
|
164 |
#: inc/spice-software/sections/spice-software-team-section.php:22
|
165 |
+
#: inc/spiko/customizer.php:109
|
166 |
+
#: inc/spiko/sections/spiko-team-section.php:21
|
167 |
msgid "Senior Manager"
|
168 |
msgstr ""
|
169 |
|
173 |
#: inc/innofit/sections/innofit-team-section.php:149
|
174 |
#: inc/spice-software/customizer.php:142
|
175 |
#: inc/spice-software/sections/spice-software-team-section.php:55
|
176 |
+
#: inc/spiko/customizer.php:142
|
177 |
+
#: inc/spiko/sections/spiko-team-section.php:53
|
178 |
msgid "Founder & CEO"
|
179 |
msgstr ""
|
180 |
|
184 |
#: inc/innofit/sections/innofit-team-section.php:166
|
185 |
#: inc/spice-software/customizer.php:175
|
186 |
#: inc/spice-software/sections/spice-software-team-section.php:88
|
187 |
+
#: inc/spiko/customizer.php:175
|
188 |
+
#: inc/spiko/sections/spiko-team-section.php:85
|
189 |
msgid "Web Master"
|
190 |
msgstr ""
|
191 |
|
195 |
#: inc/innofit/sections/innofit-team-section.php:183
|
196 |
#: inc/spice-software/customizer.php:208
|
197 |
#: inc/spice-software/sections/spice-software-team-section.php:121
|
198 |
+
#: inc/spiko/customizer.php:208
|
199 |
+
#: inc/spiko/sections/spiko-team-section.php:117
|
200 |
msgid "UI Developer"
|
201 |
msgstr ""
|
202 |
|
203 |
#: inc/busicare/customizer.php:238
|
204 |
#: inc/spice-software/customizer.php:252
|
205 |
+
#: inc/spiko/customizer.php:252
|
206 |
msgid ""
|
207 |
"Homepage Section Settings"
|
208 |
msgstr ""
|
209 |
|
210 |
#: inc/busicare/customizer/news-section.php:13
|
211 |
#: inc/spice-software/customizer/news-section.php:4
|
212 |
+
#: inc/spiko/customizer/news-section.php:4
|
213 |
msgid ""
|
214 |
"Latest News Settings"
|
215 |
msgstr ""
|
216 |
|
217 |
#: inc/busicare/customizer/news-section.php:27
|
218 |
#: inc/spice-software/customizer/news-section.php:18
|
219 |
+
#: inc/spiko/customizer/news-section.php:18
|
220 |
msgid ""
|
221 |
"Enable/Disable Latest "
|
222 |
"News Section"
|
227 |
#: inc/busicare/sections/busicare-news-section.php:17
|
228 |
#: inc/spice-software/customizer/news-section.php:28
|
229 |
#: inc/spice-software/sections/spice-software-news-section.php:17
|
230 |
+
#: inc/spiko/customizer/news-section.php:40
|
231 |
+
#: inc/spiko/sections/spiko-news-section.php:51
|
232 |
msgid "Vitae Lacinia"
|
233 |
msgstr ""
|
234 |
|
272 |
#: inc/spicepress/features/feature-slider-section.php:76
|
273 |
#: inc/spicepress/features/feature-testimonial-section.php:70
|
274 |
#: inc/spicepress/features/feature-testimonial-section.php:136
|
275 |
+
#: inc/spiko/customizer/news-section.php:45
|
276 |
+
#: inc/spiko/customizer/services-section.php:46
|
277 |
+
#: inc/spiko/customizer/slider-section.php:181
|
278 |
+
#: inc/spiko/customizer/team-section.php:42
|
279 |
+
#: inc/spiko/customizer/testimonial-section.php:42
|
280 |
msgid "Title"
|
281 |
msgstr ""
|
282 |
|
285 |
#: inc/busicare/sections/busicare-news-section.php:18
|
286 |
#: inc/spice-software/customizer/news-section.php:41
|
287 |
#: inc/spice-software/sections/spice-software-news-section.php:18
|
288 |
+
#: inc/spiko/customizer/news-section.php:26
|
289 |
+
#: inc/spiko/sections/spiko-news-section.php:52
|
290 |
msgid "Cras Vitae Placerat"
|
291 |
msgstr ""
|
292 |
|
300 |
#: inc/spice-software/customizer/services-section.php:47
|
301 |
#: inc/spice-software/customizer/team-section.php:42
|
302 |
#: inc/spice-software/customizer/testimonial-section.php:43
|
303 |
+
#: inc/spiko/customizer/news-section.php:31
|
304 |
+
#: inc/spiko/customizer/services-section.php:31
|
305 |
+
#: inc/spiko/customizer/slider-section.php:168
|
306 |
+
#: inc/spiko/customizer/team-section.php:30
|
307 |
+
#: inc/spiko/customizer/testimonial-section.php:29
|
308 |
msgid "Sub Title"
|
309 |
msgstr ""
|
310 |
|
311 |
#: inc/busicare/customizer/news-section.php:69
|
312 |
#: inc/spice-software/customizer/news-section.php:60
|
313 |
+
#: inc/spiko/customizer/news-section.php:60
|
314 |
msgid "Read More Text"
|
315 |
msgstr ""
|
316 |
|
317 |
#: inc/busicare/customizer/news-section.php:86
|
318 |
#: inc/spice-software/customizer/news-section.php:77
|
319 |
+
#: inc/spiko/customizer/news-section.php:77
|
320 |
msgid ""
|
321 |
"Enable/Disable post meta "
|
322 |
"in blog section"
|
329 |
|
330 |
#: inc/busicare/customizer/news-section.php:105
|
331 |
#: inc/spice-software/customizer/news-section.php:96
|
332 |
+
#: inc/spiko/customizer/news-section.php:96
|
333 |
msgid ""
|
334 |
"View More Button Text"
|
335 |
msgstr ""
|
336 |
|
337 |
#: inc/busicare/customizer/news-section.php:123
|
338 |
#: inc/spice-software/customizer/news-section.php:114
|
339 |
+
#: inc/spiko/customizer/news-section.php:114
|
340 |
msgid ""
|
341 |
"View More Button Link"
|
342 |
msgstr ""
|
356 |
#: inc/spice-software/customizer/slider-section.php:216
|
357 |
#: inc/spice-software/customizer/slider-section.php:254
|
358 |
#: inc/spicepress/features/feature-slider-section.php:126
|
359 |
+
#: inc/spiko/customizer/news-section.php:131
|
360 |
+
#: inc/spiko/customizer/slider-section.php:232
|
361 |
+
#: inc/spiko/customizer/slider-section.php:270
|
362 |
msgid ""
|
363 |
"Open link in new tab"
|
364 |
msgstr ""
|
365 |
|
366 |
#: inc/busicare/customizer/services-section.php:3
|
367 |
#: inc/spice-software/customizer/services-section.php:3
|
368 |
+
#: inc/spiko/customizer/services-section.php:3
|
369 |
msgid "Services Settings"
|
370 |
msgstr ""
|
371 |
|
372 |
#: inc/busicare/customizer/services-section.php:16
|
373 |
#: inc/spice-software/customizer/services-section.php:16
|
374 |
+
#: inc/spiko/customizer/services-section.php:16
|
375 |
msgid ""
|
376 |
"Enable/Disable Service "
|
377 |
"Section"
|
394 |
#: inc/honeypress/sections/honeypress-service-section.php:24
|
395 |
#: inc/spice-software/customizer/services-section.php:40
|
396 |
#: inc/spice-software/sections/spice-software-services-section.php:39
|
397 |
+
#: inc/spiko/customizer/services-section.php:25
|
398 |
+
#: inc/spiko/sections/spiko-services-section.php:39
|
399 |
msgid "Fusce Sed Massa"
|
400 |
msgstr ""
|
401 |
|
404 |
#: inc/honeypress/features/feature-service-section.php:56
|
405 |
#: inc/spice-software/customizer/services-section.php:59
|
406 |
#: inc/spicepress/features/feature-service-section.php:63
|
407 |
+
#: inc/spiko/customizer/services-section.php:57
|
408 |
msgid "Service content"
|
409 |
msgstr ""
|
410 |
|
419 |
#: inc/innofit/default-pages/home-custom-menu.php:19
|
420 |
#: inc/spice-software/customizer/services-section.php:63
|
421 |
#: inc/spicepress/features/feature-service-section.php:67
|
422 |
+
#: inc/spiko/customizer/services-section.php:61
|
423 |
msgid "Service"
|
424 |
msgstr ""
|
425 |
|
428 |
#: inc/honeypress/features/feature-service-section.php:74
|
429 |
#: inc/innofit/customizer/services-section.php:72
|
430 |
#: inc/spice-software/customizer/services-section.php:77
|
431 |
+
#: inc/spiko/customizer/services-section.php:75
|
432 |
msgid ""
|
433 |
"To add More Service? Then"
|
434 |
msgstr ""
|
442 |
#: inc/innofit/customizer/testimonial-section.php:106
|
443 |
#: inc/innofit/customizer/testimonial-section.php:138
|
444 |
#: inc/spice-software/customizer/services-section.php:78
|
445 |
+
#: inc/spiko/customizer/services-section.php:76
|
446 |
msgid "Upgrade to Plus"
|
447 |
msgstr ""
|
448 |
|
449 |
#: inc/busicare/customizer/slider-section.php:14
|
450 |
#: inc/spice-software/customizer/slider-section.php:5
|
451 |
+
#: inc/spiko/customizer/slider-section.php:5
|
452 |
msgid "Slider Settings"
|
453 |
msgstr ""
|
454 |
|
455 |
#: inc/busicare/customizer/slider-section.php:27
|
456 |
#: inc/spice-software/customizer/slider-section.php:18
|
457 |
+
#: inc/spiko/customizer/slider-section.php:18
|
458 |
msgid ""
|
459 |
"Enable/Disable Slider "
|
460 |
"Section"
|
463 |
#: inc/busicare/customizer/slider-section.php:38
|
464 |
#: inc/honeypress/features/feature-slider-section.php:31
|
465 |
#: inc/spice-software/customizer/slider-section.php:29
|
466 |
+
#: inc/spiko/customizer/slider-section.php:29
|
467 |
msgid ""
|
468 |
"Slider Background Type"
|
469 |
msgstr ""
|
489 |
#: inc/spicepress/features/feature-portfolio-section.php:157
|
490 |
#: inc/spicepress/features/feature-slider-section.php:35
|
491 |
#: inc/spicepress/features/feature-testimonial-section.php:105
|
492 |
+
#: inc/spiko/customizer/slider-section.php:34
|
493 |
+
#: inc/spiko/customizer/slider-section.php:103
|
494 |
msgid "Image"
|
495 |
msgstr ""
|
496 |
|
499 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:757
|
500 |
#: inc/honeypress/features/feature-slider-section.php:36
|
501 |
#: inc/spice-software/customizer/slider-section.php:35
|
502 |
+
#: inc/spiko/customizer/slider-section.php:35
|
503 |
msgid "Video"
|
504 |
msgstr ""
|
505 |
|
506 |
#: inc/busicare/customizer/slider-section.php:58
|
507 |
#: inc/honeypress/features/feature-slider-section.php:50
|
508 |
#: inc/spice-software/customizer/slider-section.php:49
|
509 |
+
#: inc/spiko/customizer/slider-section.php:49
|
510 |
msgid "Slider video"
|
511 |
msgstr ""
|
512 |
|
513 |
#: inc/busicare/customizer/slider-section.php:59
|
514 |
#: inc/honeypress/features/feature-slider-section.php:51
|
515 |
#: inc/spice-software/customizer/slider-section.php:50
|
516 |
+
#: inc/spiko/customizer/slider-section.php:50
|
517 |
msgid ""
|
518 |
"Upload your video in ."
|
519 |
"mp4 format and minimize "
|
529 |
#: inc/honeypress/features/feature-slider-section.php:60
|
530 |
#: inc/spice-software/customizer/slider-section.php:55
|
531 |
#: inc/spice-software/customizer/slider-section.php:60
|
532 |
+
#: inc/spiko/customizer/slider-section.php:55
|
533 |
+
#: inc/spiko/customizer/slider-section.php:60
|
534 |
msgid "Select File"
|
535 |
msgstr ""
|
536 |
|
537 |
#: inc/busicare/customizer/slider-section.php:65
|
538 |
#: inc/honeypress/features/feature-slider-section.php:56
|
539 |
#: inc/spice-software/customizer/slider-section.php:56
|
540 |
+
#: inc/spiko/customizer/slider-section.php:56
|
541 |
msgid "Change File"
|
542 |
msgstr ""
|
543 |
|
544 |
#: inc/busicare/customizer/slider-section.php:66
|
545 |
#: inc/honeypress/features/feature-slider-section.php:57
|
546 |
#: inc/spice-software/customizer/slider-section.php:57
|
547 |
+
#: inc/spiko/customizer/slider-section.php:57
|
548 |
msgid "Default"
|
549 |
msgstr ""
|
550 |
|
551 |
#: inc/busicare/customizer/slider-section.php:67
|
552 |
#: inc/honeypress/features/feature-slider-section.php:58
|
553 |
#: inc/spice-software/customizer/slider-section.php:58
|
554 |
+
#: inc/spiko/customizer/slider-section.php:58
|
555 |
msgid "Remove"
|
556 |
msgstr ""
|
557 |
|
558 |
#: inc/busicare/customizer/slider-section.php:68
|
559 |
#: inc/honeypress/features/feature-slider-section.php:59
|
560 |
#: inc/spice-software/customizer/slider-section.php:59
|
561 |
+
#: inc/spiko/customizer/slider-section.php:59
|
562 |
msgid "No file selected"
|
563 |
msgstr ""
|
564 |
|
565 |
#: inc/busicare/customizer/slider-section.php:70
|
566 |
#: inc/honeypress/features/feature-slider-section.php:61
|
567 |
#: inc/spice-software/customizer/slider-section.php:61
|
568 |
+
#: inc/spiko/customizer/slider-section.php:61
|
569 |
msgid "Choose File"
|
570 |
msgstr ""
|
571 |
|
572 |
#: inc/busicare/customizer/slider-section.php:83
|
573 |
#: inc/honeypress/features/feature-slider-section.php:75
|
574 |
#: inc/spice-software/customizer/slider-section.php:74
|
575 |
+
#: inc/spiko/customizer/slider-section.php:74
|
576 |
msgid ""
|
577 |
"Or, enter a YouTube URL:"
|
578 |
msgstr ""
|
579 |
|
580 |
#: inc/busicare/customizer/slider-section.php:118
|
581 |
#: inc/spice-software/customizer/slider-section.php:115
|
582 |
+
#: inc/spiko/customizer/slider-section.php:119
|
583 |
msgid ""
|
584 |
"Enable/Disable slider "
|
585 |
"image overlay"
|
591 |
#: inc/innofit/customizer/slider-section.php:60
|
592 |
#: inc/spice-software/customizer/slider-section.php:130
|
593 |
#: inc/spicepress/features/feature-slider-section.php:63
|
594 |
+
#: inc/spiko/customizer/slider-section.php:134
|
595 |
msgid ""
|
596 |
"Slider image overlay "
|
597 |
"color"
|
600 |
#: inc/busicare/customizer/slider-section.php:149
|
601 |
#: inc/honeypress/features/feature-slider-section.php:155
|
602 |
#: inc/spice-software/customizer/slider-section.php:146
|
603 |
+
#: inc/spiko/customizer/slider-section.php:150
|
604 |
msgid ""
|
605 |
"Slider Content Alignment"
|
606 |
msgstr ""
|
608 |
#: inc/busicare/customizer/slider-section.php:153
|
609 |
#: inc/honeypress/features/feature-slider-section.php:158
|
610 |
#: inc/spice-software/customizer/slider-section.php:150
|
611 |
+
#: inc/spiko/customizer/slider-section.php:154
|
612 |
msgid "Left"
|
613 |
msgstr ""
|
614 |
|
615 |
#: inc/busicare/customizer/slider-section.php:154
|
616 |
#: inc/honeypress/features/feature-slider-section.php:159
|
617 |
#: inc/spice-software/customizer/slider-section.php:151
|
618 |
+
#: inc/spiko/customizer/slider-section.php:155
|
619 |
msgid "Center"
|
620 |
msgstr ""
|
621 |
|
622 |
#: inc/busicare/customizer/slider-section.php:155
|
623 |
#: inc/honeypress/features/feature-slider-section.php:160
|
624 |
#: inc/spice-software/customizer/slider-section.php:152
|
625 |
+
#: inc/spiko/customizer/slider-section.php:156
|
626 |
msgid "Right"
|
627 |
msgstr ""
|
628 |
|
639 |
#: inc/honeypress/sections/honeypress-slider-section.php:25
|
640 |
#: inc/spice-software/customizer/slider-section.php:160
|
641 |
#: inc/spice-software/sections/spice-software-slider-section.php:15
|
642 |
+
#: inc/spiko/customizer/slider-section.php:176
|
643 |
+
#: inc/spiko/sections/spiko-slider-section.php:16
|
644 |
msgid ""
|
645 |
"Nulla nec dolor sit amet "
|
646 |
"lacus molestie"
|
650 |
#: inc/cloudpress/features/feature-slider-section.php:84
|
651 |
#: inc/honeypress/features/feature-slider-section.php:181
|
652 |
#: inc/spice-software/customizer/slider-section.php:173
|
653 |
+
#: inc/spiko/customizer/slider-section.php:189
|
654 |
msgid ""
|
655 |
"Sea summo mazim ex, ea "
|
656 |
"errem eleifend "
|
690 |
#: inc/spicepress/features/feature-slider-section.php:88
|
691 |
#: inc/spicepress/features/feature-testimonial-section.php:83
|
692 |
#: inc/spicepress/features/feature-testimonial-section.php:122
|
693 |
+
#: inc/spiko/customizer/slider-section.php:193
|
694 |
msgid "Description"
|
695 |
msgstr ""
|
696 |
|
702 |
#: inc/honeypress/sections/honeypress-slider-section.php:28
|
703 |
#: inc/spice-software/customizer/slider-section.php:186
|
704 |
#: inc/spice-software/sections/spice-software-slider-section.php:17
|
705 |
+
#: inc/spiko/customizer/slider-section.php:202
|
706 |
+
#: inc/spiko/sections/spiko-slider-section.php:19
|
707 |
msgid "Nec Sem"
|
708 |
msgstr ""
|
709 |
|
718 |
#: inc/innofit/customizer/slider-section.php:98
|
719 |
#: inc/spice-software/customizer/slider-section.php:190
|
720 |
#: inc/spicepress/features/feature-slider-section.php:101
|
721 |
+
#: inc/spiko/customizer/slider-section.php:206
|
722 |
msgid "Button Text"
|
723 |
msgstr ""
|
724 |
|
739 |
#: inc/spice-software/customizer/slider-section.php:236
|
740 |
#: inc/spice-software/sections/spice-software-news-section.php:6
|
741 |
#: inc/spicepress/features/feature-slider-section.php:108
|
742 |
+
#: inc/spiko/customizer/slider-section.php:214
|
743 |
+
#: inc/spiko/customizer/slider-section.php:252
|
744 |
+
#: inc/spiko/sections/spiko-news-section.php:30
|
745 |
msgid "#"
|
746 |
msgstr ""
|
747 |
|
753 |
#: inc/innofit/customizer/slider-section.php:110
|
754 |
#: inc/spice-software/customizer/slider-section.php:202
|
755 |
#: inc/spicepress/features/feature-slider-section.php:113
|
756 |
+
#: inc/spiko/customizer/slider-section.php:218
|
757 |
msgid "Button Link"
|
758 |
msgstr ""
|
759 |
|
761 |
#: inc/cloudpress/features/feature-slider-section.php:139
|
762 |
#: inc/honeypress/features/feature-slider-section.php:236
|
763 |
#: inc/spice-software/customizer/slider-section.php:228
|
764 |
+
#: inc/spiko/customizer/slider-section.php:244
|
765 |
msgid "Button 2 Text"
|
766 |
msgstr ""
|
767 |
|
769 |
#: inc/cloudpress/features/feature-slider-section.php:151
|
770 |
#: inc/honeypress/features/feature-slider-section.php:248
|
771 |
#: inc/spice-software/customizer/slider-section.php:240
|
772 |
+
#: inc/spiko/customizer/slider-section.php:256
|
773 |
msgid "Button 2 Link"
|
774 |
msgstr ""
|
775 |
|
776 |
#: inc/busicare/customizer/team-section.php:13
|
777 |
#: inc/cloudpress/features/feature-team-section.php:8
|
778 |
#: inc/spice-software/customizer/team-section.php:5
|
779 |
+
#: inc/spiko/customizer/team-section.php:5
|
780 |
msgid "Team Settings"
|
781 |
msgstr ""
|
782 |
|
783 |
#: inc/busicare/customizer/team-section.php:25
|
784 |
#: inc/spice-software/customizer/team-section.php:17
|
785 |
+
#: inc/spiko/customizer/team-section.php:17
|
786 |
msgid ""
|
787 |
"Enable/Disable Team "
|
788 |
"Section"
|
804 |
#: inc/innofit/customizer/team-section.php:53
|
805 |
#: inc/spice-software/customizer/team-section.php:57
|
806 |
#: inc/spice-software/customizer/team-section.php:76
|
807 |
+
#: inc/spiko/customizer/team-section.php:59
|
808 |
msgid "Team content"
|
809 |
msgstr ""
|
810 |
|
817 |
#: inc/innofit/customizer/team-section.php:57
|
818 |
#: inc/spice-software/customizer/team-section.php:61
|
819 |
#: inc/spice-software/customizer/team-section.php:80
|
820 |
+
#: inc/spiko/customizer/team-section.php:63
|
821 |
msgid "Team Member"
|
822 |
msgstr ""
|
823 |
|
826 |
#: inc/cloudpress/features/feature-team-section.php:94
|
827 |
#: inc/spice-software/customizer/team-section.php:114
|
828 |
#: inc/spice-software/customizer/testimonial-section.php:114
|
829 |
+
#: inc/spiko/customizer/team-section.php:98
|
830 |
+
#: inc/spiko/customizer/testimonial-section.php:96
|
831 |
msgid "Navigation Style"
|
832 |
msgstr ""
|
833 |
|
836 |
#: inc/cloudpress/features/feature-team-section.php:99
|
837 |
#: inc/spice-software/customizer/team-section.php:119
|
838 |
#: inc/spice-software/customizer/testimonial-section.php:119
|
839 |
+
#: inc/spiko/customizer/team-section.php:103
|
840 |
+
#: inc/spiko/customizer/testimonial-section.php:101
|
841 |
msgid "Bullets"
|
842 |
msgstr ""
|
843 |
|
846 |
#: inc/cloudpress/features/feature-team-section.php:100
|
847 |
#: inc/spice-software/customizer/team-section.php:120
|
848 |
#: inc/spice-software/customizer/testimonial-section.php:120
|
849 |
+
#: inc/spiko/customizer/team-section.php:104
|
850 |
+
#: inc/spiko/customizer/testimonial-section.php:102
|
851 |
msgid "Navigation"
|
852 |
msgstr ""
|
853 |
|
856 |
#: inc/cloudpress/features/feature-team-section.php:101
|
857 |
#: inc/spice-software/customizer/team-section.php:121
|
858 |
#: inc/spice-software/customizer/testimonial-section.php:121
|
859 |
+
#: inc/spiko/customizer/team-section.php:105
|
860 |
+
#: inc/spiko/customizer/testimonial-section.php:103
|
861 |
msgid "Both"
|
862 |
msgstr ""
|
863 |
|
864 |
#: inc/busicare/customizer/testimonial-section.php:4
|
865 |
#: inc/spice-software/customizer/testimonial-section.php:5
|
866 |
+
#: inc/spiko/customizer/testimonial-section.php:4
|
867 |
msgid ""
|
868 |
"Testimonials Settings"
|
869 |
msgstr ""
|
870 |
|
871 |
#: inc/busicare/customizer/testimonial-section.php:17
|
872 |
#: inc/spice-software/customizer/testimonial-section.php:18
|
873 |
+
#: inc/spiko/customizer/testimonial-section.php:17
|
874 |
msgid ""
|
875 |
"Enable/Disable "
|
876 |
"Testimonial Section"
|
883 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:40
|
884 |
#: inc/spice-software/customizer/testimonial-section.php:26
|
885 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:20
|
886 |
+
#: inc/spiko/customizer/testimonial-section.php:38
|
887 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:23
|
888 |
msgid "Proin Egestas"
|
889 |
msgstr ""
|
890 |
|
891 |
#: inc/busicare/customizer/testimonial-section.php:40
|
892 |
#: inc/innofit/customizer/testimonial-section.php:89
|
893 |
#: inc/spice-software/customizer/testimonial-section.php:54
|
894 |
+
#: inc/spiko/customizer/testimonial-section.php:57
|
895 |
+
#: inc/spiko/customizer/testimonial-section.php:77
|
896 |
msgid "Testimonial content"
|
897 |
msgstr ""
|
898 |
|
903 |
#: inc/busicare/customizer/testimonial-section.php:43
|
904 |
#: inc/innofit/customizer/testimonial-section.php:92
|
905 |
#: inc/spice-software/customizer/testimonial-section.php:57
|
906 |
+
#: inc/spiko/customizer/testimonial-section.php:60
|
907 |
+
#: inc/spiko/customizer/testimonial-section.php:80
|
908 |
msgid "Testimonial"
|
909 |
msgstr ""
|
910 |
|
916 |
#: inc/innofit/customizer/testimonial-section.php:27
|
917 |
#: inc/spice-software/customizer/testimonial-section.php:76
|
918 |
#: inc/spicepress/features/feature-testimonial-section.php:31
|
919 |
+
#: inc/spiko/customizer/testimonial-section.php:123
|
920 |
msgid "Background Image"
|
921 |
msgstr ""
|
922 |
|
930 |
#: inc/innofit/customizer/testimonial-section.php:52
|
931 |
#: inc/spice-software/customizer/testimonial-section.php:104
|
932 |
#: inc/spicepress/features/feature-testimonial-section.php:56
|
933 |
+
#: inc/spiko/customizer/testimonial-section.php:156
|
934 |
msgid ""
|
935 |
"Testimonial image "
|
936 |
"overlay color"
|
943 |
|
944 |
#: inc/busicare/sections/busicare-news-section.php:94
|
945 |
#: inc/innofit/sections/innofit-news-section.php:97
|
946 |
+
#: inc/spiko/sections/spiko-news-section.php:126
|
947 |
msgid "Read More"
|
948 |
msgstr ""
|
949 |
|
951 |
#: inc/cloudpress/sections/cloudpress-slider-section.php:12
|
952 |
#: inc/honeypress/sections/honeypress-slider-section.php:27
|
953 |
#: inc/spice-software/sections/spice-software-slider-section.php:16
|
954 |
+
#: inc/spiko/sections/spiko-slider-section.php:18
|
955 |
msgid ""
|
956 |
"Sea summo mazim ex, ea "
|
957 |
"errem eleifend "
|
968 |
#: inc/honeypress/sections/honeypress-testimonail-section.php:41
|
969 |
#: inc/spice-software/customizer/testimonial-section.php:39
|
970 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:21
|
971 |
+
#: inc/spiko/customizer/testimonial-section.php:25
|
972 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:24
|
973 |
msgid ""
|
974 |
"Nam Viverra Iaculis "
|
975 |
"Finibus"
|
1130 |
#: inc/innofit/customizer/services-section.php:59
|
1131 |
#: inc/spice-software/customizer/services-section.php:62
|
1132 |
#: inc/spicepress/features/feature-service-section.php:66
|
1133 |
+
#: inc/spiko/customizer/services-section.php:60
|
1134 |
msgid "Add new Service"
|
1135 |
msgstr ""
|
1136 |
|
1178 |
#: inc/innofit/customizer/team-section.php:56
|
1179 |
#: inc/spice-software/customizer/team-section.php:60
|
1180 |
#: inc/spice-software/customizer/team-section.php:79
|
1181 |
+
#: inc/spiko/customizer/team-section.php:62
|
1182 |
msgid "Add new Team Member"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
#: inc/cloudpress/features/feature-team-section.php:78
|
1186 |
#: inc/spice-software/customizer/team-section.php:97
|
1187 |
#: inc/spice-software/customizer/testimonial-section.php:130
|
1188 |
+
#: inc/spiko/customizer/team-section.php:81
|
1189 |
+
#: inc/spiko/customizer/testimonial-section.php:166
|
1190 |
msgid "Animation speed"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
#: inc/cloudpress/features/feature-team-section.php:110
|
1194 |
#: inc/spice-software/customizer/team-section.php:130
|
1195 |
#: inc/spice-software/customizer/testimonial-section.php:147
|
1196 |
+
#: inc/spiko/customizer/team-section.php:114
|
1197 |
+
#: inc/spiko/customizer/testimonial-section.php:183
|
1198 |
msgid "Smooth speed"
|
1199 |
msgstr ""
|
1200 |
|
1642 |
#: inc/innofit/sections/innofit-testimonial-section.php:95
|
1643 |
#: inc/spice-software/customizer.php:57
|
1644 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:31
|
1645 |
+
#: inc/spiko/customizer.php:57
|
1646 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:38
|
1647 |
msgid "Developer"
|
1648 |
msgstr ""
|
1649 |
|
1651 |
#: inc/innofit/sections/innofit-testimonial-section.php:95
|
1652 |
#: inc/spice-software/customizer.php:69
|
1653 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:43
|
1654 |
+
#: inc/spiko/customizer.php:69
|
1655 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:50
|
1656 |
msgid "Team Leader"
|
1657 |
msgstr ""
|
1658 |
|
1660 |
#: inc/innofit/sections/innofit-testimonial-section.php:95
|
1661 |
#: inc/spice-software/customizer.php:81
|
1662 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:55
|
1663 |
+
#: inc/spiko/customizer.php:81
|
1664 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:62
|
1665 |
msgid "Volunteer"
|
1666 |
msgstr ""
|
1667 |
|
1998 |
#: inc/innofit/customizer/testimonial-section.php:39
|
1999 |
#: inc/spice-software/customizer/testimonial-section.php:90
|
2000 |
#: inc/spicepress/features/feature-testimonial-section.php:43
|
2001 |
+
#: inc/spiko/customizer/testimonial-section.php:136
|
2002 |
msgid ""
|
2003 |
"Enable testimonial image "
|
2004 |
"overlay"
|
2020 |
|
2021 |
#: inc/innofit/customizer/testimonial-section.php:91
|
2022 |
#: inc/spice-software/customizer/testimonial-section.php:56
|
2023 |
+
#: inc/spiko/customizer/testimonial-section.php:59
|
2024 |
+
#: inc/spiko/customizer/testimonial-section.php:79
|
2025 |
msgid "Add new Testimonial"
|
2026 |
msgstr ""
|
2027 |
|
2093 |
|
2094 |
#: inc/spice-software/customizer.php:56
|
2095 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:30
|
2096 |
+
#: inc/spiko/customizer.php:56
|
2097 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:37
|
2098 |
msgid "Amanda Smith"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
#: inc/spice-software/customizer.php:68
|
2102 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:42
|
2103 |
+
#: inc/spiko/customizer.php:68
|
2104 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:49
|
2105 |
msgid "Travis Cullan"
|
2106 |
msgstr ""
|
2107 |
|
2108 |
#: inc/spice-software/customizer.php:80
|
2109 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:54
|
2110 |
+
#: inc/spiko/customizer.php:80
|
2111 |
+
#: inc/spiko/sections/spiko-testimonial-section.php:61
|
2112 |
msgid "Victoria Wills"
|
2113 |
msgstr ""
|
2114 |
|
2115 |
#: inc/spice-software/customizer/services-section.php:25
|
2116 |
#: inc/spice-software/sections/spice-software-services-section.php:38
|
2117 |
+
#: inc/spiko/customizer/services-section.php:40
|
2118 |
+
#: inc/spiko/sections/spiko-services-section.php:38
|
2119 |
msgid "Quisque Blandit"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
#: inc/spice-software/customizer/team-section.php:25
|
2123 |
#: inc/spice-software/sections/spice-software-team-section.php:158
|
2124 |
+
#: inc/spiko/customizer/team-section.php:38
|
2125 |
+
#: inc/spiko/sections/spiko-team-section.php:161
|
2126 |
msgid "Magna Aliqua"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
#: inc/spice-software/customizer/team-section.php:37
|
2130 |
#: inc/spice-software/sections/spice-software-team-section.php:159
|
2131 |
+
#: inc/spiko/customizer/team-section.php:25
|
2132 |
+
#: inc/spiko/sections/spiko-team-section.php:162
|
2133 |
msgid ""
|
2134 |
"Ullamco Laboris Nisi"
|
2135 |
msgstr ""
|
2276 |
msgid ""
|
2277 |
"Quis hendrerit purus"
|
2278 |
msgstr ""
|
2279 |
+
|
2280 |
+
#: inc/spiko/customizer/slider-section.php:163
|
2281 |
+
#: inc/spiko/sections/spiko-slider-section.php:17
|
2282 |
+
msgid "Lorem Ipsum"
|
2283 |
+
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.8
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -246,6 +246,10 @@ Fixed minor issues of HoneyPress child themes.
|
|
246 |
3. Compressed all images and removed the unnecessary images.
|
247 |
4. Fixed container setting issue with video slider in HoneyPress theme.
|
248 |
|
|
|
|
|
|
|
|
|
249 |
=======External resources=======
|
250 |
|
251 |
Alpha color picker Control:
|
@@ -319,7 +323,7 @@ License CC0 Public Domain
|
|
319 |
3. https://pxhere.com/en/photo/1602577
|
320 |
4. https://pxhere.com/en/photo/1177664
|
321 |
|
322 |
-
* Image used in Team
|
323 |
License CC0 Public Domain
|
324 |
1. https://pxhere.com/en/photo/645506
|
325 |
2. https://pxhere.com/en/photo/1435981
|
@@ -344,7 +348,7 @@ License CC0 Public Domain
|
|
344 |
2. https://pxhere.com/en/photo/1587727
|
345 |
3. https://pxhere.com/en/photo/1432871
|
346 |
|
347 |
-
* Image used in Team
|
348 |
License CC0 Public Domain
|
349 |
1. https://pxhere.com/en/photo/1421179
|
350 |
2. https://pxhere.com/en/photo/1432871
|
@@ -358,3 +362,22 @@ License CC0 Public Domain
|
|
358 |
|
359 |
* Image used in testimonial
|
360 |
https://pxhere.com/en/photo/827076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.8
|
6 |
+
Stable tag: 1.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
246 |
3. Compressed all images and removed the unnecessary images.
|
247 |
4. Fixed container setting issue with video slider in HoneyPress theme.
|
248 |
|
249 |
+
= 1.9 =
|
250 |
+
1. Added homepage sections for Spiko theme.
|
251 |
+
2. Added homepage sections for Spiko Dark child theme.
|
252 |
+
|
253 |
=======External resources=======
|
254 |
|
255 |
Alpha color picker Control:
|
323 |
3. https://pxhere.com/en/photo/1602577
|
324 |
4. https://pxhere.com/en/photo/1177664
|
325 |
|
326 |
+
* Image used in Team
|
327 |
License CC0 Public Domain
|
328 |
1. https://pxhere.com/en/photo/645506
|
329 |
2. https://pxhere.com/en/photo/1435981
|
348 |
2. https://pxhere.com/en/photo/1587727
|
349 |
3. https://pxhere.com/en/photo/1432871
|
350 |
|
351 |
+
* Image used in Team
|
352 |
License CC0 Public Domain
|
353 |
1. https://pxhere.com/en/photo/1421179
|
354 |
2. https://pxhere.com/en/photo/1432871
|
362 |
|
363 |
* Image used in testimonial
|
364 |
https://pxhere.com/en/photo/827076
|
365 |
+
|
366 |
+
== Spiko Images ==
|
367 |
+
|
368 |
+
* Image used in slider
|
369 |
+
License CC0 Public Domain
|
370 |
+
https://pxhere.com/en/photo/109465
|
371 |
+
|
372 |
+
* Image used in testimonial
|
373 |
+
License CC0 Public Domain
|
374 |
+
1. https://pxhere.com/en/photo/642874
|
375 |
+
2. https://pxhere.com/en/photo/1602577
|
376 |
+
3. https://pxhere.com/en/photo/1177664
|
377 |
+
|
378 |
+
* Image used in Team
|
379 |
+
License CC0 Public Domain
|
380 |
+
1. https://pxhere.com/en/photo/645506
|
381 |
+
2. https://pxhere.com/en/photo/1435981
|
382 |
+
3. https://pxhere.com/en/photo/527825
|
383 |
+
4. https://pxhere.com/en/photo/1052708
|
spicebox.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: SpiceBox
|
4 |
Description: Enhances SpiceThemes with extra functionality.
|
5 |
-
Version: 1.
|
6 |
Author: Spicethemes
|
7 |
Author URI: https://spicethemes.com
|
8 |
Text Domain: spicebox
|
@@ -244,6 +244,53 @@ function spiceb_activate() {
|
|
244 |
endif;
|
245 |
}
|
246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
}
|
248 |
add_action( 'init', 'spiceb_activate' );
|
249 |
|
@@ -343,7 +390,7 @@ if ( 'BusiCare' == $theme->name || 'BusiCare Child' == $theme->name || 'BusiCare
|
|
343 |
}
|
344 |
|
345 |
// Spice Software
|
346 |
-
if ( 'Spice Software' == $theme->name || 'Spice Software Dark' == $theme->name || 'Spice Software Child' == $theme->name){
|
347 |
register_activation_hook( __FILE__, 'spiceb_spice_software_install_function');
|
348 |
function spiceb_spice_software_install_function(){
|
349 |
$item_details_page = get_option('item_details_page');
|
@@ -357,6 +404,20 @@ if ( 'Spice Software' == $theme->name || 'Spice Software Dark' == $theme->name
|
|
357 |
}
|
358 |
}
|
359 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
|
361 |
//Sanatize text
|
362 |
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
@@ -399,6 +460,16 @@ function spiceb_spice_software_sanitize_checkbox($checked) {
|
|
399 |
return ( ( isset($checked) && true == $checked ) ? true : false );
|
400 |
}
|
401 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
403 |
|
404 |
|
2 |
/*
|
3 |
Plugin Name: SpiceBox
|
4 |
Description: Enhances SpiceThemes with extra functionality.
|
5 |
+
Version: 1.9
|
6 |
Author: Spicethemes
|
7 |
Author URI: https://spicethemes.com
|
8 |
Text Domain: spicebox
|
244 |
endif;
|
245 |
}
|
246 |
|
247 |
+
|
248 |
+
//Spiko
|
249 |
+
if ( 'Spiko' == $theme->name || 'Spiko Child' == $theme->name || 'Spiko Dark' == $theme->name){
|
250 |
+
|
251 |
+
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
252 |
+
|
253 |
+
if ( ! is_plugin_active( 'spiko-plus/spiko-plus.php' ) ):
|
254 |
+
|
255 |
+
require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
|
256 |
+
require_once('inc/controls/customizer-repeater/functions.php');
|
257 |
+
require ('inc/controls/customizer-text-radio/customizer-text-radio.php');
|
258 |
+
|
259 |
+
if ( ! function_exists( 'spiceb_spiko_customize_register' ) ) :
|
260 |
+
function spiceb_spiko_customize_register($wp_customize){
|
261 |
+
|
262 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
263 |
+
$sections_customizer_data = array('slider','services','testimonial','team','news');
|
264 |
+
|
265 |
+
|
266 |
+
|
267 |
+
if (!empty($sections_customizer_data))
|
268 |
+
{
|
269 |
+
foreach($sections_customizer_data as $section_customizer_data)
|
270 |
+
{
|
271 |
+
require_once('inc/spiko/customizer/'.$section_customizer_data.'-section.php');
|
272 |
+
}
|
273 |
+
}
|
274 |
+
$wp_customize->remove_control('header_textcolor');
|
275 |
+
|
276 |
+
}
|
277 |
+
add_action( 'customize_register', 'spiceb_spiko_customize_register' );
|
278 |
+
endif;
|
279 |
+
|
280 |
+
$sections_data = array('slider','services','testimonial','team','news');
|
281 |
+
|
282 |
+
if (!empty($sections_data)){
|
283 |
+
|
284 |
+
foreach($sections_data as $section_data){
|
285 |
+
require_once('inc/spiko/sections/spiko-'.$section_data.'-section.php');
|
286 |
+
}
|
287 |
+
}
|
288 |
+
|
289 |
+
require_once('inc/spiko/customizer.php');
|
290 |
+
|
291 |
+
endif;
|
292 |
+
}
|
293 |
+
|
294 |
}
|
295 |
add_action( 'init', 'spiceb_activate' );
|
296 |
|
390 |
}
|
391 |
|
392 |
// Spice Software
|
393 |
+
if ( 'Spice Software' == $theme->name || 'Spice Software Dark' == $theme->name || 'Spice Software Child' == $theme->name){
|
394 |
register_activation_hook( __FILE__, 'spiceb_spice_software_install_function');
|
395 |
function spiceb_spice_software_install_function(){
|
396 |
$item_details_page = get_option('item_details_page');
|
404 |
}
|
405 |
}
|
406 |
|
407 |
+
// Spiko
|
408 |
+
if ( 'Spiko' == $theme->name || 'Spiko Child' == $theme->name || 'Spiko Dark' == $theme->name){
|
409 |
+
register_activation_hook( __FILE__, 'spiceb_spiko_install_function');
|
410 |
+
function spiceb_spiko_install_function(){
|
411 |
+
$item_details_page = get_option('item_details_page');
|
412 |
+
if(!$item_details_page){
|
413 |
+
require_once('inc/spiko/default-pages/upload-media.php');
|
414 |
+
require_once('inc/spiko/default-pages/home-page.php');
|
415 |
+
require_once('inc/spiko/default-pages/blog-page.php');
|
416 |
+
update_option( 'item_details_page', 'Done' );
|
417 |
+
}
|
418 |
+
}
|
419 |
+
}
|
420 |
+
|
421 |
|
422 |
//Sanatize text
|
423 |
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
460 |
return ( ( isset($checked) && true == $checked ) ? true : false );
|
461 |
}
|
462 |
|
463 |
+
//Sanatize for Spiko theme
|
464 |
+
function spiceb_spiko_home_page_sanitize_text($input){
|
465 |
+
return wp_kses_post( force_balance_tags( $input ) );
|
466 |
+
}
|
467 |
+
|
468 |
+
function spiceb_spiko_sanitize_checkbox($checked) {
|
469 |
+
// Boolean check.
|
470 |
+
return ( ( isset($checked) && true == $checked ) ? true : false );
|
471 |
+
}
|
472 |
+
|
473 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
474 |
|
475 |
|