Version Description
- Added homepage sections for WPKites theme.
- Fixed the issues with PHP 8.
=====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 | 2.0 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 2.0
- inc/busicare/sections/busicare-team-section.php +1 -1
- inc/busicare/sections/busicare-testimonial-section.php +1 -1
- inc/controls/customizer-repeater/js/customizer_limit_repeater.js +4 -2
- inc/spice-software/sections/spice-software-team-section.php +2 -2
- inc/spicepress/features/feature-testimonial-section.php +1 -1
- inc/spiko/sections/spiko-team-section.php +1 -1
- inc/wpkites/customizer.php +292 -0
- inc/wpkites/customizer/news-section.php +170 -0
- inc/wpkites/customizer/services-section.php +126 -0
- inc/wpkites/customizer/slider-section.php +280 -0
- inc/wpkites/customizer/team-section.php +145 -0
- inc/wpkites/customizer/testimonial-section.php +134 -0
- inc/wpkites/default-pages/blog-page.php +22 -0
- inc/wpkites/default-pages/home-page.php +24 -0
- inc/wpkites/default-pages/upload-media.php +39 -0
- inc/wpkites/images/logo.png +0 -0
- inc/wpkites/js/front-page/blog.js +53 -0
- inc/wpkites/js/front-page/team.js +54 -0
- inc/wpkites/js/front-page/testi.js +109 -0
- inc/wpkites/sections/wpkites-news-section.php +122 -0
- inc/wpkites/sections/wpkites-services-section.php +143 -0
- inc/wpkites/sections/wpkites-slider-section.php +104 -0
- inc/wpkites/sections/wpkites-team-section.php +226 -0
- inc/wpkites/sections/wpkites-testimonial-section.php +176 -0
- languages/spicebox.pot +153 -1
- readme.txt +5 -1
- spicebox.php +70 -1
inc/busicare/sections/busicare-team-section.php
CHANGED
@@ -209,7 +209,7 @@ if ($team_section_enable != false) {?>
|
|
209 |
<?php
|
210 |
$icons = html_entity_decode($team_item->social_repeater);
|
211 |
$icons_decoded = json_decode($icons, true);
|
212 |
-
$socails_counts =
|
213 |
if (!empty($socails_counts)) :
|
214 |
?> <div class="social-group">
|
215 |
<?php if (!empty($icons_decoded)) : ?>
|
209 |
<?php
|
210 |
$icons = html_entity_decode($team_item->social_repeater);
|
211 |
$icons_decoded = json_decode($icons, true);
|
212 |
+
$socails_counts = $icons_decoded;
|
213 |
if (!empty($socails_counts)) :
|
214 |
?> <div class="social-group">
|
215 |
<?php if (!empty($icons_decoded)) : ?>
|
inc/busicare/sections/busicare-testimonial-section.php
CHANGED
@@ -105,7 +105,7 @@ if(get_theme_mod('testimonial_section_enable',true)==true):?>
|
|
105 |
if ($home_testimonial_clientname != '' || $home_testimonial_designation != '' ) { ?>
|
106 |
<figcaption>
|
107 |
<?php if (!empty($home_testimonial_designation)): ?>
|
108 |
-
<a href="<?php if (empty($home_testimonial_link)) {echo '#';} else { echo esc_url($home_testimonial_link);}?>" <?php if($open_new_tab==
|
109 |
<cite class="name"><?php echo esc_html($home_testimonial_clientname); ?></cite></a>
|
110 |
<?php endif; ?>
|
111 |
<?php if (!empty($home_testimonial_designation)): ?>
|
105 |
if ($home_testimonial_clientname != '' || $home_testimonial_designation != '' ) { ?>
|
106 |
<figcaption>
|
107 |
<?php if (!empty($home_testimonial_designation)): ?>
|
108 |
+
<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 } ?>>
|
109 |
<cite class="name"><?php echo esc_html($home_testimonial_clientname); ?></cite></a>
|
110 |
<?php endif; ?>
|
111 |
<?php if (!empty($home_testimonial_designation)): ?>
|
inc/controls/customizer-repeater/js/customizer_limit_repeater.js
CHANGED
@@ -263,13 +263,14 @@ jQuery(document).ready(function () {
|
|
263 |
* This adds a new box to repeater
|
264 |
*
|
265 |
*/
|
266 |
-
|
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)
|
@@ -368,13 +369,14 @@ jQuery(document).ready(function () {
|
|
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') {
|
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,#customize-control-wpkites_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 |
+
jQuery(".customizer_wpkites_service_upgrade_section").show();
|
274 |
return false;
|
275 |
}
|
276 |
else if(jQuery("#spiceb_service_limit").val()<4)
|
369 |
jQuery(".customizer_busicareservice_upgrade_section").hide();
|
370 |
jQuery(".customizer_spice_software_service_upgrade_section").hide();
|
371 |
jQuery(".customizer_spiko_service_upgrade_section").hide();
|
372 |
+
jQuery(".customizer_wpkites_service_upgrade_section").hide();
|
373 |
}
|
374 |
}
|
375 |
|
376 |
return false;
|
377 |
});
|
378 |
|
379 |
+
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,#customize-control-wpkites_team_content .customizer-repeater-new-field,#customize-control-wpkites_testimonial_content .customizer-repeater-new-field', function () {
|
380 |
var th = jQuery(this).parent();
|
381 |
var id = 'customizer-repeater-' + customizer_repeater_uniqid();
|
382 |
if (typeof th !== 'undefined') {
|
inc/spice-software/sections/spice-software-team-section.php
CHANGED
@@ -201,7 +201,7 @@ if ($team_section_enable != false) {?>
|
|
201 |
<?php
|
202 |
$icons = html_entity_decode($team_item->social_repeater);
|
203 |
$icons_decoded = json_decode($icons, true);
|
204 |
-
$socails_counts =
|
205 |
if (!empty($socails_counts)) :
|
206 |
?> <?php if (!empty($icons_decoded)) : ?>
|
207 |
<ul class="list-inline list-unstyled ml-0 mt-1 mb-1">
|
@@ -285,7 +285,7 @@ if ($team_section_enable != false) {?>
|
|
285 |
<?php
|
286 |
$icons = html_entity_decode($team_item->social_repeater);
|
287 |
$icons_decoded = json_decode($icons, true);
|
288 |
-
$socails_counts =
|
289 |
if (!empty($socails_counts)) :
|
290 |
if (!empty($icons_decoded)) : ?>
|
291 |
<ul class="list-inline list-unstyled">
|
201 |
<?php
|
202 |
$icons = html_entity_decode($team_item->social_repeater);
|
203 |
$icons_decoded = json_decode($icons, true);
|
204 |
+
$socails_counts = $icons_decoded;
|
205 |
if (!empty($socails_counts)) :
|
206 |
?> <?php if (!empty($icons_decoded)) : ?>
|
207 |
<ul class="list-inline list-unstyled ml-0 mt-1 mb-1">
|
285 |
<?php
|
286 |
$icons = html_entity_decode($team_item->social_repeater);
|
287 |
$icons_decoded = json_decode($icons, true);
|
288 |
+
$socails_counts = $icons_decoded;
|
289 |
if (!empty($socails_counts)) :
|
290 |
if (!empty($icons_decoded)) : ?>
|
291 |
<ul class="list-inline list-unstyled">
|
inc/spicepress/features/feature-testimonial-section.php
CHANGED
@@ -130,7 +130,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
|
|
130 |
'capability' => 'edit_theme_options',
|
131 |
'default' => __('Ipsum dolor','spicebox'),
|
132 |
'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
|
133 |
-
'transport' => $selective_refresh,
|
134 |
));
|
135 |
$wp_customize->add_control( 'home_testimonial_title',array(
|
136 |
'label' => __('Title','spicebox'),
|
130 |
'capability' => 'edit_theme_options',
|
131 |
'default' => __('Ipsum dolor','spicebox'),
|
132 |
'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
|
133 |
+
//'transport' => $selective_refresh,
|
134 |
));
|
135 |
$wp_customize->add_control( 'home_testimonial_title',array(
|
136 |
'label' => __('Title','spicebox'),
|
inc/spiko/sections/spiko-team-section.php
CHANGED
@@ -212,7 +212,7 @@ endif;
|
|
212 |
<?php
|
213 |
$icons = html_entity_decode($team_item->social_repeater);
|
214 |
$icons_decoded = json_decode($icons, true);
|
215 |
-
$socails_counts =
|
216 |
if (!empty($socails_counts)) :
|
217 |
if (!empty($icons_decoded)) : ?>
|
218 |
<ul class="list-inline list-unstyled ml-0 mt-3 mb-1">
|
212 |
<?php
|
213 |
$icons = html_entity_decode($team_item->social_repeater);
|
214 |
$icons_decoded = json_decode($icons, true);
|
215 |
+
$socails_counts = $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">
|
inc/wpkites/customizer.php
ADDED
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// WPKites default service data
|
3 |
+
if (!function_exists('spiceb_wpkites_service_default_customize_register')) :
|
4 |
+
|
5 |
+
function spiceb_wpkites_service_default_customize_register($wp_customize) {
|
6 |
+
|
7 |
+
$wpkites_service_content_control = $wp_customize->get_setting('wpkites_service_content');
|
8 |
+
if (!empty($wpkites_service_content_control)) {
|
9 |
+
$wpkites_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_wpkites_service_default_customize_register');
|
42 |
+
|
43 |
+
endif;
|
44 |
+
|
45 |
+
// WPKites default Testimonial data
|
46 |
+
if (!function_exists('spiceb_wpkites_testimonial_default_customize_register')) :
|
47 |
+
|
48 |
+
function spiceb_wpkites_testimonial_default_customize_register($wp_customize) {
|
49 |
+
|
50 |
+
$wpkites_service_content_control = $wp_customize->get_setting('wpkites_testimonial_content');
|
51 |
+
if (!empty($wpkites_service_content_control)) {
|
52 |
+
$wpkites_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 |
+
'link' => '#',
|
59 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user1.jpg',
|
60 |
+
'open_new_tab' => 'no',
|
61 |
+
'id' => 'customizer_repeater_77d7ea7f40b96',
|
62 |
+
),
|
63 |
+
array(
|
64 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
65 |
+
'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.',
|
66 |
+
'clientname' => __('Travis Cullan', 'spicebox'),
|
67 |
+
'designation' => __('Team Leader', 'spicebox'),
|
68 |
+
'link' => '#',
|
69 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user2.jpg',
|
70 |
+
'open_new_tab' => 'no',
|
71 |
+
'id' => 'customizer_repeater_88d7ea7f40b97',
|
72 |
+
),
|
73 |
+
array(
|
74 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
75 |
+
'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.',
|
76 |
+
'clientname' => __('Victoria Wills', 'spicebox'),
|
77 |
+
'designation' => __('Volunteer', 'spicebox'),
|
78 |
+
'link' => '#',
|
79 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user3.jpg',
|
80 |
+
'id' => 'customizer_repeater_11d7ea7f40b98',
|
81 |
+
'open_new_tab' => 'no',
|
82 |
+
),
|
83 |
+
));
|
84 |
+
}
|
85 |
+
}
|
86 |
+
|
87 |
+
add_action('customize_register', 'spiceb_wpkites_testimonial_default_customize_register');
|
88 |
+
|
89 |
+
endif;
|
90 |
+
|
91 |
+
// WPKites default Team data
|
92 |
+
if (!function_exists('spiceb_wpkites_team_default_customize_register')) :
|
93 |
+
|
94 |
+
function spiceb_wpkites_team_default_customize_register($wp_customize) {
|
95 |
+
|
96 |
+
$wpkites_team_content_control = $wp_customize->get_setting('wpkites_team_content');
|
97 |
+
if (!empty($wpkites_team_content_control)) {
|
98 |
+
$wpkites_team_content_control->default = json_encode(array(
|
99 |
+
array(
|
100 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team1.jpg',
|
101 |
+
'membername' => 'Danial Wilson',
|
102 |
+
'designation' => esc_html__('Senior Manager', 'spicebox'),
|
103 |
+
'open_new_tab' => 'no',
|
104 |
+
'id' => 'customizer_repeater_26d7ea7f40c56',
|
105 |
+
'social_repeater' => json_encode(
|
106 |
+
array(
|
107 |
+
array(
|
108 |
+
'id' => 'customizer-repeater-social-repeater-37fb908374e06',
|
109 |
+
'link' => 'facebook.com',
|
110 |
+
'icon' => 'fa-facebook',
|
111 |
+
),
|
112 |
+
array(
|
113 |
+
'id' => 'customizer-repeater-social-repeater-47fb9144530fc',
|
114 |
+
'link' => 'twitter.com',
|
115 |
+
'icon' => 'fa-twitter',
|
116 |
+
),
|
117 |
+
array(
|
118 |
+
'id' => 'customizer-repeater-social-repeater-57fb9750e1e09',
|
119 |
+
'link' => 'linkedin.com',
|
120 |
+
'icon' => 'fa-linkedin',
|
121 |
+
),
|
122 |
+
array(
|
123 |
+
'id' => 'customizer-repeater-social-repeater-67fb0150e1e256',
|
124 |
+
'link' => 'behance.com',
|
125 |
+
'icon' => 'fa-behance',
|
126 |
+
),
|
127 |
+
)
|
128 |
+
),
|
129 |
+
),
|
130 |
+
array(
|
131 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team2.jpg',
|
132 |
+
'membername' => 'Amanda Smith',
|
133 |
+
'designation' => esc_html__('Founder & CEO', 'spicebox'),
|
134 |
+
'open_new_tab' => 'no',
|
135 |
+
'id' => 'customizer_repeater_56d1ea2f40c66',
|
136 |
+
'social_repeater' => json_encode(
|
137 |
+
array(
|
138 |
+
array(
|
139 |
+
'id' => 'customizer-repeater-social-repeater-57fb9133a7772',
|
140 |
+
'link' => 'facebook.com',
|
141 |
+
'icon' => 'fa-facebook',
|
142 |
+
),
|
143 |
+
array(
|
144 |
+
'id' => 'customizer-repeater-social-repeater-57fb9160rt683',
|
145 |
+
'link' => 'twitter.com',
|
146 |
+
'icon' => 'fa-twitter',
|
147 |
+
),
|
148 |
+
array(
|
149 |
+
'id' => 'customizer-repeater-social-repeater-57fb916zzooc9',
|
150 |
+
'link' => 'linkedin.com',
|
151 |
+
'icon' => 'fa-linkedin',
|
152 |
+
),
|
153 |
+
array(
|
154 |
+
'id' => 'customizer-repeater-social-repeater-57fb916qqwwc784',
|
155 |
+
'link' => 'behance.com',
|
156 |
+
'icon' => 'fa-behance',
|
157 |
+
),
|
158 |
+
)
|
159 |
+
),
|
160 |
+
),
|
161 |
+
array(
|
162 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team3.jpg',
|
163 |
+
'membername' => 'Victoria Wills',
|
164 |
+
'designation' => esc_html__('Web Master', 'spicebox'),
|
165 |
+
'open_new_tab' => 'no',
|
166 |
+
'id' => 'customizer_repeater_56d7ea7f40c76',
|
167 |
+
'social_repeater' => json_encode(
|
168 |
+
array(
|
169 |
+
array(
|
170 |
+
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
171 |
+
'link' => 'facebook.com',
|
172 |
+
'icon' => 'fa-facebook',
|
173 |
+
),
|
174 |
+
array(
|
175 |
+
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
176 |
+
'link' => 'twitter.com',
|
177 |
+
'icon' => 'fa-twitter',
|
178 |
+
),
|
179 |
+
array(
|
180 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
181 |
+
'link' => 'linkedin.com',
|
182 |
+
'icon' => 'fa-linkedin',
|
183 |
+
),
|
184 |
+
array(
|
185 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e8',
|
186 |
+
'link' => 'behance.com',
|
187 |
+
'icon' => 'fa-behance',
|
188 |
+
),
|
189 |
+
)
|
190 |
+
),
|
191 |
+
),
|
192 |
+
array(
|
193 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team4.jpg',
|
194 |
+
'membername' => 'Travis Marcus',
|
195 |
+
'designation' => esc_html__('UI Developer', 'spicebox'),
|
196 |
+
'open_new_tab' => 'no',
|
197 |
+
'id' => 'customizer_repeater_56d7ea7f40c86',
|
198 |
+
'social_repeater' => json_encode(
|
199 |
+
array(
|
200 |
+
array(
|
201 |
+
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
202 |
+
'link' => 'facebook.com',
|
203 |
+
'icon' => 'fa-facebook',
|
204 |
+
),
|
205 |
+
array(
|
206 |
+
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
207 |
+
'link' => 'twitter.com',
|
208 |
+
'icon' => 'fa-twitter',
|
209 |
+
),
|
210 |
+
array(
|
211 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
212 |
+
'link' => 'linkedin.com',
|
213 |
+
'icon' => 'fa-linkedin',
|
214 |
+
),
|
215 |
+
array(
|
216 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
217 |
+
'link' => 'behance.com',
|
218 |
+
'icon' => 'fa-behance',
|
219 |
+
),
|
220 |
+
)
|
221 |
+
),
|
222 |
+
),
|
223 |
+
));
|
224 |
+
}
|
225 |
+
}
|
226 |
+
|
227 |
+
add_action('customize_register', 'spiceb_wpkites_team_default_customize_register');
|
228 |
+
|
229 |
+
endif;
|
230 |
+
|
231 |
+
function spiceb_wpkites_sections_settings($wp_customize) {
|
232 |
+
|
233 |
+
$selective_refresh = isset($wp_customize->selective_refresh) ? 'postMessage' : 'refresh';
|
234 |
+
/* Sections Settings */
|
235 |
+
$wp_customize->add_panel('section_settings', array(
|
236 |
+
'priority' => 126,
|
237 |
+
'capability' => 'edit_theme_options',
|
238 |
+
'title' => esc_html__('Homepage Section Settings', 'spicebox'),
|
239 |
+
));
|
240 |
+
}
|
241 |
+
|
242 |
+
add_action('customize_register', 'spiceb_wpkites_sections_settings');
|
243 |
+
|
244 |
+
/* * *********************** Slider Callback function ******************************** */
|
245 |
+
|
246 |
+
function spiceb_wpkites_slider_callback($control) {
|
247 |
+
if (true == $control->manager->get_setting('home_page_slider_enabled')->value()) {
|
248 |
+
return true;
|
249 |
+
} else {
|
250 |
+
return false;
|
251 |
+
}
|
252 |
+
}
|
253 |
+
|
254 |
+
/* * *********************** Service Callback function ******************************** */
|
255 |
+
|
256 |
+
function spiceb_wpkites_service_callback($control) {
|
257 |
+
if (true == $control->manager->get_setting('home_service_section_enabled')->value()) {
|
258 |
+
return true;
|
259 |
+
} else {
|
260 |
+
return false;
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
/* * *********************** Testimonial Callback function ******************************** */
|
265 |
+
|
266 |
+
function spiceb_wpkites_testimonial_callback($control) {
|
267 |
+
if (true == $control->manager->get_setting('testimonial_section_enable')->value()) {
|
268 |
+
return true;
|
269 |
+
} else {
|
270 |
+
return false;
|
271 |
+
}
|
272 |
+
}
|
273 |
+
|
274 |
+
/* * *********************** Latest News Callback function ******************************** */
|
275 |
+
|
276 |
+
function spiceb_wpkites_news_callback($control) {
|
277 |
+
if (true == $control->manager->get_setting('latest_news_section_enable')->value()) {
|
278 |
+
return true;
|
279 |
+
} else {
|
280 |
+
return false;
|
281 |
+
}
|
282 |
+
}
|
283 |
+
|
284 |
+
/* * *********************** CTA1 Callback function ******************************** */
|
285 |
+
|
286 |
+
function spiceb_wpkites_team_callback($control) {
|
287 |
+
if (true == $control->manager->get_setting('team_section_enable')->value()) {
|
288 |
+
return true;
|
289 |
+
} else {
|
290 |
+
return false;
|
291 |
+
}
|
292 |
+
}
|
inc/wpkites/customizer/news-section.php
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
//Latest News Section
|
3 |
+
$wp_customize->add_section('wpkites_latest_news_section', array(
|
4 |
+
'title' => esc_html__('Latest News Settings', 'spicebox'),
|
5 |
+
'panel' => 'section_settings',
|
6 |
+
'priority' => 4,
|
7 |
+
));
|
8 |
+
|
9 |
+
|
10 |
+
// Enable news section
|
11 |
+
$wp_customize->add_setting('latest_news_section_enable', array(
|
12 |
+
'default' => true,
|
13 |
+
'sanitize_callback' => 'spiceb_wpkites_sanitize_checkbox'
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new WPKites_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' => 'wpkites_latest_news_section',
|
21 |
+
)
|
22 |
+
));
|
23 |
+
|
24 |
+
|
25 |
+
// News section title
|
26 |
+
$wp_customize->add_setting('home_news_section_title', array(
|
27 |
+
'capability' => 'edit_theme_options',
|
28 |
+
'default' => esc_html__('Vitae Lacinia', 'spicebox'),
|
29 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
30 |
+
'transport' => $selective_refresh,
|
31 |
+
));
|
32 |
+
$wp_customize->add_control('home_news_section_title', array(
|
33 |
+
'label' => esc_html__('Title', 'spicebox'),
|
34 |
+
'section' => 'wpkites_latest_news_section',
|
35 |
+
'type' => 'text',
|
36 |
+
'active_callback' => 'spiceb_wpkites_news_callback'
|
37 |
+
));
|
38 |
+
|
39 |
+
//News section subtitle
|
40 |
+
$wp_customize->add_setting('home_news_section_discription', array(
|
41 |
+
'default' => esc_html__('Cras Vitae Placerat', 'spicebox'),
|
42 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
43 |
+
'transport' => $selective_refresh,
|
44 |
+
));
|
45 |
+
$wp_customize->add_control('home_news_section_discription', array(
|
46 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
47 |
+
'section' => 'wpkites_latest_news_section',
|
48 |
+
'type' => 'text',
|
49 |
+
'active_callback' => 'spiceb_wpkites_news_callback'
|
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_wpkites_home_page_sanitize_text',
|
57 |
+
));
|
58 |
+
$wp_customize->add_control('home_news_button_title', array(
|
59 |
+
'label' => esc_html__('Read More Text', 'spicebox'),
|
60 |
+
'section' => 'wpkites_latest_news_section',
|
61 |
+
'type' => 'text',
|
62 |
+
'active_callback' => 'spiceb_wpkites_news_callback'
|
63 |
+
));
|
64 |
+
|
65 |
+
// enable/disable meta section
|
66 |
+
$wp_customize->add_setting('home_meta_section_settings',
|
67 |
+
array('capability' => 'edit_theme_options',
|
68 |
+
'default' => true,
|
69 |
+
'sanitize_callback' => 'spiceb_wpkites_sanitize_checkbox',
|
70 |
+
|
71 |
+
));
|
72 |
+
$wp_customize->add_control(
|
73 |
+
'home_meta_section_settings',
|
74 |
+
array(
|
75 |
+
'type' => 'checkbox',
|
76 |
+
'label' => esc_html__('Enable/Disable post meta in blog section', 'spicebox'),
|
77 |
+
'section' => 'wpkites_latest_news_section',
|
78 |
+
'active_callback' => 'spiceb_wpkites_news_callback'
|
79 |
+
)
|
80 |
+
);
|
81 |
+
|
82 |
+
//Navigation Type
|
83 |
+
$wp_customize->add_setting('news_nav_style', array('default' => 'bullets'));
|
84 |
+
$wp_customize->add_control('news_nav_style', array(
|
85 |
+
'label' => __('Navigation Style', 'spicebox'),
|
86 |
+
'section' => 'wpkites_latest_news_section',
|
87 |
+
'type' => 'radio',
|
88 |
+
'choices' => array(
|
89 |
+
'bullets' => __('Bullets', 'spicebox'),
|
90 |
+
'navigation' => __('Navigation', 'spicebox'),
|
91 |
+
'both' => __('Both', 'spicebox'),
|
92 |
+
),
|
93 |
+
'active_callback' => 'spiceb_wpkites_news_callback'
|
94 |
+
));
|
95 |
+
|
96 |
+
// animation speed
|
97 |
+
$wp_customize->add_setting('newz_animation_speed', array('default' => 3000));
|
98 |
+
$wp_customize->add_control('newz_animation_speed',
|
99 |
+
array(
|
100 |
+
'label' => __('Animation speed', 'spicebox'),
|
101 |
+
'section' => 'wpkites_latest_news_section',
|
102 |
+
'type' => 'select',
|
103 |
+
'choices' => array(
|
104 |
+
2000 => '2.0',
|
105 |
+
3000 => '3.0',
|
106 |
+
4000 => '4.0',
|
107 |
+
5000 => '5.0',
|
108 |
+
6000 => '6.0',
|
109 |
+
),
|
110 |
+
'active_callback' => 'spiceb_wpkites_news_callback'
|
111 |
+
));
|
112 |
+
|
113 |
+
// smooth speed
|
114 |
+
$wp_customize->add_setting('news_smooth_speed', array('default' => 1000));
|
115 |
+
$wp_customize->add_control('news_smooth_speed',
|
116 |
+
array(
|
117 |
+
'label' => __('Smooth speed', 'spicebox'),
|
118 |
+
'section' => 'wpkites_latest_news_section',
|
119 |
+
'type' => 'select',
|
120 |
+
'active_callback' => 'spiceb_wpkites_news_callback',
|
121 |
+
'choices' => array('500' => '0.5',
|
122 |
+
'1000' => '1.0',
|
123 |
+
'1500' => '1.5',
|
124 |
+
'2000' => '2.0',
|
125 |
+
'2500' => '2.5',
|
126 |
+
'3000' => '3.0')
|
127 |
+
));
|
128 |
+
|
129 |
+
/**
|
130 |
+
* Add selective refresh for Front page news section controls.
|
131 |
+
*/
|
132 |
+
$wp_customize->selective_refresh->add_partial('home_news_section_title', array(
|
133 |
+
'selector' => '.home-blog .section-header h2',
|
134 |
+
'settings' => 'home_news_section_title',
|
135 |
+
'render_callback' => 'spiceb_home_news_section_title_render_callback',
|
136 |
+
));
|
137 |
+
|
138 |
+
$wp_customize->selective_refresh->add_partial('home_news_section_discription', array(
|
139 |
+
'selector' => '.home-blog .section-header h5',
|
140 |
+
'settings' => 'home_news_section_discription',
|
141 |
+
'render_callback' => 'spiceb_home_news_section_discription_render_callback',
|
142 |
+
));
|
143 |
+
|
144 |
+
$wp_customize->selective_refresh->add_partial('home_blog_more_btn', array(
|
145 |
+
'selector' => '.home-blog .business-view-more-post',
|
146 |
+
'settings' => 'home_blog_more_btn',
|
147 |
+
'render_callback' => 'spiceb_home_blog_more_btn_render_callback',
|
148 |
+
));
|
149 |
+
|
150 |
+
$wp_customize->selective_refresh->add_partial('home_news_button_title', array(
|
151 |
+
'selector' => '.home-blog a.more-link',
|
152 |
+
'settings' => 'home_news_button_title',
|
153 |
+
'render_callback' => 'spiceb_home_news_button_title_render_callback',
|
154 |
+
));
|
155 |
+
|
156 |
+
function spiceb_home_news_section_title_render_callback() {
|
157 |
+
return get_theme_mod('home_news_section_title');
|
158 |
+
}
|
159 |
+
|
160 |
+
function spiceb_home_news_section_discription_render_callback() {
|
161 |
+
return get_theme_mod('home_news_section_discription');
|
162 |
+
}
|
163 |
+
|
164 |
+
function spiceb_home_blog_more_btn_render_callback() {
|
165 |
+
return get_theme_mod('home_blog_more_btn');
|
166 |
+
}
|
167 |
+
|
168 |
+
function spiceb_home_news_button_title_render_callback() {
|
169 |
+
return get_theme_mod('home_news_button_title');
|
170 |
+
}
|
inc/wpkites/customizer/services-section.php
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_wpkites_sanitize_checkbox'
|
12 |
+
));
|
13 |
+
|
14 |
+
$wp_customize->add_control(new WPKites_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 title
|
23 |
+
$wp_customize->add_setting('home_service_section_title', array(
|
24 |
+
'capability' => 'edit_theme_options',
|
25 |
+
'default' => esc_html__('Quisque Blandit', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
27 |
+
'transport' => $selective_refresh,
|
28 |
+
));
|
29 |
+
|
30 |
+
$wp_customize->add_control('home_service_section_title', array(
|
31 |
+
'label' => esc_html__('Title', 'spicebox'),
|
32 |
+
'section' => 'services_section',
|
33 |
+
'type' => 'text',
|
34 |
+
'active_callback' => 'spiceb_wpkites_service_callback'
|
35 |
+
));
|
36 |
+
|
37 |
+
|
38 |
+
// Service section description
|
39 |
+
$wp_customize->add_setting('home_service_section_discription', array(
|
40 |
+
'capability' => 'edit_theme_options',
|
41 |
+
'default' => esc_html__('Fusce Sed Massa', 'spicebox'),
|
42 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
43 |
+
'transport' => $selective_refresh,
|
44 |
+
));
|
45 |
+
|
46 |
+
$wp_customize->add_control('home_service_section_discription', array(
|
47 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
48 |
+
'section' => 'services_section',
|
49 |
+
'type' => 'text',
|
50 |
+
'active_callback' => 'spiceb_wpkites_service_callback'
|
51 |
+
));
|
52 |
+
|
53 |
+
|
54 |
+
if (class_exists('Spicebox_Limit_Repeater')) {
|
55 |
+
$wp_customize->add_setting('wpkites_service_content', array());
|
56 |
+
|
57 |
+
$wp_customize->add_control(new Spicebox_Limit_Repeater($wp_customize, 'wpkites_service_content', array(
|
58 |
+
'label' => esc_html__('Service content', 'spicebox'),
|
59 |
+
'section' => 'services_section',
|
60 |
+
'priority' => 10,
|
61 |
+
'add_field_label' => esc_html__('Add new Service', 'spicebox'),
|
62 |
+
'item_name' => esc_html__('Service', 'spicebox'),
|
63 |
+
'customizer_repeater_icon_control' => true,
|
64 |
+
'customizer_repeater_title_control' => true,
|
65 |
+
'customizer_repeater_text_control' => true,
|
66 |
+
'customizer_repeater_link_control' => true,
|
67 |
+
'customizer_repeater_checkbox_control' => true,
|
68 |
+
'customizer_repeater_image_control' => true,
|
69 |
+
'active_callback' => 'spiceb_wpkites_service_callback'
|
70 |
+
)));
|
71 |
+
}
|
72 |
+
|
73 |
+
class wpkites_services_section_upgrade extends WP_Customize_Control {
|
74 |
+
public function render_content() { ?>
|
75 |
+
<h3 class="customizer_wpkites_service_upgrade_section" style="display: none;">
|
76 |
+
<?php esc_html_e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/wpkites-plus' ); ?>" target="_blank">
|
77 |
+
<?php esc_html_e('Upgrade to Plus','spicebox'); ?> </a>
|
78 |
+
</h3>
|
79 |
+
<?php
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
$wp_customize->add_setting( 'wpkites_service_upgrade_to_pro', array(
|
84 |
+
'capability' => 'edit_theme_options',
|
85 |
+
));
|
86 |
+
$wp_customize->add_control(
|
87 |
+
new wpkites_services_section_upgrade(
|
88 |
+
$wp_customize,
|
89 |
+
'wpkites_service_upgrade_to_pro',
|
90 |
+
array(
|
91 |
+
'section' => 'services_section',
|
92 |
+
'settings' => 'wpkites_service_upgrade_to_pro',
|
93 |
+
'active_callback' => 'spiceb_wpkites_service_callback'
|
94 |
+
)
|
95 |
+
)
|
96 |
+
);
|
97 |
+
|
98 |
+
$wp_customize->selective_refresh->add_partial('home_service_section_title', array(
|
99 |
+
'selector' => '.services .section-title, .services2 .section-title, .services3 .section-title, .services4 .section-title',
|
100 |
+
'settings' => 'home_service_section_title',
|
101 |
+
'render_callback' => 'spiceb_home_service_section_title_render_callback'
|
102 |
+
));
|
103 |
+
|
104 |
+
$wp_customize->selective_refresh->add_partial('home_service_section_discription', array(
|
105 |
+
'selector' => '.services .section-subtitle, .services2 .section-subtitle, .services3 .section-subtitle, .services4 .section-subtitle',
|
106 |
+
'settings' => 'home_service_section_discription',
|
107 |
+
'render_callback' => 'spiceb_home_service_section_discription_render_callback'
|
108 |
+
));
|
109 |
+
|
110 |
+
$wp_customize->selective_refresh->add_partial('service_viewmore_btn_text', array(
|
111 |
+
'selector' => '.services .view-more-services',
|
112 |
+
'settings' => 'service_viewmore_btn_text',
|
113 |
+
'render_callback' => 'spiceb_service_viewmore_btn_text_render_callback'
|
114 |
+
));
|
115 |
+
|
116 |
+
function spiceb_home_service_section_title_render_callback() {
|
117 |
+
return get_theme_mod('home_service_section_title');
|
118 |
+
}
|
119 |
+
|
120 |
+
function spiceb_home_service_section_discription_render_callback() {
|
121 |
+
return get_theme_mod('home_service_section_discription');
|
122 |
+
}
|
123 |
+
|
124 |
+
function spiceb_service_viewmore_btn_text_render_callback() {
|
125 |
+
return get_theme_mod('service_viewmore_btn_text');
|
126 |
+
}
|
inc/wpkites/customizer/slider-section.php
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_wpkites_sanitize_checkbox',
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new WPKites_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_wpkites_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','spicebox' ),
|
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.','spicebox' ),
|
51 |
+
'section' => 'slider_section',
|
52 |
+
'mime_type' => 'video', // Required. Can be image, audio, video, application, text
|
53 |
+
'active_callback' => 'spiceb_wpkites_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_wpkites_slider_callback'
|
78 |
+
|
79 |
+
));
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
//Slider Image
|
84 |
+
$wp_customize->add_setting('home_slider_image', array(
|
85 |
+
'default' => WPKITES_TEMPLATE_DIR_URI . '/assets/images/slider/slider.jpg',
|
86 |
+
'sanitize_callback' => 'esc_url_raw',
|
87 |
+
));
|
88 |
+
|
89 |
+
$wp_customize->add_control(
|
90 |
+
new WP_Customize_Image_Control(
|
91 |
+
$wp_customize,
|
92 |
+
'home_slider_image',
|
93 |
+
array(
|
94 |
+
'type' => 'upload',
|
95 |
+
'label' => esc_html__('Image', 'spicebox'),
|
96 |
+
'settings' => 'home_slider_image',
|
97 |
+
'section' => 'slider_section',
|
98 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
99 |
+
)
|
100 |
+
)
|
101 |
+
);
|
102 |
+
|
103 |
+
// Image overlay
|
104 |
+
$wp_customize->add_setting('slider_image_overlay', array(
|
105 |
+
'default' => true,
|
106 |
+
'sanitize_callback' => 'spiceb_wpkites_sanitize_checkbox',
|
107 |
+
)
|
108 |
+
);
|
109 |
+
|
110 |
+
$wp_customize->add_control('slider_image_overlay', array(
|
111 |
+
'label' => esc_html__('Enable/Disable slider image overlay', 'spicebox'),
|
112 |
+
'section' => 'slider_section',
|
113 |
+
'type' => 'checkbox',
|
114 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
115 |
+
)
|
116 |
+
);
|
117 |
+
|
118 |
+
//Slider Background Overlay Color
|
119 |
+
$wp_customize->add_setting('slider_overlay_section_color', array(
|
120 |
+
'sanitize_callback' => 'sanitize_text_field',
|
121 |
+
'default' => 'rgba(0,0,0,0.6)',
|
122 |
+
)
|
123 |
+
);
|
124 |
+
|
125 |
+
$wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'slider_overlay_section_color', array(
|
126 |
+
'label' => esc_html__('Slider image overlay color', 'spicebox'),
|
127 |
+
'palette' => true,
|
128 |
+
'section' => 'slider_section',
|
129 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
130 |
+
)
|
131 |
+
));
|
132 |
+
|
133 |
+
//Content Alignment
|
134 |
+
$wp_customize->add_setting( 'slider_content_alignment',
|
135 |
+
array(
|
136 |
+
'default' => 'left',
|
137 |
+
'transport' => 'refresh',
|
138 |
+
)
|
139 |
+
);
|
140 |
+
$wp_customize->add_control( new Spicebox_Text_Radio_Button_Custom_Control( $wp_customize, 'slider_content_alignment',
|
141 |
+
array(
|
142 |
+
'label' => esc_html__( 'Slider Content Alignment', 'spicebox' ),
|
143 |
+
'section' => 'slider_section',
|
144 |
+
'active_callback' => 'spiceb_wpkites_slider_callback',
|
145 |
+
'choices' => array(
|
146 |
+
'left' => esc_html__( 'Left' ), // Required. Setting for this particular radio button choice and the text to display
|
147 |
+
'center' => esc_html__( 'Center' ), // Required. Setting for this particular radio button choice and the text to display
|
148 |
+
'right' => esc_html__( 'Right' ) // Required. Setting for this particular radio button choice and the text to display
|
149 |
+
)
|
150 |
+
)
|
151 |
+
) );
|
152 |
+
|
153 |
+
// Slider title
|
154 |
+
$wp_customize->add_setting('home_slider_title', array(
|
155 |
+
'default' => __('Nulla nec dolor sit amet<br> lacus molestie', 'spicebox'),
|
156 |
+
'capability' => 'edit_theme_options',
|
157 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
158 |
+
));
|
159 |
+
$wp_customize->add_control('home_slider_title', array(
|
160 |
+
'label' => esc_html__('Title', 'spicebox'),
|
161 |
+
'section' => 'slider_section',
|
162 |
+
'type' => 'text',
|
163 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
164 |
+
));
|
165 |
+
|
166 |
+
//Slider discription
|
167 |
+
$wp_customize->add_setting('home_slider_discription', array(
|
168 |
+
'default' => __('Sea summo mazim ex, ea errem eleifend definitionem vim.<br> Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.', 'spicebox'),
|
169 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
170 |
+
));
|
171 |
+
$wp_customize->add_control('home_slider_discription', array(
|
172 |
+
'label' => esc_html__('Description', 'spicebox'),
|
173 |
+
'section' => 'slider_section',
|
174 |
+
'type' => 'textarea',
|
175 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
176 |
+
));
|
177 |
+
|
178 |
+
|
179 |
+
// Slider button text
|
180 |
+
$wp_customize->add_setting('home_slider_btn_txt', array(
|
181 |
+
'default' => esc_html__('Nec Sem', 'spicebox'),
|
182 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
183 |
+
));
|
184 |
+
$wp_customize->add_control('home_slider_btn_txt', array(
|
185 |
+
'label' => esc_html__('Button Text', 'spicebox'),
|
186 |
+
'section' => 'slider_section',
|
187 |
+
'type' => 'text',
|
188 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
189 |
+
));
|
190 |
+
|
191 |
+
// Slider button link
|
192 |
+
$wp_customize->add_setting('home_slider_btn_link', array(
|
193 |
+
'default' => esc_html__('#', 'spicebox'),
|
194 |
+
'sanitize_callback' => 'esc_url_raw',
|
195 |
+
));
|
196 |
+
$wp_customize->add_control('home_slider_btn_link', array(
|
197 |
+
'label' => esc_html__('Button Link', 'spicebox'),
|
198 |
+
'section' => 'slider_section',
|
199 |
+
'type' => 'text',
|
200 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
201 |
+
));
|
202 |
+
|
203 |
+
// Slider button target
|
204 |
+
$wp_customize->add_setting(
|
205 |
+
'home_slider_btn_target',
|
206 |
+
array(
|
207 |
+
'default' => false,
|
208 |
+
'sanitize_callback' => 'spiceb_wpkites_sanitize_checkbox',
|
209 |
+
));
|
210 |
+
$wp_customize->add_control('home_slider_btn_target', array(
|
211 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
212 |
+
'section' => 'slider_section',
|
213 |
+
'type' => 'checkbox',
|
214 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
215 |
+
));
|
216 |
+
|
217 |
+
// Slider button2 text
|
218 |
+
$wp_customize->add_setting('home_slider_btn_txt2', array(
|
219 |
+
'default' => esc_html__('Cras Vitae', 'spicebox'),
|
220 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
221 |
+
));
|
222 |
+
$wp_customize->add_control('home_slider_btn_txt2', array(
|
223 |
+
'label' => esc_html__('Button 2 Text', 'spicebox'),
|
224 |
+
'section' => 'slider_section',
|
225 |
+
'type' => 'text',
|
226 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
227 |
+
));
|
228 |
+
|
229 |
+
// Slider button link
|
230 |
+
$wp_customize->add_setting('home_slider_btn_link2', array(
|
231 |
+
'default' => esc_html__('#', 'spicebox'),
|
232 |
+
'sanitize_callback' => 'esc_url_raw',
|
233 |
+
));
|
234 |
+
$wp_customize->add_control('home_slider_btn_link2', array(
|
235 |
+
'label' => esc_html__('Button 2 Link', 'spicebox'),
|
236 |
+
'section' => 'slider_section',
|
237 |
+
'type' => 'text',
|
238 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
239 |
+
));
|
240 |
+
|
241 |
+
// Slider button target
|
242 |
+
$wp_customize->add_setting(
|
243 |
+
'home_slider_btn_target2',
|
244 |
+
array(
|
245 |
+
'default' => false,
|
246 |
+
'sanitize_callback' => 'spiceb_wpkites_sanitize_checkbox',
|
247 |
+
));
|
248 |
+
$wp_customize->add_control('home_slider_btn_target2', array(
|
249 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
250 |
+
'section' => 'slider_section',
|
251 |
+
'type' => 'checkbox',
|
252 |
+
'active_callback' => 'spiceb_wpkites_slider_callback'
|
253 |
+
));
|
254 |
+
|
255 |
+
|
256 |
+
$wp_customize->selective_refresh->add_partial('home_slider_subtitle', array(
|
257 |
+
'selector' => '.bcslider-section .slider-caption .heading ',
|
258 |
+
'settings' => 'home_slider_subtitle',
|
259 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
260 |
+
));
|
261 |
+
$wp_customize->selective_refresh->add_partial('home_slider_title', array(
|
262 |
+
'selector' => '.bcslider-section .slider-caption .title ',
|
263 |
+
'settings' => 'home_slider_title',
|
264 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
265 |
+
));
|
266 |
+
$wp_customize->selective_refresh->add_partial('home_slider_discription', array(
|
267 |
+
'selector' => '.bcslider-section .slider-caption .description ',
|
268 |
+
'settings' => 'home_slider_discription',
|
269 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
270 |
+
));
|
271 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt', array(
|
272 |
+
'selector' => '.bcslider-section .slider-caption .btn-combo .btn-default ',
|
273 |
+
'settings' => 'home_slider_btn_txt',
|
274 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
275 |
+
));
|
276 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt2', array(
|
277 |
+
'selector' => '.bcslider-section .slider-caption .btn-combo .btn-light ',
|
278 |
+
'settings' => 'home_slider_btn_txt2',
|
279 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
280 |
+
));
|
inc/wpkites/customizer/team-section.php
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
//Team Section
|
4 |
+
$wp_customize->add_section('wpkites_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_wpkites_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new WPKites_Toggle_Control($wp_customize, 'team_section_enable',
|
16 |
+
array(
|
17 |
+
'label' => esc_html__('Enable/Disable Team Section', 'spicebox'),
|
18 |
+
'type' => 'toggle',
|
19 |
+
'section' => 'wpkites_team_section',
|
20 |
+
)
|
21 |
+
));
|
22 |
+
|
23 |
+
// Team section title
|
24 |
+
$wp_customize->add_setting('home_team_section_title', array(
|
25 |
+
'default' => esc_html__('Magna Aliqua', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
27 |
+
));
|
28 |
+
$wp_customize->add_control('home_team_section_title', array(
|
29 |
+
'label' => esc_html__('Title', 'spicebox'),
|
30 |
+
'section' => 'wpkites_team_section',
|
31 |
+
'type' => 'text',
|
32 |
+
'active_callback' => 'spiceb_wpkites_team_callback'
|
33 |
+
));
|
34 |
+
|
35 |
+
//Team section discription
|
36 |
+
$wp_customize->add_setting('home_team_section_discription', array(
|
37 |
+
'default' => esc_html__('Ullamco Laboris Nisi', 'spicebox'),
|
38 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
39 |
+
|
40 |
+
));
|
41 |
+
$wp_customize->add_control('home_team_section_discription', array(
|
42 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
43 |
+
'section' => 'wpkites_team_section',
|
44 |
+
'type' => 'text',
|
45 |
+
'active_callback' => 'spiceb_wpkites_team_callback'
|
46 |
+
));
|
47 |
+
|
48 |
+
if (class_exists('Spicebox_Repeater')) {
|
49 |
+
$wp_customize->add_setting(
|
50 |
+
'wpkites_team_content', array(
|
51 |
+
)
|
52 |
+
);
|
53 |
+
|
54 |
+
$wp_customize->add_control(
|
55 |
+
new Spicebox_Repeater(
|
56 |
+
$wp_customize, 'wpkites_team_content', array(
|
57 |
+
'label' => esc_html__('Team content', 'spicebox'),
|
58 |
+
'section' => 'wpkites_team_section',
|
59 |
+
'priority' => 15,
|
60 |
+
'add_field_label' => esc_html__('Add new Team Member', 'spicebox'),
|
61 |
+
'item_name' => esc_html__('Team Member', 'spicebox'),
|
62 |
+
'customizer_repeater_member_name_control' => true,
|
63 |
+
'customizer_repeater_designation_control' => true,
|
64 |
+
'customizer_repeater_image_control' => true,
|
65 |
+
'customizer_repeater_repeater_control' => true,
|
66 |
+
'active_callback' => 'spiceb_wpkites_team_callback'
|
67 |
+
)
|
68 |
+
)
|
69 |
+
);
|
70 |
+
}
|
71 |
+
|
72 |
+
//Navigation Type
|
73 |
+
$wp_customize->add_setting('team_nav_style', array('default' => 'bullets'));
|
74 |
+
$wp_customize->add_control('team_nav_style', array(
|
75 |
+
'label' => esc_html__('Navigation Style', 'spicebox'),
|
76 |
+
'section' => 'wpkites_team_section',
|
77 |
+
'type' => 'radio',
|
78 |
+
'priority' => 16,
|
79 |
+
'choices' => array(
|
80 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
81 |
+
'navigation' => esc_html__('Navigation', 'spicebox'),
|
82 |
+
'both' => esc_html__('Both', 'spicebox'),
|
83 |
+
),
|
84 |
+
'active_callback' => 'spiceb_wpkites_team_callback'
|
85 |
+
));
|
86 |
+
|
87 |
+
// animation speed
|
88 |
+
$wp_customize->add_setting('team_animation_speed', array('default' => 3000));
|
89 |
+
$wp_customize->add_control('team_animation_speed',
|
90 |
+
array(
|
91 |
+
'label' => esc_html__('Animation speed', 'spicebox'),
|
92 |
+
'section' => 'wpkites_team_section',
|
93 |
+
'type' => 'select',
|
94 |
+
'priority' => 17,
|
95 |
+
'choices' => array(
|
96 |
+
'2000' => '2.0',
|
97 |
+
'3000' => '3.0',
|
98 |
+
'4000' => '4.0',
|
99 |
+
'5000' => '5.0',
|
100 |
+
'6000' => '6.0',
|
101 |
+
),
|
102 |
+
'active_callback' => 'spiceb_wpkites_team_callback'
|
103 |
+
));
|
104 |
+
|
105 |
+
// smooth speed
|
106 |
+
$wp_customize->add_setting('team_smooth_speed', array('default' => 1000));
|
107 |
+
$wp_customize->add_control('team_smooth_speed',
|
108 |
+
array(
|
109 |
+
'label' => esc_html__('Smooth speed', 'spicebox'),
|
110 |
+
'section' => 'wpkites_team_section',
|
111 |
+
'type' => 'select',
|
112 |
+
'priority' => 18,
|
113 |
+
'active_callback' => 'spiceb_wpkites_team_callback',
|
114 |
+
'choices' => array('500' => '0.5',
|
115 |
+
'1000' => '1.0',
|
116 |
+
'1500' => '1.5',
|
117 |
+
'2000' => '2.0',
|
118 |
+
'2500' => '2.5',
|
119 |
+
'3000' => '3.0')
|
120 |
+
));
|
121 |
+
|
122 |
+
/**
|
123 |
+
* Add selective refresh for Front page team section controls.
|
124 |
+
*/
|
125 |
+
$wp_customize->selective_refresh->add_partial('home_team_section_title', array(
|
126 |
+
'selector' => '.team h2, .team2 .section-title, .team3 .section-title, .team4 .section-title',
|
127 |
+
'settings' => 'home_team_section_title',
|
128 |
+
'render_callback' => 'spiceb_home_team_section_title_render_callback',
|
129 |
+
));
|
130 |
+
|
131 |
+
$wp_customize->selective_refresh->add_partial('home_team_section_discription', array(
|
132 |
+
'selector' => '.team h5, .team2 .section-subtitle, .team3 .section-subtitle, .team4 .section-subtitle',
|
133 |
+
'settings' => 'home_team_section_discription',
|
134 |
+
'render_callback' => 'spiceb_home_team_section_discription_render_callback',
|
135 |
+
));
|
136 |
+
|
137 |
+
function spiceb_home_team_section_title_render_callback() {
|
138 |
+
return get_theme_mod('home_team_section_title');
|
139 |
+
}
|
140 |
+
|
141 |
+
function spiceb_home_team_section_discription_render_callback() {
|
142 |
+
return get_theme_mod('home_team_section_discription');
|
143 |
+
}
|
144 |
+
|
145 |
+
?>
|
inc/wpkites/customizer/testimonial-section.php
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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' =>5,
|
7 |
+
));
|
8 |
+
|
9 |
+
// Enable testimonial section
|
10 |
+
$wp_customize->add_setting('testimonial_section_enable', array(
|
11 |
+
'default' => true,
|
12 |
+
'sanitize_callback' => 'spiceb_wpkites_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new WPKites_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 |
+
|
23 |
+
|
24 |
+
// testimonial section title
|
25 |
+
$wp_customize->add_setting('home_testimonial_section_title', array(
|
26 |
+
'capability' => 'edit_theme_options',
|
27 |
+
'default' => esc_html__('Proin Egestas', 'spicebox'),
|
28 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
29 |
+
));
|
30 |
+
$wp_customize->add_control('home_testimonial_section_title', array(
|
31 |
+
'label' => esc_html__('Title', 'spicebox'),
|
32 |
+
'section' => 'testimonial_section',
|
33 |
+
'type' => 'text',
|
34 |
+
'active_callback' => 'spiceb_wpkites_testimonial_callback'
|
35 |
+
));
|
36 |
+
|
37 |
+
// testimonial section Description
|
38 |
+
$wp_customize->add_setting('home_testimonial_section_discription', array(
|
39 |
+
'capability' => 'edit_theme_options',
|
40 |
+
'default' => esc_html__('Nam Viverra Iaculis Finibus', 'spicebox'),
|
41 |
+
'sanitize_callback' => 'spiceb_wpkites_home_page_sanitize_text',
|
42 |
+
));
|
43 |
+
$wp_customize->add_control('home_testimonial_section_discription', array(
|
44 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
45 |
+
'section' => 'testimonial_section',
|
46 |
+
'type' => 'text',
|
47 |
+
'active_callback' => 'spiceb_wpkites_testimonial_callback'
|
48 |
+
));
|
49 |
+
|
50 |
+
|
51 |
+
if (class_exists('Spicebox_Repeater')) {
|
52 |
+
$wp_customize->add_setting('wpkites_testimonial_content', array(
|
53 |
+
));
|
54 |
+
$wp_customize->add_control(new Spicebox_Repeater($wp_customize, 'wpkites_testimonial_content', array(
|
55 |
+
'label' => esc_html__('Testimonial content', 'spicebox'),
|
56 |
+
'section' => 'testimonial_section',
|
57 |
+
'add_field_label' => esc_html__('Add new Testimonial', 'spicebox'),
|
58 |
+
'item_name' => esc_html__('Testimonial', 'spicebox'),
|
59 |
+
'customizer_repeater_text_control' => true,
|
60 |
+
'customizer_repeater_link_control' => true,
|
61 |
+
'customizer_repeater_checkbox_control' => true,
|
62 |
+
'customizer_repeater_image_control' => true,
|
63 |
+
'customizer_repeater_user_name_control' => true,
|
64 |
+
'customizer_repeater_designation_control' => true,
|
65 |
+
'active_callback' => 'spiceb_wpkites_testimonial_callback'
|
66 |
+
)));
|
67 |
+
}
|
68 |
+
|
69 |
+
//Navigation Type
|
70 |
+
$wp_customize->add_setting('testimonial_nav_style', array('default' => 'bullets'));
|
71 |
+
$wp_customize->add_control('testimonial_nav_style', array(
|
72 |
+
'label' => esc_html__('Navigation Style', 'spicebox'),
|
73 |
+
'section' => 'testimonial_section',
|
74 |
+
'type' => 'radio',
|
75 |
+
'priority' => 17,
|
76 |
+
'choices' => array(
|
77 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
78 |
+
'navigation' => esc_html__('Navigation', 'spicebox'),
|
79 |
+
'both' => esc_html__('Both', 'spicebox'),
|
80 |
+
),
|
81 |
+
'active_callback' => 'spiceb_wpkites_testimonial_callback'
|
82 |
+
));
|
83 |
+
|
84 |
+
// animation speed
|
85 |
+
$wp_customize->add_setting('testimonial_animation_speed', array('default' => 3000));
|
86 |
+
$wp_customize->add_control('testimonial_animation_speed',
|
87 |
+
array(
|
88 |
+
'label' => esc_html__('Animation speed', 'spicebox'),
|
89 |
+
'section' => 'testimonial_section',
|
90 |
+
'type' => 'select',
|
91 |
+
'choices' => array(
|
92 |
+
'2000' => '2.0',
|
93 |
+
'3000' => '3.0',
|
94 |
+
'4000' => '4.0',
|
95 |
+
'5000' => '5.0',
|
96 |
+
'6000' => '6.0',
|
97 |
+
),
|
98 |
+
'active_callback' => 'spiceb_wpkites_testimonial_callback'
|
99 |
+
));
|
100 |
+
|
101 |
+
// smooth speed
|
102 |
+
$wp_customize->add_setting('testimonial_smooth_speed', array('default' => 1000));
|
103 |
+
$wp_customize->add_control('testimonial_smooth_speed',
|
104 |
+
array(
|
105 |
+
'label' => esc_html__('Smooth speed', 'spicebox'),
|
106 |
+
'section' => 'testimonial_section',
|
107 |
+
'type' => 'select',
|
108 |
+
'choices' => array('500' => '0.5',
|
109 |
+
'1000' => '1.0',
|
110 |
+
'1500' => '1.5',
|
111 |
+
'2000' => '2.0',
|
112 |
+
'2500' => '2.5',
|
113 |
+
'3000' => '3.0'),
|
114 |
+
'active_callback' => 'spiceb_wpkites_testimonial_callback'
|
115 |
+
));
|
116 |
+
|
117 |
+
|
118 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_title', array(
|
119 |
+
'selector' => '.testimonial h2',
|
120 |
+
'settings' => 'home_testimonial_section_title',
|
121 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
122 |
+
));
|
123 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_discription', array(
|
124 |
+
'selector' => '.testimonial h5.section-subtitle',
|
125 |
+
'settings' => 'home_testimonial_section_discription',
|
126 |
+
'render_callback' => 'home_testimonial_section_discription_render_callback',
|
127 |
+
));
|
128 |
+
|
129 |
+
function home_testimonial_section_title_render_callback() {
|
130 |
+
return get_theme_mod('home_testimonial_section_title');
|
131 |
+
}
|
132 |
+
function home_testimonial_section_discription_render_callback() {
|
133 |
+
return get_theme_mod('home_testimonial_section_discription');
|
134 |
+
}
|
inc/wpkites/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/wpkites/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/wpkites/default-pages/upload-media.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$theme=wp_get_theme();
|
3 |
+
$ImagePath = SPICEB_PLUGIN_URL . 'inc/wpkites/images';
|
4 |
+
|
5 |
+
if('WPKites Dark'==$theme->name):
|
6 |
+
$images = array(
|
7 |
+
$ImagePath . '/wpkites-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('wpkites_media_id', $ImageId);
|
36 |
+
$MediaId = get_option('wpkites_media_id');
|
37 |
+
set_theme_mod('custom_logo', $MediaId[0]);
|
38 |
+
set_theme_mod('header_textcolor', "blank");
|
39 |
+
?>
|
inc/wpkites/images/logo.png
ADDED
Binary file
|
inc/wpkites/js/front-page/blog.js
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//RLT check function
|
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 (newz_settings.newz_nav_style) {
|
15 |
+
case 'bullets':
|
16 |
+
newz_settings.newz_nav_style_nav = false;
|
17 |
+
newz_settings.newz_nav_style_dot = true;
|
18 |
+
break;
|
19 |
+
case 'navigation':
|
20 |
+
newz_settings.newz_nav_style_nav = true;
|
21 |
+
newz_settings.newz_nav_style_dot = false;
|
22 |
+
break;
|
23 |
+
case 'both':
|
24 |
+
newz_settings.newz_nav_style_nav = true;
|
25 |
+
newz_settings.newz_nav_style_dot = true;
|
26 |
+
break;
|
27 |
+
default:
|
28 |
+
newz_settings.newz_nav_style_nav = false;
|
29 |
+
newz_settings.newz_nav_style_dot = true;
|
30 |
+
}
|
31 |
+
jQuery("#blog-carousel1").owlCarousel({
|
32 |
+
navigation : true, // Show next and prev buttons
|
33 |
+
autoplay: 3000,
|
34 |
+
smartSpeed: newz_settings.smoothSpeed,
|
35 |
+
autoplayTimeout: newz_settings.animationSpeed,
|
36 |
+
autoplayHoverPause: true,
|
37 |
+
loop:true, // loop is true up to 1199px screen.
|
38 |
+
nav:newz_settings.newz_nav_style_nav, // is true across all sizes
|
39 |
+
margin:20, // margin 10px till 960 breakpoint
|
40 |
+
autoHeight: true,
|
41 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
42 |
+
items: newz_settings.slide_items,
|
43 |
+
dots: newz_settings.newz_nav_style_dot,
|
44 |
+
navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
|
45 |
+
responsive:{
|
46 |
+
100:{ items:1 },
|
47 |
+
480:{ items:1 },
|
48 |
+
768:{ items:2 },
|
49 |
+
1000:{ items:3 }
|
50 |
+
},
|
51 |
+
rtl: jQuery.bol_return(newz_settings.rtl)
|
52 |
+
});
|
53 |
+
});
|
inc/wpkites/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: 3,
|
44 |
+
dots: team_settings.team_nav_style_dot,
|
45 |
+
navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-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/wpkites/js/front-page/testi.js
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if (!jQuery.bol_return) {
|
2 |
+
jQuery.extend({
|
3 |
+
bol_return: function (tmp_vl) {
|
4 |
+
if (tmp_vl == 1) {
|
5 |
+
return true;
|
6 |
+
}
|
7 |
+
return false;
|
8 |
+
}
|
9 |
+
|
10 |
+
});
|
11 |
+
}
|
12 |
+
jQuery(document).ready(function() {
|
13 |
+
/* ---------------------------------------------- /*
|
14 |
+
* Home section height
|
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 |
+
function buildHomeSection(homeSection) {
|
35 |
+
if (homeSection.length > 0) {
|
36 |
+
if (homeSection.hasClass('home-full-height')) {
|
37 |
+
homeSection.height(jQuery(window).height());
|
38 |
+
} else {
|
39 |
+
homeSection.height(jQuery(window).height() * 0.85);
|
40 |
+
}
|
41 |
+
}
|
42 |
+
}
|
43 |
+
// Testimonial Carousel
|
44 |
+
jQuery('#testimonial-carousel').owlCarousel({
|
45 |
+
autoplay: 3000,
|
46 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
47 |
+
autoplayTimeout: testimonial_settings.animationSpeed,
|
48 |
+
autoplayHoverPause: true,
|
49 |
+
animateIn: testimonial_settings.animation,
|
50 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
51 |
+
loop:true,
|
52 |
+
items: testimonial_settings.slide_items,
|
53 |
+
margin: 0,
|
54 |
+
nav: testimonial_settings.testimonial_nav_style_nav,
|
55 |
+
navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],
|
56 |
+
dots: testimonial_settings.testimonial_nav_style_dot,
|
57 |
+
autoHeight: true,
|
58 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
59 |
+
responsive: {
|
60 |
+
0:{
|
61 |
+
items:1,
|
62 |
+
autoWidth: false
|
63 |
+
},
|
64 |
+
400:{
|
65 |
+
items:1,
|
66 |
+
autoWidth: false
|
67 |
+
},
|
68 |
+
600:{
|
69 |
+
items:1,
|
70 |
+
autoWidth: false
|
71 |
+
},
|
72 |
+
1000:{
|
73 |
+
items:1,
|
74 |
+
autoWidth: false
|
75 |
+
},
|
76 |
+
1200:{
|
77 |
+
items: 1,
|
78 |
+
autoWidth: false
|
79 |
+
}
|
80 |
+
},
|
81 |
+
rtl: jQuery.bol_return(testimonial_settings.rtl)
|
82 |
+
});
|
83 |
+
jQuery(testimonial_settings.design_id).owlCarousel({
|
84 |
+
//navigation : true, // Show next and prev buttons
|
85 |
+
autoplay: 3000,
|
86 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
87 |
+
autoplayTimeout: testimonial_settings.animationSpeed,
|
88 |
+
autoplayHoverPause: true,
|
89 |
+
animateIn: testimonial_settings.animation,
|
90 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
91 |
+
|
92 |
+
loop:true, // loop is true up to 1199px screen.
|
93 |
+
nav:testimonial_settings.testimonial_nav_style_nav, // is true across all sizes
|
94 |
+
margin:0, // margin 10px till 960 breakpoint
|
95 |
+
autoHeight: true,
|
96 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
97 |
+
items: testimonial_settings.slide_items,
|
98 |
+
dots: testimonial_settings.testimonial_nav_style_dot,
|
99 |
+
navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
|
100 |
+
|
101 |
+
responsive:{
|
102 |
+
100:{ items:1 },
|
103 |
+
480:{ items:1 },
|
104 |
+
768:{ items:1 },
|
105 |
+
1000:{ items:1 }
|
106 |
+
}
|
107 |
+
});
|
108 |
+
|
109 |
+
});
|
inc/wpkites/sections/wpkites-news-section.php
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wpkites_news_action','spiceb_wpkites_news_section');
|
3 |
+
/* Function for news section*/
|
4 |
+
function spiceb_wpkites_news_section()
|
5 |
+
{
|
6 |
+
$newz_animation_speed = get_theme_mod('news_animation_speed', 3000);
|
7 |
+
$newz_smooth_speed = get_theme_mod('news_smooth_speed', 1000);
|
8 |
+
$isRTL = (is_rtl()) ? (bool) true : (bool) false;
|
9 |
+
$newz_slide_layout = get_theme_mod('wpkites_homeblog_layout',4);
|
10 |
+
if($newz_slide_layout==4){
|
11 |
+
$newz_slide_items=3;
|
12 |
+
}elseif($newz_slide_layout==6){
|
13 |
+
$newz_slide_items=2;
|
14 |
+
}
|
15 |
+
$newz_nav_style = get_theme_mod('news_nav_style', 'bullets');
|
16 |
+
$newzsettings = array('slide_items' => $newz_slide_items, 'animationSpeed' => $newz_animation_speed, 'smoothSpeed' => $newz_smooth_speed, 'newz_nav_style' => $newz_nav_style, 'rtl' => $isRTL);
|
17 |
+
wp_register_script('wpkites-blog', SPICEB_PLUGIN_URL . '/inc/wpkites/js/front-page/blog.js', array('jquery'));
|
18 |
+
wp_localize_script('wpkites-blog','newz_settings', $newzsettings);
|
19 |
+
wp_enqueue_script('wpkites-blog');
|
20 |
+
$latest_news_section_enable = get_theme_mod('latest_news_section_enable', true);
|
21 |
+
if ($latest_news_section_enable != false) {
|
22 |
+
?>
|
23 |
+
<!-- Latest News section -->
|
24 |
+
<section class="section-space blog bg-default-color home-blog">
|
25 |
+
<div class="wpkites-newz container">
|
26 |
+
<?php
|
27 |
+
$home_news_section_title = get_theme_mod('home_news_section_title', __('Vitae Lacinia', 'spicebox'));
|
28 |
+
$home_news_section_discription = get_theme_mod('home_news_section_discription', __('Cras Vitae Placerat', 'spicebox'));
|
29 |
+
$home_meta_section_settings = get_theme_mod('home_meta_section_settings', true);
|
30 |
+
if (($home_news_section_title) || ($home_news_section_discription) != '') {
|
31 |
+
?>
|
32 |
+
<div class="row">
|
33 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
34 |
+
<div class="section-header">
|
35 |
+
<?php if($home_news_section_title){?><h2 class="section-title"><?php echo esc_html($home_news_section_title); ?></h2><?php }
|
36 |
+
if ($home_news_section_discription){?><h5 class="section-subtitle"><?php echo esc_html($home_news_section_discription); ?></h5>
|
37 |
+
<?php } ?>
|
38 |
+
<div class="separator"><i class="fa fa-crosshairs"></i></div>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
<!-- /Section Title -->
|
43 |
+
<?php } ?>
|
44 |
+
<div class="row">
|
45 |
+
<?php
|
46 |
+
$no_of_post = 4;
|
47 |
+
$args = array('post_type' => 'post', 'post__not_in' => get_option("sticky_posts"), 'posts_per_page' => $no_of_post);
|
48 |
+
query_posts($args);
|
49 |
+
if (query_posts($args)) {?>
|
50 |
+
<div id="blog-carousel1" class="owl-carousel owl-theme col-lg-12">
|
51 |
+
<?php
|
52 |
+
while (have_posts()):the_post(); {?>
|
53 |
+
<div class="item">
|
54 |
+
<article class="post">
|
55 |
+
<?php if (has_post_thumbnail()) { ?>
|
56 |
+
<figure class="post-thumbnail">
|
57 |
+
<?php
|
58 |
+
$defalt_arg = array('class' => "img-fluid");
|
59 |
+
the_post_thumbnail('', $defalt_arg); ?>
|
60 |
+
</figure>
|
61 |
+
<?php } ?>
|
62 |
+
<div class="post-content <?php if(!has_post_thumbnail()){ echo 'remove-images';}?>">
|
63 |
+
<?php
|
64 |
+
if ($home_meta_section_settings == true) {?>
|
65 |
+
<div class="entry-date <?php if(!has_post_thumbnail()){ echo 'remove-image';}?>">
|
66 |
+
<a href="<?php echo esc_url(home_url()).'/'.esc_html(date('Y/m', strtotime(get_the_date()))); ?>">
|
67 |
+
<?php echo esc_html(get_the_date()); ?>
|
68 |
+
</a>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
<div class="entry-meta">
|
72 |
+
<i class="fa fa-user"></i><span class="author postauthor"><a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>">
|
73 |
+
<?php echo esc_html(get_the_author()); ?></a></span>
|
74 |
+
|
75 |
+
|
76 |
+
<?php
|
77 |
+
$cat_list = get_the_category_list();
|
78 |
+
if (!empty($cat_list)) {?>
|
79 |
+
<i class="fa fa-folder-open"></i><span class="cat-links postcat"><?php the_category(', '); ?></span>
|
80 |
+
<?php }
|
81 |
+
|
82 |
+
$commt = get_comments_number();
|
83 |
+
if (!empty($commt)) {
|
84 |
+
?>
|
85 |
+
<i class="fa fa-comment-o"></i><span class="cat-links"><a href="<?php the_permalink();?>"><?php echo esc_html(get_comments_number());?></a></span>
|
86 |
+
<?php } ?>
|
87 |
+
|
88 |
+
</div>
|
89 |
+
<?php } ?>
|
90 |
+
|
91 |
+
<header class="entry-header">
|
92 |
+
<h4 class="entry-title">
|
93 |
+
<a class="home-blog-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
94 |
+
</h4>
|
95 |
+
</header>
|
96 |
+
|
97 |
+
<div class="entry-content">
|
98 |
+
<?php the_excerpt();
|
99 |
+
$blog_button = get_theme_mod('home_news_button_title', __('Read More', 'spicebox'));
|
100 |
+
if (!empty($blog_button)) {?>
|
101 |
+
<p>
|
102 |
+
<a href="<?php the_permalink(); ?>" class="more-link"><?php echo esc_html($blog_button); ?>
|
103 |
+
<i class="fa fa-plus"></i>
|
104 |
+
</a>
|
105 |
+
</p>
|
106 |
+
<?php } ?>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
</article>
|
110 |
+
</div>
|
111 |
+
<?php
|
112 |
+
}
|
113 |
+
endwhile;?>
|
114 |
+
</div>
|
115 |
+
<?php
|
116 |
+
}
|
117 |
+
?>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</section>
|
121 |
+
<?php }
|
122 |
+
} ?>
|
inc/wpkites/sections/wpkites-services-section.php
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wpkites_services_action','spiceb_wpkites_services_section');
|
3 |
+
|
4 |
+
function spiceb_wpkites_services_section()
|
5 |
+
{
|
6 |
+
$service_data = get_theme_mod('wpkites_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 |
+
$wpkites_service_section_title = get_theme_mod('home_service_section_title', __('Quisque Blandit', 'spicebox'));
|
39 |
+
$wpkites_service_section_discription = get_theme_mod('home_service_section_discription', __('Fusce Sed Massa', 'spicebox'));
|
40 |
+
$wpkites_service_section_enabled = get_theme_mod('home_service_section_enabled',true);
|
41 |
+
|
42 |
+
$service_section_class = 'services';
|
43 |
+
|
44 |
+
if($wpkites_service_section_enabled ==true)
|
45 |
+
{
|
46 |
+
?>
|
47 |
+
<section class="section-space <?php echo esc_attr($service_section_class); ?> bg-default-color ">
|
48 |
+
<div class="container">
|
49 |
+
<?php if ($wpkites_service_section_discription != '' || $wpkites_service_section_title != '') {?>
|
50 |
+
<div class="row">
|
51 |
+
<div class="col-md-12 col-sm-12 col-xs-12">
|
52 |
+
<div class="section-header">
|
53 |
+
<?php if ($wpkites_service_section_title != '') { ?>
|
54 |
+
<h2 class="section-title"><?php echo esc_html($wpkites_service_section_title); ?></h2>
|
55 |
+
<?php if ($wpkites_service_section_discription != '') { ?>
|
56 |
+
<h5 class="section-subtitle"><?php echo esc_html($wpkites_service_section_discription); ?></h5>
|
57 |
+
<?php } ?>
|
58 |
+
<div class="separator"><i class="fa fa-crosshairs"></i></div>
|
59 |
+
<?php } ?>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
<?php } ?>
|
64 |
+
|
65 |
+
<div class="row">
|
66 |
+
<?php
|
67 |
+
$service_data = json_decode($service_data);
|
68 |
+
if (!empty($service_data)) {
|
69 |
+
foreach ($service_data as $service_team) {
|
70 |
+
$service_icon = !empty($service_team->icon_value) ? apply_filters('wpkites_translate_single_string', $service_team->icon_value, 'Service section') : '';
|
71 |
+
$service_image = !empty($service_team->image_url) ? apply_filters('wpkites_translate_single_string', $service_team->image_url, 'Service section') : '';
|
72 |
+
$service_title = !empty($service_team->title) ? apply_filters('wpkites_translate_single_string', $service_team->title, 'Service section') : '';
|
73 |
+
$service_desc = !empty($service_team->text) ? apply_filters('wpkites_translate_single_string', $service_team->text, 'Service section') : '';
|
74 |
+
$service_link = !empty($service_team->link) ? apply_filters('wpkites_translate_single_string', $service_team->link, 'Service section') : '';
|
75 |
+
?>
|
76 |
+
<div class="col-md-4 col-sm-6 col-xs-12">
|
77 |
+
<article class="post text-center">
|
78 |
+
<?php if ($service_team->choice == 'customizer_repeater_icon') {
|
79 |
+
if ($service_icon != '') { ?>
|
80 |
+
<figure class="post-thumbnail">
|
81 |
+
<?php if ($service_link != '') { ?>
|
82 |
+
<a <?php if ($service_team->open_new_tab == 'yes') {
|
83 |
+
echo "target='_blank'";
|
84 |
+
} ?> href="<?php echo esc_url($service_link); ?>">
|
85 |
+
<i class="fa <?php echo esc_attr($service_icon); ?>"></i>
|
86 |
+
</a>
|
87 |
+
<?php } else { ?>
|
88 |
+
<a><i class="fa <?php echo esc_attr($service_icon); ?>"></i></a>
|
89 |
+
<?php } ?>
|
90 |
+
</figure>
|
91 |
+
<?php
|
92 |
+
}
|
93 |
+
} else if ($service_team->choice == 'customizer_repeater_image') {
|
94 |
+
if ($service_image != '') { ?>
|
95 |
+
<figure class="post-thumbnail">
|
96 |
+
<?php
|
97 |
+
if ($service_link != '') { ?>
|
98 |
+
<a <?php if ($service_team->open_new_tab == 'yes') {
|
99 |
+
echo "target='_blank'";
|
100 |
+
} ?> href="<?php echo esc_url($service_link); ?>">
|
101 |
+
<?php }
|
102 |
+
?>
|
103 |
+
<img class='img-fluid' src="<?php echo esc_url($service_image); ?>">
|
104 |
+
<?php if ($service_link != '') { ?>
|
105 |
+
</a>
|
106 |
+
<?php }
|
107 |
+
} ?>
|
108 |
+
</figure>
|
109 |
+
<?php
|
110 |
+
}
|
111 |
+
?>
|
112 |
+
<?php if ($service_title != "") { ?>
|
113 |
+
<div class="entry-header">
|
114 |
+
<h4 class="entry-title">
|
115 |
+
<?php if ($service_link != '') { ?>
|
116 |
+
<a href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {
|
117 |
+
echo "target='_blank'";
|
118 |
+
} ?>><?php } echo esc_html($service_title);
|
119 |
+
if ($service_link != '') { ?></a>
|
120 |
+
<?php } ?>
|
121 |
+
</h4>
|
122 |
+
</div>
|
123 |
+
<?php
|
124 |
+
}
|
125 |
+
if ($service_desc != ""): ?>
|
126 |
+
<div class="entry-content">
|
127 |
+
<p><?php echo wp_kses_post($service_desc); ?></p>
|
128 |
+
</div>
|
129 |
+
<?php endif; ?>
|
130 |
+
</article>
|
131 |
+
</div>
|
132 |
+
<?php
|
133 |
+
}
|
134 |
+
}
|
135 |
+
?>
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
</section>
|
139 |
+
<?php } ?>
|
140 |
+
<div class="clearfix"></div>
|
141 |
+
<?php //End of service section enable condition
|
142 |
+
}
|
143 |
+
?>
|
inc/wpkites/sections/wpkites-slider-section.php
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Slider section for the homepage.
|
4 |
+
*/
|
5 |
+
add_action('spiceb_wpkites_slider_action','spiceb_wpkites_slider_section');
|
6 |
+
|
7 |
+
function spiceb_wpkites_slider_section()
|
8 |
+
{
|
9 |
+
$home_slider_image = get_theme_mod('home_slider_image',WPKITES_TEMPLATE_DIR_URI .'/assets/images/slider/slider.jpg');
|
10 |
+
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet<br> lacus molestie','spicebox'));
|
11 |
+
$home_slider_discription = get_theme_mod('home_slider_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim.<br> Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
|
12 |
+
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
13 |
+
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
14 |
+
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
15 |
+
|
16 |
+
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
17 |
+
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
18 |
+
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
19 |
+
$slider_align_split = get_theme_mod('slider_content_alignment','left');
|
20 |
+
|
21 |
+
if(get_theme_mod('home_page_slider_enabled',true)==true) {
|
22 |
+
$video_upload = get_theme_mod('slide_video_upload');
|
23 |
+
$video_upload = wp_get_attachment_url( $video_upload);
|
24 |
+
$video_youtub = get_theme_mod('slide_video_url');
|
25 |
+
// Below Script will run for only video slide
|
26 |
+
if((!empty($video_upload) || !empty($video_youtub) ) && (get_theme_mod('slide_variation','slide')=='video')){ ?>
|
27 |
+
<section class="video-slider home-section home-full-height bcslider-section" id="totop" data-background="assets/images/section-5.jpg">
|
28 |
+
<?php if(!empty($video_youtub)){?>
|
29 |
+
<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>
|
30 |
+
<?php }
|
31 |
+
else if(!empty($video_upload)){?>
|
32 |
+
<video autoplay="" muted="" loop="" id="video_slider">
|
33 |
+
<source src="<?php echo esc_url($video_upload); ?>" type="video/mp4">
|
34 |
+
</video>
|
35 |
+
<?php }?>
|
36 |
+
<div class="container slider-caption">
|
37 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
38 |
+
<?php
|
39 |
+
if($home_slider_title!=''){ ?>
|
40 |
+
<div class="inner-title">
|
41 |
+
<h2 class="title"><?php echo wp_kses_post($home_slider_title); ?></h2>
|
42 |
+
</div>
|
43 |
+
<?php }
|
44 |
+
if($home_slider_discription!=''){ ?>
|
45 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
46 |
+
<?php } ?>
|
47 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
48 |
+
<div class="btn-combo">
|
49 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
50 |
+
<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); ?></a>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
53 |
+
<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); ?></a>
|
54 |
+
<?php endif;?>
|
55 |
+
</div>
|
56 |
+
<?php } ?>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
60 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
61 |
+
if($slider_image_overlay != false) { ?>
|
62 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
63 |
+
<?php } ?>
|
64 |
+
</section>
|
65 |
+
<?php }
|
66 |
+
else{ ?>
|
67 |
+
<!-- Slider Section -->
|
68 |
+
<section class="bcslider-section">
|
69 |
+
<div class="home-section back-img" <?php if($home_slider_image!='') { ?>style="background-image:url( <?php echo esc_url($home_slider_image); ?> );" <?php } ?>>
|
70 |
+
<div class="container slider-caption">
|
71 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
72 |
+
<?php
|
73 |
+
if($home_slider_title!=''){ ?>
|
74 |
+
<div class="inner-title">
|
75 |
+
<h2 class="title"><?php echo wp_kses_post($home_slider_title); ?></h2>
|
76 |
+
</div>
|
77 |
+
<?php }
|
78 |
+
if($home_slider_discription!=''){ ?>
|
79 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
80 |
+
<?php } ?>
|
81 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
82 |
+
<div class="btn-combo">
|
83 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
84 |
+
<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); ?> </a>
|
85 |
+
<?php endif; ?>
|
86 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
87 |
+
<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); ?></a>
|
88 |
+
<?php endif;?>
|
89 |
+
</div>
|
90 |
+
<?php } ?>
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
94 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
95 |
+
if($slider_image_overlay != false) { ?>
|
96 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
97 |
+
<?php } ?>
|
98 |
+
</div>
|
99 |
+
</section>
|
100 |
+
<?php } ?>
|
101 |
+
<div class="clearfix"></div>
|
102 |
+
<?php
|
103 |
+
}
|
104 |
+
} ?>
|
inc/wpkites/sections/wpkites-team-section.php
ADDED
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wpkites_team_action','spiceb_wpkites_team_section');
|
3 |
+
|
4 |
+
function spiceb_wpkites_team_section(){
|
5 |
+
$team_options = get_theme_mod('wpkites_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('wpkites-team', SPICEB_PLUGIN_URL . '/inc/wpkites/js/front-page/team.js', array('jquery'));
|
13 |
+
wp_localize_script('wpkites-team', 'team_settings', $teamsettings);
|
14 |
+
wp_enqueue_script('wpkites-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 |
+
$team_section_class = 'team team1 bg-default';
|
151 |
+
?>
|
152 |
+
<section class="section-space <?php echo esc_attr($team_section_class);?>">
|
153 |
+
<div class="wpkites-team-container container">
|
154 |
+
<?php
|
155 |
+
$home_team_section_title = get_theme_mod('home_team_section_title', __('Magna Aliqua', 'spicebox'));
|
156 |
+
$home_team_section_discription = get_theme_mod('home_team_section_discription', __('Ullamco Laboris Nisi', 'spicebox'));
|
157 |
+
if (($home_team_section_title) || ($home_team_section_discription) != '') {?>
|
158 |
+
<div class="row">
|
159 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
160 |
+
<div class="section-header">
|
161 |
+
<?php
|
162 |
+
if(!empty($home_team_section_title)):?><h2 class="section-title"><?php echo esc_html($home_team_section_title); ?></h2><?php endif;
|
163 |
+
if(!empty($home_team_section_discription)):?><h5 class="section-subtitle"><?php echo esc_html($home_team_section_discription); ?></h5>
|
164 |
+
<?php endif;?>
|
165 |
+
<div class="separator"><i class="fa fa-crosshairs"></i></div>
|
166 |
+
</div>
|
167 |
+
</div>
|
168 |
+
</div>
|
169 |
+
<?php } ?>
|
170 |
+
<div class="row">
|
171 |
+
<div id="team-carousel" class="owl-carousel owl-theme col-lg-12">
|
172 |
+
<?php
|
173 |
+
$team_options = json_decode($team_options);
|
174 |
+
if (!empty($team_options)) {
|
175 |
+
foreach ($team_options as $team_item) {
|
176 |
+
$image = !empty($team_item->image_url) ? apply_filters('wpkites_translate_single_string', $team_item->image_url, 'Team section') : '';
|
177 |
+
|
178 |
+
$title = !empty($team_item->membername) ? apply_filters('wpkites_translate_single_string', $team_item->membername, 'Team section') : '';
|
179 |
+
$subtitle = !empty($team_item->designation) ? apply_filters('wpkites_translate_single_string', $team_item->designation, 'Team section') : '';
|
180 |
+
$aboutme = !empty($team_item->text) ? apply_filters('wpkites_translate_single_string', $team_item->text, 'Team section') : '';?>
|
181 |
+
<div class="item">
|
182 |
+
<div class="team-grid">
|
183 |
+
<div class="img-holder">
|
184 |
+
<?php if(!empty($image)){ ?>
|
185 |
+
<img src="<?php echo esc_url($image); ?>" class="img-fluid">
|
186 |
+
<?php }
|
187 |
+
$icons = html_entity_decode($team_item->social_repeater);
|
188 |
+
$icons_decoded = json_decode($icons, true);
|
189 |
+
$socails_counts = $icons_decoded;
|
190 |
+
if (!empty($socails_counts)) :
|
191 |
+
if (!empty($icons_decoded)) : ?>
|
192 |
+
<ul class="custom-social-icons">
|
193 |
+
<?php
|
194 |
+
foreach ($icons_decoded as $value)
|
195 |
+
{
|
196 |
+
$social_icon = !empty($value['icon']) ? apply_filters('wpkites_translate_single_string', $value['icon'], 'Team section') : '';
|
197 |
+
$social_link = !empty($value['link']) ? apply_filters('wpkites_translate_single_string', $value['link'], 'Team section') : '';
|
198 |
+
if (!empty($social_icon))
|
199 |
+
{ ?>
|
200 |
+
<li><a class="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>
|
201 |
+
<?php
|
202 |
+
}
|
203 |
+
}
|
204 |
+
?>
|
205 |
+
</ul>
|
206 |
+
<?php
|
207 |
+
endif;
|
208 |
+
endif;?>
|
209 |
+
</div>
|
210 |
+
<figcaption class="details">
|
211 |
+
<h4 class="name"><?php echo esc_html($title);?></h4>
|
212 |
+
<span class="position"><?php echo esc_html($subtitle);?></span>
|
213 |
+
</figcaption>
|
214 |
+
<!-- Back Side -->
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
<?php
|
218 |
+
}
|
219 |
+
}?>
|
220 |
+
</div>
|
221 |
+
</div>
|
222 |
+
</div>
|
223 |
+
</section>
|
224 |
+
<?php
|
225 |
+
}
|
226 |
+
}
|
inc/wpkites/sections/wpkites-testimonial-section.php
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Call the action for team section */
|
3 |
+
add_action('spiceb_wpkites_testimonial_action','spiceb_wpkites_testimonial_section');
|
4 |
+
/* Function for team section*/
|
5 |
+
function spiceb_wpkites_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 |
+
$testimonial_settings = array('design_id' => '#testimonial-carousel', 'slide_items' => $slide_items, 'animationSpeed' => $testimonial_animation_speed, 'smoothSpeed' => $testimonial_smooth_speed, 'testimonial_nav_style' => $testimonial_nav_style, 'rtl' => $isRTL);
|
15 |
+
wp_register_script('wpkites-testimonial', SPICEB_PLUGIN_URL . '/inc/wpkites/js/front-page/testi.js', array('jquery'));
|
16 |
+
wp_localize_script('wpkites-testimonial', 'testimonial_settings', $testimonial_settings);
|
17 |
+
wp_enqueue_script('wpkites-testimonial');
|
18 |
+
|
19 |
+
$home_testimonial_section_title = get_theme_mod('home_testimonial_section_title', __('Proin Egestas', 'spicebox'));
|
20 |
+
$home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription', __('Nam Viverra Iaculis Finibus', 'spicebox'));
|
21 |
+
|
22 |
+
$testimonial_options = get_theme_mod('wpkites_testimonial_content');
|
23 |
+
if (empty($testimonial_options)) {
|
24 |
+
$testimonial_options = json_encode(array(
|
25 |
+
array(
|
26 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
27 |
+
'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.',
|
28 |
+
'clientname' => __('Amanda Smith', 'spicebox'),
|
29 |
+
'designation' => __('Developer', 'spicebox'),
|
30 |
+
'home_testimonial_star' => '4.5',
|
31 |
+
'link' => '#',
|
32 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user1.jpg',
|
33 |
+
'open_new_tab' => 'no',
|
34 |
+
'id' => 'customizer_repeater_77d7ea7f40b96',
|
35 |
+
'home_slider_caption' => 'customizer_repeater_star_4.5',
|
36 |
+
),
|
37 |
+
array(
|
38 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
39 |
+
'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.',
|
40 |
+
'clientname' => __('Travis Cullan', 'spicebox'),
|
41 |
+
'designation' => __('Team Leader', 'spicebox'),
|
42 |
+
'home_testimonial_star' => '5',
|
43 |
+
'link' => '#',
|
44 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user2.jpg',
|
45 |
+
'open_new_tab' => 'no',
|
46 |
+
'id' => 'customizer_repeater_88d7ea7f40b97',
|
47 |
+
'home_slider_caption' => 'customizer_repeater_star_5',
|
48 |
+
),
|
49 |
+
array(
|
50 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
51 |
+
'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.',
|
52 |
+
'clientname' => __('Victoria Wills', 'spicebox'),
|
53 |
+
'designation' => __('Volunteer', 'spicebox'),
|
54 |
+
'home_testimonial_star' => '3.5',
|
55 |
+
'link' => '#',
|
56 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user3.jpg',
|
57 |
+
'id' => 'customizer_repeater_11d7ea7f40b98',
|
58 |
+
'open_new_tab' => 'no',
|
59 |
+
'home_slider_caption' => 'customizer_repeater_star_3.5',
|
60 |
+
),
|
61 |
+
));
|
62 |
+
}
|
63 |
+
if(get_theme_mod('testimonial_section_enable',true)==true):
|
64 |
+
|
65 |
+
$testimonial_class='testimonial-1 bg-default-color-2';
|
66 |
+
?>
|
67 |
+
<section class="section-space testimonial <?php echo esc_attr($testimonial_class); ?> shortitem-1">
|
68 |
+
|
69 |
+
<div class="container">
|
70 |
+
<?php if ($home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
71 |
+
<div class="row">
|
72 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
73 |
+
<div class="section-header">
|
74 |
+
<?php if($home_testimonial_section_title):?>
|
75 |
+
<h2 class="section-title"><?php echo esc_html($home_testimonial_section_title); ?></h2>
|
76 |
+
<?php endif;?>
|
77 |
+
<?php if ($home_testimonial_section_discription != ''):?>
|
78 |
+
<h5 class="section-subtitle"><?php echo esc_html($home_testimonial_section_discription); ?></h5>
|
79 |
+
<?php endif;?>
|
80 |
+
<div class="separator"><i class="fa fa-crosshairs"></i></div>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
<?php } ?>
|
85 |
+
|
86 |
+
<!--Testimonial-->
|
87 |
+
|
88 |
+
<div class="row">
|
89 |
+
<div class="owl-carousel owl-theme col-md-12 owl-loaded owl-drag" id="testimonial-carousel">
|
90 |
+
<?php
|
91 |
+
$testimonial_options = json_decode($testimonial_options);
|
92 |
+
if ($testimonial_options != '') {
|
93 |
+
$allowed_html = array(
|
94 |
+
'br' => array(),
|
95 |
+
'em' => array(),
|
96 |
+
'strong' => array(),
|
97 |
+
'b' => array(),
|
98 |
+
'i' => array(),
|
99 |
+
);
|
100 |
+
foreach ($testimonial_options as $testimonial_iteam){
|
101 |
+
$title = !empty($testimonial_iteam->title) ? apply_filters('wpkites_translate_single_string', $testimonial_iteam->title, 'Testimonial section') : '';
|
102 |
+
$test_desc = !empty($testimonial_iteam->text) ? apply_filters('wpkites_translate_single_string', $testimonial_iteam->text, 'Testimonial section') : '';
|
103 |
+
$test_link = $testimonial_iteam->link;
|
104 |
+
$open_new_tab = $testimonial_iteam->open_new_tab;
|
105 |
+
$clientname = !empty($testimonial_iteam->clientname) ? apply_filters('wpkites_translate_single_string', $testimonial_iteam->clientname, 'Testimonial section') : '';
|
106 |
+
$designation = !empty($testimonial_iteam->designation) ? apply_filters('wpkites_translate_single_string', $testimonial_iteam->designation, 'Testimonial section') : '';
|
107 |
+
$stars = !empty($testimonial_iteam->home_testimonial_star) ? apply_filters('wpkites_translate_single_string', $testimonial_iteam->home_testimonial_star, 'Testimonial section') : '';
|
108 |
+
//Below Code will Run For Testimonial Design 1
|
109 |
+
?>
|
110 |
+
<div class="testimonial-block">
|
111 |
+
<div class="inner-box">
|
112 |
+
<div class="row clearfix">
|
113 |
+
<!-- Content Column -->
|
114 |
+
<div class="content-column col-lg-7 col-md-12 col-sm-12">
|
115 |
+
<div class="inner-column">
|
116 |
+
<div class="quote-icon">
|
117 |
+
<span class="icon fa fa-quote-left"></span>
|
118 |
+
</div>
|
119 |
+
<?php if ($test_desc != '') { ?>
|
120 |
+
<div class="entry-content">
|
121 |
+
<?php if (!empty($test_desc)): ?>
|
122 |
+
<p><?php echo wp_kses(html_entity_decode($test_desc), $allowed_html); ?></p>
|
123 |
+
<?php endif; ?>
|
124 |
+
</div>
|
125 |
+
<?php }
|
126 |
+
if (($clientname != '' || $designation != '')) { ?>
|
127 |
+
<div class="author-info">
|
128 |
+
<?php if ($clientname != '') {?>
|
129 |
+
<div class="author-name">
|
130 |
+
<?php
|
131 |
+
if ($open_new_tab == "yes"){
|
132 |
+
$target='target="_blank"';}
|
133 |
+
else{
|
134 |
+
$target='';
|
135 |
+
}
|
136 |
+
if(!empty($test_link)){
|
137 |
+
echo '<a href="'.esc_url($test_link).'" '.$target.'>'.esc_html($clientname).'</a>';
|
138 |
+
}
|
139 |
+
else{
|
140 |
+
echo esc_html($clientname);
|
141 |
+
}?>
|
142 |
+
</div>
|
143 |
+
<?php }
|
144 |
+
if ($designation != '') {?>
|
145 |
+
<div class="designation"><?php echo esc_html($designation); ?></div>
|
146 |
+
<?php } ?>
|
147 |
+
</div>
|
148 |
+
<?php } ?>
|
149 |
+
</div>
|
150 |
+
</div>
|
151 |
+
<?php if ($testimonial_iteam->image_url != ''): ?>
|
152 |
+
<!-- Image Column -->
|
153 |
+
<div class="image-column col-lg-5 col-md-12 col-sm-12">
|
154 |
+
<div class="inner-column">
|
155 |
+
<div class="image">
|
156 |
+
<img src="<?php echo esc_url($testimonial_iteam->image_url); ?>" alt="img" class="img-fluid"/>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
</div>
|
160 |
+
<?php endif;?>
|
161 |
+
</div>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
<?php
|
165 |
+
}?>
|
166 |
+
</div>
|
167 |
+
|
168 |
+
<?php
|
169 |
+
}
|
170 |
+
?>
|
171 |
+
</div>
|
172 |
+
</div>
|
173 |
+
</section>
|
174 |
+
<?php endif;?>
|
175 |
+
<!-- /End of Testimonial Section-->
|
176 |
+
<?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"
|
@@ -54,6 +54,8 @@ msgstr ""
|
|
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 ""
|
@@ -76,6 +78,12 @@ msgstr ""
|
|
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 "
|
@@ -93,6 +101,8 @@ msgstr ""
|
|
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 |
|
@@ -104,6 +114,8 @@ msgstr ""
|
|
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 |
|
@@ -139,6 +151,9 @@ msgstr ""
|
|
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 |
|
@@ -164,6 +179,8 @@ msgstr ""
|
|
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 |
|
@@ -175,6 +192,8 @@ msgstr ""
|
|
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 |
|
@@ -186,6 +205,8 @@ msgstr ""
|
|
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 |
|
@@ -197,12 +218,15 @@ msgstr ""
|
|
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 ""
|
@@ -210,6 +234,7 @@ msgstr ""
|
|
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 ""
|
@@ -217,6 +242,7 @@ msgstr ""
|
|
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"
|
@@ -229,6 +255,8 @@ msgstr ""
|
|
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 |
|
@@ -277,6 +305,11 @@ msgstr ""
|
|
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 |
|
@@ -287,6 +320,8 @@ msgstr ""
|
|
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 |
|
@@ -305,18 +340,24 @@ msgstr ""
|
|
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"
|
@@ -359,6 +400,8 @@ msgstr ""
|
|
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 ""
|
@@ -366,12 +409,14 @@ msgstr ""
|
|
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"
|
@@ -396,6 +441,8 @@ msgstr ""
|
|
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 |
|
@@ -405,6 +452,7 @@ msgstr ""
|
|
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 |
|
@@ -420,6 +468,7 @@ msgstr ""
|
|
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 |
|
@@ -429,6 +478,7 @@ msgstr ""
|
|
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 ""
|
@@ -443,18 +493,21 @@ msgstr ""
|
|
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"
|
@@ -464,6 +517,7 @@ msgstr ""
|
|
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 ""
|
@@ -491,6 +545,8 @@ msgstr ""
|
|
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 |
|
@@ -500,6 +556,7 @@ msgstr ""
|
|
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 |
|
@@ -507,6 +564,7 @@ msgstr ""
|
|
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 |
|
@@ -514,6 +572,7 @@ msgstr ""
|
|
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 "
|
@@ -531,6 +590,8 @@ msgstr ""
|
|
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 |
|
@@ -538,6 +599,7 @@ msgstr ""
|
|
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 |
|
@@ -545,6 +607,7 @@ msgstr ""
|
|
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 |
|
@@ -552,6 +615,7 @@ msgstr ""
|
|
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 |
|
@@ -559,6 +623,7 @@ msgstr ""
|
|
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 |
|
@@ -566,6 +631,7 @@ msgstr ""
|
|
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 |
|
@@ -573,6 +639,7 @@ msgstr ""
|
|
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 ""
|
@@ -580,6 +647,7 @@ msgstr ""
|
|
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"
|
@@ -592,6 +660,7 @@ msgstr ""
|
|
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"
|
@@ -601,6 +670,7 @@ msgstr ""
|
|
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 ""
|
@@ -609,6 +679,7 @@ msgstr ""
|
|
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 |
|
@@ -616,6 +687,7 @@ msgstr ""
|
|
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 |
|
@@ -623,6 +695,7 @@ msgstr ""
|
|
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 |
|
@@ -691,6 +764,7 @@ msgstr ""
|
|
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 |
|
@@ -704,6 +778,8 @@ msgstr ""
|
|
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 |
|
@@ -719,6 +795,7 @@ msgstr ""
|
|
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 |
|
@@ -742,6 +819,8 @@ msgstr ""
|
|
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 |
|
@@ -754,6 +833,7 @@ msgstr ""
|
|
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 |
|
@@ -762,6 +842,7 @@ msgstr ""
|
|
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 |
|
@@ -770,6 +851,7 @@ msgstr ""
|
|
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 |
|
@@ -777,12 +859,14 @@ msgstr ""
|
|
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"
|
@@ -805,6 +889,7 @@ msgstr ""
|
|
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 |
|
@@ -818,6 +903,7 @@ msgstr ""
|
|
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 |
|
@@ -828,6 +914,9 @@ msgstr ""
|
|
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 |
|
@@ -838,6 +927,9 @@ msgstr ""
|
|
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 |
|
@@ -848,6 +940,9 @@ msgstr ""
|
|
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 |
|
@@ -858,12 +953,16 @@ msgstr ""
|
|
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 ""
|
@@ -871,6 +970,7 @@ msgstr ""
|
|
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"
|
@@ -885,6 +985,8 @@ msgstr ""
|
|
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 |
|
@@ -893,6 +995,7 @@ msgstr ""
|
|
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 |
|
@@ -905,6 +1008,7 @@ msgstr ""
|
|
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 |
|
@@ -944,6 +1048,7 @@ msgstr ""
|
|
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 |
|
@@ -970,6 +1075,8 @@ msgstr ""
|
|
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"
|
@@ -1131,6 +1238,7 @@ msgstr ""
|
|
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 |
|
@@ -1179,6 +1287,7 @@ msgstr ""
|
|
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 |
|
@@ -1187,6 +1296,9 @@ msgstr ""
|
|
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 |
|
@@ -1195,6 +1307,9 @@ msgstr ""
|
|
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 |
|
@@ -1644,6 +1759,8 @@ msgstr ""
|
|
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 |
|
@@ -1653,6 +1770,8 @@ msgstr ""
|
|
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 |
|
@@ -1662,6 +1781,8 @@ msgstr ""
|
|
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 |
|
@@ -2022,6 +2143,7 @@ msgstr ""
|
|
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 |
|
@@ -2095,6 +2217,8 @@ msgstr ""
|
|
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 |
|
@@ -2102,6 +2226,8 @@ msgstr ""
|
|
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 |
|
@@ -2109,6 +2235,8 @@ msgstr ""
|
|
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 |
|
@@ -2116,6 +2244,8 @@ msgstr ""
|
|
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 |
|
@@ -2123,6 +2253,8 @@ msgstr ""
|
|
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 |
|
@@ -2130,6 +2262,8 @@ msgstr ""
|
|
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 ""
|
@@ -2281,3 +2415,21 @@ msgstr ""
|
|
2281 |
#: inc/spiko/sections/spiko-slider-section.php:17
|
2282 |
msgid "Lorem Ipsum"
|
2283 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
"POT-Creation-Date: "
|
7 |
+
"2021-12-28 18:05+0530\n"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
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 |
+
#: inc/wpkites/customizer.php:12
|
58 |
+
#: inc/wpkites/sections/wpkites-services-section.php:11
|
59 |
msgid ""
|
60 |
"Suspendisse Tristique"
|
61 |
msgstr ""
|
78 |
#: inc/spiko/sections/spiko-services-section.php:12
|
79 |
#: inc/spiko/sections/spiko-services-section.php:21
|
80 |
#: inc/spiko/sections/spiko-services-section.php:30
|
81 |
+
#: inc/wpkites/customizer.php:13
|
82 |
+
#: inc/wpkites/customizer.php:22
|
83 |
+
#: inc/wpkites/customizer.php:31
|
84 |
+
#: inc/wpkites/sections/wpkites-services-section.php:12
|
85 |
+
#: inc/wpkites/sections/wpkites-services-section.php:21
|
86 |
+
#: inc/wpkites/sections/wpkites-services-section.php:30
|
87 |
msgid ""
|
88 |
"Sed ut perspiciatis unde "
|
89 |
"omnis iste natus error "
|
101 |
#: inc/spice-software/sections/spice-software-services-section.php:20
|
102 |
#: inc/spiko/customizer.php:21
|
103 |
#: inc/spiko/sections/spiko-services-section.php:20
|
104 |
+
#: inc/wpkites/customizer.php:21
|
105 |
+
#: inc/wpkites/sections/wpkites-services-section.php:20
|
106 |
msgid "Blandit-Gravida"
|
107 |
msgstr ""
|
108 |
|
114 |
#: inc/spice-software/sections/spice-software-services-section.php:29
|
115 |
#: inc/spiko/customizer.php:30
|
116 |
#: inc/spiko/sections/spiko-services-section.php:29
|
117 |
+
#: inc/wpkites/customizer.php:30
|
118 |
+
#: inc/wpkites/sections/wpkites-services-section.php:29
|
119 |
msgid "Justo Bibendum"
|
120 |
msgstr ""
|
121 |
|
151 |
#: inc/spiko/customizer/slider-section.php:240
|
152 |
#: inc/spiko/sections/spiko-news-section.php:31
|
153 |
#: inc/spiko/sections/spiko-slider-section.php:23
|
154 |
+
#: inc/wpkites/customizer/news-section.php:55
|
155 |
+
#: inc/wpkites/customizer/slider-section.php:219
|
156 |
+
#: inc/wpkites/sections/wpkites-slider-section.php:16
|
157 |
msgid "Cras Vitae"
|
158 |
msgstr ""
|
159 |
|
179 |
#: inc/spice-software/sections/spice-software-team-section.php:22
|
180 |
#: inc/spiko/customizer.php:109
|
181 |
#: inc/spiko/sections/spiko-team-section.php:21
|
182 |
+
#: inc/wpkites/customizer.php:102
|
183 |
+
#: inc/wpkites/sections/wpkites-team-section.php:21
|
184 |
msgid "Senior Manager"
|
185 |
msgstr ""
|
186 |
|
192 |
#: inc/spice-software/sections/spice-software-team-section.php:55
|
193 |
#: inc/spiko/customizer.php:142
|
194 |
#: inc/spiko/sections/spiko-team-section.php:53
|
195 |
+
#: inc/wpkites/customizer.php:133
|
196 |
+
#: inc/wpkites/sections/wpkites-team-section.php:53
|
197 |
msgid "Founder & CEO"
|
198 |
msgstr ""
|
199 |
|
205 |
#: inc/spice-software/sections/spice-software-team-section.php:88
|
206 |
#: inc/spiko/customizer.php:175
|
207 |
#: inc/spiko/sections/spiko-team-section.php:85
|
208 |
+
#: inc/wpkites/customizer.php:164
|
209 |
+
#: inc/wpkites/sections/wpkites-team-section.php:85
|
210 |
msgid "Web Master"
|
211 |
msgstr ""
|
212 |
|
218 |
#: inc/spice-software/sections/spice-software-team-section.php:121
|
219 |
#: inc/spiko/customizer.php:208
|
220 |
#: inc/spiko/sections/spiko-team-section.php:117
|
221 |
+
#: inc/wpkites/customizer.php:195
|
222 |
+
#: inc/wpkites/sections/wpkites-team-section.php:117
|
223 |
msgid "UI Developer"
|
224 |
msgstr ""
|
225 |
|
226 |
#: inc/busicare/customizer.php:238
|
227 |
#: inc/spice-software/customizer.php:252
|
228 |
#: inc/spiko/customizer.php:252
|
229 |
+
#: inc/wpkites/customizer.php:238
|
230 |
msgid ""
|
231 |
"Homepage Section Settings"
|
232 |
msgstr ""
|
234 |
#: inc/busicare/customizer/news-section.php:13
|
235 |
#: inc/spice-software/customizer/news-section.php:4
|
236 |
#: inc/spiko/customizer/news-section.php:4
|
237 |
+
#: inc/wpkites/customizer/news-section.php:4
|
238 |
msgid ""
|
239 |
"Latest News Settings"
|
240 |
msgstr ""
|
242 |
#: inc/busicare/customizer/news-section.php:27
|
243 |
#: inc/spice-software/customizer/news-section.php:18
|
244 |
#: inc/spiko/customizer/news-section.php:18
|
245 |
+
#: inc/wpkites/customizer/news-section.php:18
|
246 |
msgid ""
|
247 |
"Enable/Disable Latest "
|
248 |
"News Section"
|
255 |
#: inc/spice-software/sections/spice-software-news-section.php:17
|
256 |
#: inc/spiko/customizer/news-section.php:40
|
257 |
#: inc/spiko/sections/spiko-news-section.php:51
|
258 |
+
#: inc/wpkites/customizer/news-section.php:28
|
259 |
+
#: inc/wpkites/sections/wpkites-news-section.php:27
|
260 |
msgid "Vitae Lacinia"
|
261 |
msgstr ""
|
262 |
|
305 |
#: inc/spiko/customizer/slider-section.php:181
|
306 |
#: inc/spiko/customizer/team-section.php:42
|
307 |
#: inc/spiko/customizer/testimonial-section.php:42
|
308 |
+
#: inc/wpkites/customizer/news-section.php:33
|
309 |
+
#: inc/wpkites/customizer/services-section.php:31
|
310 |
+
#: inc/wpkites/customizer/slider-section.php:160
|
311 |
+
#: inc/wpkites/customizer/team-section.php:29
|
312 |
+
#: inc/wpkites/customizer/testimonial-section.php:31
|
313 |
msgid "Title"
|
314 |
msgstr ""
|
315 |
|
320 |
#: inc/spice-software/sections/spice-software-news-section.php:18
|
321 |
#: inc/spiko/customizer/news-section.php:26
|
322 |
#: inc/spiko/sections/spiko-news-section.php:52
|
323 |
+
#: inc/wpkites/customizer/news-section.php:41
|
324 |
+
#: inc/wpkites/sections/wpkites-news-section.php:28
|
325 |
msgid "Cras Vitae Placerat"
|
326 |
msgstr ""
|
327 |
|
340 |
#: inc/spiko/customizer/slider-section.php:168
|
341 |
#: inc/spiko/customizer/team-section.php:30
|
342 |
#: inc/spiko/customizer/testimonial-section.php:29
|
343 |
+
#: inc/wpkites/customizer/news-section.php:46
|
344 |
+
#: inc/wpkites/customizer/services-section.php:47
|
345 |
+
#: inc/wpkites/customizer/team-section.php:42
|
346 |
+
#: inc/wpkites/customizer/testimonial-section.php:44
|
347 |
msgid "Sub Title"
|
348 |
msgstr ""
|
349 |
|
350 |
#: inc/busicare/customizer/news-section.php:69
|
351 |
#: inc/spice-software/customizer/news-section.php:60
|
352 |
#: inc/spiko/customizer/news-section.php:60
|
353 |
+
#: inc/wpkites/customizer/news-section.php:59
|
354 |
msgid "Read More Text"
|
355 |
msgstr ""
|
356 |
|
357 |
#: inc/busicare/customizer/news-section.php:86
|
358 |
#: inc/spice-software/customizer/news-section.php:77
|
359 |
#: inc/spiko/customizer/news-section.php:77
|
360 |
+
#: inc/wpkites/customizer/news-section.php:76
|
361 |
msgid ""
|
362 |
"Enable/Disable post meta "
|
363 |
"in blog section"
|
400 |
#: inc/spiko/customizer/news-section.php:131
|
401 |
#: inc/spiko/customizer/slider-section.php:232
|
402 |
#: inc/spiko/customizer/slider-section.php:270
|
403 |
+
#: inc/wpkites/customizer/slider-section.php:211
|
404 |
+
#: inc/wpkites/customizer/slider-section.php:249
|
405 |
msgid ""
|
406 |
"Open link in new tab"
|
407 |
msgstr ""
|
409 |
#: inc/busicare/customizer/services-section.php:3
|
410 |
#: inc/spice-software/customizer/services-section.php:3
|
411 |
#: inc/spiko/customizer/services-section.php:3
|
412 |
+
#: inc/wpkites/customizer/services-section.php:3
|
413 |
msgid "Services Settings"
|
414 |
msgstr ""
|
415 |
|
416 |
#: inc/busicare/customizer/services-section.php:16
|
417 |
#: inc/spice-software/customizer/services-section.php:16
|
418 |
#: inc/spiko/customizer/services-section.php:16
|
419 |
+
#: inc/wpkites/customizer/services-section.php:16
|
420 |
msgid ""
|
421 |
"Enable/Disable Service "
|
422 |
"Section"
|
441 |
#: inc/spice-software/sections/spice-software-services-section.php:39
|
442 |
#: inc/spiko/customizer/services-section.php:25
|
443 |
#: inc/spiko/sections/spiko-services-section.php:39
|
444 |
+
#: inc/wpkites/customizer/services-section.php:41
|
445 |
+
#: inc/wpkites/sections/wpkites-services-section.php:39
|
446 |
msgid "Fusce Sed Massa"
|
447 |
msgstr ""
|
448 |
|
452 |
#: inc/spice-software/customizer/services-section.php:59
|
453 |
#: inc/spicepress/features/feature-service-section.php:63
|
454 |
#: inc/spiko/customizer/services-section.php:57
|
455 |
+
#: inc/wpkites/customizer/services-section.php:58
|
456 |
msgid "Service content"
|
457 |
msgstr ""
|
458 |
|
468 |
#: inc/spice-software/customizer/services-section.php:63
|
469 |
#: inc/spicepress/features/feature-service-section.php:67
|
470 |
#: inc/spiko/customizer/services-section.php:61
|
471 |
+
#: inc/wpkites/customizer/services-section.php:62
|
472 |
msgid "Service"
|
473 |
msgstr ""
|
474 |
|
478 |
#: inc/innofit/customizer/services-section.php:72
|
479 |
#: inc/spice-software/customizer/services-section.php:77
|
480 |
#: inc/spiko/customizer/services-section.php:75
|
481 |
+
#: inc/wpkites/customizer/services-section.php:76
|
482 |
msgid ""
|
483 |
"To add More Service? Then"
|
484 |
msgstr ""
|
493 |
#: inc/innofit/customizer/testimonial-section.php:138
|
494 |
#: inc/spice-software/customizer/services-section.php:78
|
495 |
#: inc/spiko/customizer/services-section.php:76
|
496 |
+
#: inc/wpkites/customizer/services-section.php:77
|
497 |
msgid "Upgrade to Plus"
|
498 |
msgstr ""
|
499 |
|
500 |
#: inc/busicare/customizer/slider-section.php:14
|
501 |
#: inc/spice-software/customizer/slider-section.php:5
|
502 |
#: inc/spiko/customizer/slider-section.php:5
|
503 |
+
#: inc/wpkites/customizer/slider-section.php:5
|
504 |
msgid "Slider Settings"
|
505 |
msgstr ""
|
506 |
|
507 |
#: inc/busicare/customizer/slider-section.php:27
|
508 |
#: inc/spice-software/customizer/slider-section.php:18
|
509 |
#: inc/spiko/customizer/slider-section.php:18
|
510 |
+
#: inc/wpkites/customizer/slider-section.php:18
|
511 |
msgid ""
|
512 |
"Enable/Disable Slider "
|
513 |
"Section"
|
517 |
#: inc/honeypress/features/feature-slider-section.php:31
|
518 |
#: inc/spice-software/customizer/slider-section.php:29
|
519 |
#: inc/spiko/customizer/slider-section.php:29
|
520 |
+
#: inc/wpkites/customizer/slider-section.php:29
|
521 |
msgid ""
|
522 |
"Slider Background Type"
|
523 |
msgstr ""
|
545 |
#: inc/spicepress/features/feature-testimonial-section.php:105
|
546 |
#: inc/spiko/customizer/slider-section.php:34
|
547 |
#: inc/spiko/customizer/slider-section.php:103
|
548 |
+
#: inc/wpkites/customizer/slider-section.php:34
|
549 |
+
#: inc/wpkites/customizer/slider-section.php:95
|
550 |
msgid "Image"
|
551 |
msgstr ""
|
552 |
|
556 |
#: inc/honeypress/features/feature-slider-section.php:36
|
557 |
#: inc/spice-software/customizer/slider-section.php:35
|
558 |
#: inc/spiko/customizer/slider-section.php:35
|
559 |
+
#: inc/wpkites/customizer/slider-section.php:35
|
560 |
msgid "Video"
|
561 |
msgstr ""
|
562 |
|
564 |
#: inc/honeypress/features/feature-slider-section.php:50
|
565 |
#: inc/spice-software/customizer/slider-section.php:49
|
566 |
#: inc/spiko/customizer/slider-section.php:49
|
567 |
+
#: inc/wpkites/customizer/slider-section.php:49
|
568 |
msgid "Slider video"
|
569 |
msgstr ""
|
570 |
|
572 |
#: inc/honeypress/features/feature-slider-section.php:51
|
573 |
#: inc/spice-software/customizer/slider-section.php:50
|
574 |
#: inc/spiko/customizer/slider-section.php:50
|
575 |
+
#: inc/wpkites/customizer/slider-section.php:50
|
576 |
msgid ""
|
577 |
"Upload your video in ."
|
578 |
"mp4 format and minimize "
|
590 |
#: inc/spice-software/customizer/slider-section.php:60
|
591 |
#: inc/spiko/customizer/slider-section.php:55
|
592 |
#: inc/spiko/customizer/slider-section.php:60
|
593 |
+
#: inc/wpkites/customizer/slider-section.php:55
|
594 |
+
#: inc/wpkites/customizer/slider-section.php:60
|
595 |
msgid "Select File"
|
596 |
msgstr ""
|
597 |
|
599 |
#: inc/honeypress/features/feature-slider-section.php:56
|
600 |
#: inc/spice-software/customizer/slider-section.php:56
|
601 |
#: inc/spiko/customizer/slider-section.php:56
|
602 |
+
#: inc/wpkites/customizer/slider-section.php:56
|
603 |
msgid "Change File"
|
604 |
msgstr ""
|
605 |
|
607 |
#: inc/honeypress/features/feature-slider-section.php:57
|
608 |
#: inc/spice-software/customizer/slider-section.php:57
|
609 |
#: inc/spiko/customizer/slider-section.php:57
|
610 |
+
#: inc/wpkites/customizer/slider-section.php:57
|
611 |
msgid "Default"
|
612 |
msgstr ""
|
613 |
|
615 |
#: inc/honeypress/features/feature-slider-section.php:58
|
616 |
#: inc/spice-software/customizer/slider-section.php:58
|
617 |
#: inc/spiko/customizer/slider-section.php:58
|
618 |
+
#: inc/wpkites/customizer/slider-section.php:58
|
619 |
msgid "Remove"
|
620 |
msgstr ""
|
621 |
|
623 |
#: inc/honeypress/features/feature-slider-section.php:59
|
624 |
#: inc/spice-software/customizer/slider-section.php:59
|
625 |
#: inc/spiko/customizer/slider-section.php:59
|
626 |
+
#: inc/wpkites/customizer/slider-section.php:59
|
627 |
msgid "No file selected"
|
628 |
msgstr ""
|
629 |
|
631 |
#: inc/honeypress/features/feature-slider-section.php:61
|
632 |
#: inc/spice-software/customizer/slider-section.php:61
|
633 |
#: inc/spiko/customizer/slider-section.php:61
|
634 |
+
#: inc/wpkites/customizer/slider-section.php:61
|
635 |
msgid "Choose File"
|
636 |
msgstr ""
|
637 |
|
639 |
#: inc/honeypress/features/feature-slider-section.php:75
|
640 |
#: inc/spice-software/customizer/slider-section.php:74
|
641 |
#: inc/spiko/customizer/slider-section.php:74
|
642 |
+
#: inc/wpkites/customizer/slider-section.php:74
|
643 |
msgid ""
|
644 |
"Or, enter a YouTube URL:"
|
645 |
msgstr ""
|
647 |
#: inc/busicare/customizer/slider-section.php:118
|
648 |
#: inc/spice-software/customizer/slider-section.php:115
|
649 |
#: inc/spiko/customizer/slider-section.php:119
|
650 |
+
#: inc/wpkites/customizer/slider-section.php:111
|
651 |
msgid ""
|
652 |
"Enable/Disable slider "
|
653 |
"image overlay"
|
660 |
#: inc/spice-software/customizer/slider-section.php:130
|
661 |
#: inc/spicepress/features/feature-slider-section.php:63
|
662 |
#: inc/spiko/customizer/slider-section.php:134
|
663 |
+
#: inc/wpkites/customizer/slider-section.php:126
|
664 |
msgid ""
|
665 |
"Slider image overlay "
|
666 |
"color"
|
670 |
#: inc/honeypress/features/feature-slider-section.php:155
|
671 |
#: inc/spice-software/customizer/slider-section.php:146
|
672 |
#: inc/spiko/customizer/slider-section.php:150
|
673 |
+
#: inc/wpkites/customizer/slider-section.php:142
|
674 |
msgid ""
|
675 |
"Slider Content Alignment"
|
676 |
msgstr ""
|
679 |
#: inc/honeypress/features/feature-slider-section.php:158
|
680 |
#: inc/spice-software/customizer/slider-section.php:150
|
681 |
#: inc/spiko/customizer/slider-section.php:154
|
682 |
+
#: inc/wpkites/customizer/slider-section.php:146
|
683 |
msgid "Left"
|
684 |
msgstr ""
|
685 |
|
687 |
#: inc/honeypress/features/feature-slider-section.php:159
|
688 |
#: inc/spice-software/customizer/slider-section.php:151
|
689 |
#: inc/spiko/customizer/slider-section.php:155
|
690 |
+
#: inc/wpkites/customizer/slider-section.php:147
|
691 |
msgid "Center"
|
692 |
msgstr ""
|
693 |
|
695 |
#: inc/honeypress/features/feature-slider-section.php:160
|
696 |
#: inc/spice-software/customizer/slider-section.php:152
|
697 |
#: inc/spiko/customizer/slider-section.php:156
|
698 |
+
#: inc/wpkites/customizer/slider-section.php:148
|
699 |
msgid "Right"
|
700 |
msgstr ""
|
701 |
|
764 |
#: inc/spicepress/features/feature-testimonial-section.php:83
|
765 |
#: inc/spicepress/features/feature-testimonial-section.php:122
|
766 |
#: inc/spiko/customizer/slider-section.php:193
|
767 |
+
#: inc/wpkites/customizer/slider-section.php:172
|
768 |
msgid "Description"
|
769 |
msgstr ""
|
770 |
|
778 |
#: inc/spice-software/sections/spice-software-slider-section.php:17
|
779 |
#: inc/spiko/customizer/slider-section.php:202
|
780 |
#: inc/spiko/sections/spiko-slider-section.php:19
|
781 |
+
#: inc/wpkites/customizer/slider-section.php:181
|
782 |
+
#: inc/wpkites/sections/wpkites-slider-section.php:12
|
783 |
msgid "Nec Sem"
|
784 |
msgstr ""
|
785 |
|
795 |
#: inc/spice-software/customizer/slider-section.php:190
|
796 |
#: inc/spicepress/features/feature-slider-section.php:101
|
797 |
#: inc/spiko/customizer/slider-section.php:206
|
798 |
+
#: inc/wpkites/customizer/slider-section.php:185
|
799 |
msgid "Button Text"
|
800 |
msgstr ""
|
801 |
|
819 |
#: inc/spiko/customizer/slider-section.php:214
|
820 |
#: inc/spiko/customizer/slider-section.php:252
|
821 |
#: inc/spiko/sections/spiko-news-section.php:30
|
822 |
+
#: inc/wpkites/customizer/slider-section.php:193
|
823 |
+
#: inc/wpkites/customizer/slider-section.php:231
|
824 |
msgid "#"
|
825 |
msgstr ""
|
826 |
|
833 |
#: inc/spice-software/customizer/slider-section.php:202
|
834 |
#: inc/spicepress/features/feature-slider-section.php:113
|
835 |
#: inc/spiko/customizer/slider-section.php:218
|
836 |
+
#: inc/wpkites/customizer/slider-section.php:197
|
837 |
msgid "Button Link"
|
838 |
msgstr ""
|
839 |
|
842 |
#: inc/honeypress/features/feature-slider-section.php:236
|
843 |
#: inc/spice-software/customizer/slider-section.php:228
|
844 |
#: inc/spiko/customizer/slider-section.php:244
|
845 |
+
#: inc/wpkites/customizer/slider-section.php:223
|
846 |
msgid "Button 2 Text"
|
847 |
msgstr ""
|
848 |
|
851 |
#: inc/honeypress/features/feature-slider-section.php:248
|
852 |
#: inc/spice-software/customizer/slider-section.php:240
|
853 |
#: inc/spiko/customizer/slider-section.php:256
|
854 |
+
#: inc/wpkites/customizer/slider-section.php:235
|
855 |
msgid "Button 2 Link"
|
856 |
msgstr ""
|
857 |
|
859 |
#: inc/cloudpress/features/feature-team-section.php:8
|
860 |
#: inc/spice-software/customizer/team-section.php:5
|
861 |
#: inc/spiko/customizer/team-section.php:5
|
862 |
+
#: inc/wpkites/customizer/team-section.php:5
|
863 |
msgid "Team Settings"
|
864 |
msgstr ""
|
865 |
|
866 |
#: inc/busicare/customizer/team-section.php:25
|
867 |
#: inc/spice-software/customizer/team-section.php:17
|
868 |
#: inc/spiko/customizer/team-section.php:17
|
869 |
+
#: inc/wpkites/customizer/team-section.php:17
|
870 |
msgid ""
|
871 |
"Enable/Disable Team "
|
872 |
"Section"
|
889 |
#: inc/spice-software/customizer/team-section.php:57
|
890 |
#: inc/spice-software/customizer/team-section.php:76
|
891 |
#: inc/spiko/customizer/team-section.php:59
|
892 |
+
#: inc/wpkites/customizer/team-section.php:57
|
893 |
msgid "Team content"
|
894 |
msgstr ""
|
895 |
|
903 |
#: inc/spice-software/customizer/team-section.php:61
|
904 |
#: inc/spice-software/customizer/team-section.php:80
|
905 |
#: inc/spiko/customizer/team-section.php:63
|
906 |
+
#: inc/wpkites/customizer/team-section.php:61
|
907 |
msgid "Team Member"
|
908 |
msgstr ""
|
909 |
|
914 |
#: inc/spice-software/customizer/testimonial-section.php:114
|
915 |
#: inc/spiko/customizer/team-section.php:98
|
916 |
#: inc/spiko/customizer/testimonial-section.php:96
|
917 |
+
#: inc/wpkites/customizer/news-section.php:85
|
918 |
+
#: inc/wpkites/customizer/team-section.php:75
|
919 |
+
#: inc/wpkites/customizer/testimonial-section.php:72
|
920 |
msgid "Navigation Style"
|
921 |
msgstr ""
|
922 |
|
927 |
#: inc/spice-software/customizer/testimonial-section.php:119
|
928 |
#: inc/spiko/customizer/team-section.php:103
|
929 |
#: inc/spiko/customizer/testimonial-section.php:101
|
930 |
+
#: inc/wpkites/customizer/news-section.php:89
|
931 |
+
#: inc/wpkites/customizer/team-section.php:80
|
932 |
+
#: inc/wpkites/customizer/testimonial-section.php:77
|
933 |
msgid "Bullets"
|
934 |
msgstr ""
|
935 |
|
940 |
#: inc/spice-software/customizer/testimonial-section.php:120
|
941 |
#: inc/spiko/customizer/team-section.php:104
|
942 |
#: inc/spiko/customizer/testimonial-section.php:102
|
943 |
+
#: inc/wpkites/customizer/news-section.php:90
|
944 |
+
#: inc/wpkites/customizer/team-section.php:81
|
945 |
+
#: inc/wpkites/customizer/testimonial-section.php:78
|
946 |
msgid "Navigation"
|
947 |
msgstr ""
|
948 |
|
953 |
#: inc/spice-software/customizer/testimonial-section.php:121
|
954 |
#: inc/spiko/customizer/team-section.php:105
|
955 |
#: inc/spiko/customizer/testimonial-section.php:103
|
956 |
+
#: inc/wpkites/customizer/news-section.php:91
|
957 |
+
#: inc/wpkites/customizer/team-section.php:82
|
958 |
+
#: inc/wpkites/customizer/testimonial-section.php:79
|
959 |
msgid "Both"
|
960 |
msgstr ""
|
961 |
|
962 |
#: inc/busicare/customizer/testimonial-section.php:4
|
963 |
#: inc/spice-software/customizer/testimonial-section.php:5
|
964 |
#: inc/spiko/customizer/testimonial-section.php:4
|
965 |
+
#: inc/wpkites/customizer/testimonial-section.php:4
|
966 |
msgid ""
|
967 |
"Testimonials Settings"
|
968 |
msgstr ""
|
970 |
#: inc/busicare/customizer/testimonial-section.php:17
|
971 |
#: inc/spice-software/customizer/testimonial-section.php:18
|
972 |
#: inc/spiko/customizer/testimonial-section.php:17
|
973 |
+
#: inc/wpkites/customizer/testimonial-section.php:17
|
974 |
msgid ""
|
975 |
"Enable/Disable "
|
976 |
"Testimonial Section"
|
985 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:20
|
986 |
#: inc/spiko/customizer/testimonial-section.php:38
|
987 |
#: inc/spiko/sections/spiko-testimonial-section.php:23
|
988 |
+
#: inc/wpkites/customizer/testimonial-section.php:27
|
989 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:19
|
990 |
msgid "Proin Egestas"
|
991 |
msgstr ""
|
992 |
|
995 |
#: inc/spice-software/customizer/testimonial-section.php:54
|
996 |
#: inc/spiko/customizer/testimonial-section.php:57
|
997 |
#: inc/spiko/customizer/testimonial-section.php:77
|
998 |
+
#: inc/wpkites/customizer/testimonial-section.php:55
|
999 |
msgid "Testimonial content"
|
1000 |
msgstr ""
|
1001 |
|
1008 |
#: inc/spice-software/customizer/testimonial-section.php:57
|
1009 |
#: inc/spiko/customizer/testimonial-section.php:60
|
1010 |
#: inc/spiko/customizer/testimonial-section.php:80
|
1011 |
+
#: inc/wpkites/customizer/testimonial-section.php:58
|
1012 |
msgid "Testimonial"
|
1013 |
msgstr ""
|
1014 |
|
1048 |
#: inc/busicare/sections/busicare-news-section.php:94
|
1049 |
#: inc/innofit/sections/innofit-news-section.php:97
|
1050 |
#: inc/spiko/sections/spiko-news-section.php:126
|
1051 |
+
#: inc/wpkites/sections/wpkites-news-section.php:99
|
1052 |
msgid "Read More"
|
1053 |
msgstr ""
|
1054 |
|
1075 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:21
|
1076 |
#: inc/spiko/customizer/testimonial-section.php:25
|
1077 |
#: inc/spiko/sections/spiko-testimonial-section.php:24
|
1078 |
+
#: inc/wpkites/customizer/testimonial-section.php:40
|
1079 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:20
|
1080 |
msgid ""
|
1081 |
"Nam Viverra Iaculis "
|
1082 |
"Finibus"
|
1238 |
#: inc/spice-software/customizer/services-section.php:62
|
1239 |
#: inc/spicepress/features/feature-service-section.php:66
|
1240 |
#: inc/spiko/customizer/services-section.php:60
|
1241 |
+
#: inc/wpkites/customizer/services-section.php:61
|
1242 |
msgid "Add new Service"
|
1243 |
msgstr ""
|
1244 |
|
1287 |
#: inc/spice-software/customizer/team-section.php:60
|
1288 |
#: inc/spice-software/customizer/team-section.php:79
|
1289 |
#: inc/spiko/customizer/team-section.php:62
|
1290 |
+
#: inc/wpkites/customizer/team-section.php:60
|
1291 |
msgid "Add new Team Member"
|
1292 |
msgstr ""
|
1293 |
|
1296 |
#: inc/spice-software/customizer/testimonial-section.php:130
|
1297 |
#: inc/spiko/customizer/team-section.php:81
|
1298 |
#: inc/spiko/customizer/testimonial-section.php:166
|
1299 |
+
#: inc/wpkites/customizer/news-section.php:100
|
1300 |
+
#: inc/wpkites/customizer/team-section.php:91
|
1301 |
+
#: inc/wpkites/customizer/testimonial-section.php:88
|
1302 |
msgid "Animation speed"
|
1303 |
msgstr ""
|
1304 |
|
1307 |
#: inc/spice-software/customizer/testimonial-section.php:147
|
1308 |
#: inc/spiko/customizer/team-section.php:114
|
1309 |
#: inc/spiko/customizer/testimonial-section.php:183
|
1310 |
+
#: inc/wpkites/customizer/news-section.php:117
|
1311 |
+
#: inc/wpkites/customizer/team-section.php:109
|
1312 |
+
#: inc/wpkites/customizer/testimonial-section.php:105
|
1313 |
msgid "Smooth speed"
|
1314 |
msgstr ""
|
1315 |
|
1759 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:31
|
1760 |
#: inc/spiko/customizer.php:57
|
1761 |
#: inc/spiko/sections/spiko-testimonial-section.php:38
|
1762 |
+
#: inc/wpkites/customizer.php:57
|
1763 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:29
|
1764 |
msgid "Developer"
|
1765 |
msgstr ""
|
1766 |
|
1770 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:43
|
1771 |
#: inc/spiko/customizer.php:69
|
1772 |
#: inc/spiko/sections/spiko-testimonial-section.php:50
|
1773 |
+
#: inc/wpkites/customizer.php:67
|
1774 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:41
|
1775 |
msgid "Team Leader"
|
1776 |
msgstr ""
|
1777 |
|
1781 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:55
|
1782 |
#: inc/spiko/customizer.php:81
|
1783 |
#: inc/spiko/sections/spiko-testimonial-section.php:62
|
1784 |
+
#: inc/wpkites/customizer.php:77
|
1785 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:53
|
1786 |
msgid "Volunteer"
|
1787 |
msgstr ""
|
1788 |
|
2143 |
#: inc/spice-software/customizer/testimonial-section.php:56
|
2144 |
#: inc/spiko/customizer/testimonial-section.php:59
|
2145 |
#: inc/spiko/customizer/testimonial-section.php:79
|
2146 |
+
#: inc/wpkites/customizer/testimonial-section.php:57
|
2147 |
msgid "Add new Testimonial"
|
2148 |
msgstr ""
|
2149 |
|
2217 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:30
|
2218 |
#: inc/spiko/customizer.php:56
|
2219 |
#: inc/spiko/sections/spiko-testimonial-section.php:37
|
2220 |
+
#: inc/wpkites/customizer.php:56
|
2221 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:28
|
2222 |
msgid "Amanda Smith"
|
2223 |
msgstr ""
|
2224 |
|
2226 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:42
|
2227 |
#: inc/spiko/customizer.php:68
|
2228 |
#: inc/spiko/sections/spiko-testimonial-section.php:49
|
2229 |
+
#: inc/wpkites/customizer.php:66
|
2230 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:40
|
2231 |
msgid "Travis Cullan"
|
2232 |
msgstr ""
|
2233 |
|
2235 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:54
|
2236 |
#: inc/spiko/customizer.php:80
|
2237 |
#: inc/spiko/sections/spiko-testimonial-section.php:61
|
2238 |
+
#: inc/wpkites/customizer.php:76
|
2239 |
+
#: inc/wpkites/sections/wpkites-testimonial-section.php:52
|
2240 |
msgid "Victoria Wills"
|
2241 |
msgstr ""
|
2242 |
|
2244 |
#: inc/spice-software/sections/spice-software-services-section.php:38
|
2245 |
#: inc/spiko/customizer/services-section.php:40
|
2246 |
#: inc/spiko/sections/spiko-services-section.php:38
|
2247 |
+
#: inc/wpkites/customizer/services-section.php:25
|
2248 |
+
#: inc/wpkites/sections/wpkites-services-section.php:38
|
2249 |
msgid "Quisque Blandit"
|
2250 |
msgstr ""
|
2251 |
|
2253 |
#: inc/spice-software/sections/spice-software-team-section.php:158
|
2254 |
#: inc/spiko/customizer/team-section.php:38
|
2255 |
#: inc/spiko/sections/spiko-team-section.php:161
|
2256 |
+
#: inc/wpkites/customizer/team-section.php:25
|
2257 |
+
#: inc/wpkites/sections/wpkites-team-section.php:155
|
2258 |
msgid "Magna Aliqua"
|
2259 |
msgstr ""
|
2260 |
|
2262 |
#: inc/spice-software/sections/spice-software-team-section.php:159
|
2263 |
#: inc/spiko/customizer/team-section.php:25
|
2264 |
#: inc/spiko/sections/spiko-team-section.php:162
|
2265 |
+
#: inc/wpkites/customizer/team-section.php:37
|
2266 |
+
#: inc/wpkites/sections/wpkites-team-section.php:156
|
2267 |
msgid ""
|
2268 |
"Ullamco Laboris Nisi"
|
2269 |
msgstr ""
|
2415 |
#: inc/spiko/sections/spiko-slider-section.php:17
|
2416 |
msgid "Lorem Ipsum"
|
2417 |
msgstr ""
|
2418 |
+
|
2419 |
+
#: inc/wpkites/customizer/slider-section.php:155
|
2420 |
+
#: inc/wpkites/sections/wpkites-slider-section.php:10
|
2421 |
+
msgid ""
|
2422 |
+
"Nulla nec dolor sit "
|
2423 |
+
"amet<br> lacus molestie"
|
2424 |
+
msgstr ""
|
2425 |
+
|
2426 |
+
#: inc/wpkites/customizer/slider-section.php:168
|
2427 |
+
#: inc/wpkites/sections/wpkites-slider-section.php:11
|
2428 |
+
msgid ""
|
2429 |
+
"Sea summo mazim ex, ea "
|
2430 |
+
"errem eleifend "
|
2431 |
+
"definitionem vim.<br> Ut "
|
2432 |
+
"nec hinc dolor possim "
|
2433 |
+
"mei ludus efficiendi ei "
|
2434 |
+
"sea summo mazim ex."
|
2435 |
+
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:
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -250,6 +250,10 @@ Fixed minor issues of HoneyPress child themes.
|
|
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:
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
Tested up to: 5.8
|
6 |
+
Stable tag: 2.0
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
250 |
1. Added homepage sections for Spiko theme.
|
251 |
2. Added homepage sections for Spiko Dark child theme.
|
252 |
|
253 |
+
= 2.0 =
|
254 |
+
1. Added homepage sections for WPKites theme.
|
255 |
+
2. Fixed the issues with PHP 8.
|
256 |
+
|
257 |
=======External resources=======
|
258 |
|
259 |
Alpha color picker Control:
|
spicebox.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: SpiceBox
|
4 |
Description: Enhances SpiceThemes with extra functionality.
|
5 |
-
Version:
|
6 |
Author: Spicethemes
|
7 |
Author URI: https://spicethemes.com
|
8 |
Text Domain: spicebox
|
@@ -291,6 +291,51 @@ function spiceb_activate() {
|
|
291 |
endif;
|
292 |
}
|
293 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
}
|
295 |
add_action( 'init', 'spiceb_activate' );
|
296 |
|
@@ -418,6 +463,20 @@ if ( 'Spiko' == $theme->name || 'Spiko Child' == $theme->name || 'Spiko Dark'
|
|
418 |
}
|
419 |
}
|
420 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
421 |
|
422 |
//Sanatize text
|
423 |
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
@@ -470,6 +529,16 @@ function spiceb_spiko_sanitize_checkbox($checked) {
|
|
470 |
return ( ( isset($checked) && true == $checked ) ? true : false );
|
471 |
}
|
472 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
474 |
|
475 |
|
2 |
/*
|
3 |
Plugin Name: SpiceBox
|
4 |
Description: Enhances SpiceThemes with extra functionality.
|
5 |
+
Version: 2.0
|
6 |
Author: Spicethemes
|
7 |
Author URI: https://spicethemes.com
|
8 |
Text Domain: spicebox
|
291 |
endif;
|
292 |
}
|
293 |
|
294 |
+
//WPKites
|
295 |
+
if ( 'WPKites' == $theme->name || 'WPKites Child' == $theme->name || 'WPKites Dark' == $theme->name){
|
296 |
+
|
297 |
+
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
298 |
+
|
299 |
+
if ( ! is_plugin_active( 'wpkites-plus/wpkites-plus.php' ) ):
|
300 |
+
|
301 |
+
require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
|
302 |
+
require_once('inc/controls/customizer-repeater/functions.php');
|
303 |
+
require ('inc/controls/customizer-text-radio/customizer-text-radio.php');
|
304 |
+
|
305 |
+
if ( ! function_exists( 'spiceb_wpkites_customize_register' ) ) :
|
306 |
+
function spiceb_wpkites_customize_register($wp_customize){
|
307 |
+
|
308 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
309 |
+
$sections_customizer_data = array('slider','services','team','news','testimonial');
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
if (!empty($sections_customizer_data))
|
314 |
+
{
|
315 |
+
foreach($sections_customizer_data as $section_customizer_data)
|
316 |
+
{
|
317 |
+
require_once('inc/wpkites/customizer/'.$section_customizer_data.'-section.php');
|
318 |
+
}
|
319 |
+
}
|
320 |
+
$wp_customize->remove_control('header_textcolor');
|
321 |
+
|
322 |
+
}
|
323 |
+
add_action( 'customize_register', 'spiceb_wpkites_customize_register' );
|
324 |
+
endif;
|
325 |
+
|
326 |
+
$sections_data = array('slider','services','team','news','testimonial');
|
327 |
+
|
328 |
+
if (!empty($sections_data)){
|
329 |
+
|
330 |
+
foreach($sections_data as $section_data){
|
331 |
+
require_once('inc/wpkites/sections/wpkites-'.$section_data.'-section.php');
|
332 |
+
}
|
333 |
+
}
|
334 |
+
|
335 |
+
require_once('inc/wpkites/customizer.php');
|
336 |
+
|
337 |
+
endif;
|
338 |
+
}
|
339 |
}
|
340 |
add_action( 'init', 'spiceb_activate' );
|
341 |
|
463 |
}
|
464 |
}
|
465 |
|
466 |
+
// WPKites
|
467 |
+
if ( 'WPKites' == $theme->name || 'WPKites Child' == $theme->name || 'WPKites Dark' == $theme->name){
|
468 |
+
register_activation_hook( __FILE__, 'spiceb_wpkites_install_function');
|
469 |
+
function spiceb_wpkites_install_function(){
|
470 |
+
$item_details_page = get_option('item_details_page');
|
471 |
+
if(!$item_details_page){
|
472 |
+
require_once('inc/wpkites/default-pages/upload-media.php');
|
473 |
+
require_once('inc/wpkites/default-pages/home-page.php');
|
474 |
+
require_once('inc/wpkites/default-pages/blog-page.php');
|
475 |
+
update_option( 'item_details_page', 'Done' );
|
476 |
+
}
|
477 |
+
}
|
478 |
+
}
|
479 |
+
|
480 |
|
481 |
//Sanatize text
|
482 |
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
529 |
return ( ( isset($checked) && true == $checked ) ? true : false );
|
530 |
}
|
531 |
|
532 |
+
//Sanatize for wpkites theme
|
533 |
+
function spiceb_wpkites_home_page_sanitize_text($input){
|
534 |
+
return wp_kses_post( force_balance_tags( $input ) );
|
535 |
+
}
|
536 |
+
|
537 |
+
function spiceb_wpkites_sanitize_checkbox($checked) {
|
538 |
+
// Boolean check.
|
539 |
+
return ( ( isset($checked) && true == $checked ) ? true : false );
|
540 |
+
}
|
541 |
+
|
542 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
543 |
|
544 |
|