Version Description
- Added homepage sections for WPHester theme.
- Added homepage sections for WPBlack theme.
=====External resources=====
Alpha color picker Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT License Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-alpha-color-picker
Repeater Control: Copyright: (c) 2016 Codeinwp cristian-ungureanu License: MIT license Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
Custom control - Image Radio Button Custom Control Copyright: Anthony Hortin License: GNU General Public License v2 or later Source: https://github.com/maddisondesigns/customizer-custom-controls
==========
Download this release
Release Info
Developer | spicethemes |
Plugin | Spice Box |
Version | 2.1 |
Comparing to | |
See all releases |
Code changes from version 2.0 to 2.1
- inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php +1 -1
- inc/controls/customizer-repeater/class/customizer-repeater-control.php +1 -1
- inc/controls/customizer-repeater/js/customizer_limit_repeater.js +7 -2
- inc/wpblack/customizer.php +295 -0
- inc/wpblack/customizer/news-section.php +170 -0
- inc/wpblack/customizer/services-section.php +166 -0
- inc/wpblack/customizer/slider-section.php +293 -0
- inc/wpblack/customizer/team-section.php +146 -0
- inc/wpblack/customizer/testimonial-section.php +172 -0
- inc/wpblack/default-pages/blog-page.php +22 -0
- inc/wpblack/default-pages/home-page.php +24 -0
- inc/wpblack/default-pages/upload-media.php +39 -0
- inc/wpblack/images/logo.png +0 -0
- inc/wpblack/js/front-page/blog.js +53 -0
- inc/wpblack/js/front-page/team.js +54 -0
- inc/wpblack/js/front-page/testi.js +109 -0
- inc/wpblack/sections/wpblack-news-section.php +127 -0
- inc/wpblack/sections/wpblack-services-section.php +133 -0
- inc/wpblack/sections/wpblack-slider-section.php +109 -0
- inc/wpblack/sections/wpblack-team-section.php +229 -0
- inc/wpblack/sections/wpblack-testimonial-section.php +162 -0
- inc/wphester/customizer.php +292 -0
- inc/wphester/customizer/news-section.php +155 -0
- inc/wphester/customizer/services-section.php +126 -0
- inc/wphester/customizer/slider-section.php +293 -0
- inc/wphester/customizer/team-section.php +145 -0
- inc/wphester/customizer/testimonial-section.php +159 -0
- inc/wphester/default-pages/blog-page.php +22 -0
- inc/wphester/default-pages/home-page.php +24 -0
- inc/wphester/default-pages/upload-media.php +32 -0
- inc/wphester/images/logo.png +0 -0
- inc/wphester/js/front-page/blog.js +53 -0
- inc/wphester/js/front-page/team.js +54 -0
- inc/wphester/js/front-page/testi.js +69 -0
- inc/wphester/sections/wphester-news-section.php +122 -0
- inc/wphester/sections/wphester-services-section.php +147 -0
- inc/wphester/sections/wphester-slider-section.php +111 -0
- inc/wphester/sections/wphester-team-section.php +227 -0
- inc/wphester/sections/wphester-testimonial-section.php +141 -0
- languages/spicebox.pot +365 -8
- readme.txt +6 -2
- spicebox.php +140 -1
inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php
CHANGED
@@ -541,7 +541,7 @@ class Spicebox_Limit_Repeater extends WP_Customize_Control {
|
|
541 |
private function testimonila_check($value='no'){
|
542 |
?>
|
543 |
<div class="customize-control-title">
|
544 |
-
<?php esc_html_e('Open link in new tab:','spicebox'); ?>
|
545 |
<span class="switch">
|
546 |
<input type="checkbox" name="custom_checkbox" value="yes" <?php if($value=='yes'){echo 'checked';}?> class="customizer-repeater-checkbox" style="margin-bottom:0!important;">
|
547 |
</span>
|
541 |
private function testimonila_check($value='no'){
|
542 |
?>
|
543 |
<div class="customize-control-title">
|
544 |
+
<?php esc_html_e('Open link in a new tab:','spicebox'); ?>
|
545 |
<span class="switch">
|
546 |
<input type="checkbox" name="custom_checkbox" value="yes" <?php if($value=='yes'){echo 'checked';}?> class="customizer-repeater-checkbox" style="margin-bottom:0!important;">
|
547 |
</span>
|
inc/controls/customizer-repeater/class/customizer-repeater-control.php
CHANGED
@@ -589,7 +589,7 @@ class Spicebox_Repeater extends WP_Customize_Control {
|
|
589 |
private function testimonila_check($value='no'){
|
590 |
?>
|
591 |
<div class="customize-control-title">
|
592 |
-
<?php esc_html_e('Open link in new tab:','spicebox'); ?>
|
593 |
<span class="switch">
|
594 |
<input type="checkbox" name="custom_checkbox" value="yes" <?php if($value=='yes'){echo 'checked';}?> class="customizer-repeater-checkbox" style="margin-bottom:0!important;">
|
595 |
</span>
|
589 |
private function testimonila_check($value='no'){
|
590 |
?>
|
591 |
<div class="customize-control-title">
|
592 |
+
<?php esc_html_e('Open link in a new tab:','spicebox'); ?>
|
593 |
<span class="switch">
|
594 |
<input type="checkbox" name="custom_checkbox" value="yes" <?php if($value=='yes'){echo 'checked';}?> class="customizer-repeater-checkbox" style="margin-bottom:0!important;">
|
595 |
</span>
|
inc/controls/customizer-repeater/js/customizer_limit_repeater.js
CHANGED
@@ -263,7 +263,7 @@ jQuery(document).ready(function () {
|
|
263 |
* This adds a new box to repeater
|
264 |
*
|
265 |
*/
|
266 |
-
theme_conrols.on('click', '#customize-control-busicare_service_content .customizer-repeater-new-field,#customize-control-spice_software_service_content .customizer-repeater-new-field,#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 |
{
|
@@ -271,6 +271,8 @@ jQuery(document).ready(function () {
|
|
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)
|
@@ -370,13 +372,16 @@ jQuery(document).ready(function () {
|
|
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') {
|
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,#customize-control-wphester_service_content .customizer-repeater-new-field,#customize-control-wpblack_service_content .customizer-repeater-new-field', function () {
|
267 |
|
268 |
if(jQuery("#spiceb_service_limit").val()==3)
|
269 |
{
|
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 |
+
jQuery(".customizer_wphester_service_upgrade_section").show();
|
275 |
+
jQuery(".customizer_wpblack_service_upgrade_section").show();
|
276 |
return false;
|
277 |
}
|
278 |
else if(jQuery("#spiceb_service_limit").val()<4)
|
372 |
jQuery(".customizer_spice_software_service_upgrade_section").hide();
|
373 |
jQuery(".customizer_spiko_service_upgrade_section").hide();
|
374 |
jQuery(".customizer_wpkites_service_upgrade_section").hide();
|
375 |
+
jQuery(".customizer_wphester_service_upgrade_section").hide();
|
376 |
+
jQuery(".customizer_wpblack_service_upgrade_section").hide();
|
377 |
+
|
378 |
}
|
379 |
}
|
380 |
|
381 |
return false;
|
382 |
});
|
383 |
|
384 |
+
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,#customize-control-wphester_team_content .customizer-repeater-new-field,#customize-control-wphester_testimonial_content .customizer-repeater-new-field,#customize-control-wpblack_team_content .customizer-repeater-new-field,#customize-control-wpblack_testimonial_content .customizer-repeater-new-field', function () {
|
385 |
var th = jQuery(this).parent();
|
386 |
var id = 'customizer-repeater-' + customizer_repeater_uniqid();
|
387 |
if (typeof th !== 'undefined') {
|
inc/wpblack/customizer.php
ADDED
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// WPBlack default service data
|
3 |
+
if (!function_exists('spiceb_wpblack_service_default_customize_register')) :
|
4 |
+
|
5 |
+
function spiceb_wpblack_service_default_customize_register($wp_customize) {
|
6 |
+
|
7 |
+
$wpblack_service_content_control = $wp_customize->get_setting('wpblack_service_content');
|
8 |
+
if (!empty($wpblack_service_content_control)) {
|
9 |
+
$wpblack_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 |
+
'button_text' => esc_html__('Learn More','spice-box'),
|
16 |
+
'link' => '#',
|
17 |
+
'open_new_tab' => 'no',
|
18 |
+
'id' => 'customizer_repeater_56d7ea7f40b56',
|
19 |
+
),
|
20 |
+
array(
|
21 |
+
'icon_value' => 'fa-mobile',
|
22 |
+
'title' => esc_html__('Blandit-Gravida', 'spicebox'),
|
23 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
24 |
+
'choice' => 'customizer_repeater_icon',
|
25 |
+
'button_text' => esc_html__('Learn More','spice-box'),
|
26 |
+
'link' => '#',
|
27 |
+
'open_new_tab' => 'no',
|
28 |
+
'id' => 'customizer_repeater_56d7ea7f40b66',
|
29 |
+
),
|
30 |
+
array(
|
31 |
+
'icon_value' => 'fa fa-cogs',
|
32 |
+
'title' => esc_html__('Justo Bibendum', 'spicebox'),
|
33 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
34 |
+
'choice' => 'customizer_repeater_icon',
|
35 |
+
'button_text' => esc_html__('Learn More','spice-box'),
|
36 |
+
'link' => '#',
|
37 |
+
'open_new_tab' => 'no',
|
38 |
+
'id' => 'customizer_repeater_56d7ea7f40b86',
|
39 |
+
),
|
40 |
+
));
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
add_action('customize_register', 'spiceb_wpblack_service_default_customize_register');
|
45 |
+
|
46 |
+
endif;
|
47 |
+
|
48 |
+
// WPBlack default Testimonial data
|
49 |
+
if (!function_exists('spiceb_wpblack_testimonial_default_customize_register')) :
|
50 |
+
|
51 |
+
function spiceb_wpblack_testimonial_default_customize_register($wp_customize) {
|
52 |
+
|
53 |
+
$wpblack_service_content_control = $wp_customize->get_setting('wpblack_testimonial_content');
|
54 |
+
if (!empty($wpblack_service_content_control)) {
|
55 |
+
$wpblack_service_content_control->default = json_encode(array(
|
56 |
+
array(
|
57 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
58 |
+
'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.',
|
59 |
+
'clientname' => __('Amanda Smith', 'spicebox'),
|
60 |
+
'designation' => __('Developer', 'spicebox'),
|
61 |
+
'link' => '#',
|
62 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user1.jpg',
|
63 |
+
'open_new_tab' => 'no',
|
64 |
+
'id' => 'customizer_repeater_77d7ea7f40b96',
|
65 |
+
),
|
66 |
+
array(
|
67 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
68 |
+
'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.',
|
69 |
+
'clientname' => __('Travis Cullan', 'spicebox'),
|
70 |
+
'designation' => __('Team Leader', 'spicebox'),
|
71 |
+
'link' => '#',
|
72 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user2.jpg',
|
73 |
+
'open_new_tab' => 'no',
|
74 |
+
'id' => 'customizer_repeater_88d7ea7f40b97',
|
75 |
+
),
|
76 |
+
array(
|
77 |
+
'title' => 'Exellent Theme & Very Fast Support',
|
78 |
+
'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.',
|
79 |
+
'clientname' => __('Victoria Wills', 'spicebox'),
|
80 |
+
'designation' => __('Volunteer', 'spicebox'),
|
81 |
+
'link' => '#',
|
82 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/testimonial/user3.jpg',
|
83 |
+
'id' => 'customizer_repeater_11d7ea7f40b98',
|
84 |
+
'open_new_tab' => 'no',
|
85 |
+
),
|
86 |
+
));
|
87 |
+
}
|
88 |
+
}
|
89 |
+
|
90 |
+
add_action('customize_register', 'spiceb_wpblack_testimonial_default_customize_register');
|
91 |
+
|
92 |
+
endif;
|
93 |
+
|
94 |
+
// WPBlack default Team data
|
95 |
+
if (!function_exists('spiceb_wpblack_team_default_customize_register')) :
|
96 |
+
|
97 |
+
function spiceb_wpblack_team_default_customize_register($wp_customize) {
|
98 |
+
|
99 |
+
$wpblack_team_content_control = $wp_customize->get_setting('wpblack_team_content');
|
100 |
+
if (!empty($wpblack_team_content_control)) {
|
101 |
+
$wpblack_team_content_control->default = json_encode(array(
|
102 |
+
array(
|
103 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team1.jpg',
|
104 |
+
'membername' => 'Danial Wilson',
|
105 |
+
'designation' => esc_html__('Senior Manager', 'spicebox'),
|
106 |
+
'open_new_tab' => 'no',
|
107 |
+
'id' => 'customizer_repeater_26d7ea7f40c56',
|
108 |
+
'social_repeater' => json_encode(
|
109 |
+
array(
|
110 |
+
array(
|
111 |
+
'id' => 'customizer-repeater-social-repeater-37fb908374e06',
|
112 |
+
'link' => 'facebook.com',
|
113 |
+
'icon' => 'fa-facebook',
|
114 |
+
),
|
115 |
+
array(
|
116 |
+
'id' => 'customizer-repeater-social-repeater-47fb9144530fc',
|
117 |
+
'link' => 'twitter.com',
|
118 |
+
'icon' => 'fa-twitter',
|
119 |
+
),
|
120 |
+
array(
|
121 |
+
'id' => 'customizer-repeater-social-repeater-57fb9750e1e09',
|
122 |
+
'link' => 'linkedin.com',
|
123 |
+
'icon' => 'fa-linkedin',
|
124 |
+
),
|
125 |
+
array(
|
126 |
+
'id' => 'customizer-repeater-social-repeater-67fb0150e1e256',
|
127 |
+
'link' => 'behance.com',
|
128 |
+
'icon' => 'fa-behance',
|
129 |
+
),
|
130 |
+
)
|
131 |
+
),
|
132 |
+
),
|
133 |
+
array(
|
134 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team2.jpg',
|
135 |
+
'membername' => 'Amanda Smith',
|
136 |
+
'designation' => esc_html__('Founder & CEO', 'spicebox'),
|
137 |
+
'open_new_tab' => 'no',
|
138 |
+
'id' => 'customizer_repeater_56d1ea2f40c66',
|
139 |
+
'social_repeater' => json_encode(
|
140 |
+
array(
|
141 |
+
array(
|
142 |
+
'id' => 'customizer-repeater-social-repeater-57fb9133a7772',
|
143 |
+
'link' => 'facebook.com',
|
144 |
+
'icon' => 'fa-facebook',
|
145 |
+
),
|
146 |
+
array(
|
147 |
+
'id' => 'customizer-repeater-social-repeater-57fb9160rt683',
|
148 |
+
'link' => 'twitter.com',
|
149 |
+
'icon' => 'fa-twitter',
|
150 |
+
),
|
151 |
+
array(
|
152 |
+
'id' => 'customizer-repeater-social-repeater-57fb916zzooc9',
|
153 |
+
'link' => 'linkedin.com',
|
154 |
+
'icon' => 'fa-linkedin',
|
155 |
+
),
|
156 |
+
array(
|
157 |
+
'id' => 'customizer-repeater-social-repeater-57fb916qqwwc784',
|
158 |
+
'link' => 'behance.com',
|
159 |
+
'icon' => 'fa-behance',
|
160 |
+
),
|
161 |
+
)
|
162 |
+
),
|
163 |
+
),
|
164 |
+
array(
|
165 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team3.jpg',
|
166 |
+
'membername' => 'Victoria Wills',
|
167 |
+
'designation' => esc_html__('Web Master', 'spicebox'),
|
168 |
+
'open_new_tab' => 'no',
|
169 |
+
'id' => 'customizer_repeater_56d7ea7f40c76',
|
170 |
+
'social_repeater' => json_encode(
|
171 |
+
array(
|
172 |
+
array(
|
173 |
+
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
174 |
+
'link' => 'facebook.com',
|
175 |
+
'icon' => 'fa-facebook',
|
176 |
+
),
|
177 |
+
array(
|
178 |
+
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
179 |
+
'link' => 'twitter.com',
|
180 |
+
'icon' => 'fa-twitter',
|
181 |
+
),
|
182 |
+
array(
|
183 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
184 |
+
'link' => 'linkedin.com',
|
185 |
+
'icon' => 'fa-linkedin',
|
186 |
+
),
|
187 |
+
array(
|
188 |
+
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e8',
|
189 |
+
'link' => 'behance.com',
|
190 |
+
'icon' => 'fa-behance',
|
191 |
+
),
|
192 |
+
)
|
193 |
+
),
|
194 |
+
),
|
195 |
+
array(
|
196 |
+
'image_url' => SPICEB_PLUGIN_URL . 'inc/busicare/images/team/team4.jpg',
|
197 |
+
'membername' => 'Travis Marcus',
|
198 |
+
'designation' => esc_html__('UI Developer', 'spicebox'),
|
199 |
+
'open_new_tab' => 'no',
|
200 |
+
'id' => 'customizer_repeater_56d7ea7f40c86',
|
201 |
+
'social_repeater' => json_encode(
|
202 |
+
array(
|
203 |
+
array(
|
204 |
+
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
205 |
+
'link' => 'facebook.com',
|
206 |
+
'icon' => 'fa-facebook',
|
207 |
+
),
|
208 |
+
array(
|
209 |
+
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
210 |
+
'link' => 'twitter.com',
|
211 |
+
'icon' => 'fa-twitter',
|
212 |
+
),
|
213 |
+
array(
|
214 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
215 |
+
'link' => 'linkedin.com',
|
216 |
+
'icon' => 'fa-linkedin',
|
217 |
+
),
|
218 |
+
array(
|
219 |
+
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
220 |
+
'link' => 'behance.com',
|
221 |
+
'icon' => 'fa-behance',
|
222 |
+
),
|
223 |
+
)
|
224 |
+
),
|
225 |
+
),
|
226 |
+
));
|
227 |
+
}
|
228 |
+
}
|
229 |
+
|
230 |
+
add_action('customize_register', 'spiceb_wpblack_team_default_customize_register');
|
231 |
+
|
232 |
+
endif;
|
233 |
+
|
234 |
+
function spiceb_wpblack_sections_settings($wp_customize) {
|
235 |
+
|
236 |
+
$selective_refresh = isset($wp_customize->selective_refresh) ? 'postMessage' : 'refresh';
|
237 |
+
/* Sections Settings */
|
238 |
+
$wp_customize->add_panel('section_settings', array(
|
239 |
+
'priority' => 126,
|
240 |
+
'capability' => 'edit_theme_options',
|
241 |
+
'title' => esc_html__('Homepage Section Settings', 'spicebox'),
|
242 |
+
));
|
243 |
+
}
|
244 |
+
|
245 |
+
add_action('customize_register', 'spiceb_wpblack_sections_settings');
|
246 |
+
|
247 |
+
/* * *********************** Slider Callback function ******************************** */
|
248 |
+
|
249 |
+
function spiceb_wpblack_slider_callback($control) {
|
250 |
+
if (true == $control->manager->get_setting('home_page_slider_enabled')->value()) {
|
251 |
+
return true;
|
252 |
+
} else {
|
253 |
+
return false;
|
254 |
+
}
|
255 |
+
}
|
256 |
+
|
257 |
+
/* * *********************** Service Callback function ******************************** */
|
258 |
+
|
259 |
+
function spiceb_wpblack_service_callback($control) {
|
260 |
+
if (true == $control->manager->get_setting('home_service_section_enabled')->value()) {
|
261 |
+
return true;
|
262 |
+
} else {
|
263 |
+
return false;
|
264 |
+
}
|
265 |
+
}
|
266 |
+
|
267 |
+
/* * *********************** Testimonial Callback function ******************************** */
|
268 |
+
|
269 |
+
function spiceb_wpblack_testimonial_callback($control) {
|
270 |
+
if (true == $control->manager->get_setting('testimonial_section_enable')->value()) {
|
271 |
+
return true;
|
272 |
+
} else {
|
273 |
+
return false;
|
274 |
+
}
|
275 |
+
}
|
276 |
+
|
277 |
+
/* * *********************** Latest News Callback function ******************************** */
|
278 |
+
|
279 |
+
function spiceb_wpblack_news_callback($control) {
|
280 |
+
if (true == $control->manager->get_setting('latest_news_section_enable')->value()) {
|
281 |
+
return true;
|
282 |
+
} else {
|
283 |
+
return false;
|
284 |
+
}
|
285 |
+
}
|
286 |
+
|
287 |
+
/* * *********************** CTA1 Callback function ******************************** */
|
288 |
+
|
289 |
+
function spiceb_wpblack_team_callback($control) {
|
290 |
+
if (true == $control->manager->get_setting('team_section_enable')->value()) {
|
291 |
+
return true;
|
292 |
+
} else {
|
293 |
+
return false;
|
294 |
+
}
|
295 |
+
}
|
inc/wpblack/customizer/news-section.php
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
//Latest News Section
|
3 |
+
$wp_customize->add_section('wpblack_latest_news_section', array(
|
4 |
+
'title' => esc_html__('Latest News Settings', 'spicebox'),
|
5 |
+
'panel' => 'section_settings',
|
6 |
+
'priority' => 5,
|
7 |
+
));
|
8 |
+
|
9 |
+
|
10 |
+
// Enable news section
|
11 |
+
$wp_customize->add_setting('latest_news_section_enable', array(
|
12 |
+
'default' => true,
|
13 |
+
'sanitize_callback' => 'spiceb_wpblack_sanitize_checkbox'
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new WPBlack_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' => 'wpblack_latest_news_section',
|
21 |
+
)
|
22 |
+
));
|
23 |
+
|
24 |
+
|
25 |
+
//News section subtitle
|
26 |
+
$wp_customize->add_setting('home_news_section_discription', array(
|
27 |
+
'default' => esc_html__('Cras Vitae Placerat', 'spicebox'),
|
28 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
29 |
+
'transport' => $selective_refresh,
|
30 |
+
));
|
31 |
+
$wp_customize->add_control('home_news_section_discription', array(
|
32 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
33 |
+
'section' => 'wpblack_latest_news_section',
|
34 |
+
'type' => 'text',
|
35 |
+
'active_callback' => 'spiceb_wpblack_news_callback'
|
36 |
+
));
|
37 |
+
|
38 |
+
// News section title
|
39 |
+
$wp_customize->add_setting('home_news_section_title', array(
|
40 |
+
'capability' => 'edit_theme_options',
|
41 |
+
'default' => esc_html__('Vitae Lacinia', 'spicebox'),
|
42 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
43 |
+
'transport' => $selective_refresh,
|
44 |
+
));
|
45 |
+
$wp_customize->add_control('home_news_section_title', array(
|
46 |
+
'label' => esc_html__('Title', 'spicebox'),
|
47 |
+
'section' => 'wpblack_latest_news_section',
|
48 |
+
'type' => 'text',
|
49 |
+
'active_callback' => 'spiceb_wpblack_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_wpblack_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' => 'wpblack_latest_news_section',
|
61 |
+
'type' => 'text',
|
62 |
+
'active_callback' => 'spiceb_wpblack_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_wpblack_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' => 'wpblack_latest_news_section',
|
78 |
+
'active_callback' => 'spiceb_wpblack_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' => 'wpblack_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_wpblack_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' => 'wpblack_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_wpblack_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' => 'wpblack_latest_news_section',
|
119 |
+
'type' => 'select',
|
120 |
+
'active_callback' => 'spiceb_wpblack_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 p',
|
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/wpblack/customizer/services-section.php
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_wpblack_sanitize_checkbox'
|
12 |
+
));
|
13 |
+
|
14 |
+
$wp_customize->add_control(new WPBlack_Toggle_Control($wp_customize, 'home_service_section_enabled',
|
15 |
+
array(
|
16 |
+
'label' => esc_html__('Enable/Disable Service Section', 'spicebox'),
|
17 |
+
'type' => 'toggle',
|
18 |
+
'section' => 'services_section',
|
19 |
+
)
|
20 |
+
));
|
21 |
+
|
22 |
+
// Service section description
|
23 |
+
$wp_customize->add_setting('home_service_section_discription', array(
|
24 |
+
'capability' => 'edit_theme_options',
|
25 |
+
'default' => esc_html__('Fusce Sed Massa', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
27 |
+
'transport' => $selective_refresh,
|
28 |
+
));
|
29 |
+
|
30 |
+
$wp_customize->add_control('home_service_section_discription', array(
|
31 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
32 |
+
'section' => 'services_section',
|
33 |
+
'type' => 'text',
|
34 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
35 |
+
));
|
36 |
+
|
37 |
+
//Service section title
|
38 |
+
$wp_customize->add_setting('home_service_section_title', array(
|
39 |
+
'capability' => 'edit_theme_options',
|
40 |
+
'default' => esc_html__('Quisque Blandit', 'spicebox'),
|
41 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
42 |
+
'transport' => $selective_refresh,
|
43 |
+
));
|
44 |
+
|
45 |
+
$wp_customize->add_control('home_service_section_title', array(
|
46 |
+
'label' => esc_html__('Title', 'spicebox'),
|
47 |
+
'section' => 'services_section',
|
48 |
+
'type' => 'text',
|
49 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
50 |
+
));
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
if (class_exists('Spicebox_Limit_Repeater')) {
|
55 |
+
$wp_customize->add_setting('wpblack_service_content', array());
|
56 |
+
|
57 |
+
$wp_customize->add_control(new Spicebox_Limit_Repeater($wp_customize, 'wpblack_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_button_text_control'=>true,
|
67 |
+
'customizer_repeater_link_control' => true,
|
68 |
+
'customizer_repeater_checkbox_control' => true,
|
69 |
+
'customizer_repeater_image_control' => true,
|
70 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
71 |
+
)));
|
72 |
+
}
|
73 |
+
|
74 |
+
class wpblack_services_section_upgrade extends WP_Customize_Control {
|
75 |
+
public function render_content() { ?>
|
76 |
+
<h3 class="customizer_wpblack_service_upgrade_section" style="display: none;">
|
77 |
+
<?php esc_html_e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/wpblack-plus' ); ?>" target="_blank">
|
78 |
+
<?php esc_html_e('Upgrade to Plus','spicebox'); ?> </a>
|
79 |
+
</h3>
|
80 |
+
<?php
|
81 |
+
}
|
82 |
+
}
|
83 |
+
|
84 |
+
$wp_customize->add_setting( 'wpblack_service_upgrade_to_pro', array(
|
85 |
+
'capability' => 'edit_theme_options',
|
86 |
+
));
|
87 |
+
$wp_customize->add_control(
|
88 |
+
new wpblack_services_section_upgrade(
|
89 |
+
$wp_customize,
|
90 |
+
'wpblack_service_upgrade_to_pro',
|
91 |
+
array(
|
92 |
+
'section' => 'services_section',
|
93 |
+
'settings' => 'wpblack_service_upgrade_to_pro',
|
94 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
95 |
+
)
|
96 |
+
)
|
97 |
+
);
|
98 |
+
$wp_customize->add_setting('service_secton_button_title', array(
|
99 |
+
'capability' => 'edit_theme_options',
|
100 |
+
'default' => esc_html__('Duis Aute','spice-box'),
|
101 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
102 |
+
));
|
103 |
+
$wp_customize->add_control('service_secton_button_title', array(
|
104 |
+
'label' => esc_html__('Button Text', 'spicebox'),
|
105 |
+
'section' => 'services_section',
|
106 |
+
'type' => 'text',
|
107 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
108 |
+
));
|
109 |
+
|
110 |
+
|
111 |
+
$wp_customize->add_setting('service_section_link', array(
|
112 |
+
'capability' => 'edit_theme_options',
|
113 |
+
'default' => '#',
|
114 |
+
'sanitize_callback' => 'esc_url_raw',
|
115 |
+
));
|
116 |
+
$wp_customize->add_control('service_section_link', array(
|
117 |
+
'label' => esc_html__('Button Link', 'spicebox'),
|
118 |
+
'section' => 'services_section',
|
119 |
+
'type' => 'text',
|
120 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
121 |
+
));
|
122 |
+
|
123 |
+
$wp_customize->add_setting('service_secton_button_target',
|
124 |
+
array(
|
125 |
+
'default' => true,
|
126 |
+
'sanitize_callback' => 'spiceb_wpblack_sanitize_checkbox',
|
127 |
+
|
128 |
+
));
|
129 |
+
|
130 |
+
$wp_customize->add_control('service_secton_button_target',
|
131 |
+
array(
|
132 |
+
'type' => 'checkbox',
|
133 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
134 |
+
'section' => 'services_section',
|
135 |
+
'active_callback' => 'spiceb_wpblack_service_callback'
|
136 |
+
)
|
137 |
+
);
|
138 |
+
$wp_customize->selective_refresh->add_partial('home_service_section_title', array(
|
139 |
+
'selector' => '.services .section-title, .services2 .section-title, .services3 .section-title, .services4 .section-title',
|
140 |
+
'settings' => 'home_service_section_title',
|
141 |
+
'render_callback' => 'spiceb_home_service_section_title_render_callback'
|
142 |
+
));
|
143 |
+
|
144 |
+
$wp_customize->selective_refresh->add_partial('home_service_section_discription', array(
|
145 |
+
'selector' => '.services .section-subtitle, .services2 .section-subtitle, .services3 .section-subtitle, .services4 .section-subtitle',
|
146 |
+
'settings' => 'home_service_section_discription',
|
147 |
+
'render_callback' => 'spiceb_home_service_section_discription_render_callback'
|
148 |
+
));
|
149 |
+
|
150 |
+
$wp_customize->selective_refresh->add_partial('service_viewmore_btn_text', array(
|
151 |
+
'selector' => '.services .view-more-services',
|
152 |
+
'settings' => 'service_viewmore_btn_text',
|
153 |
+
'render_callback' => 'spiceb_service_viewmore_btn_text_render_callback'
|
154 |
+
));
|
155 |
+
|
156 |
+
function spiceb_home_service_section_title_render_callback() {
|
157 |
+
return get_theme_mod('home_service_section_title');
|
158 |
+
}
|
159 |
+
|
160 |
+
function spiceb_home_service_section_discription_render_callback() {
|
161 |
+
return get_theme_mod('home_service_section_discription');
|
162 |
+
}
|
163 |
+
|
164 |
+
function spiceb_service_viewmore_btn_text_render_callback() {
|
165 |
+
return get_theme_mod('service_viewmore_btn_text');
|
166 |
+
}
|
inc/wpblack/customizer/slider-section.php
ADDED
@@ -0,0 +1,293 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_wpblack_sanitize_checkbox',
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new WPBlack_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_wpblack_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_wpblack_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_wpblack_slider_callback'
|
78 |
+
|
79 |
+
));
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
//Slider Image
|
84 |
+
$wp_customize->add_setting('home_slider_image', array(
|
85 |
+
'default' => WPBLACK_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_wpblack_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_wpblack_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_wpblack_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_wpblack_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_wpblack_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 subtitle
|
154 |
+
$wp_customize->add_setting('home_slider_subtitle', array(
|
155 |
+
'default' => esc_html__('Nulla nec dolor sit', 'spicebox'),
|
156 |
+
'capability' => 'edit_theme_options',
|
157 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
158 |
+
));
|
159 |
+
$wp_customize->add_control('home_slider_subtitle', array(
|
160 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
161 |
+
'section' => 'slider_section',
|
162 |
+
'type' => 'text',
|
163 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
164 |
+
));
|
165 |
+
|
166 |
+
// Slider title
|
167 |
+
$wp_customize->add_setting('home_slider_title', array(
|
168 |
+
'default' => __('Nulla nec dolor sit amet<br> lacus molestie', 'spicebox'),
|
169 |
+
'capability' => 'edit_theme_options',
|
170 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
171 |
+
));
|
172 |
+
$wp_customize->add_control('home_slider_title', array(
|
173 |
+
'label' => esc_html__('Title', 'spicebox'),
|
174 |
+
'section' => 'slider_section',
|
175 |
+
'type' => 'text',
|
176 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
177 |
+
));
|
178 |
+
|
179 |
+
//Slider discription
|
180 |
+
$wp_customize->add_setting('home_slider_discription', array(
|
181 |
+
'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'),
|
182 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
183 |
+
));
|
184 |
+
$wp_customize->add_control('home_slider_discription', array(
|
185 |
+
'label' => esc_html__('Description', 'spicebox'),
|
186 |
+
'section' => 'slider_section',
|
187 |
+
'type' => 'textarea',
|
188 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
189 |
+
));
|
190 |
+
|
191 |
+
|
192 |
+
// Slider button text
|
193 |
+
$wp_customize->add_setting('home_slider_btn_txt', array(
|
194 |
+
'default' => esc_html__('Nec Sem', 'spicebox'),
|
195 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
196 |
+
));
|
197 |
+
$wp_customize->add_control('home_slider_btn_txt', array(
|
198 |
+
'label' => esc_html__('Button Text', 'spicebox'),
|
199 |
+
'section' => 'slider_section',
|
200 |
+
'type' => 'text',
|
201 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
202 |
+
));
|
203 |
+
|
204 |
+
// Slider button link
|
205 |
+
$wp_customize->add_setting('home_slider_btn_link', array(
|
206 |
+
'default' => esc_html__('#', 'spicebox'),
|
207 |
+
'sanitize_callback' => 'esc_url_raw',
|
208 |
+
));
|
209 |
+
$wp_customize->add_control('home_slider_btn_link', array(
|
210 |
+
'label' => esc_html__('Button Link', 'spicebox'),
|
211 |
+
'section' => 'slider_section',
|
212 |
+
'type' => 'text',
|
213 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
214 |
+
));
|
215 |
+
|
216 |
+
// Slider button target
|
217 |
+
$wp_customize->add_setting(
|
218 |
+
'home_slider_btn_target',
|
219 |
+
array(
|
220 |
+
'default' => false,
|
221 |
+
'sanitize_callback' => 'spiceb_wpblack_sanitize_checkbox',
|
222 |
+
));
|
223 |
+
$wp_customize->add_control('home_slider_btn_target', array(
|
224 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
225 |
+
'section' => 'slider_section',
|
226 |
+
'type' => 'checkbox',
|
227 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
228 |
+
));
|
229 |
+
|
230 |
+
// Slider button2 text
|
231 |
+
$wp_customize->add_setting('home_slider_btn_txt2', array(
|
232 |
+
'default' => esc_html__('Cras Vitae', 'spicebox'),
|
233 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
234 |
+
));
|
235 |
+
$wp_customize->add_control('home_slider_btn_txt2', array(
|
236 |
+
'label' => esc_html__('Button 2 Text', 'spicebox'),
|
237 |
+
'section' => 'slider_section',
|
238 |
+
'type' => 'text',
|
239 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
240 |
+
));
|
241 |
+
|
242 |
+
// Slider button link
|
243 |
+
$wp_customize->add_setting('home_slider_btn_link2', array(
|
244 |
+
'default' => esc_html__('#', 'spicebox'),
|
245 |
+
'sanitize_callback' => 'esc_url_raw',
|
246 |
+
));
|
247 |
+
$wp_customize->add_control('home_slider_btn_link2', array(
|
248 |
+
'label' => esc_html__('Button 2 Link', 'spicebox'),
|
249 |
+
'section' => 'slider_section',
|
250 |
+
'type' => 'text',
|
251 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
252 |
+
));
|
253 |
+
|
254 |
+
// Slider button target
|
255 |
+
$wp_customize->add_setting(
|
256 |
+
'home_slider_btn_target2',
|
257 |
+
array(
|
258 |
+
'default' => false,
|
259 |
+
'sanitize_callback' => 'spiceb_wpblack_sanitize_checkbox',
|
260 |
+
));
|
261 |
+
$wp_customize->add_control('home_slider_btn_target2', array(
|
262 |
+
'label' => esc_html__('Open link in new tab', 'spicebox'),
|
263 |
+
'section' => 'slider_section',
|
264 |
+
'type' => 'checkbox',
|
265 |
+
'active_callback' => 'spiceb_wpblack_slider_callback'
|
266 |
+
));
|
267 |
+
|
268 |
+
|
269 |
+
$wp_customize->selective_refresh->add_partial('home_slider_subtitle', array(
|
270 |
+
'selector' => '.bcslider-section .slider-caption .heading ',
|
271 |
+
'settings' => 'home_slider_subtitle',
|
272 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
273 |
+
));
|
274 |
+
$wp_customize->selective_refresh->add_partial('home_slider_title', array(
|
275 |
+
'selector' => '.bcslider-section .slider-caption .title ',
|
276 |
+
'settings' => 'home_slider_title',
|
277 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
278 |
+
));
|
279 |
+
$wp_customize->selective_refresh->add_partial('home_slider_discription', array(
|
280 |
+
'selector' => '.bcslider-section .slider-caption .description ',
|
281 |
+
'settings' => 'home_slider_discription',
|
282 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
283 |
+
));
|
284 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt', array(
|
285 |
+
'selector' => '.bcslider-section .slider-caption .btn-combo .btn-default ',
|
286 |
+
'settings' => 'home_slider_btn_txt',
|
287 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
288 |
+
));
|
289 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt2', array(
|
290 |
+
'selector' => '.bcslider-section .slider-caption .btn-combo .btn-light ',
|
291 |
+
'settings' => 'home_slider_btn_txt2',
|
292 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
293 |
+
));
|
inc/wpblack/customizer/team-section.php
ADDED
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
//Team Section
|
4 |
+
$wp_customize->add_section('wpblack_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_wpblack_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new WPBlack_Toggle_Control($wp_customize, 'team_section_enable',
|
16 |
+
array(
|
17 |
+
'label' => esc_html__('Enable/Disable Team Section', 'spicebox'),
|
18 |
+
'type' => 'toggle',
|
19 |
+
'section' => 'wpblack_team_section',
|
20 |
+
)
|
21 |
+
));
|
22 |
+
|
23 |
+
//Team section discription
|
24 |
+
$wp_customize->add_setting('home_team_section_discription', array(
|
25 |
+
'default' => esc_html__('Ullamco Laboris Nisi', 'spicebox'),
|
26 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
27 |
+
|
28 |
+
));
|
29 |
+
$wp_customize->add_control('home_team_section_discription', array(
|
30 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
31 |
+
'section' => 'wpblack_team_section',
|
32 |
+
'type' => 'text',
|
33 |
+
'active_callback' => 'spiceb_wpblack_team_callback'
|
34 |
+
));
|
35 |
+
|
36 |
+
// Team section title
|
37 |
+
$wp_customize->add_setting('home_team_section_title', array(
|
38 |
+
'default' => esc_html__('Magna Aliqua', 'spicebox'),
|
39 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
40 |
+
));
|
41 |
+
$wp_customize->add_control('home_team_section_title', array(
|
42 |
+
'label' => esc_html__('Title', 'spicebox'),
|
43 |
+
'section' => 'wpblack_team_section',
|
44 |
+
'type' => 'text',
|
45 |
+
'active_callback' => 'spiceb_wpblack_team_callback'
|
46 |
+
));
|
47 |
+
|
48 |
+
|
49 |
+
if (class_exists('Spicebox_Repeater')) {
|
50 |
+
$wp_customize->add_setting(
|
51 |
+
'wpblack_team_content', array(
|
52 |
+
)
|
53 |
+
);
|
54 |
+
|
55 |
+
$wp_customize->add_control(
|
56 |
+
new Spicebox_Repeater(
|
57 |
+
$wp_customize, 'wpblack_team_content', array(
|
58 |
+
'label' => esc_html__('Team content', 'spicebox'),
|
59 |
+
'section' => 'wpblack_team_section',
|
60 |
+
'priority' => 15,
|
61 |
+
'add_field_label' => esc_html__('Add new Team Member', 'spicebox'),
|
62 |
+
'item_name' => esc_html__('Team Member', 'spicebox'),
|
63 |
+
'customizer_repeater_member_name_control' => true,
|
64 |
+
'customizer_repeater_designation_control' => true,
|
65 |
+
'customizer_repeater_image_control' => true,
|
66 |
+
'customizer_repeater_repeater_control' => true,
|
67 |
+
'active_callback' => 'spiceb_wpblack_team_callback'
|
68 |
+
)
|
69 |
+
)
|
70 |
+
);
|
71 |
+
}
|
72 |
+
|
73 |
+
//Navigation Type
|
74 |
+
$wp_customize->add_setting('team_nav_style', array('default' => 'bullets'));
|
75 |
+
$wp_customize->add_control('team_nav_style', array(
|
76 |
+
'label' => esc_html__('Navigation Style', 'spicebox'),
|
77 |
+
'section' => 'wpblack_team_section',
|
78 |
+
'type' => 'radio',
|
79 |
+
'priority' => 16,
|
80 |
+
'choices' => array(
|
81 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
82 |
+
'navigation' => esc_html__('Navigation', 'spicebox'),
|
83 |
+
'both' => esc_html__('Both', 'spicebox'),
|
84 |
+
),
|
85 |
+
'active_callback' => 'spiceb_wpblack_team_callback'
|
86 |
+
));
|
87 |
+
|
88 |
+
// animation speed
|
89 |
+
$wp_customize->add_setting('team_animation_speed', array('default' => 3000));
|
90 |
+
$wp_customize->add_control('team_animation_speed',
|
91 |
+
array(
|
92 |
+
'label' => esc_html__('Animation speed', 'spicebox'),
|
93 |
+
'section' => 'wpblack_team_section',
|
94 |
+
'type' => 'select',
|
95 |
+
'priority' => 17,
|
96 |
+
'choices' => array(
|
97 |
+
'2000' => '2.0',
|
98 |
+
'3000' => '3.0',
|
99 |
+
'4000' => '4.0',
|
100 |
+
'5000' => '5.0',
|
101 |
+
'6000' => '6.0',
|
102 |
+
),
|
103 |
+
'active_callback' => 'spiceb_wpblack_team_callback'
|
104 |
+
));
|
105 |
+
|
106 |
+
// smooth speed
|
107 |
+
$wp_customize->add_setting('team_smooth_speed', array('default' => 1000));
|
108 |
+
$wp_customize->add_control('team_smooth_speed',
|
109 |
+
array(
|
110 |
+
'label' => esc_html__('Smooth speed', 'spicebox'),
|
111 |
+
'section' => 'wpblack_team_section',
|
112 |
+
'type' => 'select',
|
113 |
+
'priority' => 18,
|
114 |
+
'active_callback' => 'spiceb_wpblack_team_callback',
|
115 |
+
'choices' => array('500' => '0.5',
|
116 |
+
'1000' => '1.0',
|
117 |
+
'1500' => '1.5',
|
118 |
+
'2000' => '2.0',
|
119 |
+
'2500' => '2.5',
|
120 |
+
'3000' => '3.0')
|
121 |
+
));
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Add selective refresh for Front page team section controls.
|
125 |
+
*/
|
126 |
+
$wp_customize->selective_refresh->add_partial('home_team_section_title', array(
|
127 |
+
'selector' => '.team h2, .team2 .section-title, .team3 .section-title, .team4 .section-title',
|
128 |
+
'settings' => 'home_team_section_title',
|
129 |
+
'render_callback' => 'spiceb_home_team_section_title_render_callback',
|
130 |
+
));
|
131 |
+
|
132 |
+
$wp_customize->selective_refresh->add_partial('home_team_section_discription', array(
|
133 |
+
'selector' => '.team p, .team2 .section-subtitle, .team3 .section-subtitle, .team4 .section-subtitle',
|
134 |
+
'settings' => 'home_team_section_discription',
|
135 |
+
'render_callback' => 'spiceb_home_team_section_discription_render_callback',
|
136 |
+
));
|
137 |
+
|
138 |
+
function spiceb_home_team_section_title_render_callback() {
|
139 |
+
return get_theme_mod('home_team_section_title');
|
140 |
+
}
|
141 |
+
|
142 |
+
function spiceb_home_team_section_discription_render_callback() {
|
143 |
+
return get_theme_mod('home_team_section_discription');
|
144 |
+
}
|
145 |
+
|
146 |
+
?>
|
inc/wpblack/customizer/testimonial-section.php
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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' =>4,
|
7 |
+
));
|
8 |
+
|
9 |
+
// Enable testimonial section
|
10 |
+
$wp_customize->add_setting('testimonial_section_enable', array(
|
11 |
+
'default' => true,
|
12 |
+
'sanitize_callback' => 'spiceb_wpblack_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new WPBlack_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 |
+
// testimonial section Description
|
24 |
+
$wp_customize->add_setting('home_testimonial_section_discription', array(
|
25 |
+
'capability' => 'edit_theme_options',
|
26 |
+
'default' => esc_html__('Nam Viverra Iaculis Finibus', 'spicebox'),
|
27 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
28 |
+
));
|
29 |
+
$wp_customize->add_control('home_testimonial_section_discription', array(
|
30 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
31 |
+
'section' => 'testimonial_section',
|
32 |
+
'type' => 'text',
|
33 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
34 |
+
));
|
35 |
+
|
36 |
+
// testimonial section title
|
37 |
+
$wp_customize->add_setting('home_testimonial_section_title', array(
|
38 |
+
'capability' => 'edit_theme_options',
|
39 |
+
'default' => esc_html__('Proin Egestas', 'spicebox'),
|
40 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
41 |
+
));
|
42 |
+
$wp_customize->add_control('home_testimonial_section_title', array(
|
43 |
+
'label' => esc_html__('Title', 'spicebox'),
|
44 |
+
'section' => 'testimonial_section',
|
45 |
+
'type' => 'text',
|
46 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
47 |
+
));
|
48 |
+
|
49 |
+
|
50 |
+
if (class_exists('Spicebox_Repeater')) {
|
51 |
+
$wp_customize->add_setting('wpblack_testimonial_content', array(
|
52 |
+
));
|
53 |
+
$wp_customize->add_control(new Spicebox_Repeater($wp_customize, 'wpblack_testimonial_content', array(
|
54 |
+
'label' => esc_html__('Testimonial content', 'spicebox'),
|
55 |
+
'section' => 'testimonial_section',
|
56 |
+
'add_field_label' => esc_html__('Add new Testimonial', 'spicebox'),
|
57 |
+
'item_name' => esc_html__('Testimonial', 'spicebox'),
|
58 |
+
'customizer_repeater_text_control' => true,
|
59 |
+
'customizer_repeater_link_control' => true,
|
60 |
+
'customizer_repeater_checkbox_control' => true,
|
61 |
+
'customizer_repeater_image_control' => true,
|
62 |
+
'customizer_repeater_user_name_control' => true,
|
63 |
+
'customizer_repeater_designation_control' => true,
|
64 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
65 |
+
)));
|
66 |
+
}
|
67 |
+
|
68 |
+
//Testimonial Background Image
|
69 |
+
$wp_customize->add_setting('testimonial_callout_background', array(
|
70 |
+
'default' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/testimonial-bg.jpg',
|
71 |
+
'sanitize_callback' => 'esc_url_raw',
|
72 |
+
));
|
73 |
+
|
74 |
+
$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'testimonial_callout_background', array(
|
75 |
+
'label' => esc_html__('Background Image', 'spicebox'),
|
76 |
+
'section' => 'testimonial_section',
|
77 |
+
'settings' => 'testimonial_callout_background',
|
78 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
79 |
+
)));
|
80 |
+
|
81 |
+
// Image overlay
|
82 |
+
$wp_customize->add_setting('testimonial_image_overlay', array(
|
83 |
+
'default' => true,
|
84 |
+
'sanitize_callback' => 'spiceb_wpblack_sanitize_checkbox',
|
85 |
+
));
|
86 |
+
|
87 |
+
$wp_customize->add_control('testimonial_image_overlay', array(
|
88 |
+
'label' => esc_html__('Enable/Disable testimonial image overlay', 'spicebox'),
|
89 |
+
'section' => 'testimonial_section',
|
90 |
+
'type' => 'checkbox',
|
91 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
92 |
+
));
|
93 |
+
|
94 |
+
//Testimonial Background Overlay Color
|
95 |
+
$wp_customize->add_setting('testimonial_overlay_section_color', array(
|
96 |
+
'sanitize_callback' => 'spiceb_wpblack_home_page_sanitize_text',
|
97 |
+
'default' => 'rgba(6, 14, 36, 0.8)',
|
98 |
+
));
|
99 |
+
|
100 |
+
$wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'testimonial_overlay_section_color', array(
|
101 |
+
'label' => esc_html__('Testimonial image overlay color', 'spicebox'),
|
102 |
+
'palette' => true,
|
103 |
+
'section' => 'testimonial_section',
|
104 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
105 |
+
)
|
106 |
+
));
|
107 |
+
//Navigation Type
|
108 |
+
$wp_customize->add_setting('testimonial_nav_style', array('default' => 'bullets'));
|
109 |
+
$wp_customize->add_control('testimonial_nav_style', array(
|
110 |
+
'label' => esc_html__('Navigation Style', 'spicebox'),
|
111 |
+
'section' => 'testimonial_section',
|
112 |
+
'type' => 'radio',
|
113 |
+
'priority' => 17,
|
114 |
+
'choices' => array(
|
115 |
+
'bullets' => esc_html__('Bullets', 'spicebox'),
|
116 |
+
'navigation' => esc_html__('Navigation', 'spicebox'),
|
117 |
+
'both' => esc_html__('Both', 'spicebox'),
|
118 |
+
),
|
119 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
120 |
+
));
|
121 |
+
|
122 |
+
// animation speed
|
123 |
+
$wp_customize->add_setting('testimonial_animation_speed', array('default' => 3000));
|
124 |
+
$wp_customize->add_control('testimonial_animation_speed',
|
125 |
+
array(
|
126 |
+
'label' => esc_html__('Animation speed', 'spicebox'),
|
127 |
+
'section' => 'testimonial_section',
|
128 |
+
'type' => 'select',
|
129 |
+
'choices' => array(
|
130 |
+
'2000' => '2.0',
|
131 |
+
'3000' => '3.0',
|
132 |
+
'4000' => '4.0',
|
133 |
+
'5000' => '5.0',
|
134 |
+
'6000' => '6.0',
|
135 |
+
),
|
136 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
137 |
+
));
|
138 |
+
|
139 |
+
// smooth speed
|
140 |
+
$wp_customize->add_setting('testimonial_smooth_speed', array('default' => 1000));
|
141 |
+
$wp_customize->add_control('testimonial_smooth_speed',
|
142 |
+
array(
|
143 |
+
'label' => esc_html__('Smooth speed', 'spicebox'),
|
144 |
+
'section' => 'testimonial_section',
|
145 |
+
'type' => 'select',
|
146 |
+
'choices' => array('500' => '0.5',
|
147 |
+
'1000' => '1.0',
|
148 |
+
'1500' => '1.5',
|
149 |
+
'2000' => '2.0',
|
150 |
+
'2500' => '2.5',
|
151 |
+
'3000' => '3.0'),
|
152 |
+
'active_callback' => 'spiceb_wpblack_testimonial_callback'
|
153 |
+
));
|
154 |
+
|
155 |
+
|
156 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_title', array(
|
157 |
+
'selector' => '.testimonial h2',
|
158 |
+
'settings' => 'home_testimonial_section_title',
|
159 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
160 |
+
));
|
161 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_discription', array(
|
162 |
+
'selector' => '.testimonial p.section-subtitle',
|
163 |
+
'settings' => 'home_testimonial_section_discription',
|
164 |
+
'render_callback' => 'home_testimonial_section_discription_render_callback',
|
165 |
+
));
|
166 |
+
|
167 |
+
function home_testimonial_section_title_render_callback() {
|
168 |
+
return get_theme_mod('home_testimonial_section_title');
|
169 |
+
}
|
170 |
+
function home_testimonial_section_discription_render_callback() {
|
171 |
+
return get_theme_mod('home_testimonial_section_discription');
|
172 |
+
}
|
inc/wpblack/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/wpblack/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/wpblack/default-pages/upload-media.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$theme=wp_get_theme();
|
3 |
+
$ImagePath = SPICEB_PLUGIN_URL . 'inc/wpblack/images';
|
4 |
+
|
5 |
+
if('WPBlack Dark'==$theme->name):
|
6 |
+
$images = array(
|
7 |
+
$ImagePath . '/wpblack-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('wpblack_media_id', $ImageId);
|
36 |
+
$MediaId = get_option('wpblack_media_id');
|
37 |
+
set_theme_mod('custom_logo', $MediaId[0]);
|
38 |
+
set_theme_mod('header_textcolor', "blank");
|
39 |
+
?>
|
inc/wpblack/images/logo.png
ADDED
Binary file
|
inc/wpblack/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-carousel2").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/wpblack/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/wpblack/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/wpblack/sections/wpblack-news-section.php
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wpblack_news_action','spiceb_wpblack_news_section');
|
3 |
+
/* Function for news section*/
|
4 |
+
function spiceb_wpblack_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('wpblack_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('wpblack-blog', SPICEB_PLUGIN_URL . '/inc/wpblack/js/front-page/blog.js', array('jquery'));
|
18 |
+
wp_localize_script('wpblack-blog','newz_settings', $newzsettings);
|
19 |
+
wp_enqueue_script('wpblack-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="wpblack-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_discription){?><p class="section-subtitle"><?php echo esc_html($home_news_section_discription); ?></p>
|
36 |
+
<?php }
|
37 |
+
if($home_news_section_title){?><h2 class="section-title"><?php echo esc_html($home_news_section_title); ?></h2><?php }?>
|
38 |
+
<div class="section-separator border-center"></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-carousel2" 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 |
+
<span class="date"><?php echo esc_html(get_the_date()); ?></span>
|
68 |
+
</a>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
<div class="entry-meta">
|
72 |
+
<i class="fa fa-user"></i>
|
73 |
+
<span class="author postauthor">
|
74 |
+
<a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>">
|
75 |
+
<?php echo esc_html(get_the_author()); ?>
|
76 |
+
</a>
|
77 |
+
</span>
|
78 |
+
<?php
|
79 |
+
$cat_list = get_the_category_list();
|
80 |
+
if (!empty($cat_list)) {?>
|
81 |
+
<i class="fa fa-folder-open"></i>
|
82 |
+
<span class="cat-links postcat"><?php the_category(', '); ?></span>
|
83 |
+
<?php }
|
84 |
+
|
85 |
+
$commt = get_comments_number();
|
86 |
+
if (!empty($commt)) {
|
87 |
+
?>
|
88 |
+
<i class="fa fa-comment-o"></i>
|
89 |
+
<span class="cat-links">
|
90 |
+
<a href="<?php the_permalink();?>"><?php echo esc_html(get_comments_number());?></a>
|
91 |
+
</span>
|
92 |
+
<?php } ?>
|
93 |
+
</div>
|
94 |
+
<?php } ?>
|
95 |
+
|
96 |
+
<header class="entry-header">
|
97 |
+
<h4 class="entry-title">
|
98 |
+
<a class="home-blog-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
99 |
+
</h4>
|
100 |
+
</header>
|
101 |
+
|
102 |
+
<div class="entry-content">
|
103 |
+
<?php the_excerpt();
|
104 |
+
$blog_button = get_theme_mod('home_news_button_title', __('Cras Vitae', 'spicebox'));
|
105 |
+
if (!empty($blog_button)) {?>
|
106 |
+
<p>
|
107 |
+
<a href="<?php the_permalink(); ?>" class="btn-small more-link"><?php echo esc_html($blog_button); ?>
|
108 |
+
<i class="fa fa-long-arrow-right"></i>
|
109 |
+
</a>
|
110 |
+
</p>
|
111 |
+
<?php } ?>
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
</article>
|
115 |
+
</div>
|
116 |
+
<?php
|
117 |
+
}
|
118 |
+
endwhile;?>
|
119 |
+
</div>
|
120 |
+
<?php
|
121 |
+
}
|
122 |
+
?>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
</section>
|
126 |
+
<?php }
|
127 |
+
} ?>
|
inc/wpblack/sections/wpblack-services-section.php
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wpblack_services_action','spiceb_wpblack_services_section');
|
3 |
+
|
4 |
+
function spiceb_wpblack_services_section()
|
5 |
+
{
|
6 |
+
$service_data = get_theme_mod('wpblack_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 |
+
'button_text' => esc_html__('Learn More','spice-box'),
|
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 |
+
'button_text' => esc_html__('Learn More','spice-box'),
|
25 |
+
'link' => '#',
|
26 |
+
'open_new_tab' => 'no',
|
27 |
+
'id' => 'customizer_repeater_56d7ea7f40b66',
|
28 |
+
),
|
29 |
+
array(
|
30 |
+
'icon_value' => 'fa fa-cogs',
|
31 |
+
'title' => esc_html__('Justo Bibendum', 'spicebox'),
|
32 |
+
'text' => esc_html__('Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.', 'spicebox'),
|
33 |
+
'choice' => 'customizer_repeater_icon',
|
34 |
+
'button_text' => esc_html__('Learn More','spice-box'),
|
35 |
+
'link' => '#',
|
36 |
+
'open_new_tab' => 'no',
|
37 |
+
'id' => 'customizer_repeater_56d7ea7f40b86',
|
38 |
+
),
|
39 |
+
));
|
40 |
+
}
|
41 |
+
$wpblack_service_section_title = get_theme_mod('home_service_section_title', __('Quisque Blandit', 'spicebox'));
|
42 |
+
$wpblack_service_section_discription = get_theme_mod('home_service_section_discription', __('Fusce Sed Massa', 'spicebox'));
|
43 |
+
$wpblack_service_section_enabled = get_theme_mod('home_service_section_enabled',true);
|
44 |
+
|
45 |
+
$service_section_class = 'services';
|
46 |
+
$service_secton_button_title=get_theme_mod('service_secton_button_title',esc_html__('Duis Aute','spice-box'));
|
47 |
+
$service_section_link=get_theme_mod('service_section_link','#');
|
48 |
+
$service_secton_button_target=get_theme_mod('service_secton_button_target',true);
|
49 |
+
if($wpblack_service_section_enabled ==true)
|
50 |
+
{
|
51 |
+
?>
|
52 |
+
<section class="section-space <?php echo esc_attr($service_section_class); ?> bg-default-lite">
|
53 |
+
<div class="container">
|
54 |
+
<?php if ($wpblack_service_section_discription != '' || $wpblack_service_section_title != '') {?>
|
55 |
+
<div class="row">
|
56 |
+
<div class="col-md-12 col-sm-12 col-xs-12">
|
57 |
+
<div class="section-header">
|
58 |
+
<?php if ($wpblack_service_section_discription != '') { ?>
|
59 |
+
<p class="section-subtitle"><?php echo esc_html($wpblack_service_section_discription); ?></p>
|
60 |
+
<?php } ?>
|
61 |
+
<?php if ($wpblack_service_section_title != '') { ?>
|
62 |
+
<h2 class="section-title"><?php echo esc_html($wpblack_service_section_title); ?></h2>
|
63 |
+
<?php } ?>
|
64 |
+
<div class="section-separator border-center"></div>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
<?php } ?>
|
69 |
+
|
70 |
+
<div class="row">
|
71 |
+
<?php
|
72 |
+
$service_data = json_decode($service_data);
|
73 |
+
if (!empty($service_data)) {
|
74 |
+
foreach ($service_data as $service_team) {
|
75 |
+
$service_icon = !empty($service_team->icon_value) ? apply_filters('wpblack_translate_single_string', $service_team->icon_value, 'Service section') : '';
|
76 |
+
$service_image = !empty($service_team->image_url) ? apply_filters('wpblack_translate_single_string', $service_team->image_url, 'Service section') : '';
|
77 |
+
$service_title = !empty($service_team->title) ? apply_filters('wpblack_translate_single_string', $service_team->title, 'Service section') : '';
|
78 |
+
$service_desc = !empty($service_team->text) ? apply_filters('wpblack_translate_single_string', $service_team->text, 'Service section') : '';
|
79 |
+
$service_link = !empty($service_team->link) ? apply_filters('wpblack_translate_single_string', $service_team->link, 'Service section') : '';
|
80 |
+
$service_button=!empty($service_team->button_text) ? apply_filters('wpblack_translate_single_string', $service_team->button_text, 'Service section') : '';
|
81 |
+
?>
|
82 |
+
<div class="col-md-4 col-sm-6 col-xs-12">
|
83 |
+
<div class="card">
|
84 |
+
<div class="overlay"></div>
|
85 |
+
<div class="card-body">
|
86 |
+
<?php if ($service_team->choice == 'customizer_repeater_icon') {
|
87 |
+
if($service_icon != '') { ?>
|
88 |
+
<p class="service-icon">
|
89 |
+
<i class="fa <?php echo esc_attr($service_icon); ?>"></i>
|
90 |
+
</p>
|
91 |
+
<?php
|
92 |
+
}
|
93 |
+
}else if ($service_team->choice == 'customizer_repeater_image') {
|
94 |
+
if ($service_image != '') { ?>
|
95 |
+
<p class="service-image">
|
96 |
+
<img class='img-fluid' src="<?php echo esc_url($service_image); ?>"></a></p>
|
97 |
+
<?php }
|
98 |
+
}
|
99 |
+
if ($service_title != "") { ?>
|
100 |
+
<h4 class="entry-title">
|
101 |
+
<?php if ($service_link != '') { ?>
|
102 |
+
<a href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {echo "target='_blank'";} ?>><?php } echo esc_html($service_title);
|
103 |
+
if ($service_link != '') { ?></a>
|
104 |
+
<?php } ?>
|
105 |
+
</h4>
|
106 |
+
<?php
|
107 |
+
}
|
108 |
+
if ($service_desc != ""): ?>
|
109 |
+
<p class="description"><?php echo wp_kses_post($service_desc); ?></p>
|
110 |
+
<?php endif; ?>
|
111 |
+
<?php if ($service_button != '') { ?>
|
112 |
+
<a class="btn-small" href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {echo "target='_blank'";} ?>><?php echo esc_html($service_button);?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
113 |
+
<?php } ?>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
<?php
|
118 |
+
}
|
119 |
+
}?>
|
120 |
+
</div>
|
121 |
+
<?php
|
122 |
+
if($service_secton_button_title !=''){?>
|
123 |
+
<div class="text-center service-btn">
|
124 |
+
<a href="<?php echo esc_url($service_section_link); ?>" class="btn-small btn-default"<?php if ($service_secton_button_target == true) {echo "target='_blank'";} ?> alt="Check-it-out"><?php echo esc_html($service_secton_button_title); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
125 |
+
</div>
|
126 |
+
<?php }?>
|
127 |
+
</div>
|
128 |
+
</section>
|
129 |
+
<?php } ?>
|
130 |
+
<div class="clearfix"></div>
|
131 |
+
<?php //End of service section enable condition
|
132 |
+
}
|
133 |
+
?>
|
inc/wpblack/sections/wpblack-slider-section.php
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Slider section for the homepage.
|
4 |
+
*/
|
5 |
+
add_action('spiceb_wpblack_slider_action','spiceb_wpblack_slider_section');
|
6 |
+
|
7 |
+
function spiceb_wpblack_slider_section()
|
8 |
+
{
|
9 |
+
$home_slider_image = get_theme_mod('home_slider_image',WPBLACK_TEMPLATE_DIR_URI .'/assets/images/slider/slider.jpg');
|
10 |
+
$home_slider_subtitle = get_theme_mod('home_slider_subtitle',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
|
11 |
+
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet<br> lacus molestie','spicebox'));
|
12 |
+
$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'));
|
13 |
+
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
14 |
+
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
15 |
+
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
16 |
+
|
17 |
+
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
18 |
+
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
19 |
+
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
20 |
+
$slider_align_split = get_theme_mod('slider_content_alignment','left');
|
21 |
+
|
22 |
+
if(get_theme_mod('home_page_slider_enabled',true)==true) {
|
23 |
+
$video_upload = get_theme_mod('slide_video_upload');
|
24 |
+
$video_upload = wp_get_attachment_url( $video_upload);
|
25 |
+
$video_youtub = get_theme_mod('slide_video_url');
|
26 |
+
// Below Script will run for only video slide
|
27 |
+
if((!empty($video_upload) || !empty($video_youtub) ) && (get_theme_mod('slide_variation','slide')=='video')){ ?>
|
28 |
+
<section class="video-slider home-section home-full-height bcslider-section" id="totop" data-background="assets/images/section-5.jpg">
|
29 |
+
<?php if(!empty($video_youtub)){?>
|
30 |
+
<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>
|
31 |
+
<?php }
|
32 |
+
else if(!empty($video_upload)){?>
|
33 |
+
<video autoplay="" muted="" loop="" id="video_slider">
|
34 |
+
<source src="<?php echo esc_url($video_upload); ?>" type="video/mp4">
|
35 |
+
</video>
|
36 |
+
<?php }?>
|
37 |
+
<div class="container slider-caption">
|
38 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
39 |
+
<?php if($home_slider_subtitle!=''){ ?>
|
40 |
+
<p class="heading"><span><?php echo esc_html($home_slider_subtitle); ?></span></p>
|
41 |
+
<?php }
|
42 |
+
if($home_slider_title!=''){ ?>
|
43 |
+
<div class="inner-title">
|
44 |
+
<h2 class="title"><?php echo wp_kses_post($home_slider_title); ?></h2>
|
45 |
+
</div>
|
46 |
+
<?php }
|
47 |
+
if($home_slider_discription!=''){ ?>
|
48 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
49 |
+
<?php } ?>
|
50 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
51 |
+
<div class="btn-combo">
|
52 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
53 |
+
<a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default"> <?php echo esc_html($home_slider_btn_txt); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
56 |
+
<a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light"><?php echo esc_html($home_slider_btn_txt2); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
57 |
+
<?php endif;?>
|
58 |
+
</div>
|
59 |
+
<?php } ?>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
63 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
64 |
+
if($slider_image_overlay != false) { ?>
|
65 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
66 |
+
<?php } ?>
|
67 |
+
</section>
|
68 |
+
<?php }
|
69 |
+
else{ ?>
|
70 |
+
<!-- Slider Section -->
|
71 |
+
<section class="bcslider-section">
|
72 |
+
<div class="home-section back-img" <?php if($home_slider_image!='') { ?>style="background-image:url( <?php echo esc_url($home_slider_image); ?> );" <?php } ?>>
|
73 |
+
<div class="container slider-caption">
|
74 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
75 |
+
<?php if($home_slider_subtitle!=''){ ?>
|
76 |
+
<p class="heading"><span><?php echo esc_html($home_slider_subtitle); ?></span></p>
|
77 |
+
<?php }
|
78 |
+
if($home_slider_title!=''){ ?>
|
79 |
+
<div class="inner-title">
|
80 |
+
<h2 class="title"><?php echo wp_kses_post($home_slider_title); ?></h2>
|
81 |
+
</div>
|
82 |
+
<?php }
|
83 |
+
if($home_slider_discription!=''){ ?>
|
84 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
85 |
+
<?php } ?>
|
86 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
87 |
+
<div class="btn-combo">
|
88 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
89 |
+
<a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default"> <?php echo esc_html($home_slider_btn_txt); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
90 |
+
<?php endif; ?>
|
91 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
92 |
+
<a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light"><?php echo esc_html($home_slider_btn_txt2); ?><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
|
93 |
+
<?php endif;?>
|
94 |
+
</div>
|
95 |
+
<?php } ?>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
99 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
100 |
+
if($slider_image_overlay != false) { ?>
|
101 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
102 |
+
<?php } ?>
|
103 |
+
</div>
|
104 |
+
</section>
|
105 |
+
<?php } ?>
|
106 |
+
<div class="clearfix"></div>
|
107 |
+
<?php
|
108 |
+
}
|
109 |
+
} ?>
|
inc/wpblack/sections/wpblack-team-section.php
ADDED
@@ -0,0 +1,229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wpblack_team_action','spiceb_wpblack_team_section');
|
3 |
+
|
4 |
+
function spiceb_wpblack_team_section(){
|
5 |
+
$team_options = get_theme_mod('wpblack_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('wpblack-team', SPICEB_PLUGIN_URL . '/inc/wpblack/js/front-page/team.js', array('jquery'));
|
13 |
+
wp_localize_script('wpblack-team', 'team_settings', $teamsettings);
|
14 |
+
wp_enqueue_script('wpblack-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="wpblack-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_discription)):?><p class="section-subtitle"><?php echo esc_html($home_team_section_discription); ?></p>
|
163 |
+
<?php endif;
|
164 |
+
if(!empty($home_team_section_title)):?><h2 class="section-title"><?php echo esc_html($home_team_section_title); ?></h2>
|
165 |
+
<?php endif;?>
|
166 |
+
<div class="section-separator border-center"></div>
|
167 |
+
</div>
|
168 |
+
</div>
|
169 |
+
</div>
|
170 |
+
<?php } ?>
|
171 |
+
<div class="row">
|
172 |
+
<div id="team-carousel" class="owl-carousel owl-theme col-lg-12">
|
173 |
+
<?php
|
174 |
+
$team_options = json_decode($team_options);
|
175 |
+
if (!empty($team_options)) {
|
176 |
+
foreach ($team_options as $team_item) {
|
177 |
+
$image = !empty($team_item->image_url) ? apply_filters('wpblack_translate_single_string', $team_item->image_url, 'Team section') : '';
|
178 |
+
|
179 |
+
$title = !empty($team_item->membername) ? apply_filters('wpblack_translate_single_string', $team_item->membername, 'Team section') : '';
|
180 |
+
$subtitle = !empty($team_item->designation) ? apply_filters('wpblack_translate_single_string', $team_item->designation, 'Team section') : '';
|
181 |
+
$aboutme = !empty($team_item->text) ? apply_filters('wpblack_translate_single_string', $team_item->text, 'Team section') : '';?>
|
182 |
+
<div class="item">
|
183 |
+
<!-- Image -->
|
184 |
+
<figure class="portfolio-thumbnail">
|
185 |
+
<?php if(!empty($image)){ ?>
|
186 |
+
<div class="img-holder">
|
187 |
+
<img src="<?php echo esc_url($image); ?>" class="img-fluid">
|
188 |
+
</div>
|
189 |
+
<?php }
|
190 |
+
$icons = html_entity_decode($team_item->social_repeater);
|
191 |
+
$icons_decoded = json_decode($icons, true);
|
192 |
+
$socails_counts = $icons_decoded;
|
193 |
+
if (!empty($socails_counts)) :
|
194 |
+
if (!empty($icons_decoded)) : ?>
|
195 |
+
<ul class="team-social-links">
|
196 |
+
<?php
|
197 |
+
foreach ($icons_decoded as $value)
|
198 |
+
{
|
199 |
+
$social_icon = !empty($value['icon']) ? apply_filters('wpblack_translate_single_string', $value['icon'], 'Team section') : '';
|
200 |
+
$social_link = !empty($value['link']) ? apply_filters('wpblack_translate_single_string', $value['link'], 'Team section') : '';
|
201 |
+
if (!empty($social_icon))
|
202 |
+
{ ?>
|
203 |
+
<li>
|
204 |
+
<a <?php if($open_new_tab == 'yes'){ echo 'target="_blank"';}?> href="<?php echo esc_url($social_link); ?>"><i class="fa <?php echo esc_attr($social_icon); ?> " aria-hidden="true"></i></a>
|
205 |
+
</li>
|
206 |
+
<?php
|
207 |
+
}
|
208 |
+
}?>
|
209 |
+
</ul>
|
210 |
+
<?php
|
211 |
+
endif;
|
212 |
+
endif;?>
|
213 |
+
<!-- .tm-team-social-links -->
|
214 |
+
<figcaption class="entry-header">
|
215 |
+
<h4 class="name font-weight-bold"><?php echo esc_html($title);?></h4>
|
216 |
+
<p class="dark-grey-text"><?php echo esc_html($subtitle);?></p>
|
217 |
+
</figcaption>
|
218 |
+
</figure>
|
219 |
+
</div>
|
220 |
+
<?php
|
221 |
+
}
|
222 |
+
}?>
|
223 |
+
</div>
|
224 |
+
</div>
|
225 |
+
</div>
|
226 |
+
</section>
|
227 |
+
<?php
|
228 |
+
}
|
229 |
+
}
|
inc/wpblack/sections/wpblack-testimonial-section.php
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Call the action for team section */
|
3 |
+
add_action('spiceb_wpblack_testimonial_action','spiceb_wpblack_testimonial_section');
|
4 |
+
/* Function for team section*/
|
5 |
+
function spiceb_wpblack_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('wpblack-testimonial', SPICEB_PLUGIN_URL . '/inc/wpblack/js/front-page/testi.js', array('jquery'));
|
16 |
+
wp_localize_script('wpblack-testimonial', 'testimonial_settings', $testimonial_settings);
|
17 |
+
wp_enqueue_script('wpblack-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('wpblack_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='testi-1';
|
66 |
+
$testimonial_callout_background = get_theme_mod('testimonial_callout_background', SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/testimonial-bg.jpg');
|
67 |
+
?>
|
68 |
+
<section class="section-space testimonial <?php echo esc_attr($testimonial_class); ?> shortitem-1" style="background:url('<?php echo esc_url($testimonial_callout_background); ?>') 112% 50% no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-position: center center;
|
69 |
+
background-repeat: no-repeat;">>
|
70 |
+
|
71 |
+
<div class="container">
|
72 |
+
<?php if ($home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
|
73 |
+
<div class="row">
|
74 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
75 |
+
<div class="section-header">
|
76 |
+
<?php if ($home_testimonial_section_discription != ''):?>
|
77 |
+
<p class="section-subtitle"><?php echo esc_html($home_testimonial_section_discription); ?></p>
|
78 |
+
<?php endif;?>
|
79 |
+
|
80 |
+
<?php if($home_testimonial_section_title):?>
|
81 |
+
<h2 class="section-title"><?php echo esc_html($home_testimonial_section_title); ?></h2>
|
82 |
+
<?php endif;?>
|
83 |
+
|
84 |
+
<div class="section-separator border-center"></div>
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
<?php } ?>
|
89 |
+
|
90 |
+
<!--Testimonial-->
|
91 |
+
|
92 |
+
<div class="row">
|
93 |
+
<div class="owl-carousel owl-theme col-md-12 owl-loaded owl-drag" id="testimonial-carousel">
|
94 |
+
<?php
|
95 |
+
$testimonial_options = json_decode($testimonial_options);
|
96 |
+
if ($testimonial_options != ''){
|
97 |
+
$allowed_html = array(
|
98 |
+
'br' => array(),
|
99 |
+
'em' => array(),
|
100 |
+
'strong' => array(),
|
101 |
+
'b' => array(),
|
102 |
+
'i' => array(),
|
103 |
+
);
|
104 |
+
foreach ($testimonial_options as $testimonial_iteam){
|
105 |
+
$title = !empty($testimonial_iteam->title) ? apply_filters('wpblack_translate_single_string', $testimonial_iteam->title, 'Testimonial section') : '';
|
106 |
+
$test_desc = !empty($testimonial_iteam->text) ? apply_filters('wpblack_translate_single_string', $testimonial_iteam->text, 'Testimonial section') : '';
|
107 |
+
$test_link = $testimonial_iteam->link;
|
108 |
+
$open_new_tab = $testimonial_iteam->open_new_tab;
|
109 |
+
$clientname = !empty($testimonial_iteam->clientname) ? apply_filters('wpblack_translate_single_string', $testimonial_iteam->clientname, 'Testimonial section') : '';
|
110 |
+
$designation = !empty($testimonial_iteam->designation) ? apply_filters('wpblack_translate_single_string', $testimonial_iteam->designation, 'Testimonial section') : '';
|
111 |
+
$stars = !empty($testimonial_iteam->home_testimonial_star) ? apply_filters('wpblack_translate_single_string', $testimonial_iteam->home_testimonial_star, 'Testimonial section') : '';
|
112 |
+
//Below Code will Run For Testimonial Design 1
|
113 |
+
?>
|
114 |
+
<div class="item">
|
115 |
+
<blockquote class="testimonial-block">
|
116 |
+
<div class="testimonial-pblock">
|
117 |
+
<div class="testimonial-head">
|
118 |
+
<?php if ($testimonial_iteam->image_url != ''): ?>
|
119 |
+
<figure class="avatar">
|
120 |
+
<img src="<?php echo esc_url($testimonial_iteam->image_url); ?>" alt="img" class="img-fluid rounded-circle"/>
|
121 |
+
</figure>
|
122 |
+
<?php endif;?>
|
123 |
+
<?php if (($clientname != '' || $designation != '')) { ?>
|
124 |
+
<figcaption class="testimonial-dasignation">
|
125 |
+
<?php if ($clientname != '') {?>
|
126 |
+
<h4 class="name text-left"><?php
|
127 |
+
if ($open_new_tab == "yes"){
|
128 |
+
$target='target="_blank"';}
|
129 |
+
else{
|
130 |
+
$target='';
|
131 |
+
}
|
132 |
+
if(!empty($test_link)){
|
133 |
+
echo '<a href="'.esc_url($test_link).'" '.$target.'>'.esc_html($clientname).'</a>';
|
134 |
+
}
|
135 |
+
else{
|
136 |
+
echo esc_html($clientname);
|
137 |
+
}?></h4>
|
138 |
+
<?php }
|
139 |
+
if ($designation != '') {?>
|
140 |
+
<h5 class="designation text-left"><?php echo esc_html($designation); ?></h5>
|
141 |
+
<?php } ?>
|
142 |
+
</figcaption>
|
143 |
+
<?php } ?>
|
144 |
+
</div>
|
145 |
+
<?php if (!empty($test_desc)): ?>
|
146 |
+
<div class="entry-content">
|
147 |
+
<p class="text-left"><?php echo wp_kses(html_entity_decode($test_desc), $allowed_html); ?></p>
|
148 |
+
</div>
|
149 |
+
<?php endif;?>
|
150 |
+
</div>
|
151 |
+
</blockquote>
|
152 |
+
</div>
|
153 |
+
<?php
|
154 |
+
}
|
155 |
+
}?>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
</section>
|
160 |
+
<?php endif;?>
|
161 |
+
<!-- /End of Testimonial Section-->
|
162 |
+
<?php } ?>
|
inc/wphester/customizer.php
ADDED
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// WPHester default service data
|
3 |
+
if (!function_exists('spiceb_wphester_service_default_customize_register')) :
|
4 |
+
|
5 |
+
function spiceb_wphester_service_default_customize_register($wp_customize) {
|
6 |
+
|
7 |
+
$wphester_service_content_control = $wp_customize->get_setting('wphester_service_content');
|
8 |
+
if (!empty($wphester_service_content_control)) {
|
9 |
+
$wphester_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_wphester_service_default_customize_register');
|
42 |
+
|
43 |
+
endif;
|
44 |
+
|
45 |
+
// WPHester default Testimonial data
|
46 |
+
if (!function_exists('spiceb_wphester_testimonial_default_customize_register')) :
|
47 |
+
|
48 |
+
function spiceb_wphester_testimonial_default_customize_register($wp_customize) {
|
49 |
+
|
50 |
+
$wphester_service_content_control = $wp_customize->get_setting('wphester_testimonial_content');
|
51 |
+
if (!empty($wphester_service_content_control)) {
|
52 |
+
$wphester_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, 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, 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, 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_wphester_testimonial_default_customize_register');
|
88 |
+
|
89 |
+
endif;
|
90 |
+
|
91 |
+
// WPHester default Team data
|
92 |
+
if (!function_exists('spiceb_wphester_team_default_customize_register')) :
|
93 |
+
|
94 |
+
function spiceb_wphester_team_default_customize_register($wp_customize) {
|
95 |
+
|
96 |
+
$wphester_team_content_control = $wp_customize->get_setting('wphester_team_content');
|
97 |
+
if (!empty($wphester_team_content_control)) {
|
98 |
+
$wphester_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_wphester_team_default_customize_register');
|
228 |
+
|
229 |
+
endif;
|
230 |
+
|
231 |
+
function spiceb_wphester_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_wphester_sections_settings');
|
243 |
+
|
244 |
+
/* * *********************** Slider Callback function ******************************** */
|
245 |
+
|
246 |
+
function spiceb_wphester_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_wphester_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_wphester_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_wphester_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_wphester_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/wphester/customizer/news-section.php
ADDED
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
//Latest News Section
|
3 |
+
$wp_customize->add_section('wphester_latest_news_section', array(
|
4 |
+
'title' => esc_html__('Latest News Settings', 'spicebox'),
|
5 |
+
'panel' => 'section_settings',
|
6 |
+
'priority' => 5,
|
7 |
+
));
|
8 |
+
|
9 |
+
|
10 |
+
// Enable news section
|
11 |
+
$wp_customize->add_setting('latest_news_section_enable', array(
|
12 |
+
'default' => true,
|
13 |
+
'sanitize_callback' => 'spiceb_wphester_sanitize_checkbox'
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new WPHester_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' => 'wphester_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_wphester_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' => 'wphester_latest_news_section',
|
35 |
+
'type' => 'text',
|
36 |
+
'active_callback' => 'spiceb_wphester_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_wphester_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' => 'wphester_latest_news_section',
|
48 |
+
'type' => 'text',
|
49 |
+
'active_callback' => 'spiceb_wphester_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_wphester_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' => 'wphester_latest_news_section',
|
61 |
+
'type' => 'text',
|
62 |
+
'active_callback' => 'spiceb_wphester_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_wphester_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' => 'wphester_latest_news_section',
|
78 |
+
'active_callback' => 'spiceb_wphester_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', 'wphester-plus'),
|
86 |
+
'section' => 'wphester_latest_news_section',
|
87 |
+
'type' => 'radio',
|
88 |
+
'choices' => array(
|
89 |
+
'bullets' => __('Bullets', 'wphester-plus'),
|
90 |
+
'navigation' => __('Navigation', 'wphester-plus'),
|
91 |
+
'both' => __('Both', 'wphester-plus'),
|
92 |
+
),
|
93 |
+
'active_callback' => 'spiceb_wphester_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', 'wphester-plus'),
|
101 |
+
'section' => 'wphester_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_wphester_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', 'wphester-plus'),
|
118 |
+
'section' => 'wphester_latest_news_section',
|
119 |
+
'type' => 'select',
|
120 |
+
'active_callback' => 'spiceb_wphester_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 p',
|
140 |
+
'settings' => 'home_news_section_discription',
|
141 |
+
'render_callback' => 'spiceb_home_news_section_discription_render_callback',
|
142 |
+
));
|
143 |
+
|
144 |
+
|
145 |
+
function spiceb_home_news_section_title_render_callback() {
|
146 |
+
return get_theme_mod('home_news_section_title');
|
147 |
+
}
|
148 |
+
|
149 |
+
function spiceb_home_news_section_discription_render_callback() {
|
150 |
+
return get_theme_mod('home_news_section_discription');
|
151 |
+
}
|
152 |
+
|
153 |
+
function spiceb_home_blog_more_btn_render_callback() {
|
154 |
+
return get_theme_mod('home_blog_more_btn');
|
155 |
+
}
|
inc/wphester/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_wphester_sanitize_checkbox'
|
12 |
+
));
|
13 |
+
|
14 |
+
$wp_customize->add_control(new WPHester_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_wphester_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_wphester_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_wphester_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_wphester_service_callback'
|
51 |
+
));
|
52 |
+
|
53 |
+
|
54 |
+
if (class_exists('Spicebox_Limit_Repeater')) {
|
55 |
+
$wp_customize->add_setting('wphester_service_content', array());
|
56 |
+
|
57 |
+
$wp_customize->add_control(new Spicebox_Limit_Repeater($wp_customize, 'wphester_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_wphester_service_callback'
|
70 |
+
)));
|
71 |
+
}
|
72 |
+
|
73 |
+
class wphester_services_section_upgrade extends WP_Customize_Control {
|
74 |
+
public function render_content() { ?>
|
75 |
+
<h3 class="customizer_wphester_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/wphester-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( 'wphester_service_upgrade_to_pro', array(
|
84 |
+
'capability' => 'edit_theme_options',
|
85 |
+
));
|
86 |
+
$wp_customize->add_control(
|
87 |
+
new wphester_services_section_upgrade(
|
88 |
+
$wp_customize,
|
89 |
+
'wphester_service_upgrade_to_pro',
|
90 |
+
array(
|
91 |
+
'section' => 'services_section',
|
92 |
+
'settings' => 'wphester_service_upgrade_to_pro',
|
93 |
+
'active_callback' => 'spiceb_wphester_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/wphester/customizer/slider-section.php
ADDED
@@ -0,0 +1,293 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_wphester_sanitize_checkbox',
|
14 |
+
));
|
15 |
+
|
16 |
+
$wp_customize->add_control(new WPHester_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_wphester_slider_callback',
|
33 |
+
'choices'=>array(
|
34 |
+
'slide'=>esc_html__('Image', 'spicebox'),
|
35 |
+
'video'=>esc_html__('Video', 'spicebox')
|
36 |
+
)
|
37 |
+
));
|
38 |
+
|
39 |
+
// Slider Video Section
|
40 |
+
$wp_customize->add_setting( 'slide_video_upload',
|
41 |
+
array(
|
42 |
+
'default' => '',
|
43 |
+
'transport' => 'refresh',
|
44 |
+
'sanitize_callback' => 'absint'
|
45 |
+
)
|
46 |
+
);
|
47 |
+
$wp_customize->add_control( new WP_Customize_Media_Control( $wp_customize, 'slide_video_upload',
|
48 |
+
array(
|
49 |
+
'label' => esc_html__( 'Slider video' ),
|
50 |
+
'description' => esc_html__( 'Upload your video in .mp4 format and minimize its file size for best results. For this theme the recommended size is 1150 × 2000 pixels.','innofit' ),
|
51 |
+
'section' => 'slider_section',
|
52 |
+
'mime_type' => 'video', // Required. Can be image, audio, video, application, text
|
53 |
+
'active_callback' => 'spiceb_wphester_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_wphester_slider_callback'
|
78 |
+
|
79 |
+
));
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
//Slider Image
|
84 |
+
$wp_customize->add_setting('home_slider_image', array(
|
85 |
+
'default' => WPHESTER_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_wphester_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_wphester_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_wphester_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_wphester_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_wphester_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 subtitle
|
154 |
+
$wp_customize->add_setting('home_slider_subtitle', array(
|
155 |
+
'default' => esc_html__('Amet to lacus molestie', 'spicebox'),
|
156 |
+
'capability' => 'edit_theme_options',
|
157 |
+
'sanitize_callback' => 'spiceb_wphester_home_page_sanitize_text',
|
158 |
+
));
|
159 |
+
$wp_customize->add_control('home_slider_subtitle', array(
|
160 |
+
'label' => esc_html__('Sub Title', 'spicebox'),
|
161 |
+
'section' => 'slider_section',
|
162 |
+
'type' => 'text',
|
163 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
164 |
+
));
|
165 |
+
|
166 |
+
// Slider title
|
167 |
+
$wp_customize->add_setting('home_slider_title', array(
|
168 |
+
'default' => __('Nulla dolor <br> amet lacus molestie', 'spicebox'),
|
169 |
+
'capability' => 'edit_theme_options',
|
170 |
+
'sanitize_callback' => 'spiceb_wphester_home_page_sanitize_text',
|
171 |
+
));
|
172 |
+
$wp_customize->add_control('home_slider_title', array(
|
173 |
+
'label' => esc_html__('Title', 'spicebox'),
|
174 |
+
'section' => 'slider_section',
|
175 |
+
'type' => 'text',
|
176 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
177 |
+
));
|
178 |
+
|
179 |
+
//Slider discription
|
180 |
+
$wp_customize->add_setting('home_slider_discription', array(
|
181 |
+
'default' => __('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,<br> sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br> Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.', 'spicebox'),
|
182 |
+
'sanitize_callback' => 'spiceb_wphester_home_page_sanitize_text',
|
183 |
+
));
|
184 |
+
$wp_customize->add_control('home_slider_discription', array(
|
185 |
+
'label' => esc_html__('Description', 'spicebox'),
|
186 |
+
'section' => 'slider_section',
|
187 |
+
'type' => 'textarea',
|
188 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
189 |
+
));
|
190 |
+
|
191 |
+
|
192 |
+
// Slider button text
|
193 |
+
$wp_customize->add_setting('home_slider_btn_txt', array(
|
194 |
+
'default' => esc_html__('Nec Sem', 'spicebox'),
|
195 |
+
'sanitize_callback' => 'spiceb_wphester_home_page_sanitize_text',
|
196 |
+
));
|
197 |
+
$wp_customize->add_control('home_slider_btn_txt', array(
|
198 |
+
'label' => esc_html__('Button Text', 'spicebox'),
|
199 |
+
'section' => 'slider_section',
|
200 |
+
'type' => 'text',
|
201 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
202 |
+
));
|
203 |
+
|
204 |
+
// Slider button link
|
205 |
+
$wp_customize->add_setting('home_slider_btn_link', array(
|
206 |
+
'default' => esc_html__('#', 'spicebox'),
|
207 |
+
'sanitize_callback' => 'esc_url_raw',
|
208 |
+
));
|
209 |
+
$wp_customize->add_control('home_slider_btn_link', array(
|
210 |
+
'label' => esc_html__('Button Link', 'spicebox'),
|
211 |
+
'section' => 'slider_section',
|
212 |
+
'type' => 'text',
|
213 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
214 |
+
));
|
215 |
+
|
216 |
+
// Slider button target
|
217 |
+
$wp_customize->add_setting(
|
218 |
+
'home_slider_btn_target',
|
219 |
+
array(
|
220 |
+
'default' => false,
|
221 |
+
'sanitize_callback' => 'spiceb_wphester_sanitize_checkbox',
|
222 |
+
));
|
223 |
+
$wp_customize->add_control('home_slider_btn_target', array(
|
224 |
+
'label' => esc_html__('Open link in a new tab', 'spicebox'),
|
225 |
+
'section' => 'slider_section',
|
226 |
+
'type' => 'checkbox',
|
227 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
228 |
+
));
|
229 |
+
|
230 |
+
// Slider button2 text
|
231 |
+
$wp_customize->add_setting('home_slider_btn_txt2', array(
|
232 |
+
'default' => esc_html__('Cras Vitae', 'spicebox'),
|
233 |
+
'sanitize_callback' => 'spiceb_wphester_home_page_sanitize_text',
|
234 |
+
));
|
235 |
+
$wp_customize->add_control('home_slider_btn_txt2', array(
|
236 |
+
'label' => esc_html__('Button 2 Text', 'spicebox'),
|
237 |
+
'section' => 'slider_section',
|
238 |
+
'type' => 'text',
|
239 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
240 |
+
));
|
241 |
+
|
242 |
+
// Slider button link
|
243 |
+
$wp_customize->add_setting('home_slider_btn_link2', array(
|
244 |
+
'default' => esc_html__('#', 'spicebox'),
|
245 |
+
'sanitize_callback' => 'esc_url_raw',
|
246 |
+
));
|
247 |
+
$wp_customize->add_control('home_slider_btn_link2', array(
|
248 |
+
'label' => esc_html__('Button 2 Link', 'spicebox'),
|
249 |
+
'section' => 'slider_section',
|
250 |
+
'type' => 'text',
|
251 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
252 |
+
));
|
253 |
+
|
254 |
+
// Slider button target
|
255 |
+
$wp_customize->add_setting(
|
256 |
+
'home_slider_btn_target2',
|
257 |
+
array(
|
258 |
+
'default' => false,
|
259 |
+
'sanitize_callback' => 'spiceb_wphester_sanitize_checkbox',
|
260 |
+
));
|
261 |
+
$wp_customize->add_control('home_slider_btn_target2', array(
|
262 |
+
'label' => esc_html__('Open link in a new tab', 'spicebox'),
|
263 |
+
'section' => 'slider_section',
|
264 |
+
'type' => 'checkbox',
|
265 |
+
'active_callback' => 'spiceb_wphester_slider_callback'
|
266 |
+
));
|
267 |
+
|
268 |
+
|
269 |
+
$wp_customize->selective_refresh->add_partial('home_slider_subtitle', array(
|
270 |
+
'selector' => '.spice-slider .slider-caption .heading ',
|
271 |
+
'settings' => 'home_slider_subtitle',
|
272 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
273 |
+
));
|
274 |
+
$wp_customize->selective_refresh->add_partial('home_slider_title', array(
|
275 |
+
'selector' => '.spice-slider .slider-caption .title ',
|
276 |
+
'settings' => 'home_slider_title',
|
277 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
278 |
+
));
|
279 |
+
$wp_customize->selective_refresh->add_partial('home_slider_discription', array(
|
280 |
+
'selector' => '.spice-slider .slider-caption .description ',
|
281 |
+
'settings' => 'home_slider_discription',
|
282 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
283 |
+
));
|
284 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt', array(
|
285 |
+
'selector' => '.spice-slider .slider-caption .btn-combo .btn-default ',
|
286 |
+
'settings' => 'home_slider_btn_txt',
|
287 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
288 |
+
));
|
289 |
+
$wp_customize->selective_refresh->add_partial('home_slider_btn_txt2', array(
|
290 |
+
'selector' => '.spice-slider .slider-caption .btn-combo .btn-light ',
|
291 |
+
'settings' => 'home_slider_btn_txt2',
|
292 |
+
'render_callback' => 'home_slider_section_title_render_callback',
|
293 |
+
));
|
inc/wphester/customizer/team-section.php
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
//Team Section
|
4 |
+
$wp_customize->add_section('wphester_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_wphester_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new WPHester_Toggle_Control($wp_customize, 'team_section_enable',
|
16 |
+
array(
|
17 |
+
'label' => esc_html__('Enable/Disable Team Section', 'spicebox'),
|
18 |
+
'type' => 'toggle',
|
19 |
+
'section' => 'wphester_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_wphester_home_page_sanitize_text',
|
27 |
+
));
|
28 |
+
$wp_customize->add_control('home_team_section_title', array(
|
29 |
+
'label' => esc_html__('Title', 'spicebox'),
|
30 |
+
'section' => 'wphester_team_section',
|
31 |
+
'type' => 'text',
|
32 |
+
'active_callback' => 'spiceb_wphester_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_wphester_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' => 'wphester_team_section',
|
44 |
+
'type' => 'text',
|
45 |
+
'active_callback' => 'spiceb_wphester_team_callback'
|
46 |
+
));
|
47 |
+
|
48 |
+
if (class_exists('Spicebox_Repeater')) {
|
49 |
+
$wp_customize->add_setting(
|
50 |
+
'wphester_team_content', array(
|
51 |
+
)
|
52 |
+
);
|
53 |
+
|
54 |
+
$wp_customize->add_control(
|
55 |
+
new Spicebox_Repeater(
|
56 |
+
$wp_customize, 'wphester_team_content', array(
|
57 |
+
'label' => esc_html__('Team Content', 'spicebox'),
|
58 |
+
'section' => 'wphester_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_wphester_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' => 'wphester_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_wphester_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' => 'wphester_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_wphester_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' => 'wphester_team_section',
|
111 |
+
'type' => 'select',
|
112 |
+
'priority' => 18,
|
113 |
+
'active_callback' => 'spiceb_wphester_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, .team .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/wphester/customizer/testimonial-section.php
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Testimonial Section */
|
3 |
+
$wp_customize->add_section('testimonial_section', array(
|
4 |
+
'title' => esc_html__('Testimonials Settings', 'spicebox'),
|
5 |
+
'panel' => 'section_settings',
|
6 |
+
'priority' =>3,
|
7 |
+
));
|
8 |
+
|
9 |
+
// Enable testimonial section
|
10 |
+
$wp_customize->add_setting('testimonial_section_enable', array(
|
11 |
+
'default' => true,
|
12 |
+
'sanitize_callback' => 'spiceb_wphester_sanitize_checkbox'
|
13 |
+
));
|
14 |
+
|
15 |
+
$wp_customize->add_control(new WPHester_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_wphester_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_wphester_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_wphester_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_wphester_testimonial_callback'
|
48 |
+
));
|
49 |
+
|
50 |
+
|
51 |
+
if (class_exists('Spicebox_Repeater')) {
|
52 |
+
$wp_customize->add_setting('wphester_testimonial_content', array(
|
53 |
+
));
|
54 |
+
$wp_customize->add_control(new Spicebox_Repeater($wp_customize, 'wphester_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_wphester_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_wphester_testimonial_callback'
|
82 |
+
));
|
83 |
+
|
84 |
+
// Image overlay
|
85 |
+
$wp_customize->add_setting('testimonial_image_overlay', array(
|
86 |
+
'default' => true,
|
87 |
+
'sanitize_callback' => 'sanitize_text_field',
|
88 |
+
));
|
89 |
+
|
90 |
+
$wp_customize->add_control('testimonial_image_overlay', array(
|
91 |
+
'label' => __('Enable testimonial image overlay', 'spiko-plus'),
|
92 |
+
'section' => 'testimonial_section',
|
93 |
+
'type' => 'checkbox',
|
94 |
+
'active_callback' => 'spiceb_wphester_testimonial_callback'
|
95 |
+
));
|
96 |
+
|
97 |
+
$wp_customize->add_setting('testimonial_overlay_section_color', array(
|
98 |
+
'sanitize_callback' => 'sanitize_text_field',
|
99 |
+
'default' => 'rgba(0,0,0,0.3)',
|
100 |
+
));
|
101 |
+
|
102 |
+
$wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'testimonial_overlay_section_color', array(
|
103 |
+
'label' => __('Testimonial Image Overlay Color', 'spiko-plus'),
|
104 |
+
'palette' => true,
|
105 |
+
'section' => 'testimonial_section',
|
106 |
+
'active_callback' => 'spiceb_wphester_testimonial_callback')
|
107 |
+
));
|
108 |
+
|
109 |
+
// animation speed
|
110 |
+
$wp_customize->add_setting('testimonial_animation_speed', array('default' => 3000));
|
111 |
+
$wp_customize->add_control('testimonial_animation_speed',
|
112 |
+
array(
|
113 |
+
'label' => esc_html__('Animation Speed', 'spicebox'),
|
114 |
+
'section' => 'testimonial_section',
|
115 |
+
'type' => 'select',
|
116 |
+
'choices' => array(
|
117 |
+
'2000' => '2.0',
|
118 |
+
'3000' => '3.0',
|
119 |
+
'4000' => '4.0',
|
120 |
+
'5000' => '5.0',
|
121 |
+
'6000' => '6.0',
|
122 |
+
),
|
123 |
+
'active_callback' => 'spiceb_wphester_testimonial_callback'
|
124 |
+
));
|
125 |
+
|
126 |
+
// smooth speed
|
127 |
+
$wp_customize->add_setting('testimonial_smooth_speed', array('default' => 1000));
|
128 |
+
$wp_customize->add_control('testimonial_smooth_speed',
|
129 |
+
array(
|
130 |
+
'label' => esc_html__('Smooth Speed', 'spicebox'),
|
131 |
+
'section' => 'testimonial_section',
|
132 |
+
'type' => 'select',
|
133 |
+
'choices' => array('500' => '0.5',
|
134 |
+
'1000' => '1.0',
|
135 |
+
'1500' => '1.5',
|
136 |
+
'2000' => '2.0',
|
137 |
+
'2500' => '2.5',
|
138 |
+
'3000' => '3.0'),
|
139 |
+
'active_callback' => 'spiceb_wphester_testimonial_callback'
|
140 |
+
));
|
141 |
+
|
142 |
+
|
143 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_title', array(
|
144 |
+
'selector' => '.testimonial h2',
|
145 |
+
'settings' => 'home_testimonial_section_title',
|
146 |
+
'render_callback' => 'home_testimonial_section_title_render_callback',
|
147 |
+
));
|
148 |
+
$wp_customize->selective_refresh->add_partial('home_testimonial_section_discription', array(
|
149 |
+
'selector' => '.testimonial p.section-subtitle',
|
150 |
+
'settings' => 'home_testimonial_section_discription',
|
151 |
+
'render_callback' => 'home_testimonial_section_discription_render_callback',
|
152 |
+
));
|
153 |
+
|
154 |
+
function home_testimonial_section_title_render_callback() {
|
155 |
+
return get_theme_mod('home_testimonial_section_title');
|
156 |
+
}
|
157 |
+
function home_testimonial_section_discription_render_callback() {
|
158 |
+
return get_theme_mod('home_testimonial_section_discription');
|
159 |
+
}
|
inc/wphester/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/wphester/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/wphester/default-pages/upload-media.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$theme=wp_get_theme();
|
3 |
+
$ImagePath = SPICEB_PLUGIN_URL . 'inc/wphester/images';
|
4 |
+
$images = array(
|
5 |
+
$ImagePath . '/logo.png',
|
6 |
+
);
|
7 |
+
|
8 |
+
foreach ($images as $name) {
|
9 |
+
$filename = basename($name);
|
10 |
+
$upload_file = wp_upload_bits($filename, null, file_get_contents($name));
|
11 |
+
if (!$upload_file['error']) {
|
12 |
+
$wp_filetype = wp_check_filetype($filename, null);
|
13 |
+
$attachment = array(
|
14 |
+
'post_mime_type' => $wp_filetype['type'],
|
15 |
+
//'post_parent' => $parent_post_id,
|
16 |
+
'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
|
17 |
+
'post_status' => 'inherit'
|
18 |
+
);
|
19 |
+
$ImageId[] = $attachment_id = wp_insert_attachment($attachment, $upload_file['file']);
|
20 |
+
|
21 |
+
if (!is_wp_error($attachment_id)) {
|
22 |
+
require_once(ABSPATH . "wp-admin" . '/includes/image.php');
|
23 |
+
$attachment_data = wp_generate_attachment_metadata($attachment_id, $upload_file['file']);
|
24 |
+
wp_update_attachment_metadata($attachment_id, $attachment_data);
|
25 |
+
}
|
26 |
+
}
|
27 |
+
}
|
28 |
+
update_option('wphester_media_id', $ImageId);
|
29 |
+
$MediaId = get_option('wphester_media_id');
|
30 |
+
set_theme_mod('custom_logo', $MediaId[0]);
|
31 |
+
set_theme_mod('header_textcolor', "blank");
|
32 |
+
?>
|
inc/wphester/images/logo.png
ADDED
Binary file
|
inc/wphester/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 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
41 |
+
autoHeight: true,
|
42 |
+
items: 3,
|
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/wphester/js/front-page/team.js
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// HOMEPAGE TEAM
|
2 |
+
if (!jQuery.bol_return) {
|
3 |
+
jQuery.extend({
|
4 |
+
bol_return: function (tmp_vl) {
|
5 |
+
if (tmp_vl == 1) {
|
6 |
+
return true;
|
7 |
+
}
|
8 |
+
return false;
|
9 |
+
}
|
10 |
+
});
|
11 |
+
}
|
12 |
+
|
13 |
+
jQuery(document).ready(function () {
|
14 |
+
switch (team_settings.team_nav_style) {
|
15 |
+
case 'bullets':
|
16 |
+
team_settings.team_nav_style_nav = false;
|
17 |
+
team_settings.team_nav_style_dot = true;
|
18 |
+
break;
|
19 |
+
case 'navigation':
|
20 |
+
team_settings.team_nav_style_nav = true;
|
21 |
+
team_settings.team_nav_style_dot = false;
|
22 |
+
break;
|
23 |
+
case 'both':
|
24 |
+
team_settings.team_nav_style_nav = true;
|
25 |
+
team_settings.team_nav_style_dot = true;
|
26 |
+
break;
|
27 |
+
default:
|
28 |
+
team_settings.team_nav_style_nav = false;
|
29 |
+
team_settings.team_nav_style_dot = true;
|
30 |
+
}
|
31 |
+
|
32 |
+
jQuery('#team-carousel').owlCarousel({
|
33 |
+
navigation: true, // Show next and prev buttons
|
34 |
+
autoplay: 3000,
|
35 |
+
smartSpeed: team_settings.team_smooth_speed,
|
36 |
+
autoplayTimeout: team_settings.team_animation_speed,
|
37 |
+
autoplayHoverPause: true,
|
38 |
+
loop: true, // loop is true up to 1199px screen.
|
39 |
+
nav: team_settings.team_nav_style_nav,
|
40 |
+
margin: 30, // margin 10px till 960 breakpoint
|
41 |
+
autoHeight: true,
|
42 |
+
responsiveClass: true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
43 |
+
items: 1,
|
44 |
+
dots: team_settings.team_nav_style_dot,
|
45 |
+
navText: ["<i class='fa fa-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/wphester/js/front-page/testi.js
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
//navigation : true, // Show next and prev buttons
|
46 |
+
autoplay: 3000,
|
47 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
48 |
+
autoplayTimeout: testimonial_settings.animationSpeed,
|
49 |
+
autoplayHoverPause: true,
|
50 |
+
animateIn: testimonial_settings.animation,
|
51 |
+
smartSpeed: testimonial_settings.smoothSpeed,
|
52 |
+
loop:true, // loop is true up to 1199px screen.
|
53 |
+
nav:testimonial_settings.testimonial_nav_style_nav, // is true across all sizes
|
54 |
+
margin:0, // margin 10px till 960 breakpoint
|
55 |
+
autoHeight: true,
|
56 |
+
responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
|
57 |
+
items: 1,
|
58 |
+
dots: testimonial_settings.testimonial_nav_style_dot,
|
59 |
+
navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
|
60 |
+
responsive:{
|
61 |
+
100:{ items:1 },
|
62 |
+
480:{ items:1 },
|
63 |
+
768:{ items:1 },
|
64 |
+
1000:{ items:1 }
|
65 |
+
},
|
66 |
+
rtl: jQuery.bol_return(testimonial_settings.rtl)
|
67 |
+
});
|
68 |
+
|
69 |
+
});
|
inc/wphester/sections/wphester-news-section.php
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wphester_news_action','spiceb_wphester_news_section');
|
3 |
+
/* Function for news section*/
|
4 |
+
function spiceb_wphester_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('wphester_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('wphester-blog', SPICEB_PLUGIN_URL . '/inc/wphester/js/front-page/blog.js', array('jquery'));
|
18 |
+
wp_localize_script('wphester-blog','newz_settings', $newzsettings);
|
19 |
+
wp_enqueue_script('wphester-blog');
|
20 |
+
$latest_news_section_enable = get_theme_mod('latest_news_section_enable', true);
|
21 |
+
if ($latest_news_section_enable != false) {
|
22 |
+
$btn_icon= is_rtl() ? 'fa fa-long-arrow-left': 'fa fa-long-arrow-right';
|
23 |
+
?>
|
24 |
+
<!-- Latest News section -->
|
25 |
+
<section class="section-space blog bg-default-lite home-blog">
|
26 |
+
<div class="wphester-newz container">
|
27 |
+
<?php
|
28 |
+
$home_news_section_title = get_theme_mod('home_news_section_title', __('Vitae Lacinia', 'wphester-plus'));
|
29 |
+
$home_news_section_discription = get_theme_mod('home_news_section_discription', __('Cras Vitae Placerat', 'wphester-plus'));
|
30 |
+
$home_meta_section_settings = get_theme_mod('home_meta_section_settings', true);
|
31 |
+
if (($home_news_section_title) || ($home_news_section_discription) != '') {
|
32 |
+
?>
|
33 |
+
<div class="row">
|
34 |
+
<div class="col-lg-12 col-md-12 col-xs-12">
|
35 |
+
<div class="section-header">
|
36 |
+
<?php if($home_news_section_title){?><h2 class="section-title"><?php echo esc_html($home_news_section_title); ?></h2><?php }
|
37 |
+
if ($home_news_section_discription){?><p class="section-subtitle"><?php echo esc_html($home_news_section_discription); ?></p>
|
38 |
+
<?php } ?>
|
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 |
+
<span class="date"><?php echo esc_html(get_the_date()); ?></span>
|
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', __('Cras Vitae', 'wphester-plus'));
|
100 |
+
if (!empty($blog_button)) {?>
|
101 |
+
<p>
|
102 |
+
<a href="<?php the_permalink(); ?>" class="btn-small more-link"><?php echo esc_html($blog_button); ?>
|
103 |
+
<i class="<?php echo esc_attr($btn_icon); ?>"></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/wphester/sections/wphester-services-section.php
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wphester_services_action','spiceb_wphester_services_section');
|
3 |
+
|
4 |
+
function spiceb_wphester_services_section()
|
5 |
+
{
|
6 |
+
$service_data = get_theme_mod('wphester_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 |
+
$wphester_service_section_title = get_theme_mod('home_service_section_title', __('Quisque Blandit', 'spicebox'));
|
39 |
+
$wphester_service_section_discription = get_theme_mod('home_service_section_discription', __('Fusce Sed Massa', 'spicebox'));
|
40 |
+
$wphester_service_section_enabled = get_theme_mod('home_service_section_enabled',true);
|
41 |
+
|
42 |
+
$service_section_class = 'services';
|
43 |
+
|
44 |
+
if($wphester_service_section_enabled ==true)
|
45 |
+
{
|
46 |
+
?>
|
47 |
+
<section class="section-space <?php echo esc_attr($service_section_class); ?> bg-default ">
|
48 |
+
<div class="container">
|
49 |
+
<?php if ($wphester_service_section_discription != '' || $wphester_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 ($wphester_service_section_title != '') { ?>
|
54 |
+
<h2 class="section-title"><?php echo esc_html($wphester_service_section_title); ?></h2>
|
55 |
+
<?php if ($wphester_service_section_discription != '') { ?>
|
56 |
+
<p class="section-subtitle"><?php echo esc_html($wphester_service_section_discription); ?></p>
|
57 |
+
<?php } ?>
|
58 |
+
<?php } ?>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php } ?>
|
63 |
+
|
64 |
+
<div class="row">
|
65 |
+
<?php
|
66 |
+
$service_data = json_decode($service_data);
|
67 |
+
if (!empty($service_data)) {
|
68 |
+
foreach ($service_data as $service_team) {
|
69 |
+
$service_icon = !empty($service_team->icon_value) ? apply_filters('wphester_translate_single_string', $service_team->icon_value, 'Service section') : '';
|
70 |
+
$service_image = !empty($service_team->image_url) ? apply_filters('wphester_translate_single_string', $service_team->image_url, 'Service section') : '';
|
71 |
+
$service_title = !empty($service_team->title) ? apply_filters('wphester_translate_single_string', $service_team->title, 'Service section') : '';
|
72 |
+
$service_desc = !empty($service_team->text) ? apply_filters('wphester_translate_single_string', $service_team->text, 'Service section') : '';
|
73 |
+
$service_link = !empty($service_team->link) ? apply_filters('wphester_translate_single_string', $service_team->link, 'Service section') : '';
|
74 |
+
?>
|
75 |
+
<div class="col-md-4 col-sm-6 col-xs-12">
|
76 |
+
<div class="card">
|
77 |
+
<div class="card-body">
|
78 |
+
<?php if ($service_team->choice == 'customizer_repeater_icon') {
|
79 |
+
if ($service_icon != '') { ?>
|
80 |
+
<p class="service-icon">
|
81 |
+
<?php if ($service_link != '') { ?>
|
82 |
+
<a <?php if ($service_team->open_new_tab == 'yes'){echo "target='_blank'";} ?> href="<?php echo esc_url($service_link); ?>"><i class="fa <?php echo esc_attr($service_icon); ?>"></i>
|
83 |
+
</a>
|
84 |
+
<?php }
|
85 |
+
else { ?>
|
86 |
+
<a><i class="fa <?php echo esc_attr($service_icon); ?>"></i></a>
|
87 |
+
<?php } ?>
|
88 |
+
</p>
|
89 |
+
<?php
|
90 |
+
}
|
91 |
+
} else if ($service_team->choice == 'customizer_repeater_image') {
|
92 |
+
if ($service_image != '') { ?>
|
93 |
+
<p class="service-icon">
|
94 |
+
<?php if ($service_link != '') { ?>
|
95 |
+
<a <?php if ($service_team->open_new_tab == 'yes') { echo "target='_blank'";}?> href="<?php echo esc_url($service_link); ?>">
|
96 |
+
<?php }?>
|
97 |
+
<img class='img-fluid' src="<?php echo esc_url($service_image); ?>">
|
98 |
+
<?php if ($service_link != '') { ?>
|
99 |
+
</a>
|
100 |
+
<?php }?>
|
101 |
+
</p>
|
102 |
+
<?php
|
103 |
+
}
|
104 |
+
}
|
105 |
+
if ($service_title != "") { ?>
|
106 |
+
<h4 class="entry-title">
|
107 |
+
<?php if ($service_link != '') { ?>
|
108 |
+
<a href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {
|
109 |
+
echo "target='_blank'";
|
110 |
+
} ?>><?php } echo esc_html($service_title);
|
111 |
+
if ($service_link != '') { ?></a>
|
112 |
+
<?php } ?>
|
113 |
+
</h4>
|
114 |
+
<?php
|
115 |
+
}?>
|
116 |
+
<div class="section-separator"></div>
|
117 |
+
<?php if ($service_desc != ""){ ?>
|
118 |
+
<p class="description"><?php echo wp_kses_post($service_desc); ?></p>
|
119 |
+
<?php
|
120 |
+
}
|
121 |
+
if ($service_team->choice == 'customizer_repeater_icon') {
|
122 |
+
if ($service_icon != '') { ?>
|
123 |
+
<p class="service-big-icon">
|
124 |
+
<?php if ($service_link != '') { ?>
|
125 |
+
<i class="fa <?php echo esc_attr($service_icon); ?>"></i>
|
126 |
+
<?php } ?>
|
127 |
+
</p>
|
128 |
+
<?php
|
129 |
+
}
|
130 |
+
} elseif ($service_team->choice == 'customizer_repeater_image'){?>
|
131 |
+
<p class="service-big-icon"><a><img class='card-img-top' src="<?php echo esc_url($service_image); ?>"></a></p>
|
132 |
+
<?php }?>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
<?php
|
137 |
+
}
|
138 |
+
}
|
139 |
+
?>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
</section>
|
143 |
+
<?php } ?>
|
144 |
+
<div class="clearfix"></div>
|
145 |
+
<?php //End of service section enable condition
|
146 |
+
}
|
147 |
+
?>
|
inc/wphester/sections/wphester-slider-section.php
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Slider section for the homepage.
|
4 |
+
*/
|
5 |
+
add_action('spiceb_wphester_slider_action','spiceb_wphester_slider_section');
|
6 |
+
|
7 |
+
function spiceb_wphester_slider_section()
|
8 |
+
{
|
9 |
+
$home_slider_subtitle = get_theme_mod('home_slider_subtitle',__('Amet to lacus molestie','spicebox'));
|
10 |
+
$home_slider_image = get_theme_mod('home_slider_image',WPHESTER_TEMPLATE_DIR_URI .'/assets/images/slider/slider.jpg');
|
11 |
+
$home_slider_title = get_theme_mod('home_slider_title',__('Nulla dolor <br> amet lacus molestie','spicebox'));
|
12 |
+
$home_slider_discription = get_theme_mod('home_slider_discription',__('Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,<br> sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.<br> Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.','spicebox'));
|
13 |
+
$home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Nec Sem','spicebox'));
|
14 |
+
$home_slider_btn_link = get_theme_mod('home_slider_btn_link',__(esc_url('#'),'spicebox'));
|
15 |
+
$home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
|
16 |
+
|
17 |
+
$home_slider_btn_txt2 = get_theme_mod('home_slider_btn_txt2',__('Cras Vitae','spicebox'));
|
18 |
+
$home_slider_btn_link2 = get_theme_mod('home_slider_btn_link2',__(esc_url('#'),'spicebox'));
|
19 |
+
$home_slider_btn_target2 = get_theme_mod('home_slider_btn_target2',false);
|
20 |
+
$slider_align_split = get_theme_mod('slider_content_alignment','left');
|
21 |
+
|
22 |
+
if(get_theme_mod('home_page_slider_enabled',true)==true) {
|
23 |
+
$video_upload = get_theme_mod('slide_video_upload');
|
24 |
+
$video_upload = wp_get_attachment_url( $video_upload);
|
25 |
+
$video_youtub = get_theme_mod('slide_video_url');
|
26 |
+
// Below Script will run for only video slide
|
27 |
+
if((!empty($video_upload) || !empty($video_youtub) ) && (get_theme_mod('slide_variation','slide')=='video')){ ?>
|
28 |
+
<section class="spice-slider"><div class="video-slider lite home-section home-full-height spice-slider active" id="totop" data-background="assets/images/section-5.jpg">
|
29 |
+
<?php if(!empty($video_youtub)){?>
|
30 |
+
<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>
|
31 |
+
<?php }
|
32 |
+
else if(!empty($video_upload)){?>
|
33 |
+
<video autoplay="" muted="" loop="" id="video_slider">
|
34 |
+
<source src="<?php echo esc_url($video_upload); ?>" type="video/mp4">
|
35 |
+
</video>
|
36 |
+
<?php }?>
|
37 |
+
<div class="container slider-caption">
|
38 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
39 |
+
<?php if($home_slider_subtitle!=''){ ?>
|
40 |
+
<p class="heading"><span><?php echo esc_html($home_slider_subtitle); ?></span></p>
|
41 |
+
<?php }
|
42 |
+
if($home_slider_title!=''){ ?>
|
43 |
+
<div class="inner-title">
|
44 |
+
<h2 class="title"><?php echo wp_kses_post($home_slider_title); ?></h2>
|
45 |
+
</div>
|
46 |
+
<?php }
|
47 |
+
if($home_slider_discription!=''){ ?>
|
48 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
49 |
+
<?php } ?>
|
50 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
51 |
+
<div class="btn-combo">
|
52 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
53 |
+
<a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-light"> <?php echo esc_html($home_slider_btn_txt); ?></a>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
56 |
+
<a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-default"><?php echo esc_html($home_slider_btn_txt2); ?></a>
|
57 |
+
<?php endif;?>
|
58 |
+
</div>
|
59 |
+
<?php } ?>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
63 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
64 |
+
if($slider_image_overlay != false) { ?>
|
65 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
66 |
+
<?php } ?>
|
67 |
+
</div>
|
68 |
+
</section>
|
69 |
+
<?php }
|
70 |
+
else{ ?>
|
71 |
+
<!-- Slider Section -->
|
72 |
+
<section class="spice-slider">
|
73 |
+
<div class="home-section active back-img" <?php if($home_slider_image!='') { ?>style="background-image:url( <?php echo esc_url($home_slider_image); ?> );" <?php } ?>>
|
74 |
+
<div class="container slider-caption">
|
75 |
+
<div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
|
76 |
+
<?php
|
77 |
+
if($home_slider_subtitle!=''){ ?>
|
78 |
+
<p class="heading"><span><?php echo esc_html($home_slider_subtitle); ?></span></p>
|
79 |
+
<?php }
|
80 |
+
if($home_slider_title!=''){ ?>
|
81 |
+
<div class="inner-title">
|
82 |
+
<h2 class="title"><?php echo wp_kses_post($home_slider_title); ?></h2>
|
83 |
+
</div>
|
84 |
+
<?php }
|
85 |
+
if($home_slider_discription!=''){ ?>
|
86 |
+
<p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
|
87 |
+
<?php } ?>
|
88 |
+
<?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
|
89 |
+
<div class="btn-combo">
|
90 |
+
<?php if($home_slider_btn_txt !=null): ?>
|
91 |
+
<a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-light"> <?php echo esc_html($home_slider_btn_txt); ?> </a>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php if($home_slider_btn_txt2 !=null): ?>
|
94 |
+
<a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-default"><?php echo esc_html($home_slider_btn_txt2); ?></a>
|
95 |
+
<?php endif;?>
|
96 |
+
</div>
|
97 |
+
<?php } ?>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
<?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
|
101 |
+
$slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
|
102 |
+
if($slider_image_overlay != false) { ?>
|
103 |
+
<div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
|
104 |
+
<?php } ?>
|
105 |
+
</div>
|
106 |
+
</section>
|
107 |
+
<?php } ?>
|
108 |
+
<div class="clearfix"></div>
|
109 |
+
<?php
|
110 |
+
}
|
111 |
+
} ?>
|
inc/wphester/sections/wphester-team-section.php
ADDED
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action('spiceb_wphester_team_action','spiceb_wphester_team_section');
|
3 |
+
|
4 |
+
function spiceb_wphester_team_section(){
|
5 |
+
$team_options = get_theme_mod('wphester_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('wphester-team', SPICEB_PLUGIN_URL . '/inc/wphester/js/front-page/team.js', array('jquery'));
|
13 |
+
wp_localize_script('wphester-team', 'team_settings', $teamsettings);
|
14 |
+
wp_enqueue_script('wphester-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 bg-default';
|
151 |
+
?>
|
152 |
+
<section class="section-space <?php echo esc_attr($team_section_class);?>">
|
153 |
+
<div class="wphester-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)):?><p class="section-subtitle"><?php echo esc_html($home_team_section_discription); ?></p>
|
164 |
+
<?php endif;?>
|
165 |
+
</div>
|
166 |
+
</div>
|
167 |
+
</div>
|
168 |
+
<?php } ?>
|
169 |
+
<div class="row">
|
170 |
+
<div id="team-carousel" class="owl-carousel owl-theme col-lg-12">
|
171 |
+
<?php
|
172 |
+
$team_options = json_decode($team_options);
|
173 |
+
if (!empty($team_options)) {
|
174 |
+
foreach ($team_options as $team_item) {
|
175 |
+
$image = !empty($team_item->image_url) ? apply_filters('wphester_translate_single_string', $team_item->image_url, 'Team section') : '';
|
176 |
+
|
177 |
+
$title = !empty($team_item->membername) ? apply_filters('wphester_translate_single_string', $team_item->membername, 'Team section') : '';
|
178 |
+
$subtitle = !empty($team_item->designation) ? apply_filters('wphester_translate_single_string', $team_item->designation, 'Team section') : '';
|
179 |
+
$aboutme = !empty($team_item->text) ? apply_filters('wphester_translate_single_string', $team_item->text, 'Team section') : '';?>
|
180 |
+
<div class="item">
|
181 |
+
<div class="team-grid text-center">
|
182 |
+
<?php if(!empty($image)){ ?>
|
183 |
+
<div class="img-holder">
|
184 |
+
<img src="<?php echo esc_url($image); ?>" class="img-fluid">
|
185 |
+
</div>
|
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 |
+
<div class="social-share">
|
193 |
+
<div class="slideouticons">
|
194 |
+
<label class="mainlabel"><i class="fa fa-share-alt"></i></label>
|
195 |
+
<div class="icon-wrapper">
|
196 |
+
<ul class="list-inline list-unstyled ml-0 mt-3 mb-1">
|
197 |
+
<?php foreach ($icons_decoded as $value){
|
198 |
+
$social_icon = !empty($value['icon']) ? apply_filters('wphester_translate_single_string', $value['icon'], 'Team section') : '';
|
199 |
+
$social_link = !empty($value['link']) ? apply_filters('wphester_translate_single_string', $value['link'], 'Team section') : '';
|
200 |
+
if (!empty($social_icon)){ ?>
|
201 |
+
<li class="list-inline-item"><a class="p-2 fa-lg fb-ic" <?php if ($open_new_tab == 'yes') { echo 'target="_blank"'; } ?> href="<?php echo esc_url($social_link); ?>" class="btn btn-just-icon btn-simple"><i class="fa <?php echo esc_attr($social_icon); ?> " aria-hidden="true"></i></a></li>
|
202 |
+
<?php
|
203 |
+
}
|
204 |
+
}?>
|
205 |
+
</ul>
|
206 |
+
</div>
|
207 |
+
</div>
|
208 |
+
</div>
|
209 |
+
<?php endif;
|
210 |
+
endif;?>
|
211 |
+
<!-- Content -->
|
212 |
+
<div class="card-body">
|
213 |
+
<h4 class="name mt-1 mb-2"><?php echo esc_html($title);?></h4>
|
214 |
+
<p class="mt-1 mb-2"><?php echo esc_html($subtitle);?></p>
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
<?php
|
219 |
+
}
|
220 |
+
}?>
|
221 |
+
</div>
|
222 |
+
</div>
|
223 |
+
</div>
|
224 |
+
</section>
|
225 |
+
<?php
|
226 |
+
}
|
227 |
+
}
|
inc/wphester/sections/wphester-testimonial-section.php
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Call the action for team section */
|
3 |
+
add_action('spiceb_wphester_testimonial_action','spiceb_wphester_testimonial_section');
|
4 |
+
/* Function for team section*/
|
5 |
+
function spiceb_wphester_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('wphester-testimonial', SPICEB_PLUGIN_URL . '/inc/wphester/js/front-page/testi.js', array('jquery'));
|
16 |
+
wp_localize_script('wphester-testimonial', 'testimonial_settings', $testimonial_settings);
|
17 |
+
wp_enqueue_script('wphester-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('wphester_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, 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, 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, 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';
|
66 |
+
?>
|
67 |
+
<section class="section-space testimonial <?php echo esc_attr($testimonial_class); ?>">
|
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 |
+
<p class="section-subtitle"><?php echo esc_html($home_testimonial_section_discription); ?></p>
|
79 |
+
<?php endif;?>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<?php } ?>
|
84 |
+
|
85 |
+
<!--Testimonial-->
|
86 |
+
|
87 |
+
<div class="row">
|
88 |
+
<div class="owl-carousel owl-theme col-md-12 owl-loaded owl-drag" id="testimonial-carousel">
|
89 |
+
<?php
|
90 |
+
$testimonial_options = json_decode($testimonial_options);
|
91 |
+
if ($testimonial_options != '') {
|
92 |
+
$allowed_html = array(
|
93 |
+
'br' => array(),
|
94 |
+
'em' => array(),
|
95 |
+
'strong' => array(),
|
96 |
+
'b' => array(),
|
97 |
+
'i' => array(),
|
98 |
+
);
|
99 |
+
foreach ($testimonial_options as $testimonial_iteam){
|
100 |
+
$title = !empty($testimonial_iteam->title) ? apply_filters('wphester_translate_single_string', $testimonial_iteam->title, 'Testimonial section') : '';
|
101 |
+
$test_desc = !empty($testimonial_iteam->text) ? apply_filters('wphester_translate_single_string', $testimonial_iteam->text, 'Testimonial section') : '';
|
102 |
+
$test_link = $testimonial_iteam->link;
|
103 |
+
$open_new_tab = $testimonial_iteam->open_new_tab;
|
104 |
+
$clientname = !empty($testimonial_iteam->clientname) ? apply_filters('wphester_translate_single_string', $testimonial_iteam->clientname, 'Testimonial section') : '';
|
105 |
+
$designation = !empty($testimonial_iteam->designation) ? apply_filters('wphester_translate_single_string', $testimonial_iteam->designation, 'Testimonial section') : '';
|
106 |
+
$stars = !empty($testimonial_iteam->home_testimonial_star) ? apply_filters('wphester_translate_single_string', $testimonial_iteam->home_testimonial_star, 'Testimonial section') : '';
|
107 |
+
//Below Code will Run For Testimonial Design 1
|
108 |
+
?>
|
109 |
+
<div class="item">
|
110 |
+
<div class="testimonial-block">
|
111 |
+
<?php if ($testimonial_iteam->image_url != ''){ ?>
|
112 |
+
<figure class="avatar">
|
113 |
+
<img src="<?php echo esc_url($testimonial_iteam->image_url); ?>" class="img-fluid" alt="<?php echo esc_attr($clientname); ?>">
|
114 |
+
</figure>
|
115 |
+
<?php } ?>
|
116 |
+
<?php if ($test_desc != '' || $clientname != '' || $designation != '') { ?>
|
117 |
+
<div class="entry-content">
|
118 |
+
<?php if (!empty($test_desc)){ ?>
|
119 |
+
<h4 class="name"><?php echo wp_kses(html_entity_decode($test_desc), $allowed_html); ?></h4>
|
120 |
+
<?php }
|
121 |
+
if ($clientname != '') {?>
|
122 |
+
<p><a href="<?php if (empty($test_link)) { echo '#'; } else { echo esc_url($test_link); } ?>" <?php if ($open_new_tab == "yes") { ?> target="_blank"<?php } ?>>
|
123 |
+
<?php echo '- '.esc_html($clientname); ?>
|
124 |
+
</a></p>
|
125 |
+
<?php }
|
126 |
+
if ($designation != '') {?>
|
127 |
+
<span class="designation"><?php echo esc_html($designation); ?></span>
|
128 |
+
<?php } ?>
|
129 |
+
</div>
|
130 |
+
<?php } ?>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
<?php
|
134 |
+
}
|
135 |
+
}?>
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
</section>
|
139 |
+
<?php endif;?>
|
140 |
+
<!-- /End of Testimonial Section-->
|
141 |
+
<?php } ?>
|
languages/spicebox.pot
CHANGED
@@ -3,18 +3,19 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
|
|
|
|
|
|
|
|
6 |
"POT-Creation-Date: "
|
7 |
-
"
|
8 |
"PO-Revision-Date: \n"
|
9 |
"Last-Translator: Your "
|
10 |
"Name <you@example.com>\n"
|
11 |
"Language-Team: Your Team "
|
12 |
"<translations@example."
|
13 |
"com>\n"
|
14 |
-
"
|
15 |
-
"Translator Name "
|
16 |
-
"<translations@example."
|
17 |
-
"com>\n"
|
18 |
"MIME-Version: 1.0\n"
|
19 |
"Content-Type: text/"
|
20 |
"plain; charset=UTF-8\n"
|
@@ -41,8 +42,8 @@ msgstr ""
|
|
41 |
"__ngettext_noop:1,2;_c,"
|
42 |
"_nc:4c,1,2\n"
|
43 |
"X-Poedit-Basepath: ..\n"
|
44 |
-
"
|
45 |
-
"
|
46 |
"X-Poedit-"
|
47 |
"SearchPath-0: .\n"
|
48 |
|
@@ -54,6 +55,10 @@ 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 |
#: inc/wpkites/customizer.php:12
|
58 |
#: inc/wpkites/sections/wpkites-services-section.php:11
|
59 |
msgid ""
|
@@ -78,6 +83,18 @@ 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
|
@@ -101,6 +118,10 @@ msgstr ""
|
|
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"
|
@@ -114,6 +135,10 @@ msgstr ""
|
|
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"
|
@@ -151,6 +176,14 @@ msgstr ""
|
|
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
|
@@ -179,6 +212,10 @@ msgstr ""
|
|
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"
|
@@ -192,6 +229,10 @@ msgstr ""
|
|
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"
|
@@ -205,6 +246,10 @@ msgstr ""
|
|
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"
|
@@ -218,6 +263,10 @@ msgstr ""
|
|
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"
|
@@ -226,6 +275,8 @@ msgstr ""
|
|
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"
|
@@ -234,6 +285,8 @@ 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"
|
@@ -242,6 +295,8 @@ 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 "
|
@@ -255,6 +310,10 @@ msgstr ""
|
|
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"
|
@@ -305,6 +364,16 @@ msgstr ""
|
|
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
|
@@ -320,6 +389,10 @@ msgstr ""
|
|
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"
|
@@ -340,6 +413,16 @@ msgstr ""
|
|
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
|
@@ -350,6 +433,8 @@ msgstr ""
|
|
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 ""
|
@@ -357,6 +442,8 @@ msgstr ""
|
|
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 "
|
@@ -400,6 +487,9 @@ msgstr ""
|
|
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 ""
|
@@ -409,6 +499,8 @@ 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 ""
|
@@ -416,6 +508,8 @@ msgstr ""
|
|
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 "
|
@@ -441,6 +535,10 @@ msgstr ""
|
|
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"
|
@@ -452,6 +550,7 @@ msgstr ""
|
|
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 ""
|
@@ -468,6 +567,8 @@ msgstr ""
|
|
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 ""
|
@@ -478,6 +579,8 @@ msgstr ""
|
|
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"
|
@@ -493,6 +596,8 @@ 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 ""
|
@@ -500,6 +605,8 @@ msgstr ""
|
|
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 ""
|
@@ -507,6 +614,8 @@ msgstr ""
|
|
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 "
|
@@ -517,6 +626,8 @@ msgstr ""
|
|
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"
|
@@ -545,6 +656,10 @@ 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"
|
@@ -556,6 +671,8 @@ msgstr ""
|
|
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 ""
|
@@ -564,6 +681,8 @@ msgstr ""
|
|
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 ""
|
@@ -572,6 +691,8 @@ msgstr ""
|
|
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 ."
|
@@ -590,6 +711,10 @@ msgstr ""
|
|
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"
|
@@ -599,6 +724,8 @@ msgstr ""
|
|
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 ""
|
@@ -607,6 +734,8 @@ msgstr ""
|
|
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 ""
|
@@ -615,6 +744,8 @@ msgstr ""
|
|
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 ""
|
@@ -623,6 +754,8 @@ msgstr ""
|
|
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 ""
|
@@ -631,6 +764,8 @@ msgstr ""
|
|
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 ""
|
@@ -639,6 +774,8 @@ msgstr ""
|
|
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:"
|
@@ -647,6 +784,8 @@ 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 "
|
@@ -660,6 +799,7 @@ msgstr ""
|
|
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 "
|
@@ -670,6 +810,8 @@ msgstr ""
|
|
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"
|
@@ -679,6 +821,8 @@ 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 ""
|
@@ -687,6 +831,8 @@ msgstr ""
|
|
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 ""
|
@@ -695,11 +841,14 @@ msgstr ""
|
|
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 |
|
702 |
#: inc/busicare/customizer/slider-section.php:163
|
|
|
703 |
msgid "Nulla nec dolor sit"
|
704 |
msgstr ""
|
705 |
|
@@ -714,6 +863,7 @@ msgstr ""
|
|
714 |
#: inc/spice-software/sections/spice-software-slider-section.php:15
|
715 |
#: inc/spiko/customizer/slider-section.php:176
|
716 |
#: inc/spiko/sections/spiko-slider-section.php:16
|
|
|
717 |
msgid ""
|
718 |
"Nulla nec dolor sit amet "
|
719 |
"lacus molestie"
|
@@ -764,6 +914,8 @@ msgstr ""
|
|
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 ""
|
@@ -778,6 +930,10 @@ msgstr ""
|
|
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"
|
@@ -795,6 +951,9 @@ msgstr ""
|
|
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 ""
|
@@ -819,6 +978,10 @@ msgstr ""
|
|
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 "#"
|
@@ -833,6 +996,9 @@ msgstr ""
|
|
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 ""
|
@@ -842,6 +1008,8 @@ msgstr ""
|
|
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 ""
|
@@ -851,6 +1019,8 @@ msgstr ""
|
|
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 ""
|
@@ -859,6 +1029,8 @@ msgstr ""
|
|
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 ""
|
@@ -866,6 +1038,8 @@ msgstr ""
|
|
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 "
|
@@ -889,6 +1063,7 @@ msgstr ""
|
|
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 ""
|
@@ -903,6 +1078,8 @@ msgstr ""
|
|
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 ""
|
@@ -914,6 +1091,12 @@ msgstr ""
|
|
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
|
@@ -927,6 +1110,12 @@ msgstr ""
|
|
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
|
@@ -940,6 +1129,12 @@ msgstr ""
|
|
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
|
@@ -953,6 +1148,12 @@ msgstr ""
|
|
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
|
@@ -962,6 +1163,8 @@ msgstr ""
|
|
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"
|
@@ -970,6 +1173,8 @@ 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 "
|
@@ -985,6 +1190,10 @@ msgstr ""
|
|
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"
|
@@ -995,6 +1204,7 @@ msgstr ""
|
|
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 ""
|
@@ -1008,6 +1218,8 @@ msgstr ""
|
|
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 ""
|
@@ -1021,10 +1233,12 @@ msgstr ""
|
|
1021 |
#: inc/spice-software/customizer/testimonial-section.php:76
|
1022 |
#: inc/spicepress/features/feature-testimonial-section.php:31
|
1023 |
#: inc/spiko/customizer/testimonial-section.php:123
|
|
|
1024 |
msgid "Background Image"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
#: inc/busicare/customizer/testimonial-section.php:90
|
|
|
1028 |
msgid ""
|
1029 |
"Enable/Disable "
|
1030 |
"testimonial image overlay"
|
@@ -1035,6 +1249,7 @@ msgstr ""
|
|
1035 |
#: inc/spice-software/customizer/testimonial-section.php:104
|
1036 |
#: inc/spicepress/features/feature-testimonial-section.php:56
|
1037 |
#: inc/spiko/customizer/testimonial-section.php:156
|
|
|
1038 |
msgid ""
|
1039 |
"Testimonial image "
|
1040 |
"overlay color"
|
@@ -1075,6 +1290,10 @@ msgstr ""
|
|
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 ""
|
@@ -1238,6 +1457,8 @@ msgstr ""
|
|
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 ""
|
@@ -1287,6 +1508,8 @@ msgstr ""
|
|
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 ""
|
@@ -1296,6 +1519,9 @@ msgstr ""
|
|
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
|
@@ -1307,6 +1533,9 @@ msgstr ""
|
|
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
|
@@ -1518,7 +1747,7 @@ msgstr ""
|
|
1518 |
#: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:544
|
1519 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:592
|
1520 |
msgid ""
|
1521 |
-
"Open link in new tab:"
|
1522 |
msgstr ""
|
1523 |
|
1524 |
#: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:555
|
@@ -1759,6 +1988,10 @@ msgstr ""
|
|
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"
|
@@ -1770,6 +2003,10 @@ msgstr ""
|
|
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"
|
@@ -1781,6 +2018,10 @@ msgstr ""
|
|
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"
|
@@ -2120,6 +2361,7 @@ msgstr ""
|
|
2120 |
#: inc/spice-software/customizer/testimonial-section.php:90
|
2121 |
#: inc/spicepress/features/feature-testimonial-section.php:43
|
2122 |
#: inc/spiko/customizer/testimonial-section.php:136
|
|
|
2123 |
msgid ""
|
2124 |
"Enable testimonial image "
|
2125 |
"overlay"
|
@@ -2143,6 +2385,8 @@ msgstr ""
|
|
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 ""
|
@@ -2217,6 +2461,10 @@ msgstr ""
|
|
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"
|
@@ -2226,6 +2474,10 @@ msgstr ""
|
|
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"
|
@@ -2235,6 +2487,10 @@ msgstr ""
|
|
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"
|
@@ -2244,6 +2500,10 @@ msgstr ""
|
|
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"
|
@@ -2253,6 +2513,10 @@ msgstr ""
|
|
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"
|
@@ -2262,6 +2526,10 @@ msgstr ""
|
|
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 ""
|
@@ -2416,6 +2684,22 @@ msgstr ""
|
|
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 ""
|
@@ -2423,6 +2707,8 @@ msgid ""
|
|
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 ""
|
@@ -2433,3 +2719,74 @@ msgid ""
|
|
2433 |
"mei ludus efficiendi ei "
|
2434 |
"sea summo mazim ex."
|
2435 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: "
|
5 |
"Spiceboxv1.0.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: "
|
7 |
+
"Translator Name "
|
8 |
+
"<translations@example."
|
9 |
+
"com>\n"
|
10 |
"POT-Creation-Date: "
|
11 |
+
"2022-03-10 17:13+0530\n"
|
12 |
"PO-Revision-Date: \n"
|
13 |
"Last-Translator: Your "
|
14 |
"Name <you@example.com>\n"
|
15 |
"Language-Team: Your Team "
|
16 |
"<translations@example."
|
17 |
"com>\n"
|
18 |
+
"Language: en_US\n"
|
|
|
|
|
|
|
19 |
"MIME-Version: 1.0\n"
|
20 |
"Content-Type: text/"
|
21 |
"plain; charset=UTF-8\n"
|
42 |
"__ngettext_noop:1,2;_c,"
|
43 |
"_nc:4c,1,2\n"
|
44 |
"X-Poedit-Basepath: ..\n"
|
45 |
+
"X-Generator: Poedit "
|
46 |
+
"3.0.1\n"
|
47 |
"X-Poedit-"
|
48 |
"SearchPath-0: .\n"
|
49 |
|
55 |
#: inc/spice-software/sections/spice-software-services-section.php:11
|
56 |
#: inc/spiko/customizer.php:12
|
57 |
#: inc/spiko/sections/spiko-services-section.php:11
|
58 |
+
#: inc/wpblack/customizer.php:12
|
59 |
+
#: inc/wpblack/sections/wpblack-services-section.php:11
|
60 |
+
#: inc/wphester/customizer.php:12
|
61 |
+
#: inc/wphester/sections/wphester-services-section.php:11
|
62 |
#: inc/wpkites/customizer.php:12
|
63 |
#: inc/wpkites/sections/wpkites-services-section.php:11
|
64 |
msgid ""
|
83 |
#: inc/spiko/sections/spiko-services-section.php:12
|
84 |
#: inc/spiko/sections/spiko-services-section.php:21
|
85 |
#: inc/spiko/sections/spiko-services-section.php:30
|
86 |
+
#: inc/wpblack/customizer.php:13
|
87 |
+
#: inc/wpblack/customizer.php:23
|
88 |
+
#: inc/wpblack/customizer.php:33
|
89 |
+
#: inc/wpblack/sections/wpblack-services-section.php:12
|
90 |
+
#: inc/wpblack/sections/wpblack-services-section.php:22
|
91 |
+
#: inc/wpblack/sections/wpblack-services-section.php:32
|
92 |
+
#: inc/wphester/customizer.php:13
|
93 |
+
#: inc/wphester/customizer.php:22
|
94 |
+
#: inc/wphester/customizer.php:31
|
95 |
+
#: inc/wphester/sections/wphester-services-section.php:12
|
96 |
+
#: inc/wphester/sections/wphester-services-section.php:21
|
97 |
+
#: inc/wphester/sections/wphester-services-section.php:30
|
98 |
#: inc/wpkites/customizer.php:13
|
99 |
#: inc/wpkites/customizer.php:22
|
100 |
#: inc/wpkites/customizer.php:31
|
118 |
#: inc/spice-software/sections/spice-software-services-section.php:20
|
119 |
#: inc/spiko/customizer.php:21
|
120 |
#: inc/spiko/sections/spiko-services-section.php:20
|
121 |
+
#: inc/wpblack/customizer.php:22
|
122 |
+
#: inc/wpblack/sections/wpblack-services-section.php:21
|
123 |
+
#: inc/wphester/customizer.php:21
|
124 |
+
#: inc/wphester/sections/wphester-services-section.php:20
|
125 |
#: inc/wpkites/customizer.php:21
|
126 |
#: inc/wpkites/sections/wpkites-services-section.php:20
|
127 |
msgid "Blandit-Gravida"
|
135 |
#: inc/spice-software/sections/spice-software-services-section.php:29
|
136 |
#: inc/spiko/customizer.php:30
|
137 |
#: inc/spiko/sections/spiko-services-section.php:29
|
138 |
+
#: inc/wpblack/customizer.php:32
|
139 |
+
#: inc/wpblack/sections/wpblack-services-section.php:31
|
140 |
+
#: inc/wphester/customizer.php:30
|
141 |
+
#: inc/wphester/sections/wphester-services-section.php:29
|
142 |
#: inc/wpkites/customizer.php:30
|
143 |
#: inc/wpkites/sections/wpkites-services-section.php:29
|
144 |
msgid "Justo Bibendum"
|
176 |
#: inc/spiko/customizer/slider-section.php:240
|
177 |
#: inc/spiko/sections/spiko-news-section.php:31
|
178 |
#: inc/spiko/sections/spiko-slider-section.php:23
|
179 |
+
#: inc/wpblack/customizer/news-section.php:55
|
180 |
+
#: inc/wpblack/customizer/slider-section.php:232
|
181 |
+
#: inc/wpblack/sections/wpblack-news-section.php:104
|
182 |
+
#: inc/wpblack/sections/wpblack-slider-section.php:17
|
183 |
+
#: inc/wphester/customizer/news-section.php:55
|
184 |
+
#: inc/wphester/customizer/slider-section.php:232
|
185 |
+
#: inc/wphester/sections/wphester-news-section.php:99
|
186 |
+
#: inc/wphester/sections/wphester-slider-section.php:17
|
187 |
#: inc/wpkites/customizer/news-section.php:55
|
188 |
#: inc/wpkites/customizer/slider-section.php:219
|
189 |
#: inc/wpkites/sections/wpkites-slider-section.php:16
|
212 |
#: inc/spice-software/sections/spice-software-team-section.php:22
|
213 |
#: inc/spiko/customizer.php:109
|
214 |
#: inc/spiko/sections/spiko-team-section.php:21
|
215 |
+
#: inc/wpblack/customizer.php:105
|
216 |
+
#: inc/wpblack/sections/wpblack-team-section.php:21
|
217 |
+
#: inc/wphester/customizer.php:102
|
218 |
+
#: inc/wphester/sections/wphester-team-section.php:21
|
219 |
#: inc/wpkites/customizer.php:102
|
220 |
#: inc/wpkites/sections/wpkites-team-section.php:21
|
221 |
msgid "Senior Manager"
|
229 |
#: inc/spice-software/sections/spice-software-team-section.php:55
|
230 |
#: inc/spiko/customizer.php:142
|
231 |
#: inc/spiko/sections/spiko-team-section.php:53
|
232 |
+
#: inc/wpblack/customizer.php:136
|
233 |
+
#: inc/wpblack/sections/wpblack-team-section.php:53
|
234 |
+
#: inc/wphester/customizer.php:133
|
235 |
+
#: inc/wphester/sections/wphester-team-section.php:53
|
236 |
#: inc/wpkites/customizer.php:133
|
237 |
#: inc/wpkites/sections/wpkites-team-section.php:53
|
238 |
msgid "Founder & CEO"
|
246 |
#: inc/spice-software/sections/spice-software-team-section.php:88
|
247 |
#: inc/spiko/customizer.php:175
|
248 |
#: inc/spiko/sections/spiko-team-section.php:85
|
249 |
+
#: inc/wpblack/customizer.php:167
|
250 |
+
#: inc/wpblack/sections/wpblack-team-section.php:85
|
251 |
+
#: inc/wphester/customizer.php:164
|
252 |
+
#: inc/wphester/sections/wphester-team-section.php:85
|
253 |
#: inc/wpkites/customizer.php:164
|
254 |
#: inc/wpkites/sections/wpkites-team-section.php:85
|
255 |
msgid "Web Master"
|
263 |
#: inc/spice-software/sections/spice-software-team-section.php:121
|
264 |
#: inc/spiko/customizer.php:208
|
265 |
#: inc/spiko/sections/spiko-team-section.php:117
|
266 |
+
#: inc/wpblack/customizer.php:198
|
267 |
+
#: inc/wpblack/sections/wpblack-team-section.php:117
|
268 |
+
#: inc/wphester/customizer.php:195
|
269 |
+
#: inc/wphester/sections/wphester-team-section.php:117
|
270 |
#: inc/wpkites/customizer.php:195
|
271 |
#: inc/wpkites/sections/wpkites-team-section.php:117
|
272 |
msgid "UI Developer"
|
275 |
#: inc/busicare/customizer.php:238
|
276 |
#: inc/spice-software/customizer.php:252
|
277 |
#: inc/spiko/customizer.php:252
|
278 |
+
#: inc/wpblack/customizer.php:241
|
279 |
+
#: inc/wphester/customizer.php:238
|
280 |
#: inc/wpkites/customizer.php:238
|
281 |
msgid ""
|
282 |
"Homepage Section Settings"
|
285 |
#: inc/busicare/customizer/news-section.php:13
|
286 |
#: inc/spice-software/customizer/news-section.php:4
|
287 |
#: inc/spiko/customizer/news-section.php:4
|
288 |
+
#: inc/wpblack/customizer/news-section.php:4
|
289 |
+
#: inc/wphester/customizer/news-section.php:4
|
290 |
#: inc/wpkites/customizer/news-section.php:4
|
291 |
msgid ""
|
292 |
"Latest News Settings"
|
295 |
#: inc/busicare/customizer/news-section.php:27
|
296 |
#: inc/spice-software/customizer/news-section.php:18
|
297 |
#: inc/spiko/customizer/news-section.php:18
|
298 |
+
#: inc/wpblack/customizer/news-section.php:18
|
299 |
+
#: inc/wphester/customizer/news-section.php:18
|
300 |
#: inc/wpkites/customizer/news-section.php:18
|
301 |
msgid ""
|
302 |
"Enable/Disable Latest "
|
310 |
#: inc/spice-software/sections/spice-software-news-section.php:17
|
311 |
#: inc/spiko/customizer/news-section.php:40
|
312 |
#: inc/spiko/sections/spiko-news-section.php:51
|
313 |
+
#: inc/wpblack/customizer/news-section.php:41
|
314 |
+
#: inc/wpblack/sections/wpblack-news-section.php:27
|
315 |
+
#: inc/wphester/customizer/news-section.php:28
|
316 |
+
#: inc/wphester/sections/wphester-news-section.php:28
|
317 |
#: inc/wpkites/customizer/news-section.php:28
|
318 |
#: inc/wpkites/sections/wpkites-news-section.php:27
|
319 |
msgid "Vitae Lacinia"
|
364 |
#: inc/spiko/customizer/slider-section.php:181
|
365 |
#: inc/spiko/customizer/team-section.php:42
|
366 |
#: inc/spiko/customizer/testimonial-section.php:42
|
367 |
+
#: inc/wpblack/customizer/news-section.php:46
|
368 |
+
#: inc/wpblack/customizer/services-section.php:46
|
369 |
+
#: inc/wpblack/customizer/slider-section.php:173
|
370 |
+
#: inc/wpblack/customizer/team-section.php:42
|
371 |
+
#: inc/wpblack/customizer/testimonial-section.php:43
|
372 |
+
#: inc/wphester/customizer/news-section.php:33
|
373 |
+
#: inc/wphester/customizer/services-section.php:31
|
374 |
+
#: inc/wphester/customizer/slider-section.php:173
|
375 |
+
#: inc/wphester/customizer/team-section.php:29
|
376 |
+
#: inc/wphester/customizer/testimonial-section.php:31
|
377 |
#: inc/wpkites/customizer/news-section.php:33
|
378 |
#: inc/wpkites/customizer/services-section.php:31
|
379 |
#: inc/wpkites/customizer/slider-section.php:160
|
389 |
#: inc/spice-software/sections/spice-software-news-section.php:18
|
390 |
#: inc/spiko/customizer/news-section.php:26
|
391 |
#: inc/spiko/sections/spiko-news-section.php:52
|
392 |
+
#: inc/wpblack/customizer/news-section.php:27
|
393 |
+
#: inc/wpblack/sections/wpblack-news-section.php:28
|
394 |
+
#: inc/wphester/customizer/news-section.php:41
|
395 |
+
#: inc/wphester/sections/wphester-news-section.php:29
|
396 |
#: inc/wpkites/customizer/news-section.php:41
|
397 |
#: inc/wpkites/sections/wpkites-news-section.php:28
|
398 |
msgid "Cras Vitae Placerat"
|
413 |
#: inc/spiko/customizer/slider-section.php:168
|
414 |
#: inc/spiko/customizer/team-section.php:30
|
415 |
#: inc/spiko/customizer/testimonial-section.php:29
|
416 |
+
#: inc/wpblack/customizer/news-section.php:32
|
417 |
+
#: inc/wpblack/customizer/services-section.php:31
|
418 |
+
#: inc/wpblack/customizer/slider-section.php:160
|
419 |
+
#: inc/wpblack/customizer/team-section.php:30
|
420 |
+
#: inc/wpblack/customizer/testimonial-section.php:30
|
421 |
+
#: inc/wphester/customizer/news-section.php:46
|
422 |
+
#: inc/wphester/customizer/services-section.php:47
|
423 |
+
#: inc/wphester/customizer/slider-section.php:160
|
424 |
+
#: inc/wphester/customizer/team-section.php:42
|
425 |
+
#: inc/wphester/customizer/testimonial-section.php:44
|
426 |
#: inc/wpkites/customizer/news-section.php:46
|
427 |
#: inc/wpkites/customizer/services-section.php:47
|
428 |
#: inc/wpkites/customizer/team-section.php:42
|
433 |
#: inc/busicare/customizer/news-section.php:69
|
434 |
#: inc/spice-software/customizer/news-section.php:60
|
435 |
#: inc/spiko/customizer/news-section.php:60
|
436 |
+
#: inc/wpblack/customizer/news-section.php:59
|
437 |
+
#: inc/wphester/customizer/news-section.php:59
|
438 |
#: inc/wpkites/customizer/news-section.php:59
|
439 |
msgid "Read More Text"
|
440 |
msgstr ""
|
442 |
#: inc/busicare/customizer/news-section.php:86
|
443 |
#: inc/spice-software/customizer/news-section.php:77
|
444 |
#: inc/spiko/customizer/news-section.php:77
|
445 |
+
#: inc/wpblack/customizer/news-section.php:76
|
446 |
+
#: inc/wphester/customizer/news-section.php:76
|
447 |
#: inc/wpkites/customizer/news-section.php:76
|
448 |
msgid ""
|
449 |
"Enable/Disable post meta "
|
487 |
#: inc/spiko/customizer/news-section.php:131
|
488 |
#: inc/spiko/customizer/slider-section.php:232
|
489 |
#: inc/spiko/customizer/slider-section.php:270
|
490 |
+
#: inc/wpblack/customizer/services-section.php:133
|
491 |
+
#: inc/wpblack/customizer/slider-section.php:224
|
492 |
+
#: inc/wpblack/customizer/slider-section.php:262
|
493 |
#: inc/wpkites/customizer/slider-section.php:211
|
494 |
#: inc/wpkites/customizer/slider-section.php:249
|
495 |
msgid ""
|
499 |
#: inc/busicare/customizer/services-section.php:3
|
500 |
#: inc/spice-software/customizer/services-section.php:3
|
501 |
#: inc/spiko/customizer/services-section.php:3
|
502 |
+
#: inc/wpblack/customizer/services-section.php:3
|
503 |
+
#: inc/wphester/customizer/services-section.php:3
|
504 |
#: inc/wpkites/customizer/services-section.php:3
|
505 |
msgid "Services Settings"
|
506 |
msgstr ""
|
508 |
#: inc/busicare/customizer/services-section.php:16
|
509 |
#: inc/spice-software/customizer/services-section.php:16
|
510 |
#: inc/spiko/customizer/services-section.php:16
|
511 |
+
#: inc/wpblack/customizer/services-section.php:16
|
512 |
+
#: inc/wphester/customizer/services-section.php:16
|
513 |
#: inc/wpkites/customizer/services-section.php:16
|
514 |
msgid ""
|
515 |
"Enable/Disable Service "
|
535 |
#: inc/spice-software/sections/spice-software-services-section.php:39
|
536 |
#: inc/spiko/customizer/services-section.php:25
|
537 |
#: inc/spiko/sections/spiko-services-section.php:39
|
538 |
+
#: inc/wpblack/customizer/services-section.php:25
|
539 |
+
#: inc/wpblack/sections/wpblack-services-section.php:42
|
540 |
+
#: inc/wphester/customizer/services-section.php:41
|
541 |
+
#: inc/wphester/sections/wphester-services-section.php:39
|
542 |
#: inc/wpkites/customizer/services-section.php:41
|
543 |
#: inc/wpkites/sections/wpkites-services-section.php:39
|
544 |
msgid "Fusce Sed Massa"
|
550 |
#: inc/spice-software/customizer/services-section.php:59
|
551 |
#: inc/spicepress/features/feature-service-section.php:63
|
552 |
#: inc/spiko/customizer/services-section.php:57
|
553 |
+
#: inc/wpblack/customizer/services-section.php:58
|
554 |
#: inc/wpkites/customizer/services-section.php:58
|
555 |
msgid "Service content"
|
556 |
msgstr ""
|
567 |
#: inc/spice-software/customizer/services-section.php:63
|
568 |
#: inc/spicepress/features/feature-service-section.php:67
|
569 |
#: inc/spiko/customizer/services-section.php:61
|
570 |
+
#: inc/wpblack/customizer/services-section.php:62
|
571 |
+
#: inc/wphester/customizer/services-section.php:62
|
572 |
#: inc/wpkites/customizer/services-section.php:62
|
573 |
msgid "Service"
|
574 |
msgstr ""
|
579 |
#: inc/innofit/customizer/services-section.php:72
|
580 |
#: inc/spice-software/customizer/services-section.php:77
|
581 |
#: inc/spiko/customizer/services-section.php:75
|
582 |
+
#: inc/wpblack/customizer/services-section.php:77
|
583 |
+
#: inc/wphester/customizer/services-section.php:76
|
584 |
#: inc/wpkites/customizer/services-section.php:76
|
585 |
msgid ""
|
586 |
"To add More Service? Then"
|
596 |
#: inc/innofit/customizer/testimonial-section.php:138
|
597 |
#: inc/spice-software/customizer/services-section.php:78
|
598 |
#: inc/spiko/customizer/services-section.php:76
|
599 |
+
#: inc/wpblack/customizer/services-section.php:78
|
600 |
+
#: inc/wphester/customizer/services-section.php:77
|
601 |
#: inc/wpkites/customizer/services-section.php:77
|
602 |
msgid "Upgrade to Plus"
|
603 |
msgstr ""
|
605 |
#: inc/busicare/customizer/slider-section.php:14
|
606 |
#: inc/spice-software/customizer/slider-section.php:5
|
607 |
#: inc/spiko/customizer/slider-section.php:5
|
608 |
+
#: inc/wpblack/customizer/slider-section.php:5
|
609 |
+
#: inc/wphester/customizer/slider-section.php:5
|
610 |
#: inc/wpkites/customizer/slider-section.php:5
|
611 |
msgid "Slider Settings"
|
612 |
msgstr ""
|
614 |
#: inc/busicare/customizer/slider-section.php:27
|
615 |
#: inc/spice-software/customizer/slider-section.php:18
|
616 |
#: inc/spiko/customizer/slider-section.php:18
|
617 |
+
#: inc/wpblack/customizer/slider-section.php:18
|
618 |
+
#: inc/wphester/customizer/slider-section.php:18
|
619 |
#: inc/wpkites/customizer/slider-section.php:18
|
620 |
msgid ""
|
621 |
"Enable/Disable Slider "
|
626 |
#: inc/honeypress/features/feature-slider-section.php:31
|
627 |
#: inc/spice-software/customizer/slider-section.php:29
|
628 |
#: inc/spiko/customizer/slider-section.php:29
|
629 |
+
#: inc/wpblack/customizer/slider-section.php:29
|
630 |
+
#: inc/wphester/customizer/slider-section.php:29
|
631 |
#: inc/wpkites/customizer/slider-section.php:29
|
632 |
msgid ""
|
633 |
"Slider Background Type"
|
656 |
#: inc/spicepress/features/feature-testimonial-section.php:105
|
657 |
#: inc/spiko/customizer/slider-section.php:34
|
658 |
#: inc/spiko/customizer/slider-section.php:103
|
659 |
+
#: inc/wpblack/customizer/slider-section.php:34
|
660 |
+
#: inc/wpblack/customizer/slider-section.php:95
|
661 |
+
#: inc/wphester/customizer/slider-section.php:34
|
662 |
+
#: inc/wphester/customizer/slider-section.php:95
|
663 |
#: inc/wpkites/customizer/slider-section.php:34
|
664 |
#: inc/wpkites/customizer/slider-section.php:95
|
665 |
msgid "Image"
|
671 |
#: inc/honeypress/features/feature-slider-section.php:36
|
672 |
#: inc/spice-software/customizer/slider-section.php:35
|
673 |
#: inc/spiko/customizer/slider-section.php:35
|
674 |
+
#: inc/wpblack/customizer/slider-section.php:35
|
675 |
+
#: inc/wphester/customizer/slider-section.php:35
|
676 |
#: inc/wpkites/customizer/slider-section.php:35
|
677 |
msgid "Video"
|
678 |
msgstr ""
|
681 |
#: inc/honeypress/features/feature-slider-section.php:50
|
682 |
#: inc/spice-software/customizer/slider-section.php:49
|
683 |
#: inc/spiko/customizer/slider-section.php:49
|
684 |
+
#: inc/wpblack/customizer/slider-section.php:49
|
685 |
+
#: inc/wphester/customizer/slider-section.php:49
|
686 |
#: inc/wpkites/customizer/slider-section.php:49
|
687 |
msgid "Slider video"
|
688 |
msgstr ""
|
691 |
#: inc/honeypress/features/feature-slider-section.php:51
|
692 |
#: inc/spice-software/customizer/slider-section.php:50
|
693 |
#: inc/spiko/customizer/slider-section.php:50
|
694 |
+
#: inc/wpblack/customizer/slider-section.php:50
|
695 |
+
#: inc/wphester/customizer/slider-section.php:50
|
696 |
#: inc/wpkites/customizer/slider-section.php:50
|
697 |
msgid ""
|
698 |
"Upload your video in ."
|
711 |
#: inc/spice-software/customizer/slider-section.php:60
|
712 |
#: inc/spiko/customizer/slider-section.php:55
|
713 |
#: inc/spiko/customizer/slider-section.php:60
|
714 |
+
#: inc/wpblack/customizer/slider-section.php:55
|
715 |
+
#: inc/wpblack/customizer/slider-section.php:60
|
716 |
+
#: inc/wphester/customizer/slider-section.php:55
|
717 |
+
#: inc/wphester/customizer/slider-section.php:60
|
718 |
#: inc/wpkites/customizer/slider-section.php:55
|
719 |
#: inc/wpkites/customizer/slider-section.php:60
|
720 |
msgid "Select File"
|
724 |
#: inc/honeypress/features/feature-slider-section.php:56
|
725 |
#: inc/spice-software/customizer/slider-section.php:56
|
726 |
#: inc/spiko/customizer/slider-section.php:56
|
727 |
+
#: inc/wpblack/customizer/slider-section.php:56
|
728 |
+
#: inc/wphester/customizer/slider-section.php:56
|
729 |
#: inc/wpkites/customizer/slider-section.php:56
|
730 |
msgid "Change File"
|
731 |
msgstr ""
|
734 |
#: inc/honeypress/features/feature-slider-section.php:57
|
735 |
#: inc/spice-software/customizer/slider-section.php:57
|
736 |
#: inc/spiko/customizer/slider-section.php:57
|
737 |
+
#: inc/wpblack/customizer/slider-section.php:57
|
738 |
+
#: inc/wphester/customizer/slider-section.php:57
|
739 |
#: inc/wpkites/customizer/slider-section.php:57
|
740 |
msgid "Default"
|
741 |
msgstr ""
|
744 |
#: inc/honeypress/features/feature-slider-section.php:58
|
745 |
#: inc/spice-software/customizer/slider-section.php:58
|
746 |
#: inc/spiko/customizer/slider-section.php:58
|
747 |
+
#: inc/wpblack/customizer/slider-section.php:58
|
748 |
+
#: inc/wphester/customizer/slider-section.php:58
|
749 |
#: inc/wpkites/customizer/slider-section.php:58
|
750 |
msgid "Remove"
|
751 |
msgstr ""
|
754 |
#: inc/honeypress/features/feature-slider-section.php:59
|
755 |
#: inc/spice-software/customizer/slider-section.php:59
|
756 |
#: inc/spiko/customizer/slider-section.php:59
|
757 |
+
#: inc/wpblack/customizer/slider-section.php:59
|
758 |
+
#: inc/wphester/customizer/slider-section.php:59
|
759 |
#: inc/wpkites/customizer/slider-section.php:59
|
760 |
msgid "No file selected"
|
761 |
msgstr ""
|
764 |
#: inc/honeypress/features/feature-slider-section.php:61
|
765 |
#: inc/spice-software/customizer/slider-section.php:61
|
766 |
#: inc/spiko/customizer/slider-section.php:61
|
767 |
+
#: inc/wpblack/customizer/slider-section.php:61
|
768 |
+
#: inc/wphester/customizer/slider-section.php:61
|
769 |
#: inc/wpkites/customizer/slider-section.php:61
|
770 |
msgid "Choose File"
|
771 |
msgstr ""
|
774 |
#: inc/honeypress/features/feature-slider-section.php:75
|
775 |
#: inc/spice-software/customizer/slider-section.php:74
|
776 |
#: inc/spiko/customizer/slider-section.php:74
|
777 |
+
#: inc/wpblack/customizer/slider-section.php:74
|
778 |
+
#: inc/wphester/customizer/slider-section.php:74
|
779 |
#: inc/wpkites/customizer/slider-section.php:74
|
780 |
msgid ""
|
781 |
"Or, enter a YouTube URL:"
|
784 |
#: inc/busicare/customizer/slider-section.php:118
|
785 |
#: inc/spice-software/customizer/slider-section.php:115
|
786 |
#: inc/spiko/customizer/slider-section.php:119
|
787 |
+
#: inc/wpblack/customizer/slider-section.php:111
|
788 |
+
#: inc/wphester/customizer/slider-section.php:111
|
789 |
#: inc/wpkites/customizer/slider-section.php:111
|
790 |
msgid ""
|
791 |
"Enable/Disable slider "
|
799 |
#: inc/spice-software/customizer/slider-section.php:130
|
800 |
#: inc/spicepress/features/feature-slider-section.php:63
|
801 |
#: inc/spiko/customizer/slider-section.php:134
|
802 |
+
#: inc/wpblack/customizer/slider-section.php:126
|
803 |
#: inc/wpkites/customizer/slider-section.php:126
|
804 |
msgid ""
|
805 |
"Slider image overlay "
|
810 |
#: inc/honeypress/features/feature-slider-section.php:155
|
811 |
#: inc/spice-software/customizer/slider-section.php:146
|
812 |
#: inc/spiko/customizer/slider-section.php:150
|
813 |
+
#: inc/wpblack/customizer/slider-section.php:142
|
814 |
+
#: inc/wphester/customizer/slider-section.php:142
|
815 |
#: inc/wpkites/customizer/slider-section.php:142
|
816 |
msgid ""
|
817 |
"Slider Content Alignment"
|
821 |
#: inc/honeypress/features/feature-slider-section.php:158
|
822 |
#: inc/spice-software/customizer/slider-section.php:150
|
823 |
#: inc/spiko/customizer/slider-section.php:154
|
824 |
+
#: inc/wpblack/customizer/slider-section.php:146
|
825 |
+
#: inc/wphester/customizer/slider-section.php:146
|
826 |
#: inc/wpkites/customizer/slider-section.php:146
|
827 |
msgid "Left"
|
828 |
msgstr ""
|
831 |
#: inc/honeypress/features/feature-slider-section.php:159
|
832 |
#: inc/spice-software/customizer/slider-section.php:151
|
833 |
#: inc/spiko/customizer/slider-section.php:155
|
834 |
+
#: inc/wpblack/customizer/slider-section.php:147
|
835 |
+
#: inc/wphester/customizer/slider-section.php:147
|
836 |
#: inc/wpkites/customizer/slider-section.php:147
|
837 |
msgid "Center"
|
838 |
msgstr ""
|
841 |
#: inc/honeypress/features/feature-slider-section.php:160
|
842 |
#: inc/spice-software/customizer/slider-section.php:152
|
843 |
#: inc/spiko/customizer/slider-section.php:156
|
844 |
+
#: inc/wpblack/customizer/slider-section.php:148
|
845 |
+
#: inc/wphester/customizer/slider-section.php:148
|
846 |
#: inc/wpkites/customizer/slider-section.php:148
|
847 |
msgid "Right"
|
848 |
msgstr ""
|
849 |
|
850 |
#: inc/busicare/customizer/slider-section.php:163
|
851 |
+
#: inc/wpblack/customizer/slider-section.php:155
|
852 |
msgid "Nulla nec dolor sit"
|
853 |
msgstr ""
|
854 |
|
863 |
#: inc/spice-software/sections/spice-software-slider-section.php:15
|
864 |
#: inc/spiko/customizer/slider-section.php:176
|
865 |
#: inc/spiko/sections/spiko-slider-section.php:16
|
866 |
+
#: inc/wpblack/sections/wpblack-slider-section.php:10
|
867 |
msgid ""
|
868 |
"Nulla nec dolor sit amet "
|
869 |
"lacus molestie"
|
914 |
#: inc/spicepress/features/feature-testimonial-section.php:83
|
915 |
#: inc/spicepress/features/feature-testimonial-section.php:122
|
916 |
#: inc/spiko/customizer/slider-section.php:193
|
917 |
+
#: inc/wpblack/customizer/slider-section.php:185
|
918 |
+
#: inc/wphester/customizer/slider-section.php:185
|
919 |
#: inc/wpkites/customizer/slider-section.php:172
|
920 |
msgid "Description"
|
921 |
msgstr ""
|
930 |
#: inc/spice-software/sections/spice-software-slider-section.php:17
|
931 |
#: inc/spiko/customizer/slider-section.php:202
|
932 |
#: inc/spiko/sections/spiko-slider-section.php:19
|
933 |
+
#: inc/wpblack/customizer/slider-section.php:194
|
934 |
+
#: inc/wpblack/sections/wpblack-slider-section.php:13
|
935 |
+
#: inc/wphester/customizer/slider-section.php:194
|
936 |
+
#: inc/wphester/sections/wphester-slider-section.php:13
|
937 |
#: inc/wpkites/customizer/slider-section.php:181
|
938 |
#: inc/wpkites/sections/wpkites-slider-section.php:12
|
939 |
msgid "Nec Sem"
|
951 |
#: inc/spice-software/customizer/slider-section.php:190
|
952 |
#: inc/spicepress/features/feature-slider-section.php:101
|
953 |
#: inc/spiko/customizer/slider-section.php:206
|
954 |
+
#: inc/wpblack/customizer/services-section.php:104
|
955 |
+
#: inc/wpblack/customizer/slider-section.php:198
|
956 |
+
#: inc/wphester/customizer/slider-section.php:198
|
957 |
#: inc/wpkites/customizer/slider-section.php:185
|
958 |
msgid "Button Text"
|
959 |
msgstr ""
|
978 |
#: inc/spiko/customizer/slider-section.php:214
|
979 |
#: inc/spiko/customizer/slider-section.php:252
|
980 |
#: inc/spiko/sections/spiko-news-section.php:30
|
981 |
+
#: inc/wpblack/customizer/slider-section.php:206
|
982 |
+
#: inc/wpblack/customizer/slider-section.php:244
|
983 |
+
#: inc/wphester/customizer/slider-section.php:206
|
984 |
+
#: inc/wphester/customizer/slider-section.php:244
|
985 |
#: inc/wpkites/customizer/slider-section.php:193
|
986 |
#: inc/wpkites/customizer/slider-section.php:231
|
987 |
msgid "#"
|
996 |
#: inc/spice-software/customizer/slider-section.php:202
|
997 |
#: inc/spicepress/features/feature-slider-section.php:113
|
998 |
#: inc/spiko/customizer/slider-section.php:218
|
999 |
+
#: inc/wpblack/customizer/services-section.php:117
|
1000 |
+
#: inc/wpblack/customizer/slider-section.php:210
|
1001 |
+
#: inc/wphester/customizer/slider-section.php:210
|
1002 |
#: inc/wpkites/customizer/slider-section.php:197
|
1003 |
msgid "Button Link"
|
1004 |
msgstr ""
|
1008 |
#: inc/honeypress/features/feature-slider-section.php:236
|
1009 |
#: inc/spice-software/customizer/slider-section.php:228
|
1010 |
#: inc/spiko/customizer/slider-section.php:244
|
1011 |
+
#: inc/wpblack/customizer/slider-section.php:236
|
1012 |
+
#: inc/wphester/customizer/slider-section.php:236
|
1013 |
#: inc/wpkites/customizer/slider-section.php:223
|
1014 |
msgid "Button 2 Text"
|
1015 |
msgstr ""
|
1019 |
#: inc/honeypress/features/feature-slider-section.php:248
|
1020 |
#: inc/spice-software/customizer/slider-section.php:240
|
1021 |
#: inc/spiko/customizer/slider-section.php:256
|
1022 |
+
#: inc/wpblack/customizer/slider-section.php:248
|
1023 |
+
#: inc/wphester/customizer/slider-section.php:248
|
1024 |
#: inc/wpkites/customizer/slider-section.php:235
|
1025 |
msgid "Button 2 Link"
|
1026 |
msgstr ""
|
1029 |
#: inc/cloudpress/features/feature-team-section.php:8
|
1030 |
#: inc/spice-software/customizer/team-section.php:5
|
1031 |
#: inc/spiko/customizer/team-section.php:5
|
1032 |
+
#: inc/wpblack/customizer/team-section.php:5
|
1033 |
+
#: inc/wphester/customizer/team-section.php:5
|
1034 |
#: inc/wpkites/customizer/team-section.php:5
|
1035 |
msgid "Team Settings"
|
1036 |
msgstr ""
|
1038 |
#: inc/busicare/customizer/team-section.php:25
|
1039 |
#: inc/spice-software/customizer/team-section.php:17
|
1040 |
#: inc/spiko/customizer/team-section.php:17
|
1041 |
+
#: inc/wpblack/customizer/team-section.php:17
|
1042 |
+
#: inc/wphester/customizer/team-section.php:17
|
1043 |
#: inc/wpkites/customizer/team-section.php:17
|
1044 |
msgid ""
|
1045 |
"Enable/Disable Team "
|
1063 |
#: inc/spice-software/customizer/team-section.php:57
|
1064 |
#: inc/spice-software/customizer/team-section.php:76
|
1065 |
#: inc/spiko/customizer/team-section.php:59
|
1066 |
+
#: inc/wpblack/customizer/team-section.php:58
|
1067 |
#: inc/wpkites/customizer/team-section.php:57
|
1068 |
msgid "Team content"
|
1069 |
msgstr ""
|
1078 |
#: inc/spice-software/customizer/team-section.php:61
|
1079 |
#: inc/spice-software/customizer/team-section.php:80
|
1080 |
#: inc/spiko/customizer/team-section.php:63
|
1081 |
+
#: inc/wpblack/customizer/team-section.php:62
|
1082 |
+
#: inc/wphester/customizer/team-section.php:61
|
1083 |
#: inc/wpkites/customizer/team-section.php:61
|
1084 |
msgid "Team Member"
|
1085 |
msgstr ""
|
1091 |
#: inc/spice-software/customizer/testimonial-section.php:114
|
1092 |
#: inc/spiko/customizer/team-section.php:98
|
1093 |
#: inc/spiko/customizer/testimonial-section.php:96
|
1094 |
+
#: inc/wpblack/customizer/news-section.php:85
|
1095 |
+
#: inc/wpblack/customizer/team-section.php:76
|
1096 |
+
#: inc/wpblack/customizer/testimonial-section.php:110
|
1097 |
+
#: inc/wphester/customizer/news-section.php:85
|
1098 |
+
#: inc/wphester/customizer/team-section.php:75
|
1099 |
+
#: inc/wphester/customizer/testimonial-section.php:72
|
1100 |
#: inc/wpkites/customizer/news-section.php:85
|
1101 |
#: inc/wpkites/customizer/team-section.php:75
|
1102 |
#: inc/wpkites/customizer/testimonial-section.php:72
|
1110 |
#: inc/spice-software/customizer/testimonial-section.php:119
|
1111 |
#: inc/spiko/customizer/team-section.php:103
|
1112 |
#: inc/spiko/customizer/testimonial-section.php:101
|
1113 |
+
#: inc/wpblack/customizer/news-section.php:89
|
1114 |
+
#: inc/wpblack/customizer/team-section.php:81
|
1115 |
+
#: inc/wpblack/customizer/testimonial-section.php:115
|
1116 |
+
#: inc/wphester/customizer/news-section.php:89
|
1117 |
+
#: inc/wphester/customizer/team-section.php:80
|
1118 |
+
#: inc/wphester/customizer/testimonial-section.php:77
|
1119 |
#: inc/wpkites/customizer/news-section.php:89
|
1120 |
#: inc/wpkites/customizer/team-section.php:80
|
1121 |
#: inc/wpkites/customizer/testimonial-section.php:77
|
1129 |
#: inc/spice-software/customizer/testimonial-section.php:120
|
1130 |
#: inc/spiko/customizer/team-section.php:104
|
1131 |
#: inc/spiko/customizer/testimonial-section.php:102
|
1132 |
+
#: inc/wpblack/customizer/news-section.php:90
|
1133 |
+
#: inc/wpblack/customizer/team-section.php:82
|
1134 |
+
#: inc/wpblack/customizer/testimonial-section.php:116
|
1135 |
+
#: inc/wphester/customizer/news-section.php:90
|
1136 |
+
#: inc/wphester/customizer/team-section.php:81
|
1137 |
+
#: inc/wphester/customizer/testimonial-section.php:78
|
1138 |
#: inc/wpkites/customizer/news-section.php:90
|
1139 |
#: inc/wpkites/customizer/team-section.php:81
|
1140 |
#: inc/wpkites/customizer/testimonial-section.php:78
|
1148 |
#: inc/spice-software/customizer/testimonial-section.php:121
|
1149 |
#: inc/spiko/customizer/team-section.php:105
|
1150 |
#: inc/spiko/customizer/testimonial-section.php:103
|
1151 |
+
#: inc/wpblack/customizer/news-section.php:91
|
1152 |
+
#: inc/wpblack/customizer/team-section.php:83
|
1153 |
+
#: inc/wpblack/customizer/testimonial-section.php:117
|
1154 |
+
#: inc/wphester/customizer/news-section.php:91
|
1155 |
+
#: inc/wphester/customizer/team-section.php:82
|
1156 |
+
#: inc/wphester/customizer/testimonial-section.php:79
|
1157 |
#: inc/wpkites/customizer/news-section.php:91
|
1158 |
#: inc/wpkites/customizer/team-section.php:82
|
1159 |
#: inc/wpkites/customizer/testimonial-section.php:79
|
1163 |
#: inc/busicare/customizer/testimonial-section.php:4
|
1164 |
#: inc/spice-software/customizer/testimonial-section.php:5
|
1165 |
#: inc/spiko/customizer/testimonial-section.php:4
|
1166 |
+
#: inc/wpblack/customizer/testimonial-section.php:4
|
1167 |
+
#: inc/wphester/customizer/testimonial-section.php:4
|
1168 |
#: inc/wpkites/customizer/testimonial-section.php:4
|
1169 |
msgid ""
|
1170 |
"Testimonials Settings"
|
1173 |
#: inc/busicare/customizer/testimonial-section.php:17
|
1174 |
#: inc/spice-software/customizer/testimonial-section.php:18
|
1175 |
#: inc/spiko/customizer/testimonial-section.php:17
|
1176 |
+
#: inc/wpblack/customizer/testimonial-section.php:17
|
1177 |
+
#: inc/wphester/customizer/testimonial-section.php:17
|
1178 |
#: inc/wpkites/customizer/testimonial-section.php:17
|
1179 |
msgid ""
|
1180 |
"Enable/Disable "
|
1190 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:20
|
1191 |
#: inc/spiko/customizer/testimonial-section.php:38
|
1192 |
#: inc/spiko/sections/spiko-testimonial-section.php:23
|
1193 |
+
#: inc/wpblack/customizer/testimonial-section.php:39
|
1194 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:19
|
1195 |
+
#: inc/wphester/customizer/testimonial-section.php:27
|
1196 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:19
|
1197 |
#: inc/wpkites/customizer/testimonial-section.php:27
|
1198 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:19
|
1199 |
msgid "Proin Egestas"
|
1204 |
#: inc/spice-software/customizer/testimonial-section.php:54
|
1205 |
#: inc/spiko/customizer/testimonial-section.php:57
|
1206 |
#: inc/spiko/customizer/testimonial-section.php:77
|
1207 |
+
#: inc/wpblack/customizer/testimonial-section.php:54
|
1208 |
#: inc/wpkites/customizer/testimonial-section.php:55
|
1209 |
msgid "Testimonial content"
|
1210 |
msgstr ""
|
1218 |
#: inc/spice-software/customizer/testimonial-section.php:57
|
1219 |
#: inc/spiko/customizer/testimonial-section.php:60
|
1220 |
#: inc/spiko/customizer/testimonial-section.php:80
|
1221 |
+
#: inc/wpblack/customizer/testimonial-section.php:57
|
1222 |
+
#: inc/wphester/customizer/testimonial-section.php:58
|
1223 |
#: inc/wpkites/customizer/testimonial-section.php:58
|
1224 |
msgid "Testimonial"
|
1225 |
msgstr ""
|
1233 |
#: inc/spice-software/customizer/testimonial-section.php:76
|
1234 |
#: inc/spicepress/features/feature-testimonial-section.php:31
|
1235 |
#: inc/spiko/customizer/testimonial-section.php:123
|
1236 |
+
#: inc/wpblack/customizer/testimonial-section.php:75
|
1237 |
msgid "Background Image"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
#: inc/busicare/customizer/testimonial-section.php:90
|
1241 |
+
#: inc/wpblack/customizer/testimonial-section.php:88
|
1242 |
msgid ""
|
1243 |
"Enable/Disable "
|
1244 |
"testimonial image overlay"
|
1249 |
#: inc/spice-software/customizer/testimonial-section.php:104
|
1250 |
#: inc/spicepress/features/feature-testimonial-section.php:56
|
1251 |
#: inc/spiko/customizer/testimonial-section.php:156
|
1252 |
+
#: inc/wpblack/customizer/testimonial-section.php:101
|
1253 |
msgid ""
|
1254 |
"Testimonial image "
|
1255 |
"overlay color"
|
1290 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:21
|
1291 |
#: inc/spiko/customizer/testimonial-section.php:25
|
1292 |
#: inc/spiko/sections/spiko-testimonial-section.php:24
|
1293 |
+
#: inc/wpblack/customizer/testimonial-section.php:26
|
1294 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:20
|
1295 |
+
#: inc/wphester/customizer/testimonial-section.php:40
|
1296 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:20
|
1297 |
#: inc/wpkites/customizer/testimonial-section.php:40
|
1298 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:20
|
1299 |
msgid ""
|
1457 |
#: inc/spice-software/customizer/services-section.php:62
|
1458 |
#: inc/spicepress/features/feature-service-section.php:66
|
1459 |
#: inc/spiko/customizer/services-section.php:60
|
1460 |
+
#: inc/wpblack/customizer/services-section.php:61
|
1461 |
+
#: inc/wphester/customizer/services-section.php:61
|
1462 |
#: inc/wpkites/customizer/services-section.php:61
|
1463 |
msgid "Add new Service"
|
1464 |
msgstr ""
|
1508 |
#: inc/spice-software/customizer/team-section.php:60
|
1509 |
#: inc/spice-software/customizer/team-section.php:79
|
1510 |
#: inc/spiko/customizer/team-section.php:62
|
1511 |
+
#: inc/wpblack/customizer/team-section.php:61
|
1512 |
+
#: inc/wphester/customizer/team-section.php:60
|
1513 |
#: inc/wpkites/customizer/team-section.php:60
|
1514 |
msgid "Add new Team Member"
|
1515 |
msgstr ""
|
1519 |
#: inc/spice-software/customizer/testimonial-section.php:130
|
1520 |
#: inc/spiko/customizer/team-section.php:81
|
1521 |
#: inc/spiko/customizer/testimonial-section.php:166
|
1522 |
+
#: inc/wpblack/customizer/news-section.php:100
|
1523 |
+
#: inc/wpblack/customizer/team-section.php:92
|
1524 |
+
#: inc/wpblack/customizer/testimonial-section.php:126
|
1525 |
#: inc/wpkites/customizer/news-section.php:100
|
1526 |
#: inc/wpkites/customizer/team-section.php:91
|
1527 |
#: inc/wpkites/customizer/testimonial-section.php:88
|
1533 |
#: inc/spice-software/customizer/testimonial-section.php:147
|
1534 |
#: inc/spiko/customizer/team-section.php:114
|
1535 |
#: inc/spiko/customizer/testimonial-section.php:183
|
1536 |
+
#: inc/wpblack/customizer/news-section.php:117
|
1537 |
+
#: inc/wpblack/customizer/team-section.php:110
|
1538 |
+
#: inc/wpblack/customizer/testimonial-section.php:143
|
1539 |
#: inc/wpkites/customizer/news-section.php:117
|
1540 |
#: inc/wpkites/customizer/team-section.php:109
|
1541 |
#: inc/wpkites/customizer/testimonial-section.php:105
|
1747 |
#: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:544
|
1748 |
#: inc/controls/customizer-repeater/class/customizer-repeater-control.php:592
|
1749 |
msgid ""
|
1750 |
+
"Open link in a new tab:"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
#: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:555
|
1988 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:31
|
1989 |
#: inc/spiko/customizer.php:57
|
1990 |
#: inc/spiko/sections/spiko-testimonial-section.php:38
|
1991 |
+
#: inc/wpblack/customizer.php:60
|
1992 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:29
|
1993 |
+
#: inc/wphester/customizer.php:57
|
1994 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:29
|
1995 |
#: inc/wpkites/customizer.php:57
|
1996 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:29
|
1997 |
msgid "Developer"
|
2003 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:43
|
2004 |
#: inc/spiko/customizer.php:69
|
2005 |
#: inc/spiko/sections/spiko-testimonial-section.php:50
|
2006 |
+
#: inc/wpblack/customizer.php:70
|
2007 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:41
|
2008 |
+
#: inc/wphester/customizer.php:67
|
2009 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:41
|
2010 |
#: inc/wpkites/customizer.php:67
|
2011 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:41
|
2012 |
msgid "Team Leader"
|
2018 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:55
|
2019 |
#: inc/spiko/customizer.php:81
|
2020 |
#: inc/spiko/sections/spiko-testimonial-section.php:62
|
2021 |
+
#: inc/wpblack/customizer.php:80
|
2022 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:53
|
2023 |
+
#: inc/wphester/customizer.php:77
|
2024 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:53
|
2025 |
#: inc/wpkites/customizer.php:77
|
2026 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:53
|
2027 |
msgid "Volunteer"
|
2361 |
#: inc/spice-software/customizer/testimonial-section.php:90
|
2362 |
#: inc/spicepress/features/feature-testimonial-section.php:43
|
2363 |
#: inc/spiko/customizer/testimonial-section.php:136
|
2364 |
+
#: inc/wphester/customizer/testimonial-section.php:91
|
2365 |
msgid ""
|
2366 |
"Enable testimonial image "
|
2367 |
"overlay"
|
2385 |
#: inc/spice-software/customizer/testimonial-section.php:56
|
2386 |
#: inc/spiko/customizer/testimonial-section.php:59
|
2387 |
#: inc/spiko/customizer/testimonial-section.php:79
|
2388 |
+
#: inc/wpblack/customizer/testimonial-section.php:56
|
2389 |
+
#: inc/wphester/customizer/testimonial-section.php:57
|
2390 |
#: inc/wpkites/customizer/testimonial-section.php:57
|
2391 |
msgid "Add new Testimonial"
|
2392 |
msgstr ""
|
2461 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:30
|
2462 |
#: inc/spiko/customizer.php:56
|
2463 |
#: inc/spiko/sections/spiko-testimonial-section.php:37
|
2464 |
+
#: inc/wpblack/customizer.php:59
|
2465 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:28
|
2466 |
+
#: inc/wphester/customizer.php:56
|
2467 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:28
|
2468 |
#: inc/wpkites/customizer.php:56
|
2469 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:28
|
2470 |
msgid "Amanda Smith"
|
2474 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:42
|
2475 |
#: inc/spiko/customizer.php:68
|
2476 |
#: inc/spiko/sections/spiko-testimonial-section.php:49
|
2477 |
+
#: inc/wpblack/customizer.php:69
|
2478 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:40
|
2479 |
+
#: inc/wphester/customizer.php:66
|
2480 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:40
|
2481 |
#: inc/wpkites/customizer.php:66
|
2482 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:40
|
2483 |
msgid "Travis Cullan"
|
2487 |
#: inc/spice-software/sections/spice-software-testimonial-section.php:54
|
2488 |
#: inc/spiko/customizer.php:80
|
2489 |
#: inc/spiko/sections/spiko-testimonial-section.php:61
|
2490 |
+
#: inc/wpblack/customizer.php:79
|
2491 |
+
#: inc/wpblack/sections/wpblack-testimonial-section.php:52
|
2492 |
+
#: inc/wphester/customizer.php:76
|
2493 |
+
#: inc/wphester/sections/wphester-testimonial-section.php:52
|
2494 |
#: inc/wpkites/customizer.php:76
|
2495 |
#: inc/wpkites/sections/wpkites-testimonial-section.php:52
|
2496 |
msgid "Victoria Wills"
|
2500 |
#: inc/spice-software/sections/spice-software-services-section.php:38
|
2501 |
#: inc/spiko/customizer/services-section.php:40
|
2502 |
#: inc/spiko/sections/spiko-services-section.php:38
|
2503 |
+
#: inc/wpblack/customizer/services-section.php:40
|
2504 |
+
#: inc/wpblack/sections/wpblack-services-section.php:41
|
2505 |
+
#: inc/wphester/customizer/services-section.php:25
|
2506 |
+
#: inc/wphester/sections/wphester-services-section.php:38
|
2507 |
#: inc/wpkites/customizer/services-section.php:25
|
2508 |
#: inc/wpkites/sections/wpkites-services-section.php:38
|
2509 |
msgid "Quisque Blandit"
|
2513 |
#: inc/spice-software/sections/spice-software-team-section.php:158
|
2514 |
#: inc/spiko/customizer/team-section.php:38
|
2515 |
#: inc/spiko/sections/spiko-team-section.php:161
|
2516 |
+
#: inc/wpblack/customizer/team-section.php:38
|
2517 |
+
#: inc/wpblack/sections/wpblack-team-section.php:155
|
2518 |
+
#: inc/wphester/customizer/team-section.php:25
|
2519 |
+
#: inc/wphester/sections/wphester-team-section.php:155
|
2520 |
#: inc/wpkites/customizer/team-section.php:25
|
2521 |
#: inc/wpkites/sections/wpkites-team-section.php:155
|
2522 |
msgid "Magna Aliqua"
|
2526 |
#: inc/spice-software/sections/spice-software-team-section.php:159
|
2527 |
#: inc/spiko/customizer/team-section.php:25
|
2528 |
#: inc/spiko/sections/spiko-team-section.php:162
|
2529 |
+
#: inc/wpblack/customizer/team-section.php:25
|
2530 |
+
#: inc/wpblack/sections/wpblack-team-section.php:156
|
2531 |
+
#: inc/wphester/customizer/team-section.php:37
|
2532 |
+
#: inc/wphester/sections/wphester-team-section.php:156
|
2533 |
#: inc/wpkites/customizer/team-section.php:37
|
2534 |
#: inc/wpkites/sections/wpkites-team-section.php:156
|
2535 |
msgid ""
|
2684 |
msgid "Lorem Ipsum"
|
2685 |
msgstr ""
|
2686 |
|
2687 |
+
#: inc/wpblack/customizer.php:15
|
2688 |
+
#: inc/wpblack/customizer.php:25
|
2689 |
+
#: inc/wpblack/customizer.php:35
|
2690 |
+
#: inc/wpblack/sections/wpblack-services-section.php:14
|
2691 |
+
#: inc/wpblack/sections/wpblack-services-section.php:24
|
2692 |
+
#: inc/wpblack/sections/wpblack-services-section.php:34
|
2693 |
+
msgid "Learn More"
|
2694 |
+
msgstr ""
|
2695 |
+
|
2696 |
+
#: inc/wpblack/customizer/services-section.php:100
|
2697 |
+
#: inc/wpblack/sections/wpblack-services-section.php:46
|
2698 |
+
msgid "Duis Aute"
|
2699 |
+
msgstr ""
|
2700 |
+
|
2701 |
+
#: inc/wpblack/customizer/slider-section.php:168
|
2702 |
+
#: inc/wpblack/sections/wpblack-slider-section.php:11
|
2703 |
#: inc/wpkites/customizer/slider-section.php:155
|
2704 |
#: inc/wpkites/sections/wpkites-slider-section.php:10
|
2705 |
msgid ""
|
2707 |
"amet<br> lacus molestie"
|
2708 |
msgstr ""
|
2709 |
|
2710 |
+
#: inc/wpblack/customizer/slider-section.php:181
|
2711 |
+
#: inc/wpblack/sections/wpblack-slider-section.php:12
|
2712 |
#: inc/wpkites/customizer/slider-section.php:168
|
2713 |
#: inc/wpkites/sections/wpkites-slider-section.php:11
|
2714 |
msgid ""
|
2719 |
"mei ludus efficiendi ei "
|
2720 |
"sea summo mazim ex."
|
2721 |
msgstr ""
|
2722 |
+
|
2723 |
+
#: inc/wphester/customizer/news-section.php:100
|
2724 |
+
#: inc/wphester/customizer/team-section.php:91
|
2725 |
+
#: inc/wphester/customizer/testimonial-section.php:113
|
2726 |
+
msgid "Animation Speed"
|
2727 |
+
msgstr ""
|
2728 |
+
|
2729 |
+
#: inc/wphester/customizer/news-section.php:117
|
2730 |
+
#: inc/wphester/customizer/team-section.php:109
|
2731 |
+
#: inc/wphester/customizer/testimonial-section.php:130
|
2732 |
+
msgid "Smooth Speed"
|
2733 |
+
msgstr ""
|
2734 |
+
|
2735 |
+
#: inc/wphester/customizer/services-section.php:58
|
2736 |
+
msgid "Service Content"
|
2737 |
+
msgstr ""
|
2738 |
+
|
2739 |
+
#: inc/wphester/customizer/slider-section.php:126
|
2740 |
+
msgid ""
|
2741 |
+
"Slider Image Overlay "
|
2742 |
+
"Color"
|
2743 |
+
msgstr ""
|
2744 |
+
|
2745 |
+
#: inc/wphester/customizer/slider-section.php:155
|
2746 |
+
#: inc/wphester/sections/wphester-slider-section.php:9
|
2747 |
+
msgid ""
|
2748 |
+
"Amet to lacus molestie"
|
2749 |
+
msgstr ""
|
2750 |
+
|
2751 |
+
#: inc/wphester/customizer/slider-section.php:168
|
2752 |
+
#: inc/wphester/sections/wphester-slider-section.php:11
|
2753 |
+
msgid ""
|
2754 |
+
"Nulla dolor <br> amet "
|
2755 |
+
"lacus molestie"
|
2756 |
+
msgstr ""
|
2757 |
+
|
2758 |
+
#: inc/wphester/customizer/slider-section.php:181
|
2759 |
+
#: inc/wphester/sections/wphester-slider-section.php:12
|
2760 |
+
msgid ""
|
2761 |
+
"Nemo enim ipsam "
|
2762 |
+
"voluptatem quia voluptas "
|
2763 |
+
"sit aspernatur aut odit "
|
2764 |
+
"aut fugit,<br> sed quia "
|
2765 |
+
"consequuntur magni "
|
2766 |
+
"dolores eos qui ratione "
|
2767 |
+
"voluptatem sequi "
|
2768 |
+
"nesciunt.<br> Neque "
|
2769 |
+
"porro quisquam est, qui "
|
2770 |
+
"dolorem ipsum quia dolor "
|
2771 |
+
"sit amet."
|
2772 |
+
msgstr ""
|
2773 |
+
|
2774 |
+
#: inc/wphester/customizer/slider-section.php:224
|
2775 |
+
#: inc/wphester/customizer/slider-section.php:262
|
2776 |
+
msgid ""
|
2777 |
+
"Open link in a new tab"
|
2778 |
+
msgstr ""
|
2779 |
+
|
2780 |
+
#: inc/wphester/customizer/team-section.php:57
|
2781 |
+
msgid "Team Content"
|
2782 |
+
msgstr ""
|
2783 |
+
|
2784 |
+
#: inc/wphester/customizer/testimonial-section.php:55
|
2785 |
+
msgid "Testimonial Content"
|
2786 |
+
msgstr ""
|
2787 |
+
|
2788 |
+
#: inc/wphester/customizer/testimonial-section.php:103
|
2789 |
+
msgid ""
|
2790 |
+
"Testimonial Image "
|
2791 |
+
"Overlay Color"
|
2792 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: spicethemes
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -254,6 +254,10 @@ Fixed minor issues of HoneyPress child themes.
|
|
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:
|
2 |
Contributors: spicethemes
|
3 |
Tags: widget, admin, widgets
|
4 |
Requires at least: 3.3+
|
5 |
+
Tested up to: 5.9
|
6 |
+
Stable tag: 2.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
254 |
1. Added homepage sections for WPKites theme.
|
255 |
2. Fixed the issues with PHP 8.
|
256 |
|
257 |
+
= 2.1 =
|
258 |
+
1. Added homepage sections for WPHester theme.
|
259 |
+
2. Added homepage sections for WPBlack theme.
|
260 |
+
|
261 |
=======External resources=======
|
262 |
|
263 |
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: 2.
|
6 |
Author: Spicethemes
|
7 |
Author URI: https://spicethemes.com
|
8 |
Text Domain: spicebox
|
@@ -336,6 +336,98 @@ function spiceb_activate() {
|
|
336 |
|
337 |
endif;
|
338 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
}
|
340 |
add_action( 'init', 'spiceb_activate' );
|
341 |
|
@@ -477,6 +569,33 @@ if ( 'WPKites' == $theme->name || 'WPKites Child' == $theme->name || 'WPKites
|
|
477 |
}
|
478 |
}
|
479 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
|
481 |
//Sanatize text
|
482 |
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
@@ -539,6 +658,26 @@ function spiceb_wpkites_sanitize_checkbox($checked) {
|
|
539 |
return ( ( isset($checked) && true == $checked ) ? true : false );
|
540 |
}
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
543 |
|
544 |
|
2 |
/*
|
3 |
Plugin Name: SpiceBox
|
4 |
Description: Enhances SpiceThemes with extra functionality.
|
5 |
+
Version: 2.1
|
6 |
Author: Spicethemes
|
7 |
Author URI: https://spicethemes.com
|
8 |
Text Domain: spicebox
|
336 |
|
337 |
endif;
|
338 |
}
|
339 |
+
|
340 |
+
//WPHester
|
341 |
+
if ( 'WPHester' == $theme->name || 'WPHester Child' == $theme->name || 'WPHester Dark' == $theme->name){
|
342 |
+
|
343 |
+
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
344 |
+
|
345 |
+
if ( ! is_plugin_active( 'wphester-plus/wphester-plus.php' ) ):
|
346 |
+
|
347 |
+
require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
|
348 |
+
require_once('inc/controls/customizer-repeater/functions.php');
|
349 |
+
require ('inc/controls/customizer-text-radio/customizer-text-radio.php');
|
350 |
+
|
351 |
+
if ( ! function_exists( 'spiceb_wphester_customize_register' ) ) :
|
352 |
+
function spiceb_wphester_customize_register($wp_customize){
|
353 |
+
|
354 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
355 |
+
$sections_customizer_data = array('slider','services','testimonial','team','news');
|
356 |
+
|
357 |
+
|
358 |
+
|
359 |
+
if (!empty($sections_customizer_data))
|
360 |
+
{
|
361 |
+
foreach($sections_customizer_data as $section_customizer_data)
|
362 |
+
{
|
363 |
+
require_once('inc/wphester/customizer/'.$section_customizer_data.'-section.php');
|
364 |
+
}
|
365 |
+
}
|
366 |
+
$wp_customize->remove_control('header_textcolor');
|
367 |
+
|
368 |
+
}
|
369 |
+
add_action( 'customize_register', 'spiceb_wphester_customize_register' );
|
370 |
+
endif;
|
371 |
+
|
372 |
+
$sections_data = array('slider','services','testimonial','team','news');
|
373 |
+
|
374 |
+
if (!empty($sections_data)){
|
375 |
+
|
376 |
+
foreach($sections_data as $section_data){
|
377 |
+
require_once('inc/wphester/sections/wphester-'.$section_data.'-section.php');
|
378 |
+
}
|
379 |
+
}
|
380 |
+
|
381 |
+
require_once('inc/wphester/customizer.php');
|
382 |
+
|
383 |
+
endif;
|
384 |
+
}
|
385 |
+
|
386 |
+
//WPBlack
|
387 |
+
if ( 'WPBlack' == $theme->name || 'WPBlack Child' == $theme->name || 'WPBlack Dark' == $theme->name){
|
388 |
+
|
389 |
+
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
390 |
+
|
391 |
+
if ( ! is_plugin_active( 'wpblack-plus/wpblack-plus.php' ) ):
|
392 |
+
|
393 |
+
require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
|
394 |
+
require_once('inc/controls/customizer-repeater/functions.php');
|
395 |
+
require ('inc/controls/customizer-text-radio/customizer-text-radio.php');
|
396 |
+
|
397 |
+
if ( ! function_exists( 'spiceb_wpblack_customize_register' ) ) :
|
398 |
+
function spiceb_wpblack_customize_register($wp_customize){
|
399 |
+
|
400 |
+
$selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
|
401 |
+
$sections_customizer_data = array('slider','services','team','news','testimonial');
|
402 |
+
|
403 |
+
|
404 |
+
|
405 |
+
if (!empty($sections_customizer_data))
|
406 |
+
{
|
407 |
+
foreach($sections_customizer_data as $section_customizer_data)
|
408 |
+
{
|
409 |
+
require_once('inc/wpblack/customizer/'.$section_customizer_data.'-section.php');
|
410 |
+
}
|
411 |
+
}
|
412 |
+
$wp_customize->remove_control('header_textcolor');
|
413 |
+
|
414 |
+
}
|
415 |
+
add_action( 'customize_register', 'spiceb_wpblack_customize_register' );
|
416 |
+
endif;
|
417 |
+
|
418 |
+
$sections_data = array('slider','services','team','news','testimonial');
|
419 |
+
|
420 |
+
if (!empty($sections_data)){
|
421 |
+
|
422 |
+
foreach($sections_data as $section_data){
|
423 |
+
require_once('inc/wpblack/sections/wpblack-'.$section_data.'-section.php');
|
424 |
+
}
|
425 |
+
}
|
426 |
+
|
427 |
+
require_once('inc/wpblack/customizer.php');
|
428 |
+
|
429 |
+
endif;
|
430 |
+
}
|
431 |
}
|
432 |
add_action( 'init', 'spiceb_activate' );
|
433 |
|
569 |
}
|
570 |
}
|
571 |
|
572 |
+
// WPHester
|
573 |
+
if ( 'WPHester' == $theme->name || 'WPHester Child' == $theme->name || 'WPHester Dark' == $theme->name){
|
574 |
+
register_activation_hook( __FILE__, 'spiceb_kites_install_function');
|
575 |
+
function spiceb_kites_install_function(){
|
576 |
+
$item_details_page = get_option('item_details_page');
|
577 |
+
if(!$item_details_page){
|
578 |
+
require_once('inc/wphester/default-pages/upload-media.php');
|
579 |
+
require_once('inc/wphester/default-pages/home-page.php');
|
580 |
+
require_once('inc/wphester/default-pages/blog-page.php');
|
581 |
+
update_option( 'item_details_page', 'Done' );
|
582 |
+
}
|
583 |
+
}
|
584 |
+
}
|
585 |
+
|
586 |
+
// WPBlack
|
587 |
+
if ( 'WPBlack' == $theme->name || 'WPBlack Child' == $theme->name || 'WPBlack Dark' == $theme->name){
|
588 |
+
register_activation_hook( __FILE__, 'spiceb_wpblack_install_function');
|
589 |
+
function spiceb_wpblack_install_function(){
|
590 |
+
$item_details_page = get_option('item_details_page');
|
591 |
+
if(!$item_details_page){
|
592 |
+
require_once('inc/wpblack/default-pages/upload-media.php');
|
593 |
+
require_once('inc/wpblack/default-pages/home-page.php');
|
594 |
+
require_once('inc/wpblack/default-pages/blog-page.php');
|
595 |
+
update_option( 'item_details_page', 'Done' );
|
596 |
+
}
|
597 |
+
}
|
598 |
+
}
|
599 |
|
600 |
//Sanatize text
|
601 |
function spiceb_spicepress_home_page_sanitize_text( $input ) {
|
658 |
return ( ( isset($checked) && true == $checked ) ? true : false );
|
659 |
}
|
660 |
|
661 |
+
//Sanatize for hester theme
|
662 |
+
function spiceb_wphester_home_page_sanitize_text($input){
|
663 |
+
return wp_kses_post( force_balance_tags( $input ) );
|
664 |
+
}
|
665 |
+
|
666 |
+
function spiceb_wphester_sanitize_checkbox($checked) {
|
667 |
+
// Boolean check.
|
668 |
+
return ( ( isset($checked) && true == $checked ) ? true : false );
|
669 |
+
}
|
670 |
+
|
671 |
+
//Sanatize for wpblack theme
|
672 |
+
function spiceb_wpblack_home_page_sanitize_text($input){
|
673 |
+
return wp_kses_post( force_balance_tags( $input ) );
|
674 |
+
}
|
675 |
+
|
676 |
+
function spiceb_wpblack_sanitize_checkbox($checked) {
|
677 |
+
// Boolean check.
|
678 |
+
return ( ( isset($checked) && true == $checked ) ? true : false );
|
679 |
+
}
|
680 |
+
|
681 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
682 |
|
683 |
|