Spice Box - Version 1.5

Version Description

  1. Added homepage sections for BusiCare 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 Icon wp plugin Spice Box
Version 1.5
Comparing to
See all releases

Code changes from version 1.4.3 to 1.5

Files changed (40) hide show
  1. inc/busicare/customizer.php +302 -0
  2. inc/busicare/customizer/news-section.php +178 -0
  3. inc/busicare/customizer/services-section.php +126 -0
  4. inc/busicare/customizer/slider-section.php +292 -0
  5. inc/busicare/customizer/team-section.php +114 -0
  6. inc/busicare/customizer/testimonial-section.php +141 -0
  7. inc/busicare/default-pages/blog-page.php +22 -0
  8. inc/busicare/default-pages/home-page.php +24 -0
  9. inc/busicare/default-pages/upload-media.php +31 -0
  10. inc/busicare/default-widgets/default-widget.php +57 -0
  11. inc/busicare/images/logo-footer.png +0 -0
  12. inc/busicare/images/logo.png +0 -0
  13. inc/busicare/images/slider/slider.jpg +0 -0
  14. inc/busicare/images/team/team1.jpg +0 -0
  15. inc/busicare/images/team/team2.jpg +0 -0
  16. inc/busicare/images/team/team3.jpg +0 -0
  17. inc/busicare/images/team/team4.jpg +0 -0
  18. inc/busicare/images/testimonial/testimonial-bg.jpg +0 -0
  19. inc/busicare/images/testimonial/user-5.jpg +0 -0
  20. inc/busicare/images/testimonial/user1.jpg +0 -0
  21. inc/busicare/images/testimonial/user2.jpg +0 -0
  22. inc/busicare/images/testimonial/user3.jpg +0 -0
  23. inc/busicare/js/front-page/team.js +95 -0
  24. inc/busicare/js/front-page/testi.js +82 -0
  25. inc/busicare/sections/busicare-news-section.php +120 -0
  26. inc/busicare/sections/busicare-services-section.php +141 -0
  27. inc/busicare/sections/busicare-slider-section.php +106 -0
  28. inc/busicare/sections/busicare-team-section.php +262 -0
  29. inc/busicare/sections/busicare-testimonial-section.php +127 -0
  30. inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php +669 -0
  31. inc/controls/customizer-repeater/class/customizer-repeater-control.php +61 -12
  32. inc/controls/customizer-repeater/inc/customizer.php +4 -0
  33. inc/controls/customizer-repeater/js/customizer_limit_repeater.js +585 -0
  34. inc/controls/customizer-repeater/js/customizer_repeater.js +11 -3
  35. inc/controls/customizer-text-radio/css/customizer.css +46 -0
  36. inc/controls/customizer-text-radio/custom-controls.php +51 -0
  37. inc/controls/customizer-text-radio/customizer-text-radio.php +5 -0
  38. languages/spicebox.pot +791 -513
  39. readme.txt +28 -1
  40. spicebox.php +70 -2
inc/busicare/customizer.php ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // busicare default service data
3
+ if (!function_exists('spiceb_busicare_service_default_customize_register')) :
4
+
5
+ function spiceb_busicare_service_default_customize_register($wp_customize) {
6
+
7
+ $busicare_service_content_control = $wp_customize->get_setting('busicare_service_content');
8
+ if (!empty($busicare_service_content_control)) {
9
+ $busicare_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' => 'yes',
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' => 'yes',
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' => 'yes',
35
+ 'id' => 'customizer_repeater_56d7ea7f40b86',
36
+ ),
37
+ ));
38
+ }
39
+ }
40
+
41
+ add_action('customize_register', 'spiceb_busicare_service_default_customize_register');
42
+
43
+ endif;
44
+
45
+ // busicare default Testimonial data
46
+ if (!function_exists('spiceb_busicare_testimonial_default_customize_register')) :
47
+
48
+ function spiceb_busicare_testimonial_default_customize_register($wp_customize) {
49
+
50
+ $busicare_service_content_control = $wp_customize->get_setting('busicare_testimonial_content');
51
+ if (!empty($busicare_service_content_control)) {
52
+ $busicare_service_content_control->default = json_encode(array(
53
+ array(
54
+ 'title' => 'Nam Viverra Iaculis Finibus',
55
+ 'text' => 'Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.',
56
+ 'clientname' => esc_html__('Cras Vitae', 'busicare-plus'),
57
+ 'designation' => esc_html__('Eu Suscipit', 'busicare-plus'),
58
+ 'link' => '#',
59
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/user1.jpg',
60
+ 'open_new_tab' => 'no',
61
+ 'id' => 'customizer_repeater_56d7ea7f40b96',
62
+ ),
63
+ array(
64
+ 'title' => 'Nam Viverra Iaculis Finibus',
65
+ 'text' => 'Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.',
66
+ 'clientname' => esc_html__('Cras Vitae', 'busicare-plus'),
67
+ 'designation' => esc_html__('Eu Suscipit', 'busicare-plus'),
68
+ 'link' => '#',
69
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/user2.jpg',
70
+ 'open_new_tab' => 'no',
71
+ 'id' => 'customizer_repeater_56d7ea7f40b97',
72
+ ),
73
+ array(
74
+ 'title' => 'Nam Viverra Iaculis Finibus',
75
+ 'text' => 'Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.',
76
+ 'clientname' => esc_html__('Cras Vitae', 'busicare-plus'),
77
+ 'designation' => esc_html__('Eu Suscipit', 'busicare-plus'),
78
+ 'link' => '#',
79
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/user3.jpg',
80
+ 'id' => 'customizer_repeater_56d7ea7f40b98',
81
+ 'open_new_tab' => 'no',
82
+ ),
83
+ ));
84
+ }
85
+ }
86
+
87
+ add_action('customize_register', 'spiceb_busicare_testimonial_default_customize_register');
88
+
89
+ endif;
90
+
91
+ // busicare default Team data
92
+ if (!function_exists('spiceb_busicare_team_default_customize_register')) :
93
+
94
+ function spiceb_busicare_team_default_customize_register($wp_customize) {
95
+
96
+ $busicare_team_content_control = $wp_customize->get_setting('busicare_team_content');
97
+ if (!empty($busicare_team_content_control)) {
98
+ $busicare_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', 'busicare-plus'),
103
+ 'open_new_tab' => 'no',
104
+ 'id' => 'customizer_repeater_56d7ea7f40c56',
105
+ 'social_repeater' => json_encode(
106
+ array(
107
+ array(
108
+ 'id' => 'customizer-repeater-social-repeater-57fb908674e06',
109
+ 'link' => 'facebook.com',
110
+ 'icon' => 'fa-facebook',
111
+ ),
112
+ array(
113
+ 'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
114
+ 'link' => 'twitter.com',
115
+ 'icon' => 'fa-twitter',
116
+ ),
117
+ array(
118
+ 'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
119
+ 'link' => 'linkedin.com',
120
+ 'icon' => 'fa-linkedin',
121
+ ),
122
+ array(
123
+ 'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
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', 'busicare-plus'),
134
+ 'open_new_tab' => 'no',
135
+ 'id' => 'customizer_repeater_56d7ea7f40c66',
136
+ 'social_repeater' => json_encode(
137
+ array(
138
+ array(
139
+ 'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
140
+ 'link' => 'facebook.com',
141
+ 'icon' => 'fa-facebook',
142
+ ),
143
+ array(
144
+ 'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
145
+ 'link' => 'twitter.com',
146
+ 'icon' => 'fa-twitter',
147
+ ),
148
+ array(
149
+ 'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
150
+ 'link' => 'linkedin.com',
151
+ 'icon' => 'fa-linkedin',
152
+ ),
153
+ array(
154
+ 'id' => 'customizer-repeater-social-repeater-57fb916ddffc784',
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', 'busicare-plus'),
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', 'busicare-plus'),
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_busicare_team_default_customize_register');
228
+
229
+ endif;
230
+
231
+ function spiceb_busicare_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', 'busicare'),
239
+ ));
240
+ }
241
+
242
+ add_action('customize_register', 'spiceb_busicare_sections_settings');
243
+
244
+ /* * *********************** Slider Callback function ******************************** */
245
+
246
+ function spiceb_busicare_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_busicare_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_busicare_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_busicare_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_busicare_team_callback($control) {
287
+ if (true == $control->manager->get_setting('team_section_enable')->value()) {
288
+ return true;
289
+ } else {
290
+ return false;
291
+ }
292
+ }
293
+
294
+ add_action('wp_head','spicebox_busicare_sections_script');
295
+ function spicebox_busicare_sections_script(){?>
296
+ <script type="text/javascript">
297
+
298
+
299
+
300
+ </script>
301
+ <?php
302
+ }
inc/busicare/customizer/news-section.php ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ //Latest News Section
3
+ $wp_customize->add_section('busicare_latest_news_section', array(
4
+ 'title' => esc_html__('Latest News settings', 'spicebox'),
5
+ 'panel' => 'section_settings',
6
+ 'priority' => 3,
7
+ ));
8
+
9
+
10
+ // Enable news section
11
+ $wp_customize->add_setting('latest_news_section_enable', array(
12
+ 'default' => true,
13
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox'
14
+ ));
15
+
16
+ $wp_customize->add_control(new BusiCare_Toggle_Control($wp_customize, 'latest_news_section_enable',
17
+ array(
18
+ 'label' => esc_html__('Enable / Disable Home News section', 'spicebox'),
19
+ 'type' => 'toggle',
20
+ 'section' => 'busicare_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_busicare_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' => 'busicare_latest_news_section',
35
+ 'type' => 'text',
36
+ 'active_callback' => 'spiceb_busicare_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_busicare_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' => 'busicare_latest_news_section',
48
+ 'type' => 'text',
49
+ 'active_callback' => 'spiceb_busicare_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_busicare_home_page_sanitize_text',
57
+ 'transport' => $selective_refresh,
58
+ ));
59
+ $wp_customize->add_control('home_news_button_title', array(
60
+ 'label' => esc_html__('Read More Text', 'spicebox'),
61
+ 'section' => 'busicare_latest_news_section',
62
+ 'type' => 'text',
63
+ 'active_callback' => 'spiceb_busicare_news_callback'
64
+ ));
65
+
66
+ // enable / disable meta section
67
+ $wp_customize->add_setting('home_meta_section_settings',
68
+ array('capability' => 'edit_theme_options',
69
+ 'default' => true,
70
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox',
71
+
72
+ ));
73
+ $wp_customize->add_control(
74
+ 'home_meta_section_settings',
75
+ array(
76
+ 'type' => 'checkbox',
77
+ 'label' => esc_html__('Enable / Disable post meta in blog section', 'spicebox'),
78
+ 'section' => 'busicare_latest_news_section',
79
+ 'active_callback' => 'spiceb_busicare_news_callback'
80
+ )
81
+ );
82
+
83
+ //Button Text
84
+ $wp_customize->add_setting(
85
+ 'home_blog_more_btn',
86
+ array(
87
+ 'default' => esc_html__('View More', 'spicebox'),
88
+ 'capability' => 'edit_theme_options',
89
+ 'sanitize_callback' => 'sanitize_text_field',
90
+ 'transport' => $selective_refresh,
91
+ )
92
+ );
93
+ $wp_customize->add_control(
94
+ 'home_blog_more_btn',
95
+ array(
96
+ 'label' => esc_html__('View More Button Text', 'spicebox'),
97
+ 'section' => 'busicare_latest_news_section',
98
+ 'type' => 'text',
99
+ 'active_callback' => 'spiceb_busicare_news_callback'
100
+ ));
101
+
102
+ //Button Link
103
+ $wp_customize->add_setting(
104
+ 'home_blog_more_btn_link',
105
+ array(
106
+ 'default' => '#',
107
+ 'capability' => 'edit_theme_options',
108
+ 'sanitize_callback' => 'esc_url_raw',
109
+ 'transport' => $selective_refresh,
110
+ ));
111
+ $wp_customize->add_control(
112
+ 'home_blog_more_btn_link',
113
+ array(
114
+ 'label' => esc_html__('View More Button Link', 'spicebox'),
115
+ 'section' => 'busicare_latest_news_section',
116
+ 'type' => 'text',
117
+ 'active_callback' => 'spiceb_busicare_news_callback'
118
+ ));
119
+
120
+ //Add option target
121
+ $wp_customize->add_setting(
122
+ 'home_blog_more_btn_link_target',
123
+ array('sanitize_callback' => 'spiceb_busicare_sanitize_checkbox',
124
+ 'transport' => $selective_refresh,
125
+ ));
126
+
127
+ $wp_customize->add_control(
128
+ 'home_blog_more_btn_link_target',
129
+ array(
130
+ 'type' => 'checkbox',
131
+ 'label' => esc_html__('Open link in new tab', 'spicebox'),
132
+ 'section' => 'busicare_latest_news_section',
133
+ 'active_callback' => 'spiceb_busicare_news_callback'
134
+ )
135
+ );
136
+
137
+ /**
138
+ * Add selective refresh for Front page news section controls.
139
+ */
140
+ $wp_customize->selective_refresh->add_partial('home_news_section_title', array(
141
+ 'selector' => '.home-blog .section-header h2',
142
+ 'settings' => 'home_news_section_title',
143
+ 'render_callback' => 'spiceb_home_news_section_title_render_callback',
144
+ ));
145
+
146
+ $wp_customize->selective_refresh->add_partial('home_news_section_discription', array(
147
+ 'selector' => '.home-blog .section-header h5',
148
+ 'settings' => 'home_news_section_discription',
149
+ 'render_callback' => 'spiceb_home_news_section_discription_render_callback',
150
+ ));
151
+
152
+ $wp_customize->selective_refresh->add_partial('home_blog_more_btn', array(
153
+ 'selector' => '.home-blog .business-view-more-post',
154
+ 'settings' => 'home_blog_more_btn',
155
+ 'render_callback' => 'spiceb_home_blog_more_btn_render_callback',
156
+ ));
157
+
158
+ $wp_customize->selective_refresh->add_partial('home_news_button_title', array(
159
+ 'selector' => '.home-blog a.more-link',
160
+ 'settings' => 'home_news_button_title',
161
+ 'render_callback' => 'spiceb_home_news_button_title_render_callback',
162
+ ));
163
+
164
+ function spiceb_home_news_section_title_render_callback() {
165
+ return get_theme_mod('home_news_section_title');
166
+ }
167
+
168
+ function spiceb_home_news_section_discription_render_callback() {
169
+ return get_theme_mod('home_news_section_discription');
170
+ }
171
+
172
+ function spiceb_home_blog_more_btn_render_callback() {
173
+ return get_theme_mod('home_blog_more_btn');
174
+ }
175
+
176
+ function spiceb_home_news_button_title_render_callback() {
177
+ return get_theme_mod('home_news_button_title');
178
+ }
inc/busicare/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_busicare_sanitize_checkbox'
12
+ ));
13
+
14
+ $wp_customize->add_control(new busicare_Toggle_Control($wp_customize, 'home_service_section_enabled',
15
+ array(
16
+ 'label' => esc_html__('Enable / Disable Services on homepage', '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__('Etiam et Urna?', 'spicebox'),
26
+ 'sanitize_callback' => 'spiceb_busicare_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_busicare_service_callback'
35
+ ));
36
+
37
+ // Service section description
38
+ $wp_customize->add_setting('home_service_section_discription', array(
39
+ 'capability' => 'edit_theme_options',
40
+ 'default' => esc_html__('Fusce Sed Massa', 'spicebox'),
41
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
42
+ 'transport' => $selective_refresh,
43
+ ));
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_busicare_service_callback'
51
+ ));
52
+
53
+
54
+
55
+ if (class_exists('Spicebox_Limit_Repeater')) {
56
+ $wp_customize->add_setting('busicare_service_content', array());
57
+
58
+ $wp_customize->add_control(new Spicebox_Limit_Repeater($wp_customize, 'busicare_service_content', array(
59
+ 'label' => esc_html__('Services content', 'spicebox'),
60
+ 'section' => 'services_section',
61
+ 'priority' => 10,
62
+ 'add_field_label' => esc_html__('Add new Service', 'spicebox'),
63
+ 'item_name' => esc_html__('Service', 'spicebox'),
64
+ 'customizer_repeater_icon_control' => true,
65
+ 'customizer_repeater_title_control' => true,
66
+ 'customizer_repeater_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_busicare_service_callback'
71
+ )));
72
+ }
73
+
74
+ class Busicare_services__section_upgrade extends WP_Customize_Control {
75
+ public function render_content() { ?>
76
+ <h3 class="customizer_busicareservice_upgrade_section" style="display: none;">
77
+ <?php _e('To add More Service? Then','spicebox'); ?><a href="<?php echo esc_url( 'https://spicethemes.com/busicare-pro' ); ?>" target="_blank">
78
+ <?php _e('Upgrade to Plus','spicebox'); ?> </a>
79
+ </h3>
80
+ <?php
81
+ }
82
+ }
83
+
84
+ $wp_customize->add_setting( 'busicare_service_upgrade_to_pro', array(
85
+ 'capability' => 'edit_theme_options',
86
+ ));
87
+ $wp_customize->add_control(
88
+ new Busicare_services__section_upgrade(
89
+ $wp_customize,
90
+ 'busicare_service_upgrade_to_pro',
91
+ array(
92
+ 'section' => 'services_section',
93
+ 'settings' => 'busicare_service_upgrade_to_pro',
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/busicare/customizer/slider-section.php ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_busicare_sanitize_checkbox',
14
+ ));
15
+
16
+ $wp_customize->add_control(new busicare_Toggle_Control($wp_customize, 'home_page_slider_enabled',
17
+ array(
18
+ 'label' => esc_html__('Enable / Disable Slider on homepage', '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_busicare_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_busicare_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_busicare_slider_callback'
78
+
79
+ ));
80
+
81
+ //Slider Image
82
+ $wp_customize->add_setting('home_slider_image', array(
83
+ 'default' => SPICEB_PLUGIN_URL . '/inc/busicare/images/slider/slider.jpg',
84
+ 'sanitize_callback' => 'esc_url_raw',
85
+ ));
86
+
87
+ $wp_customize->add_control(
88
+ new WP_Customize_Image_Control(
89
+ $wp_customize,
90
+ 'home_slider_image',
91
+ array(
92
+ 'type' => 'upload',
93
+ 'label' => esc_html__('Image', 'spicebox'),
94
+ 'settings' => 'home_slider_image',
95
+ 'section' => 'slider_section',
96
+ 'active_callback' => 'spiceb_busicare_slider_callback'
97
+ )
98
+ )
99
+ );
100
+
101
+ // Image overlay
102
+ $wp_customize->add_setting('slider_image_overlay', array(
103
+ 'default' => true,
104
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox',
105
+ )
106
+ );
107
+
108
+ $wp_customize->add_control('slider_image_overlay', array(
109
+ 'label' => esc_html__('Enable / Disable slider image overlay', 'spicebox'),
110
+ 'section' => 'slider_section',
111
+ 'type' => 'checkbox',
112
+ 'active_callback' => 'spiceb_busicare_slider_callback'
113
+ )
114
+ );
115
+
116
+ //Slider Background Overlay Color
117
+ $wp_customize->add_setting('slider_overlay_section_color', array(
118
+ 'sanitize_callback' => 'sanitize_text_field',
119
+ 'default' => 'rgba(0,0,0,0.6)',
120
+ )
121
+ );
122
+
123
+ $wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'slider_overlay_section_color', array(
124
+ 'label' => esc_html__('Slider image overlay color', 'spicebox'),
125
+ 'palette' => true,
126
+ 'section' => 'slider_section',
127
+ 'active_callback' => 'spiceb_busicare_slider_callback'
128
+ )
129
+ ));
130
+
131
+ //Content Alignment
132
+ $wp_customize->add_setting( 'slider_content_alignment',
133
+ array(
134
+ 'default' => 'center',
135
+ 'transport' => 'refresh',
136
+ )
137
+ );
138
+ $wp_customize->add_control( new Spicebox_Text_Radio_Button_Custom_Control( $wp_customize, 'slider_content_alignment',
139
+ array(
140
+ 'label' => __( 'Slider Content Alignment', 'spicebox' ),
141
+ 'section' => 'slider_section',
142
+ 'active_callback' => 'spiceb_busicare_slider_callback',
143
+ 'choices' => array(
144
+ 'left' => __( 'Left' ), // Required. Setting for this particular radio button choice and the text to display
145
+ 'center' => __( 'Center' ), // Required. Setting for this particular radio button choice and the text to display
146
+ 'right' => __( 'Right' ) // Required. Setting for this particular radio button choice and the text to display
147
+ )
148
+ )
149
+ ) );
150
+
151
+
152
+ // Slider subtitle
153
+ $wp_customize->add_setting('home_slider_subtitle', array(
154
+ 'default' => esc_html__('Nulla nec dolor sit', 'spicebox'),
155
+ 'capability' => 'edit_theme_options',
156
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
157
+ ));
158
+ $wp_customize->add_control('home_slider_subtitle', array(
159
+ 'label' => esc_html__('Sub-title', 'spicebox'),
160
+ 'section' => 'slider_section',
161
+ 'type' => 'text',
162
+ 'active_callback' => 'spiceb_busicare_slider_callback'
163
+ ));
164
+
165
+ // Slider title
166
+ $wp_customize->add_setting('home_slider_title', array(
167
+ 'default' => esc_html__('Nulla nec dolor sit amet lacus molestie', 'spicebox'),
168
+ 'capability' => 'edit_theme_options',
169
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
170
+ ));
171
+ $wp_customize->add_control('home_slider_title', array(
172
+ 'label' => esc_html__('Title', 'spicebox'),
173
+ 'section' => 'slider_section',
174
+ 'type' => 'text',
175
+ 'active_callback' => 'spiceb_busicare_slider_callback'
176
+ ));
177
+
178
+ //Slider discription
179
+ $wp_customize->add_setting('home_slider_discription', array(
180
+ 'default' => esc_html__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.', 'spicebox'),
181
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
182
+ ));
183
+ $wp_customize->add_control('home_slider_discription', array(
184
+ 'label' => esc_html__('Description', 'spicebox'),
185
+ 'section' => 'slider_section',
186
+ 'type' => 'textarea',
187
+ 'active_callback' => 'spiceb_busicare_slider_callback'
188
+ ));
189
+
190
+
191
+ // Slider button text
192
+ $wp_customize->add_setting('home_slider_btn_txt', array(
193
+ 'default' => esc_html__('Nec Sem', 'spicebox'),
194
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
195
+ ));
196
+ $wp_customize->add_control('home_slider_btn_txt', array(
197
+ 'label' => esc_html__('Button Text', 'spicebox'),
198
+ 'section' => 'slider_section',
199
+ 'type' => 'text',
200
+ 'active_callback' => 'spiceb_busicare_slider_callback'
201
+ ));
202
+
203
+ // Slider button link
204
+ $wp_customize->add_setting('home_slider_btn_link', array(
205
+ 'default' => esc_html__('#', 'spicebox'),
206
+ 'sanitize_callback' => 'esc_url_raw',
207
+ ));
208
+ $wp_customize->add_control('home_slider_btn_link', array(
209
+ 'label' => esc_html__('Button Link', 'spicebox'),
210
+ 'section' => 'slider_section',
211
+ 'type' => 'text',
212
+ 'active_callback' => 'spiceb_busicare_slider_callback'
213
+ ));
214
+
215
+ // Slider button target
216
+ $wp_customize->add_setting(
217
+ 'home_slider_btn_target',
218
+ array(
219
+ 'default' => false,
220
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox',
221
+ ));
222
+ $wp_customize->add_control('home_slider_btn_target', array(
223
+ 'label' => esc_html__('Open link in new tab', 'spicebox'),
224
+ 'section' => 'slider_section',
225
+ 'type' => 'checkbox',
226
+ 'active_callback' => 'spiceb_busicare_slider_callback'
227
+ ));
228
+
229
+ // Slider button2 text
230
+ $wp_customize->add_setting('home_slider_btn_txt2', array(
231
+ 'default' => esc_html__('Cras Vitae', 'spicebox'),
232
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
233
+ ));
234
+ $wp_customize->add_control('home_slider_btn_txt2', array(
235
+ 'label' => esc_html__('Button 2 Text', 'spicebox'),
236
+ 'section' => 'slider_section',
237
+ 'type' => 'text',
238
+ 'active_callback' => 'spiceb_busicare_slider_callback'
239
+ ));
240
+
241
+ // Slider button link
242
+ $wp_customize->add_setting('home_slider_btn_link2', array(
243
+ 'default' => esc_html__('#', 'spicebox'),
244
+ 'sanitize_callback' => 'esc_url_raw',
245
+ ));
246
+ $wp_customize->add_control('home_slider_btn_link2', array(
247
+ 'label' => esc_html__('Button 2 Link', 'spicebox'),
248
+ 'section' => 'slider_section',
249
+ 'type' => 'text',
250
+ 'active_callback' => 'spiceb_busicare_slider_callback'
251
+ ));
252
+
253
+ // Slider button target
254
+ $wp_customize->add_setting(
255
+ 'home_slider_btn_target2',
256
+ array(
257
+ 'default' => false,
258
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox',
259
+ ));
260
+ $wp_customize->add_control('home_slider_btn_target2', array(
261
+ 'label' => esc_html__('Open link in new tab', 'spicebox'),
262
+ 'section' => 'slider_section',
263
+ 'type' => 'checkbox',
264
+ 'active_callback' => 'spiceb_busicare_slider_callback'
265
+ ));
266
+
267
+
268
+ $wp_customize->selective_refresh->add_partial('home_slider_subtitle', array(
269
+ 'selector' => '.bcslider-section .slider-caption .heading ',
270
+ 'settings' => 'home_slider_subtitle',
271
+ 'render_callback' => 'home_slider_section_title_render_callback',
272
+ ));
273
+ $wp_customize->selective_refresh->add_partial('home_slider_title', array(
274
+ 'selector' => '.bcslider-section .slider-caption .title ',
275
+ 'settings' => 'home_slider_title',
276
+ 'render_callback' => 'home_slider_section_title_render_callback',
277
+ ));
278
+ $wp_customize->selective_refresh->add_partial('home_slider_discription', array(
279
+ 'selector' => '.bcslider-section .slider-caption .description ',
280
+ 'settings' => 'home_slider_discription',
281
+ 'render_callback' => 'home_slider_section_title_render_callback',
282
+ ));
283
+ $wp_customize->selective_refresh->add_partial('home_slider_btn_txt', array(
284
+ 'selector' => '.bcslider-section .slider-caption .btn-combo .btn-default ',
285
+ 'settings' => 'home_slider_btn_txt',
286
+ 'render_callback' => 'home_slider_section_title_render_callback',
287
+ ));
288
+ $wp_customize->selective_refresh->add_partial('home_slider_btn_txt2', array(
289
+ 'selector' => '.bcslider-section .slider-caption .btn-combo .btn-light ',
290
+ 'settings' => 'home_slider_btn_txt2',
291
+ 'render_callback' => 'home_slider_section_title_render_callback',
292
+ ));
inc/busicare/customizer/team-section.php ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ //Team Section
4
+ $wp_customize->add_section('busicare_team_section', array(
5
+ 'title' => esc_html__('Team settings', 'spicebox'),
6
+ 'panel' => 'section_settings',
7
+ 'priority' => 5,
8
+ ));
9
+
10
+ $wp_customize->add_setting('team_section_enable', array(
11
+ 'default' => true,
12
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox'
13
+ ));
14
+
15
+ $wp_customize->add_control(new busicare_Toggle_Control($wp_customize, 'team_section_enable',
16
+ array(
17
+ 'label' => esc_html__('Enable Home Team section', 'spicebox'),
18
+ 'type' => 'toggle',
19
+ 'section' => 'busicare_team_section',
20
+ )
21
+ ));
22
+
23
+ // Team section title
24
+ $wp_customize->add_setting('home_team_section_title', array(
25
+ 'default' => esc_html__('The Team', 'spicebox'),
26
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
27
+ 'transport' => $selective_refresh,
28
+ ));
29
+ $wp_customize->add_control('home_team_section_title', array(
30
+ 'label' => esc_html__('Title', 'spicebox'),
31
+ 'section' => 'busicare_team_section',
32
+ 'type' => 'text',
33
+ 'active_callback' => 'spiceb_busicare_team_callback'
34
+ ));
35
+
36
+ //Team section discription
37
+ $wp_customize->add_setting('home_team_section_discription', array(
38
+ 'default' => esc_html__('Meet Our Experts', 'spicebox'),
39
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
40
+ 'transport' => $selective_refresh,
41
+ ));
42
+ $wp_customize->add_control('home_team_section_discription', array(
43
+ 'label' => esc_html__('Sub title', 'spicebox'),
44
+ 'section' => 'busicare_team_section',
45
+ 'type' => 'text',
46
+ 'active_callback' => 'spiceb_busicare_team_callback'
47
+ ));
48
+
49
+ if (class_exists('Spicebox_Repeater')) {
50
+ $wp_customize->add_setting(
51
+ 'busicare_team_content', array(
52
+ )
53
+ );
54
+
55
+ $wp_customize->add_control(
56
+ new Spicebox_Repeater(
57
+ $wp_customize, 'busicare_team_content', array(
58
+ 'label' => esc_html__('Team content', 'spicebox'),
59
+ 'section' => 'busicare_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_link_control' => true,
67
+ 'customizer_repeater_checkbox_control' => true,
68
+ 'customizer_repeater_repeater_control' => true,
69
+ 'active_callback' => 'spiceb_busicare_team_callback'
70
+ )
71
+ )
72
+ );
73
+ }
74
+
75
+ //Navigation Type
76
+ $wp_customize->add_setting('team_nav_style', array('default' => 'bullets'));
77
+ $wp_customize->add_control('team_nav_style', array(
78
+ 'label' => esc_html__('Navigation Style', 'spicebox'),
79
+ 'section' => 'busicare_team_section',
80
+ 'type' => 'radio',
81
+ 'priority' => 17,
82
+ 'choices' => array(
83
+ 'bullets' => esc_html__('Bullets', 'spicebox'),
84
+ 'navigation' => esc_html__('Navigation', 'spicebox'),
85
+ 'both' => esc_html__('Both', 'spicebox'),
86
+ ),
87
+ 'active_callback' => 'busicare_team_callback'
88
+ ));
89
+
90
+
91
+ /**
92
+ * Add selective refresh for Front page team section controls.
93
+ */
94
+ $wp_customize->selective_refresh->add_partial('home_team_section_title', array(
95
+ 'selector' => '.team-group h2, .team2 .section-title, .team3 .section-title, .team4 .section-title',
96
+ 'settings' => 'home_team_section_title',
97
+ 'render_callback' => 'spiceb_home_team_section_title_render_callback',
98
+ ));
99
+
100
+ $wp_customize->selective_refresh->add_partial('home_team_section_discription', array(
101
+ 'selector' => '.team-group h5, .team2 .section-subtitle, .team3 .section-subtitle, .team4 .section-subtitle',
102
+ 'settings' => 'home_team_section_discription',
103
+ 'render_callback' => 'spiceb_home_team_section_discription_render_callback',
104
+ ));
105
+
106
+ function spiceb_home_team_section_title_render_callback() {
107
+ return get_theme_mod('home_team_section_title');
108
+ }
109
+
110
+ function spiceb_home_team_section_discription_render_callback() {
111
+ return get_theme_mod('home_team_section_discription');
112
+ }
113
+
114
+ ?>
inc/busicare/customizer/testimonial-section.php ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_busicare_sanitize_checkbox'
13
+ ));
14
+
15
+ $wp_customize->add_control(new busicare_Toggle_Control($wp_customize, 'testimonial_section_enable',
16
+ array(
17
+ 'label' => esc_html__('Enable / Disable Testimonial on homepage', 'spicebox'),
18
+ 'type' => 'toggle',
19
+ 'section' => 'testimonial_section',
20
+ )
21
+ ));
22
+ // testimonial section title
23
+ $wp_customize->add_setting('home_testimonial_section_title', array(
24
+ 'capability' => 'edit_theme_options',
25
+ 'default' => esc_html__('Proin Egestas', 'spicebox'),
26
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
27
+ ));
28
+ $wp_customize->add_control('home_testimonial_section_title', array(
29
+ 'label' => esc_html__('Title', 'spicebox'),
30
+ 'section' => 'testimonial_section',
31
+ 'type' => 'text',
32
+ 'active_callback' => 'spiceb_busicare_testimonial_callback'
33
+ ));
34
+
35
+ if (class_exists('Spicebox_Repeater')) {
36
+ $wp_customize->add_setting('busicare_testimonial_content', array(
37
+ ));
38
+
39
+ $wp_customize->add_control(new Spicebox_Repeater($wp_customize, 'busicare_testimonial_content', array(
40
+ 'label' => esc_html__('Testimonial content', 'spicebox'),
41
+ 'section' => 'testimonial_section',
42
+ 'add_field_label' => esc_html__('Add new Testimonial', 'spicebox'),
43
+ 'item_name' => esc_html__('Testimonial', 'spicebox'),
44
+ 'customizer_repeater_title_control' => true,
45
+ 'customizer_repeater_text_control' => true,
46
+ 'customizer_repeater_user_name_control' => true,
47
+ 'customizer_repeater_designation_control' => true,
48
+ 'customizer_repeater_link_control' => true,
49
+ 'customizer_repeater_checkbox_control' => true,
50
+ 'customizer_repeater_image_control' => true,
51
+ 'active_callback' => 'spiceb_busicare_testimonial_callback'
52
+ )));
53
+ }
54
+
55
+ //Navigation Type
56
+ $wp_customize->add_setting('testimonial_nav_style', array('default' => 'bullets'));
57
+ $wp_customize->add_control('testimonial_nav_style', array(
58
+ 'label' => esc_html__('Navigation Style', 'spicebox'),
59
+ 'section' => 'testimonial_section',
60
+ 'type' => 'radio',
61
+ 'priority' => 17,
62
+ 'choices' => array(
63
+ 'bullets' => __('Bullets', 'spicebox'),
64
+ 'navigation' => __('Navigation', 'spicebox'),
65
+ 'both' => __('Both', 'spicebox'),
66
+ ),
67
+ 'active_callback' => 'busicare_testimonial_callback'
68
+ ));
69
+
70
+ //Testimonial Background Image
71
+ $wp_customize->add_setting('testimonial_callout_background', array(
72
+ 'default' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/testimonial-bg.jpg',
73
+ 'sanitize_callback' => 'esc_url_raw',
74
+ ));
75
+
76
+ $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'testimonial_callout_background', array(
77
+ 'label' => esc_html__('Background Image', 'spicebox'),
78
+ 'section' => 'testimonial_section',
79
+ 'settings' => 'testimonial_callout_background',
80
+ 'active_callback' => 'spiceb_busicare_testimonial_callback'
81
+ )));
82
+
83
+ // Image overlay
84
+ $wp_customize->add_setting('testimonial_image_overlay', array(
85
+ 'default' => true,
86
+ 'sanitize_callback' => 'spiceb_busicare_sanitize_checkbox',
87
+ ));
88
+
89
+ $wp_customize->add_control('testimonial_image_overlay', array(
90
+ 'label' => esc_html__('Enable / Disable testimonial image overlay', 'spicebox'),
91
+ 'section' => 'testimonial_section',
92
+ 'type' => 'checkbox',
93
+ 'active_callback' => 'spiceb_busicare_testimonial_callback'
94
+ ));
95
+
96
+ //Testimonial Background Overlay Color
97
+ $wp_customize->add_setting('testimonial_overlay_section_color', array(
98
+ 'sanitize_callback' => 'spiceb_busicare_home_page_sanitize_text',
99
+ 'default' => 'rgba(0, 11, 24, 0.8)',
100
+ ));
101
+
102
+ $wp_customize->add_control(new SpiceBox_Customize_Alpha_Color_Control($wp_customize, 'testimonial_overlay_section_color', array(
103
+ 'label' => esc_html__('Testimonial image overlay color', 'spicebox'),
104
+ 'palette' => true,
105
+ 'section' => 'testimonial_section',
106
+ 'active_callback' => 'spiceb_busicare_testimonial_callback'
107
+ )
108
+ ));
109
+
110
+
111
+
112
+ $wp_customize->selective_refresh->add_partial('home_testimonial_section_title', array(
113
+ 'selector' => '.testimonial h2',
114
+ 'settings' => 'home_testimonial_section_title',
115
+ 'render_callback' => 'home_testimonial_section_title_render_callback',
116
+ ));
117
+ $wp_customize->selective_refresh->add_partial('home_testimonial_thumb', array(
118
+ 'selector' => '.testimonial .testmonial-block img',
119
+ 'settings' => 'home_testimonial_thumb',
120
+ 'render_callback' => 'home_testimonial_section_title_render_callback',
121
+ ));
122
+ $wp_customize->selective_refresh->add_partial('home_testimonial_title', array(
123
+ 'selector' => '.testimonial .testmonial-block .entry-content .title span',
124
+ 'settings' => 'home_testimonial_title',
125
+ 'render_callback' => 'home_testimonial_section_title_render_callback',
126
+ ));
127
+ $wp_customize->selective_refresh->add_partial('home_testimonial_desc', array(
128
+ 'selector' => '.testimonial .testmonial-block .entry-content p',
129
+ 'settings' => 'home_testimonial_desc',
130
+ 'render_callback' => 'home_testimonial_section_title_render_callback',
131
+ ));
132
+ $wp_customize->selective_refresh->add_partial('home_testimonial_name', array(
133
+ 'selector' => '.testimonial .testmonial-block figcaption .name',
134
+ 'settings' => 'home_testimonial_name',
135
+ 'render_callback' => 'home_testimonial_section_title_render_callback',
136
+ ));
137
+ $wp_customize->selective_refresh->add_partial('home_testimonial_designation', array(
138
+ 'selector' => '.testimonial .testmonial-block figcaption .designation ',
139
+ 'settings' => 'home_testimonial_designation',
140
+ 'render_callback' => 'home_testimonial_section_title_render_callback',
141
+ ));
inc/busicare/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/busicare/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/busicare/default-pages/upload-media.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $ImagePath = SPICEB_PLUGIN_URL . 'inc/busicare/images';
4
+ $images = array(
5
+ $ImagePath . '/logo.png',
6
+ );
7
+ foreach ($images as $name) {
8
+ $filename = basename($name);
9
+ $upload_file = wp_upload_bits($filename, null, file_get_contents($name));
10
+ if (!$upload_file['error']) {
11
+ $wp_filetype = wp_check_filetype($filename, null);
12
+ $attachment = array(
13
+ 'post_mime_type' => $wp_filetype['type'],
14
+ //'post_parent' => $parent_post_id,
15
+ 'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
16
+ 'post_status' => 'inherit'
17
+ );
18
+ $ImageId[] = $attachment_id = wp_insert_attachment($attachment, $upload_file['file']);
19
+
20
+ if (!is_wp_error($attachment_id)) {
21
+ require_once(ABSPATH . "wp-admin" . '/includes/image.php');
22
+ $attachment_data = wp_generate_attachment_metadata($attachment_id, $upload_file['file']);
23
+ wp_update_attachment_metadata($attachment_id, $attachment_data);
24
+ }
25
+ }
26
+ }
27
+ update_option('busicare_media_id', $ImageId);
28
+ $MediaId = get_option('busicare_media_id');
29
+ set_theme_mod('custom_logo', $MediaId[0]);
30
+ set_theme_mod('header_textcolor', "blank");
31
+ ?>
inc/busicare/default-widgets/default-widget.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $activate = array(
3
+ 'sidebar-1' => array(
4
+ 'search-1',
5
+ 'recent-posts-1',
6
+ 'archives-1',
7
+ ),
8
+ 'footer-sidebar-1' => array(
9
+ 'text-1',
10
+ ),
11
+ 'footer-sidebar-2' => array(
12
+ 'recent-posts-2',
13
+ ),
14
+ 'footer-sidebar-3' => array(
15
+ 'categories-2'
16
+ ),
17
+ 'footer-sidebar-4' => array(
18
+ 'search-2'
19
+ ),
20
+ );
21
+
22
+ /* the default titles will appear */
23
+ update_option('widget_text', array(
24
+ 1 => array('title' => '',
25
+ 'text'=>'<img src="'.esc_url(SPICEB_PLUGIN_URL).'/inc/busicare/images/logo-footer.png" alt="'.esc_attr("Logo","spicebox").'" />
26
+
27
+ &nbsp;
28
+
29
+ <p>Lorem ipsum dolor sit amet, ut ius audiam denique  tractatos, pro cu dicat quidam neglegentur. Vel mazim aliquid.</p>
30
+
31
+ <address>
32
+ <i class="fa fa-map-marker"></i>Lorem Ipsum? dolor sit<br>
33
+ <i class="fa fa-envelope-o"></i><a href="mailto:abc@example.com">abc@example.com</a><br>
34
+ <i class="fa fa-phone"></i><a href="tel:+99 999 999 99">+99 999 999 99</a><br>
35
+ </address>
36
+ '),
37
+ ));
38
+
39
+ update_option('widget_recent-posts', array(
40
+ 1 => array('title' => 'Recent Posts'),
41
+ 2 => array('title' => 'Recent Posts')));
42
+
43
+ update_option('widget_categories', array(
44
+ 1 => array('title' => 'Categories'),
45
+ 2 => array('title' => 'Categories')));
46
+
47
+ update_option('widget_archives', array(
48
+ 1 => array('title' => 'Archives'),
49
+ 2 => array('title' => 'Archives')));
50
+
51
+ update_option('widget_search', array(
52
+ 1 => array('title' => 'Search'),
53
+ 2 => array('title' => 'Search')));
54
+
55
+ update_option('sidebars_widgets', $activate);
56
+
57
+ ?>
inc/busicare/images/logo-footer.png ADDED
Binary file
inc/busicare/images/logo.png ADDED
Binary file
inc/busicare/images/slider/slider.jpg ADDED
Binary file
inc/busicare/images/team/team1.jpg ADDED
Binary file
inc/busicare/images/team/team2.jpg ADDED
Binary file
inc/busicare/images/team/team3.jpg ADDED
Binary file
inc/busicare/images/team/team4.jpg ADDED
Binary file
inc/busicare/images/testimonial/testimonial-bg.jpg ADDED
Binary file
inc/busicare/images/testimonial/user-5.jpg ADDED
Binary file
inc/busicare/images/testimonial/user1.jpg ADDED
Binary file
inc/busicare/images/testimonial/user2.jpg ADDED
Binary file
inc/busicare/images/testimonial/user3.jpg ADDED
Binary file
inc/busicare/js/front-page/team.js ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ if(team_settings.team_nav_style=="bullets")
15
+ {
16
+ jQuery(team_settings.teamcarouselid).owlCarousel({
17
+ rtl:team_settings.rtl,
18
+ navigation : true, // Show next and prev buttons
19
+ autoplay: true,
20
+ autoplayTimeout:3000,
21
+ autoplayHoverPause: true,
22
+ smartSpeed: 1000,
23
+
24
+ loop:true, // loop is true up to 1199px screen.
25
+ nav:false, // is true across all sizes
26
+ margin:30, // margin 10px till 960 breakpoint
27
+
28
+ responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
29
+ //items: 5,
30
+ dots: true,
31
+ navText: ["<i class='fa fa-arrow-left'></i>","<i class='fa fa-arrow-right'></i>"],
32
+ responsive:{
33
+ 100:{ items:1 },
34
+ 480:{ items:1 },
35
+ 768:{ items:2 },
36
+ 1000:{ items:3 }
37
+ },
38
+ rtl: jQuery.bol_return(team_settings.rtl)
39
+ });
40
+ }
41
+ else if(team_settings.team_nav_style=="navigation")
42
+ {
43
+ jQuery(team_settings.teamcarouselid).owlCarousel({
44
+ rtl:team_settings.rtl,
45
+ navigation : true, // Show next and prev buttons
46
+ autoplay: true,
47
+ autoplayTimeout: 3000,
48
+ autoplayHoverPause: true,
49
+ smartSpeed: 1000,
50
+
51
+ loop:true, // loop is true up to 1199px screen.
52
+ nav:true, // is true across all sizes
53
+ margin:30, // margin 10px till 960 breakpoint
54
+
55
+ responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
56
+ //items: 5,
57
+ dots: false,
58
+ navText: ["<i class='fa fa-arrow-left'></i>","<i class='fa fa-arrow-right'></i>"],
59
+ responsive:{
60
+ 100:{ items:1 },
61
+ 480:{ items:1 },
62
+ 768:{ items:2 },
63
+ 1000:{ items:3 }
64
+ },
65
+ rtl: jQuery.bol_return(team_settings.rtl)
66
+ });
67
+ }
68
+ else
69
+ {
70
+ jQuery(team_settings.teamcarouselid).owlCarousel({
71
+ rtl:team_settings.rtl,
72
+ navigation : true, // Show next and prev buttons
73
+ autoplay: true,
74
+ autoplayTimeout: 3000,
75
+ autoplayHoverPause: true,
76
+ smartSpeed: 1000,
77
+
78
+ loop:true, // loop is true up to 1199px screen.
79
+ nav:true, // is true across all sizes
80
+ margin:30, // margin 10px till 960 breakpoint
81
+
82
+ responsiveClass:true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
83
+ //items: 5,
84
+ dots: true,
85
+ navText: ["<i class='fa fa-arrow-left'></i>","<i class='fa fa-arrow-right'></i>"],
86
+ responsive:{
87
+ 100:{ items:1 },
88
+ 480:{ items:1 },
89
+ 768:{ items:2 },
90
+ 1000:{ items:3 }
91
+ },
92
+ rtl: jQuery.bol_return(team_settings.rtl)
93
+ });
94
+ }
95
+ });
inc/busicare/js/front-page/testi.js ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // HOMEPAGE TESTIMONIAL
2
+ if (!jQuery.bol_return) {
3
+ jQuery.extend({
4
+ bol_return: function (tmp_vl) {
5
+ if (tmp_vl == 1) {
6
+ return true;
7
+ }
8
+ return false;
9
+ }
10
+
11
+ });
12
+ }
13
+
14
+ jQuery(document).ready(function() {
15
+ switch (testimonial_settings.testimonial_nav_style) {
16
+ case 'bullets':
17
+ testimonial_settings.testimonial_nav_style_nav = false;
18
+ testimonial_settings.testimonial_nav_style_dot = true;
19
+ break;
20
+ case 'navigation':
21
+ testimonial_settings.testimonial_nav_style_nav = true;
22
+ testimonial_settings.testimonial_nav_style_dot = false;
23
+ break;
24
+ case 'both':
25
+ testimonial_settings.testimonial_nav_style_nav = true;
26
+ testimonial_settings.testimonial_nav_style_dot = true;
27
+ break;
28
+ default:
29
+ testimonial_settings.testimonial_nav_style_nav = false;
30
+ testimonial_settings.testimonial_nav_style_dot = true;
31
+ }
32
+
33
+ if (testimonial_settings.slide_items == 1) {
34
+ jQuery(testimonial_settings.design_id).owlCarousel({
35
+ rtl:testimonial_settings.rtl,
36
+ navigation: true, // Show next and prev buttons
37
+ autoplay: 3000,
38
+ smartSpeed: 1000,
39
+ autoplayTimeout: 3000,
40
+ autoplayHoverPause: true,
41
+ loop: true, // loop is true up to 1199px screen.
42
+ nav: testimonial_settings.testimonial_nav_style_nav,
43
+ margin: 30, // margin 10px till 960 breakpoint
44
+ autoHeight: true,
45
+ responsiveClass: true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
46
+ items: 1,
47
+ dots: testimonial_settings.testimonial_nav_style_dot,
48
+ navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
49
+ responsive: {
50
+ 200: {items: 1},
51
+ 480: {items: 1},
52
+ 768: {items: 1},
53
+ 1000: {items: 1}
54
+ },
55
+ rtl: jQuery.bol_return(testimonial_settings.rtl)
56
+ });
57
+ } else {
58
+ jQuery(testimonial_settings.design_id).owlCarousel({
59
+ rtl:testimonial_settings.rtl,
60
+ navigation: true, // Show next and prev buttons
61
+ autoplay: 3000,
62
+ smartSpeed: 1000,
63
+ autoplayTimeout: 3000,
64
+ autoplayHoverPause: true,
65
+ loop: true, // loop is true up to 1199px screen.
66
+ nav: testimonial_settings.testimonial_nav_style_nav,
67
+ margin: 30, // margin 10px till 960 breakpoint
68
+ autoHeight: true,
69
+ responsiveClass: true, // Optional helper class. Add 'owl-reponsive-' + 'breakpoint' class to main element.
70
+ items: 1,
71
+ dots: testimonial_settings.testimonial_nav_style_dot,
72
+ navText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
73
+ responsive: {
74
+ 200: {items: 1},
75
+ 480: {items: 1},
76
+ 768: {items: testimonial_settings.slide_items},
77
+ 1000: {items: testimonial_settings.slide_items}
78
+ },
79
+ rtl: jQuery.bol_return(testimonial_settings.rtl)
80
+ });
81
+ }
82
+ });
inc/busicare/sections/busicare-news-section.php ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /* Call the action for news section */
3
+ add_action('spiceb_busicare_news_action','spiceb_busicare_news_section');
4
+ /* Function for news section*/
5
+ function spiceb_busicare_news_section()
6
+ {
7
+ $busicare_index_news_link = get_theme_mod('home_blog_more_btn_link', __('#', 'spicebox'));
8
+ $busicare_index_more_btn = get_theme_mod('home_blog_more_btn', __('Cras Vitae', 'spicebox'));
9
+ if (empty($busicare_index_news_link)) {
10
+ $busicare_index_news_link = '#';
11
+ }
12
+ if(get_theme_mod('latest_news_section_enable',true)==true):?>
13
+ <!-- Latest News section -->
14
+ <section class="section-space blog home-blog">
15
+ <div class="container">
16
+ <?php
17
+ $busicare_home_news_section_title = get_theme_mod('home_news_section_title', __('Vitae Lacinia', 'spicebox'));
18
+ $busicare_home_news_section_discription = get_theme_mod('home_news_section_discription', __('Cras Vitae Placerat', 'spicebox'));
19
+ $busicare_home_meta_section_settings = get_theme_mod('home_meta_section_settings', true);
20
+ if (($busicare_home_news_section_title) || ($busicare_home_news_section_discription) != '') {
21
+ ?>
22
+ <div class="row">
23
+ <div class="col-lg-12 col-md-12 col-xs-12">
24
+ <div class="section-header">
25
+ <?php if ($busicare_home_news_section_title) { ?>
26
+ <h2 class="section-title"><?php echo esc_html($busicare_home_news_section_title); ?></h2>
27
+ <div class="title_seprater"></div>
28
+ <?php } ?>
29
+ <?php if ($busicare_home_news_section_discription) { ?>
30
+ <h5 class="section-subtitle"><?php echo wp_kses_post($busicare_home_news_section_discription); ?></h5>
31
+ <?php } ?>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <!-- /Section Title -->
36
+ <?php } ?>
37
+ <div class="row">
38
+ <?php
39
+ $busicare_no_of_post = get_theme_mod('busicare_homeblog_counts', 3);
40
+ $busicare_args = array('post_type' => 'post', 'post__not_in' => get_option("sticky_posts"), 'posts_per_page' => $busicare_no_of_post);
41
+ query_posts($busicare_args);
42
+ if (query_posts($busicare_args)) {
43
+ while (have_posts()):the_post();
44
+ {
45
+ ?>
46
+ <div class="col-lg-4 col-md-6 col-sm-12">
47
+ <article class="post">
48
+ <?php if (has_post_thumbnail()) { ?>
49
+ <figure class="post-thumbnail">
50
+ <?php $busicare_defalt_arg = array('class' => "img-fluid"); ?>
51
+ <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('', $busicare_defalt_arg); ?></a>
52
+ </figure>
53
+ <?php } ?>
54
+ <div class="post-content">
55
+
56
+ <?php if ($busicare_home_meta_section_settings == true) { ?>
57
+ <div class="entry-date <?php
58
+ if (!has_post_thumbnail()) {
59
+ echo 'remove-image';
60
+ }
61
+ ?>">
62
+ <a href="<?php echo esc_url(home_url('/')); ?>/<?php echo esc_html(date('Y/m', strtotime(get_the_date()))); ?>"><time><?php echo esc_html(get_the_date()); ?></time></a>
63
+ </div>
64
+ <?php } ?>
65
+
66
+
67
+ <?php if ($busicare_home_meta_section_settings == true) { ?>
68
+ <div class="entry-meta">
69
+ <span class="author"><?php
70
+ echo esc_html__('By', 'spicebox');
71
+ echo '&nbsp;';
72
+ ?><a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>"><?php echo esc_html(get_the_author()); ?></a></span>
73
+ <?php
74
+ $busicare_cat_list = get_the_category_list();
75
+ if (!empty($busicare_cat_list)) {
76
+ ?>
77
+ <span class="cat-links"><?php
78
+ echo esc_html('in ','spicebox');
79
+ the_category(', ');
80
+ ?></span>
81
+ <?php } ?>
82
+ </div>
83
+ <?php } ?>
84
+
85
+ <header class="entry-header">
86
+ <h3 class="entry-title">
87
+ <a class="home-blog-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
88
+ </h3>
89
+ </header>
90
+
91
+ <div class="entry-content">
92
+ <?php the_excerpt(); ?>
93
+ <p><a href="<?php the_permalink(); ?>" class="more-link"><?php echo esc_html(get_theme_mod('home_news_button_title', __('Read More', 'spicebox'))); ?><i class="fa <?php if(is_rtl()){echo 'fa-long-arrow-left';} else{ echo 'fa-long-arrow-right';}?>"></i></a></p>
94
+ </div>
95
+ </div>
96
+ </article>
97
+ </div>
98
+ <?php
99
+ }
100
+ endwhile;
101
+ }
102
+ ?>
103
+ </div>
104
+
105
+ <?php if (!empty($busicare_index_more_btn)): ?>
106
+ <div class="row index_extend_class">
107
+ <div class="mx-auto mt-5">
108
+ <a href="<?php echo esc_url($busicare_index_news_link); ?>" class="btn-small btn-default-dark business-view-more-post" <?php
109
+ if (get_theme_mod('home_blog_more_btn_link_target', false) == true) {
110
+ echo "target='_blank'";
111
+ };
112
+ ?>><?php echo esc_html($busicare_index_more_btn); ?></a>
113
+ </div>
114
+ </div>
115
+ <?php endif; ?>
116
+ </div>
117
+ </section>
118
+ <?php
119
+ endif;
120
+ } ?>
inc/busicare/sections/busicare-services-section.php ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ add_action('spiceb_busicare_services_action','spiceb_busicare_services_section');
3
+
4
+ function spiceb_busicare_services_section()
5
+ {
6
+ $service_data = get_theme_mod('busicare_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' => 'yes',
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' => 'yes',
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' => 'yes',
34
+ 'id' => 'customizer_repeater_56d7ea7f40b86',
35
+ ),
36
+ ));
37
+ }
38
+ $busicare_service_section_title = get_theme_mod('home_service_section_title', __('Etiam et Urna?', 'spicebox'));
39
+ $busicare_service_section_discription = get_theme_mod('home_service_section_discription', __('Fusce Sed Massa', 'spicebox'));
40
+ $busicare_service_section_enabled = get_theme_mod('home_service_section_enabled',true);
41
+ if($busicare_service_section_enabled ==true)
42
+ {
43
+ ?>
44
+ <section class="section-space services">
45
+ <div class="container">
46
+ <?php if ($busicare_service_section_discription != '' || $busicare_service_section_title != '') {
47
+ ?>
48
+ <div class="row">
49
+ <div class="col-md-12 col-sm-12 col-xs-12">
50
+ <div class="section-header">
51
+ <?php if($busicare_service_section_title != ''){ ?>
52
+ <h2 class="section-title"><?php echo esc_html($busicare_service_section_title); ?></h2><div class="title_seprater"></div>
53
+ <?php } ?>
54
+ <?php if($busicare_service_section_discription != ''){ ?>
55
+ <h5 class="section-subtitle"><?php echo wp_kses_post($busicare_service_section_discription); ?></h5>
56
+ <?php }?>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ <?php } ?>
61
+ <div class="row">
62
+ <?php
63
+ $service_data = json_decode($service_data);
64
+ if (!empty($service_data)) {
65
+ foreach ($service_data as $service_team) {
66
+ $service_icon = !empty($service_team->icon_value) ? apply_filters('busicare_translate_single_string', $service_team->icon_value, 'Service section') : '';
67
+ $service_image = !empty($service_team->image_url) ? apply_filters('busicare_translate_single_string', $service_team->image_url, 'Service section') : '';
68
+ $service_title = !empty($service_team->title) ? apply_filters('busicare_translate_single_string', $service_team->title, 'Service section') : '';
69
+ $service_desc = !empty($service_team->text) ? apply_filters('busicare_translate_single_string', $service_team->text, 'Service section') : '';
70
+ $service_link = !empty($service_team->link) ? apply_filters('busicare_translate_single_string', $service_team->link, 'Service section') : '';
71
+ ?>
72
+ <div class="col-md-4 col-sm-6 col-xs-12">
73
+ <article class="post text-center">
74
+ <?php
75
+ if ($service_team->choice == 'customizer_repeater_icon') {
76
+ if ($service_icon != '') {
77
+ ?>
78
+ <figure class="post-thumbnail">
79
+ <?php if ($service_link != '') { ?>
80
+ <a <?php if ($service_team->open_new_tab == 'yes') {
81
+ echo "target='_blank'";
82
+ } ?> href="<?php echo esc_url($service_link); ?>">
83
+ <i class="fa <?php echo esc_attr($service_icon); ?>"></i>
84
+ </a>
85
+ <?php } else { ?>
86
+ <a><i class="fa <?php echo esc_attr($service_icon); ?>"></i></a>
87
+ <?php } ?>
88
+ </figure>
89
+ <?php
90
+ }
91
+ } else if ($service_team->choice == 'customizer_repeater_image') {
92
+ if ($service_image != '') {
93
+ ?>
94
+ <figure class="post-thumbnail">
95
+ <?php if ($service_link != '') { ?>
96
+ <a <?php if ($service_team->open_new_tab == 'yes') {
97
+ echo "target='_blank'";
98
+ } ?> href="<?php echo esc_url($service_link); ?>">
99
+ <?php } ?>
100
+ <img class='img-fluid' src="<?php echo esc_url($service_image); ?>">
101
+ <?php if ($service_link != '') { ?>
102
+ </a>
103
+ <?php } ?>
104
+ </figure>
105
+ <?php
106
+ }
107
+ }
108
+ if ($service_title != "") {
109
+ ?>
110
+ <div class="entry-header">
111
+ <h5 class="entry-title">
112
+ <?php if ($service_link != '') { ?>
113
+ <a href="<?php echo esc_url($service_link); ?>" <?php if ($service_team->open_new_tab == 'yes') {
114
+ echo "target='_blank'";
115
+ } ?>><?php } echo esc_html($service_title);
116
+ if ($service_link != '') { ?></a>
117
+ <?php } ?>
118
+ </h5>
119
+ </div>
120
+ <?php
121
+ }
122
+ if ($service_desc != ""):
123
+ ?>
124
+ <div class="entry-content">
125
+ <p><?php echo wp_kses_post($service_desc); ?></p>
126
+ </div>
127
+ <?php endif; ?>
128
+ </article>
129
+ </div>
130
+ <?php
131
+ }
132
+ }
133
+ ?>
134
+ </div>
135
+ </div>
136
+ </section>
137
+ <?php } ?>
138
+ <div class="clearfix"></div>
139
+ <?php //End of service section enable condition
140
+ }
141
+ ?>
inc/busicare/sections/busicare-slider-section.php ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Slider section for the homepage.
4
+ */
5
+ add_action('spiceb_busicare_slider_action','spiceb_busicare_slider_section');
6
+
7
+ function spiceb_busicare_slider_section()
8
+ {
9
+ $home_slider_subtitle = get_theme_mod('home_slider_subtitle',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
10
+ $home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/busicare/images/slider/slider.jpg');
11
+ $home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet lacus molestie','spicebox'));
12
+ $home_slider_discription = get_theme_mod('home_slider_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
13
+ $home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('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','center');
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 back-img" 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"><?php echo esc_html($home_slider_subtitle); ?></p>
41
+ <?php }
42
+ if($home_slider_title!=''){ ?>
43
+ <h2 class="title"><?php echo esc_html($home_slider_title); ?></h2>
44
+ <?php }
45
+ if($home_slider_discription!=''){ ?>
46
+ <p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
47
+ <?php } ?>
48
+ <?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
49
+ <div class="btn-combo mt-5">
50
+ <?php if($home_slider_btn_txt !=null): ?>
51
+ <a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default"> <?php echo esc_html($home_slider_btn_txt); ?> </a>
52
+ <?php endif; ?>
53
+ <?php if($home_slider_btn_txt2 !=null): ?>
54
+ <a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light"><?php echo esc_html($home_slider_btn_txt2); ?></a>
55
+ <?php endif;?>
56
+ </div>
57
+ <?php } ?>
58
+ </div>
59
+ </div>
60
+ <?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
61
+ $slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
62
+ if($slider_image_overlay != false) { ?>
63
+ <div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
64
+ <?php } ?>
65
+ </div>
66
+ </section>
67
+ <?php }
68
+ else{ ?>
69
+ <!-- Slider Section -->
70
+ <section class="bcslider-section">
71
+ <div class="home-section back-img" <?php if($home_slider_image!='') { ?>style="background-image:url( <?php echo esc_url($home_slider_image); ?> );" <?php } ?>>
72
+ <div class="container slider-caption">
73
+ <div class="caption-content <?php echo 'text-'.esc_attr($slider_align_split);?>">
74
+ <?php if($home_slider_subtitle!=''){ ?>
75
+ <p class="heading"><?php echo esc_html($home_slider_subtitle); ?></p>
76
+ <?php }
77
+ if($home_slider_title!=''){ ?>
78
+ <h2 class="title"><?php echo esc_html($home_slider_title); ?></h2>
79
+ <?php }
80
+ if($home_slider_discription!=''){ ?>
81
+ <p class="description"><?php echo wp_kses_post($home_slider_discription); ?></p>
82
+ <?php } ?>
83
+ <?php if(($home_slider_btn_txt !=null) || ($home_slider_btn_txt2 !=null)) { ?>
84
+ <div class="btn-combo mt-5">
85
+ <?php if($home_slider_btn_txt !=null): ?>
86
+ <a href="<?php echo esc_url($home_slider_btn_link); ?>" <?php if($home_slider_btn_target) { ?> target="_blank" <?php } ?> class="btn-small btn-default"> <?php echo esc_html($home_slider_btn_txt); ?> </a>
87
+ <?php endif; ?>
88
+ <?php if($home_slider_btn_txt2 !=null): ?>
89
+ <a href="<?php echo esc_url($home_slider_btn_link2); ?>" <?php if($home_slider_btn_target2) { ?> target="_blank" <?php } ?> class="btn-small btn-light"><?php echo esc_html($home_slider_btn_txt2); ?></a>
90
+ <?php endif;?>
91
+ </div>
92
+ <?php } ?>
93
+ </div>
94
+ </div>
95
+ <?php $slider_image_overlay = get_theme_mod('slider_image_overlay',true);
96
+ $slider_overlay_section_color = get_theme_mod('slider_overlay_section_color','rgba(0,0,0,0.6)');
97
+ if($slider_image_overlay != false) { ?>
98
+ <div class="overlay" style="background-color:<?php echo esc_attr($slider_overlay_section_color);?>"></div>
99
+ <?php } ?>
100
+ </div>
101
+ </section>
102
+ <?php } ?>
103
+ <div class="clearfix"></div>
104
+ <?php
105
+ }
106
+ } ?>
inc/busicare/sections/busicare-team-section.php ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ add_action('spiceb_busicare_team_action','spiceb_busicare_team_section');
3
+
4
+ function spiceb_busicare_team_section(){
5
+ $team_options = get_theme_mod('busicare_team_content');
6
+ $team_nav_style = get_theme_mod('team_nav_style', 'bullets');
7
+ $isRTL = (is_rtl()) ? (bool) true : (bool) false;
8
+ $teamsettings = array('teamcarouselid' => '#team-carousel','team_nav_style' => $team_nav_style, 'rtl' => $isRTL);
9
+ wp_register_script('busicare-team', SPICEB_PLUGIN_URL . '/inc/busicare/js/front-page/team.js', array('jquery'));
10
+ wp_localize_script('busicare-team', 'team_settings', $teamsettings);
11
+ wp_enqueue_script('busicare-team');
12
+
13
+ if (empty($team_options)) {
14
+ $team_options = json_encode(array(
15
+ array(
16
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/team/team1.jpg',
17
+ 'membername' => 'Danial Wilson',
18
+ 'designation' => esc_html__('Senior Manager', 'busicare-plus'),
19
+ 'open_new_tab' => 'no',
20
+ 'id' => 'customizer_repeater_56d7ea7f40c56',
21
+ 'social_repeater' => json_encode(
22
+ array(
23
+ array(
24
+ 'id' => 'customizer-repeater-social-repeater-57fb908674e06',
25
+ 'link' => 'facebook.com',
26
+ 'icon' => 'fa-facebook',
27
+ ),
28
+ array(
29
+ 'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
30
+ 'link' => 'twitter.com',
31
+ 'icon' => 'fa-twitter',
32
+ ),
33
+ array(
34
+ 'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
35
+ 'link' => 'linkedin.com',
36
+ 'icon' => 'fa-linkedin',
37
+ ),
38
+ array(
39
+ 'id' => 'customizer-repeater-social-repeater-57fb9150e1e256',
40
+ 'link' => 'behance.com',
41
+ 'icon' => 'fa-behance',
42
+ ),
43
+ )
44
+ ),
45
+ ),
46
+ array(
47
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/team/team2.jpg',
48
+ 'membername' => 'Amanda Smith',
49
+ 'designation' => esc_html__('Founder & CEO', 'busicare-plus'),
50
+ 'open_new_tab' => 'no',
51
+ 'id' => 'customizer_repeater_56d7ea7f40c66',
52
+ 'social_repeater' => json_encode(
53
+ array(
54
+ array(
55
+ 'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
56
+ 'link' => 'facebook.com',
57
+ 'icon' => 'fa-facebook',
58
+ ),
59
+ array(
60
+ 'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
61
+ 'link' => 'twitter.com',
62
+ 'icon' => 'fa-twitter',
63
+ ),
64
+ array(
65
+ 'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
66
+ 'link' => 'linkedin.com',
67
+ 'icon' => 'fa-linkedin',
68
+ ),
69
+ array(
70
+ 'id' => 'customizer-repeater-social-repeater-57fb916ddffc784',
71
+ 'link' => 'behance.com',
72
+ 'icon' => 'fa-behance',
73
+ ),
74
+ )
75
+ ),
76
+ ),
77
+ array(
78
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/team/team3.jpg',
79
+ 'membername' => 'Victoria Wills',
80
+ 'designation' => esc_html__('Web Master', 'busicare-plus'),
81
+ 'open_new_tab' => 'no',
82
+ 'id' => 'customizer_repeater_56d7ea7f40c76',
83
+ 'social_repeater' => json_encode(
84
+ array(
85
+ array(
86
+ 'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
87
+ 'link' => 'facebook.com',
88
+ 'icon' => 'fa-facebook',
89
+ ),
90
+ array(
91
+ 'id' => 'customizer-repeater-social-repeater-57fb91830825c',
92
+ 'link' => 'twitter.com',
93
+ 'icon' => 'fa-twitter',
94
+ ),
95
+ array(
96
+ 'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
97
+ 'link' => 'linkedin.com',
98
+ 'icon' => 'fa-linkedin',
99
+ ),
100
+ array(
101
+ 'id' => 'customizer-repeater-social-repeater-57fb918d65f2e8',
102
+ 'link' => 'behance.com',
103
+ 'icon' => 'fa-behance',
104
+ ),
105
+ )
106
+ ),
107
+ ),
108
+ array(
109
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/team/team4.jpg',
110
+ 'membername' => 'Travis Marcus',
111
+ 'designation' => esc_html__('UI Developer', 'busicare-plus'),
112
+ 'open_new_tab' => 'no',
113
+ 'id' => 'customizer_repeater_56d7ea7f40c86',
114
+ 'social_repeater' => json_encode(
115
+ array(
116
+ array(
117
+ 'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
118
+ 'link' => 'facebook.com',
119
+ 'icon' => 'fa-facebook',
120
+ ),
121
+ array(
122
+ 'id' => 'customizer-repeater-social-repeater-57fb92615f030',
123
+ 'link' => 'twitter.com',
124
+ 'icon' => 'fa-twitter',
125
+ ),
126
+ array(
127
+ 'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
128
+ 'link' => 'linkedin.com',
129
+ 'icon' => 'fa-linkedin',
130
+ ),
131
+ array(
132
+ 'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
133
+ 'link' => 'behance.com',
134
+ 'icon' => 'fa-behance',
135
+ ),
136
+ )
137
+ ),
138
+ ),
139
+ ));
140
+ }
141
+ $team_section_enable = get_theme_mod('team_section_enable', true);
142
+ if ($team_section_enable != false) {?>
143
+ <section class="section-space team-group">
144
+ <div class="busicare-team-container container">
145
+ <?php
146
+ $home_team_section_title = get_theme_mod('home_team_section_title', __('The Team', 'spicebox'));
147
+ $home_team_section_discription = get_theme_mod('home_team_section_discription', __('Meet Our Experts', 'spicebox'));
148
+ if (($home_team_section_title) || ($home_team_section_discription) != '') {?>
149
+ <div class="row">
150
+ <div class="col-lg-12 col-md-12 col-xs-12">
151
+ <div class="section-header">
152
+ <?php if (!empty($home_team_section_title)): ?>
153
+ <h2 class="section-title"><?php echo esc_html($home_team_section_title); ?></h2>
154
+ <div class="title_seprater"></div>
155
+ <?php
156
+ endif;
157
+
158
+ if (!empty($home_team_section_discription)):
159
+ ?>
160
+ <h5 class="section-subtitle"><?php echo esc_html($home_team_section_discription); ?></h5>
161
+ <?php endif; ?>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ <?php } ?>
166
+ <div class="row">
167
+ <div id="team-carousel" class="owl-carousel owl-theme col-lg-12">
168
+ <?php
169
+ $team_options = json_decode($team_options);
170
+
171
+ if (!empty($team_options)) {
172
+ foreach ($team_options as $team_item) {
173
+ $image = !empty($team_item->image_url) ? apply_filters('busicare_translate_single_string', $team_item->image_url, 'Team section') : '';
174
+ $title = !empty($team_item->membername) ? apply_filters('busicare_translate_single_string', $team_item->membername, 'Team section') : '';
175
+ $subtitle = !empty($team_item->designation) ? apply_filters('busicare_translate_single_string', $team_item->designation, 'Team section') : '';
176
+ $link = !empty($team_item->link) ? apply_filters('busicare_translate_single_string', $team_item->link, 'Team section') : '';
177
+ $open_new_tab = $team_item->open_new_tab;
178
+ ?>
179
+ <div class="item">
180
+ <div class="team-grid text-center">
181
+ <div class="img-holder">
182
+ <?php if (!empty($image)) : ?>
183
+ <?php
184
+ if (!empty($link)) :
185
+ $link_html = '<a href="' . esc_url($link) . '"';
186
+ if (function_exists('busicare_is_external_url')) {
187
+ $link_html .= busicare_is_external_url($link);
188
+ }
189
+ $link_html .= '>';
190
+ echo wp_kses_post($link_html);
191
+ endif;
192
+ echo '<img class="img-fluid" src="' . esc_url($image) . '"';
193
+ if (!empty($title)) {
194
+ echo 'alt="' . esc_attr($title) . '" title="' . esc_attr($title) . '"';
195
+ }
196
+ echo '/>';
197
+ if (!empty($link)) {
198
+ echo '</a>';
199
+ }
200
+ ?>
201
+ <?php endif; ?>
202
+
203
+ <?php
204
+ $icons = html_entity_decode($team_item->social_repeater);
205
+ $icons_decoded = json_decode($icons, true);
206
+ $socails_counts = count($icons_decoded);
207
+ if (!empty($socails_counts)) :
208
+ ?> <div class="social-group">
209
+ <?php if (!empty($icons_decoded)) : ?>
210
+ <ul class="custom-social-icons">
211
+ <?php
212
+ foreach ($icons_decoded as $value) {
213
+ $social_icon = !empty($value['icon']) ? apply_filters('busicare_translate_single_string', $value['icon'], 'Team section') : '';
214
+ $social_link = !empty($value['link']) ? apply_filters('busicare_translate_single_string', $value['link'], 'Team section') : '';
215
+ if (!empty($social_icon)) {
216
+ ?>
217
+ <li>
218
+ <a <?php if ($open_new_tab == 'yes') {?>target="_blank"<?php }?> href="<?php echo esc_url($social_link);?>" class="btn btn-just-icon btn-simple">
219
+ <i class="fa <?php echo esc_attr($social_icon); ?> ">
220
+ </i>
221
+ </a>
222
+ </li>
223
+ <?php
224
+ }
225
+ }?>
226
+ </ul>
227
+ <?php endif;?>
228
+ </div>
229
+ <?php endif;?>
230
+ </div>
231
+ <?php if ($title != '' || $subtitle != ''): ?>
232
+ <figcaption class="details">
233
+ <?php if (!empty($title)) : ?>
234
+ <?php if (!empty($link)) : ?>
235
+ <a href="<?php echo esc_url($lin);?>" <?php
236
+ if ($open_new_tab == 'yes') {
237
+ echo 'target="_blank"';
238
+ }
239
+ ?>>
240
+ <?php endif; ?>
241
+ <h4 class="name"><?php echo esc_html($title); ?></h4>
242
+ <?php if (!empty($link)) : ?>
243
+ </a>
244
+ <?php endif; ?>
245
+ <?php endif; ?>
246
+ <?php if (!empty($subtitle)) : ?>
247
+ <span class="position"><?php echo esc_html($subtitle); ?></span>
248
+ <?php endif; ?>
249
+ </figcaption>
250
+ <?php endif; ?>
251
+ </div>
252
+ </div>
253
+ <?php
254
+ }
255
+ } ?>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ </section>
260
+ <?php
261
+ }
262
+ }
inc/busicare/sections/busicare-testimonial-section.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /* Call the action for team section */
3
+ add_action('spiceb_busicare_testimonial_action','spiceb_busicare_testimonial_section');
4
+ /* Function for team section*/
5
+ function spiceb_busicare_testimonial_section()
6
+ {
7
+ $isRTL = (is_rtl()) ? (bool) true : (bool) false;
8
+ $testimonial_nav_style = get_theme_mod('testimonial_nav_style', 'bullets');
9
+ $testimonialsettings = array('design_id' => '#testimonial-carousel', 'testimonial_nav_style' => $testimonial_nav_style, 'rtl' => $isRTL);
10
+ wp_register_script('busicare-testimonial', SPICEB_PLUGIN_URL . '/inc/busicare/js/front-page/testi.js', array('jquery'));
11
+ wp_localize_script('busicare-testimonial', 'testimonial_settings', $testimonialsettings);
12
+ wp_enqueue_script('busicare-testimonial');
13
+ $home_testimonial_section_title = get_theme_mod('home_testimonial_section_title', __('Nam Viverra Iaculis Finibus', 'spicebox'));
14
+ $testimonial_callout_background = get_theme_mod('testimonial_callout_background', SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/testimonial-bg.jpg');
15
+
16
+ $testimonial_options = get_theme_mod('busicare_testimonial_content');
17
+ if (empty($testimonial_options)) {
18
+ $testimonial_options = json_encode(array(
19
+ array(
20
+ 'title' => 'Nam Viverra Iaculis Finibus',
21
+ 'text' => 'Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.',
22
+ 'clientname' => esc_html__('Cras Vitae', 'busicare-plus'),
23
+ 'designation' => esc_html__('Eu Suscipit', 'busicare-plus'),
24
+ 'link' => '#',
25
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/user1.jpg',
26
+ 'open_new_tab' => 'no',
27
+ 'id' => 'customizer_repeater_56d7ea7f40b96',
28
+ ),
29
+ array(
30
+ 'title' => 'Nam Viverra Iaculis Finibus',
31
+ 'text' => 'Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.',
32
+ 'clientname' => esc_html__('Cras Vitae', 'busicare-plus'),
33
+ 'designation' => esc_html__('Eu Suscipit', 'busicare-plus'),
34
+ 'link' => '#',
35
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/user2.jpg',
36
+ 'open_new_tab' => 'no',
37
+ 'id' => 'customizer_repeater_56d7ea7f40b97',
38
+ ),
39
+ array(
40
+ 'title' => 'Nam Viverra Iaculis Finibus',
41
+ 'text' => 'Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.',
42
+ 'clientname' => esc_html__('Cras Vitae', 'busicare-plus'),
43
+ 'designation' => esc_html__('Eu Suscipit', 'busicare-plus'),
44
+ 'link' => '#',
45
+ 'image_url' => SPICEB_PLUGIN_URL . '/inc/busicare/images/testimonial/user3.jpg',
46
+ 'id' => 'customizer_repeater_56d7ea7f40b98',
47
+ 'open_new_tab' => 'no',
48
+ ),
49
+ ));
50
+ }
51
+ if(get_theme_mod('testimonial_section_enable',true)==true):?>
52
+ <section class="section-space testimonial" 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;
53
+ background-repeat: no-repeat;">
54
+ <div class="overlay"></div>
55
+ <div class="container">
56
+ <?php if ($home_testimonial_section_title != '' ) { ?>
57
+ <div class="row">
58
+ <div class="col-lg-12 col-md-12 col-sm-12">
59
+ <div class="section-header">
60
+ <h2 class="section-title text-white"><?php echo esc_html($home_testimonial_section_title); ?></h2>
61
+ <div class="title_seprater"></div>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ <?php } ?>
66
+
67
+ <!--Testimonial-->
68
+ <div class="row">
69
+ <div class="owl-carousel owl-theme col-md-12" id="testimonial-carousel">
70
+ <?php
71
+ $testimonial_options = json_decode($testimonial_options);
72
+ if ($testimonial_options != '') {
73
+ $allowed_html = array(
74
+ 'br' => array(),
75
+ 'em' => array(),
76
+ 'strong' => array(),
77
+ 'b' => array(),
78
+ 'i' => array(),
79
+ );
80
+ foreach ($testimonial_options as $testimonial_iteam) {
81
+ $home_testimonial_thumb = $testimonial_iteam->image_url;
82
+ $home_testimonial_title = !empty($testimonial_iteam->title) ? apply_filters('busicare_translate_single_string', $testimonial_iteam->title, 'Testimonial section') : '';
83
+ $home_testimonial_desc = !empty($testimonial_iteam->text) ? apply_filters('busicare_translate_single_string', $testimonial_iteam->text, 'Testimonial section') : '';
84
+ $home_testimonial_link = $testimonial_iteam->link;
85
+ $open_new_tab = $testimonial_iteam->open_new_tab;
86
+ $home_testimonial_clientname = !empty($testimonial_iteam->clientname) ? apply_filters('busicare_translate_single_string', $testimonial_iteam->clientname, 'Testimonial section') : '';
87
+ $home_testimonial_designation = !empty($testimonial_iteam->designation) ? apply_filters('busicare_translate_single_string', $testimonial_iteam->designation, 'Testimonial section') : '';
88
+ $stars = !empty($testimonial_iteam->home_testimonial_star) ? apply_filters('busicare_translate_single_string', $testimonial_iteam->home_testimonial_star, 'Testimonial section') : '';
89
+ ?>
90
+ <div class="item">
91
+ <blockquote class="testmonial-block text-center">
92
+ <?php $default_arg = array('class' => "img-circle"); ?>
93
+ <?php if ($home_testimonial_thumb != ''): ?>
94
+ <figure class="avatar">
95
+ <img src="<?php echo esc_url($home_testimonial_thumb); ?>" class="img-fluid rounded-circle" alt="<?php echo esc_attr($home_testimonial_clientname);?>" >
96
+ </figure>
97
+ <?php endif;
98
+ if (!empty($home_testimonial_desc)): ?>
99
+ <div class="entry-content">
100
+ <?php if ($home_testimonial_title != ''){ ?><h3 class="title"><span>“ <?php echo wp_kses(html_entity_decode($home_testimonial_title), $allowed_html); ?> ”</span></h3><?php } ?>
101
+
102
+ <?php if ($home_testimonial_desc != '') { ?><p class="text-white" ><?php echo wp_kses(html_entity_decode($home_testimonial_desc), $allowed_html); ?></p> <?php } ?>
103
+ </div>
104
+ <?php endif;
105
+ if ($home_testimonial_clientname != '' || $home_testimonial_designation != '' ) { ?>
106
+ <figcaption>
107
+ <?php if (!empty($home_testimonial_designation)): ?>
108
+ <a href="<?php if (empty($home_testimonial_link)) {echo '#';} else { echo esc_url($home_testimonial_link);}?>" <?php if($open_new_tab==true) { ?> target="_blank"<?php } ?>>
109
+ <cite class="name"><?php echo esc_html($home_testimonial_clientname); ?></cite></a>
110
+ <?php endif; ?>
111
+ <?php if (!empty($home_testimonial_designation)): ?>
112
+ <span class="designation"><?php echo esc_html($home_testimonial_designation); ?></span>
113
+ <?php endif; ?>
114
+ </figcaption>
115
+ <?php } ?>
116
+ </blockquote>
117
+ </div>
118
+ <?php
119
+ }
120
+ }?>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </section>
125
+ <?php endif;?>
126
+ <!-- /End of Testimonial Section-->
127
+ <?php } ?>
inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php ADDED
@@ -0,0 +1,669 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if ( ! class_exists( 'WP_Customize_Control' ) ) {
2
+ return null;
3
+ }
4
+
5
+ class Spicebox_Limit_Repeater extends WP_Customize_Control {
6
+
7
+ public $id;
8
+ private $boxtitle = array();
9
+ private $add_field_label = array();
10
+ private $customizer_repeater_title_control = false;
11
+ private $customizer_repeater_subtitle_control = false;
12
+ private $customizer_repeater_button_text_control = false;
13
+ private $customizer_repeater_link_control = false;
14
+ private $customizer_repeater_slide_format = false;
15
+ private $customizer_repeater_video_url_control = false;
16
+ private $customizer_repeater_image_control = false;
17
+ private $customizer_repeater_icon_control = false;
18
+ private $customizer_repeater_color_control = false;
19
+ private $customizer_repeater_text_control = false;
20
+ private $customizer_repeater_designation_control = false;
21
+ private $customizer_repeater_shortcode_control = false;
22
+ private $customizer_repeater_repeater_control = false;
23
+ private $customizer_repeater_checkbox_control = false;
24
+
25
+ private $customizer_icon_container = '';
26
+ private $allowed_html = array();
27
+
28
+
29
+ /*Class constructor*/
30
+ public function __construct( $manager, $id, $args = array() ) {
31
+ parent::__construct( $manager, $id, $args );
32
+ /*Get options from customizer.php*/
33
+ $this->add_field_label = esc_html__( 'Add new field', 'spicebox' );
34
+ if ( ! empty( $args['add_field_label'] ) ) {
35
+ $this->add_field_label = $args['add_field_label'];
36
+ }
37
+
38
+ $this->boxtitle = esc_html__( 'Customizer Repeater', 'spicebox' );
39
+ if ( ! empty ( $args['item_name'] ) ) {
40
+ $this->boxtitle = $args['item_name'];
41
+ } elseif ( ! empty( $this->label ) ) {
42
+ $this->boxtitle = $this->label;
43
+ }
44
+
45
+ if ( ! empty( $args['customizer_repeater_image_control'] ) ) {
46
+ $this->customizer_repeater_image_control = $args['customizer_repeater_image_control'];
47
+ }
48
+
49
+
50
+ if ( ! empty( $args['customizer_repeater_icon_control'] ) ) {
51
+ $this->customizer_repeater_icon_control = $args['customizer_repeater_icon_control'];
52
+ }
53
+
54
+ if ( ! empty( $args['customizer_repeater_color_control'] ) ) {
55
+ $this->customizer_repeater_color_control = $args['customizer_repeater_color_control'];
56
+ }
57
+
58
+ if ( ! empty( $args['customizer_repeater_title_control'] ) ) {
59
+ $this->customizer_repeater_title_control = $args['customizer_repeater_title_control'];
60
+ }
61
+
62
+ if ( ! empty( $args['customizer_repeater_subtitle_control'] ) ) {
63
+ $this->customizer_repeater_subtitle_control = $args['customizer_repeater_subtitle_control'];
64
+ }
65
+
66
+ if ( ! empty( $args['customizer_repeater_text_control'] ) ) {
67
+ $this->customizer_repeater_text_control = $args['customizer_repeater_text_control'];
68
+ }
69
+
70
+ if ( ! empty( $args['customizer_repeater_designation_control'] ) ) {
71
+ $this->customizer_repeater_designation_control = $args['customizer_repeater_designation_control'];
72
+ }
73
+
74
+ if ( ! empty( $args['customizer_repeater_button_text_control'] ) ) {
75
+ $this->customizer_repeater_button_text_control = $args['customizer_repeater_button_text_control'];
76
+ }
77
+
78
+ if ( ! empty( $args['customizer_repeater_link_control'] ) ) {
79
+ $this->customizer_repeater_link_control = $args['customizer_repeater_link_control'];
80
+ }
81
+
82
+ if ( ! empty( $args['customizer_repeater_checkbox_control'] ) ) {
83
+ $this->customizer_repeater_checkbox_control = $args['customizer_repeater_checkbox_control'];
84
+ }
85
+
86
+ if ( ! empty( $args['customizer_repeater_slide_format'] ) ) {
87
+ $this->customizer_repeater_slide_format = $args['customizer_repeater_slide_format'];
88
+ }
89
+
90
+ if ( ! empty( $args['customizer_repeater_video_url_control'] ) ) {
91
+ $this->customizer_repeater_video_url_control = $args['customizer_repeater_video_url_control'];
92
+ }
93
+
94
+
95
+ if ( ! empty( $args['customizer_repeater_shortcode_control'] ) ) {
96
+ $this->customizer_repeater_shortcode_control = $args['customizer_repeater_shortcode_control'];
97
+ }
98
+
99
+ if ( ! empty( $args['customizer_repeater_repeater_control'] ) ) {
100
+ $this->customizer_repeater_repeater_control = $args['customizer_repeater_repeater_control'];
101
+ }
102
+
103
+
104
+ if ( ! empty( $id ) ) {
105
+ $this->id = $id;
106
+ }
107
+
108
+
109
+ $allowed_array1 = wp_kses_allowed_html( 'post' );
110
+ $allowed_array2 = array(
111
+ 'input' => array(
112
+ 'type' => array(),
113
+ 'class' => array(),
114
+ 'placeholder' => array()
115
+ )
116
+ );
117
+
118
+ $this->allowed_html = array_merge( $allowed_array1, $allowed_array2 );
119
+ }
120
+
121
+ /*Enqueue resources for the control*/
122
+ public function enqueue() {
123
+ wp_enqueue_style( 'font-awesome', SPICEB_PLUGIN_URL . '/inc/controls/customizer-repeater/css/font-awesome.min.css', array(), 999 );
124
+
125
+ wp_enqueue_style( 'spicepress_customizer-repeater-admin-stylesheet', SPICEB_PLUGIN_URL . '/inc/controls/customizer-repeater/css/admin-style.css', array(), 999 );
126
+
127
+ wp_enqueue_style( 'wp-color-picker' );
128
+
129
+ wp_enqueue_script( 'spicepress_customizer-repeater-script', SPICEB_PLUGIN_URL . '/inc/controls/customizer-repeater/js/customizer_limit_repeater.js', array('jquery', 'jquery-ui-draggable', 'wp-color-picker' ), 999, true );
130
+
131
+ wp_enqueue_script( 'spicepress_customizer-repeater-fontawesome-iconpicker', SPICEB_PLUGIN_URL . '/inc/controls/customizer-repeater/js/fontawesome-iconpicker.js', array( 'jquery' ), 999, true );
132
+
133
+ wp_enqueue_style( 'spicepress_customizer-repeater-fontawesome-iconpicker-script', SPICEB_PLUGIN_URL . '/inc/controls/customizer-repeater/css/fontawesome-iconpicker.min.css', array(), 999 );
134
+ }
135
+
136
+ public function render_content() {
137
+
138
+ /*Get default options*/
139
+ $this_default = json_decode( $this->setting->default );
140
+
141
+ /*Get values (json format)*/
142
+ $values = $this->value();
143
+
144
+ /*Decode values*/
145
+ $json = json_decode( $values );
146
+
147
+ if ( ! is_array( $json ) ) {
148
+ $json = array( $values );
149
+ } ?>
150
+
151
+ <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
152
+ <div class="customizer-repeater-general-control-repeater customizer-repeater-general-control-droppable">
153
+ <?php
154
+ if ( ( count( $json ) == 1 && '' === $json[0] ) || empty( $json ) ) {
155
+ if ( ! empty( $this_default ) ) {
156
+ $this->iterate_array( $this_default ); ?>
157
+ <input type="hidden"
158
+ id="customizer-repeater-<?php echo esc_attr( $this->id ); ?>-colector" <?php esc_attr( $this->link() ); ?>
159
+ class="customizer-repeater-colector"
160
+ value="<?php echo esc_attr( json_encode( $this_default ) ); ?>"/>
161
+ <?php
162
+ } else {
163
+ $this->iterate_array(); ?>
164
+ <input type="hidden"
165
+ id="customizer-repeater-<?php echo esc_attr( $this->id ); ?>-colector" <?php esc_attr( $this->link() ); ?>
166
+ class="customizer-repeater-colector"/>
167
+ <?php
168
+ }
169
+ } else {
170
+ $this->iterate_array( $json ); ?>
171
+ <input type="hidden" id="customizer-repeater-<?php echo esc_attr( $this->id ); ?>-colector" <?php esc_attr( $this->link() ); ?>
172
+ class="customizer-repeater-colector" value="<?php echo esc_attr( $this->value() ); ?>"/>
173
+ <?php
174
+ } ?>
175
+ </div>
176
+ <input type="hidden" value="<?php echo count( $json ); ?>" id="spiceb_service_limit"/>
177
+ <button type="button" class="button add_field customizer-repeater-new-field">
178
+ <?php echo esc_html( $this->add_field_label ); ?>
179
+ </button>
180
+ <?php
181
+ }
182
+
183
+ private function iterate_array($array = array()){
184
+
185
+ /*Counter that helps checking if the box is first and should have the delete button disabled*/
186
+ $it = 0;
187
+ if(!empty($array)){
188
+ foreach($array as $icon){ ?>
189
+ <div class="customizer-repeater-general-control-repeater-container customizer-repeater-draggable">
190
+ <div class="customizer-repeater-customize-control-title">
191
+ <?php echo esc_html( $this->boxtitle ) ?>
192
+ </div>
193
+ <div class="customizer-repeater-box-content-hidden">
194
+ <?php
195
+ $choice = $image_url = $icon_value = $title = $subtitle = $text = $slide_format = $link = $designation = $button = $open_new_tab = $shortcode = $repeater = $color = $video_url = '';
196
+ if(!empty($icon->id)){
197
+ $id = $icon->id;
198
+ }
199
+ if(!empty($icon->choice)){
200
+ $choice = $icon->choice;
201
+ }
202
+ if(!empty($icon->image_url)){
203
+ $image_url = $icon->image_url;
204
+ }
205
+ if(!empty($icon->icon_value)){
206
+ $icon_value = $icon->icon_value;
207
+ }
208
+ if(!empty($icon->color)){
209
+ $color = $icon->color;
210
+ }
211
+ if(!empty($icon->title)){
212
+ $title = $icon->title;
213
+ }
214
+
215
+ if(!empty($icon->designation)){
216
+ $designation = $icon->designation;
217
+ }
218
+
219
+ if(!empty($icon->subtitle)){
220
+ $subtitle = $icon->subtitle;
221
+ }
222
+ if(!empty($icon->text)){
223
+ $text = $icon->text;
224
+ }
225
+ if(!empty($icon->video_url)){
226
+ $video_url = $icon->video_url;
227
+ }
228
+
229
+ if(!empty($icon->slide_format)){
230
+ $slide_format = $icon->slide_format;
231
+ }
232
+
233
+ if(!empty($icon->button_text)){
234
+ $button = $icon->button_text;
235
+ }
236
+ if(!empty($icon->link)){
237
+ $link = $icon->link;
238
+ }
239
+ if(!empty($icon->shortcode)){
240
+ $shortcode = $icon->shortcode;
241
+ }
242
+
243
+ if(!empty($icon->social_repeater)){
244
+ $repeater = $icon->social_repeater;
245
+ }
246
+
247
+ if(!empty($icon->open_new_tab)){
248
+ $open_new_tab = $icon->open_new_tab;
249
+ }
250
+
251
+
252
+ if($this->customizer_repeater_title_control==true){
253
+ $this->input_control(array(
254
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Title','spicebox' ), $this->id, 'customizer_repeater_title_control' ),
255
+ 'class' => 'customizer-repeater-title-control',
256
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ),
257
+ ), $title);
258
+ }
259
+ if($this->customizer_repeater_subtitle_control==true){
260
+ $this->input_control(array(
261
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Subtitle','spicebox' ), $this->id, 'customizer_repeater_subtitle_control' ),
262
+ 'class' => 'customizer-repeater-subtitle-control',
263
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ),
264
+ ), $subtitle);
265
+ }
266
+ if($this->customizer_repeater_text_control==true){
267
+ $this->input_control(array(
268
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Description','spicebox' ), $this->id, 'customizer_repeater_text_control' ),
269
+ 'class' => 'customizer-repeater-text-control',
270
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ),
271
+ ), $text);
272
+ }
273
+
274
+
275
+ if($this->customizer_repeater_button_text_control){
276
+ $this->input_control(array(
277
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Button Text',
278
+ 'spicebox'), $this->id, 'customizer_repeater_button_text_control'),
279
+ 'class' => 'customizer-repeater-button-text-control',
280
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '' , $this->id,
281
+ 'customizer_repeater_button_text_control'),
282
+ ), $button);
283
+ }
284
+
285
+
286
+ if($this->customizer_repeater_link_control){
287
+ $this->input_control(array(
288
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Link','spicebox' ), $this->id, 'customizer_repeater_link_control' ),
289
+ 'class' => 'customizer-repeater-link-control',
290
+ 'sanitize_callback' => 'esc_url_raw',
291
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ),
292
+ ), $link);
293
+ }
294
+
295
+ if($this->customizer_repeater_checkbox_control == true){
296
+ $this->testimonila_check($open_new_tab);
297
+
298
+ }
299
+
300
+ if($this->customizer_repeater_slide_format == true){
301
+ $this->slide_format($slide_format);
302
+
303
+ }
304
+
305
+ if($this->customizer_repeater_video_url_control){
306
+ $this->input_control(array(
307
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Video Url',
308
+ 'spicebox'), $this->id, 'customizer_repeater_video_url_control'),
309
+ 'class' => 'customizer-repeater-video-url-control',
310
+ 'type' => apply_filters('customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ),
311
+ ), $video_url);
312
+ }
313
+
314
+
315
+
316
+ if($this->customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true) {
317
+ $this->icon_type_choice( $choice );
318
+ }
319
+ if($this->customizer_repeater_image_control == true){
320
+ $this->image_control($image_url, $choice);
321
+ }
322
+ if($this->customizer_repeater_icon_control == true){
323
+ $this->icon_picker_control($icon_value, $choice);
324
+ }
325
+
326
+
327
+
328
+
329
+ if($this->customizer_repeater_color_control == true){
330
+ $this->input_control(array(
331
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Color','spicebox' ), $this->id, 'customizer_repeater_color_control' ),
332
+ 'class' => 'customizer-repeater-color-control',
333
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ),
334
+ 'sanitize_callback' => 'sanitize_hex_color'
335
+ ), $color);
336
+ }
337
+
338
+
339
+ if($this->customizer_repeater_shortcode_control==true){
340
+ $this->input_control(array(
341
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Shortcode','spicebox' ), $this->id, 'customizer_repeater_shortcode_control' ),
342
+ 'class' => 'customizer-repeater-shortcode-control',
343
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ),
344
+ ), $shortcode);
345
+ }
346
+
347
+ if($this->customizer_repeater_designation_control==true){
348
+ $this->input_control(array(
349
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Designation','spicebox' ), $this->id, 'customizer_repeater_designation_control' ),
350
+ 'class' => 'customizer-repeater-designation-control',
351
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ),
352
+ ), $designation);
353
+ }
354
+
355
+ if($this->customizer_repeater_repeater_control==true){
356
+ $this->repeater_control($repeater);
357
+ } ?>
358
+
359
+ <input type="hidden" class="social-repeater-box-id" value="<?php if ( ! empty( $id ) ) {
360
+ echo esc_attr( $id );
361
+ } ?>">
362
+ <button type="button" class="social-repeater-general-control-remove-field" <?php if ( $it == 0 ) {
363
+ echo 'style="display:none;"';
364
+ } ?>>
365
+ <?php esc_html_e( 'Delete field', 'spicebox' ); ?>
366
+ </button>
367
+
368
+ </div>
369
+ </div>
370
+
371
+ <?php
372
+ $it++;
373
+ }
374
+ } else { ?>
375
+ <div class="customizer-repeater-general-control-repeater-container">
376
+ <div class="customizer-repeater-customize-control-title">
377
+ <?php echo esc_html( $this->boxtitle ) ?>
378
+ </div>
379
+ <div class="customizer-repeater-box-content-hidden">
380
+ <?php
381
+ if ( $this->customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true ) {
382
+ $this->icon_type_choice();
383
+ }
384
+ if ( $this->customizer_repeater_image_control == true ) {
385
+ $this->image_control();
386
+ }
387
+ if ( $this->customizer_repeater_icon_control == true ) {
388
+ $this->icon_picker_control();
389
+ }
390
+
391
+
392
+
393
+ if($this->customizer_repeater_color_control==true){
394
+ $this->input_control(array(
395
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Color','spicebox' ), $this->id, 'customizer_repeater_color_control' ),
396
+ 'class' => 'customizer-repeater-color-control',
397
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ),
398
+ 'sanitize_callback' => 'sanitize_hex_color'
399
+ ) );
400
+ }
401
+ if ( $this->customizer_repeater_title_control == true ) {
402
+ $this->input_control( array(
403
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Title','spicebox' ), $this->id, 'customizer_repeater_title_control' ),
404
+ 'class' => 'customizer-repeater-title-control',
405
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ),
406
+ ) );
407
+ }
408
+ if ( $this->customizer_repeater_subtitle_control == true ) {
409
+ $this->input_control( array(
410
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Subtitle','spicebox' ), $this->id, 'customizer_repeater_subtitle_control' ),
411
+ 'class' => 'customizer-repeater-subtitle-control',
412
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ),
413
+ ) );
414
+ }
415
+ if ( $this->customizer_repeater_text_control == true ) {
416
+ $this->input_control( array(
417
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Description','spicebox' ), $this->id, 'customizer_repeater_text_control' ),
418
+ 'class' => 'customizer-repeater-text-control',
419
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ),
420
+ ) );
421
+ }
422
+
423
+ if($this->customizer_repeater_button_text_control){
424
+ $this->input_control(array(
425
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Button Text',
426
+ 'spicebox'), $this->id, 'customizer_repeater_button_text_control'),
427
+ 'class' => 'customizer-repeater-button-text-control',
428
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '' , $this->id,
429
+ 'customizer_repeater_button_text_control'),
430
+ ));
431
+ }
432
+
433
+ if ( $this->customizer_repeater_link_control == true ) {
434
+ $this->input_control( array(
435
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Link','spicebox' ), $this->id, 'customizer_repeater_link_control' ),
436
+ 'class' => 'customizer-repeater-link-control',
437
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ),
438
+ ) );
439
+ }
440
+
441
+ if($this->customizer_repeater_checkbox_control == true){
442
+ $this->testimonila_check();
443
+
444
+ }
445
+
446
+ if($this->customizer_repeater_slide_format == true){
447
+ $this->slide_format($slide_format);
448
+
449
+ }
450
+
451
+ if($this->customizer_repeater_video_url_control){
452
+ $this->input_control(array(
453
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Video Url',
454
+ 'spicebox'), $this->id, 'customizer_repeater_video_url_control'),
455
+ 'class' => 'customizer-repeater-video-url-control',
456
+ 'type' => apply_filters('customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ),
457
+ ));
458
+ }
459
+
460
+
461
+
462
+ if ( $this->customizer_repeater_shortcode_control == true ) {
463
+ $this->input_control( array(
464
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Shortcode','spicebox' ), $this->id, 'customizer_repeater_shortcode_control' ),
465
+ 'class' => 'customizer-repeater-shortcode-control',
466
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ),
467
+ ) );
468
+ }
469
+
470
+
471
+ if ( $this->customizer_repeater_designation_control == true ) {
472
+ $this->input_control( array(
473
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Designation','spicebox' ), $this->id, 'customizer_repeater_designation_control' ),
474
+ 'class' => 'customizer-repeater-designation-control',
475
+ 'type' => apply_filters('Spicebox_Limit_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ),
476
+ ) );
477
+ }
478
+
479
+ if($this->customizer_repeater_repeater_control==true){
480
+ $this->repeater_control();
481
+ } ?>
482
+ <input type="hidden" class="social-repeater-box-id">
483
+ <button type="button" class="social-repeater-general-control-remove-field button" style="display:none;">
484
+ <?php esc_html_e( 'Delete field', 'spicebox' ); ?>
485
+ </button>
486
+ </div>
487
+ </div>
488
+ <?php
489
+ }
490
+ }
491
+
492
+ private function input_control( $options, $value='' ){
493
+ //print_r($options);
494
+ ?>
495
+ <span class="customize-control-title <?php echo esc_html( $options['label'] ); ?>"
496
+ <?php if($options['class']== 'customizer-repeater-video-url-control') {echo 'style="display:none;"'; }?>
497
+
498
+ ><?php echo esc_html( $options['label'] ); ?></span>
499
+ <?php
500
+ if( !empty($options['type']) ){
501
+ switch ($options['type']) {
502
+ case 'textarea':?>
503
+ <textarea class="<?php echo esc_attr( $options['class'] ); ?>" placeholder="<?php echo esc_attr( $options['label'] ); ?>"><?php echo ( !empty($options['sanitize_callback']) ? call_user_func_array( $options['sanitize_callback'], array( $value ) ) : esc_attr($value) ); ?></textarea>
504
+ <?php
505
+ break;
506
+ case 'color': ?>
507
+ <input type="text" value="<?php echo ( !empty($options['sanitize_callback']) ? call_user_func_array( $options['sanitize_callback'], array( $value ) ) : esc_attr($value) ); ?>" class="<?php echo esc_attr($options['class']); ?>" />
508
+ <?php
509
+ break;
510
+ }
511
+ } else { ?>
512
+ <input type="text" value="<?php echo ( !empty($options['sanitize_callback']) ? call_user_func_array( $options['sanitize_callback'], array( $value ) ) : esc_attr($value) ); ?>" class="<?php echo esc_attr($options['class']); ?>" placeholder="<?php echo esc_attr( $options['label'] ); ?>"/>
513
+ <?php
514
+ }
515
+ }
516
+
517
+
518
+ private function testimonila_check($value='no'){
519
+ ?>
520
+ <div class="customize-control-title">
521
+ <?php esc_html_e('Open link in new tab:','spicebox'); ?>
522
+ <span class="switch">
523
+ <input type="checkbox" name="custom_checkbox" value="yes" <?php if($value=='yes'){echo 'checked';}?> class="customizer-repeater-checkbox">
524
+ </span>
525
+ </div>
526
+ <?php
527
+ }
528
+
529
+ private function icon_picker_control($value = '', $show = ''){ ?>
530
+ <div class="social-repeater-general-control-icon" <?php if( $show === 'customizer_repeater_image' || $show === 'customizer_repeater_none' ) { echo 'style="display:none;"'; } ?>>
531
+ <span class="customize-control-title">
532
+ <?php esc_html_e('Icon','spicebox'); ?>
533
+ </span>
534
+ <span class="description customize-control-description">
535
+ <?php
536
+ echo sprintf(
537
+ esc_html__( 'Note: Some icons may not be displayed here. You can see the full list of icons at %1$s.', 'spicebox' ),
538
+ sprintf( '<a href="%1$s" rel="nofollow">%s</a>', esc_html__( 'http://fontawesome.io/icons/', 'spicebox' ) )
539
+ ); ?>
540
+ </span>
541
+ <div class="input-group icp-container">
542
+ <input data-placement="bottomRight" class="icp icp-auto" value="<?php if(!empty($value)) { echo esc_attr( $value );} ?>" type="text">
543
+ <span class="input-group-addon">
544
+ <i class="fa <?php echo esc_attr($value); ?>"></i>
545
+ </span>
546
+ </div>
547
+ <?php include( SPICEB_PLUGIN_DIR . '/inc/controls/customizer-repeater/inc/icons.php' ); ?>
548
+ </div>
549
+ <?php
550
+ }
551
+
552
+ private function image_control($value = '', $show = ''){ ?>
553
+ <div class="customizer-repeater-image-control" <?php if( $show === 'customizer_repeater_icon' || $show === 'customizer_repeater_none' ) { echo 'style="display:none;"'; } ?>>
554
+ <span class="customize-control-title">
555
+ <?php esc_html_e('Image','spicebox')?>
556
+ </span>
557
+ <input type="text" class="widefat custom-media-url" value="<?php echo esc_attr( $value ); ?>">
558
+ <input type="button" class="button button-secondary customizer-repeater-custom-media-button" value="<?php esc_attr_e( 'Upload Image','spicebox' ); ?>" />
559
+ </div>
560
+ <?php
561
+ }
562
+
563
+
564
+ private function slide_format($value='customizer_repeater_slide_format_standard'){?>
565
+
566
+ <span class="customize-control-title">
567
+ <?php esc_html_e('Slide Format','spicebox'); ?>
568
+ </span>
569
+ <select class="customizer-repeater-slide-format">
570
+ <option value="customizer_repeater_slide_format_standard" <?php selected($value,'customizer_repeater_slide_format_standard');?>>
571
+ <?php esc_html_e('Standard','spicebox') ?>
572
+ </option>
573
+
574
+ <option value="customizer_repeater_slide_format_aside" <?php selected($value,'customizer_repeater_slide_format_aside');?>>
575
+ <?php esc_html_e('Aside','spicebox') ?>
576
+ </option>
577
+
578
+ <option value="customizer_repeater_slide_format_quote" <?php selected($value,'customizer_repeater_slide_format_quote');?>>
579
+ <?php esc_html_e('Quote','spicebox') ?>
580
+ </option>
581
+
582
+ <option value="customizer_repeater_slide_format_status" <?php selected($value,'customizer_repeater_slide_format_status');?>>
583
+ <?php esc_html_e('Status','spicebox') ?>
584
+ </option>
585
+
586
+ <option value="customizer_repeater_slide_forma_video" <?php selected($value,'customizer_repeater_slide_forma_video');?>>
587
+ <?php esc_html_e('Video','spicebox') ?>
588
+ </option>
589
+
590
+ </select>
591
+
592
+ <?php
593
+ }
594
+
595
+ private function icon_type_choice($value='customizer_repeater_icon'){ ?>
596
+ <span class="customize-control-title">
597
+ <?php esc_html_e('Image type','spicebox');?>
598
+ </span>
599
+ <select class="customizer-repeater-image-choice">
600
+ <option value="customizer_repeater_icon" <?php selected($value,'customizer_repeater_icon');?>><?php esc_html_e('Icon','spicebox'); ?></option>
601
+ <option value="customizer_repeater_image" <?php selected($value,'customizer_repeater_image');?>><?php esc_html_e('Image','spicebox'); ?></option>
602
+ <option value="customizer_repeater_none" <?php selected($value,'customizer_repeater_none');?>><?php esc_html_e('None','spicebox'); ?></option>
603
+ </select>
604
+ <?php
605
+ }
606
+
607
+ private function repeater_control($value = ''){
608
+ $social_repeater = array();
609
+ $show_del = 0; ?>
610
+ <span class="customize-control-title"><?php esc_html_e( 'Social icons', 'spicebox' ); ?></span>
611
+ <?php
612
+ if(!empty($value)) {
613
+ $social_repeater = json_decode( html_entity_decode( $value ), true );
614
+ }
615
+ if ( ( count( $social_repeater ) == 1 && '' === $social_repeater[0] ) || empty( $social_repeater ) ) { ?>
616
+ <div class="customizer-repeater-social-repeater">
617
+ <div class="customizer-repeater-social-repeater-container">
618
+ <div class="customizer-repeater-rc input-group icp-container">
619
+ <input data-placement="bottomRight" class="icp icp-auto" value="<?php if(!empty($value)) { echo esc_attr( $value ); } ?>" type="text">
620
+ <span class="input-group-addon"></span>
621
+ </div>
622
+ <?php include( SPICEB_PLUGIN_DIR . '/inc/controls/customizer-repeater/inc/icons.php' ); ?>
623
+ <input type="text" class="customizer-repeater-social-repeater-link"
624
+ placeholder="<?php esc_attr_e( 'Link', 'spicebox' ); ?>">
625
+ <input type="hidden" class="customizer-repeater-social-repeater-id" value="">
626
+ <button class="social-repeater-remove-social-item" style="display:none">
627
+ <?php esc_html_e( 'Remove Icon', 'spicebox' ); ?>
628
+ </button>
629
+ </div>
630
+ <input type="hidden" id="social-repeater-socials-repeater-colector" class="social-repeater-socials-repeater-colector" value=""/>
631
+ </div>
632
+ <button class="social-repeater-add-social-item button-secondary"><?php esc_html_e( 'Add Icon', 'spicebox' ); ?></button>
633
+ <?php
634
+ } else { ?>
635
+ <div class="customizer-repeater-social-repeater">
636
+ <?php
637
+ foreach ( $social_repeater as $social_icon ) {
638
+ $show_del ++; ?>
639
+ <div class="customizer-repeater-social-repeater-container">
640
+ <div class="customizer-repeater-rc input-group icp-container">
641
+ <input data-placement="bottomRight" class="icp icp-auto" value="<?php if( !empty($social_icon['icon']) ) { echo esc_attr( $social_icon['icon'] ); } ?>" type="text">
642
+ <span class="input-group-addon"><i class="fa <?php echo esc_attr( $social_icon['icon'] ); ?>"></i></span>
643
+ </div>
644
+ <?php include( SPICEB_PLUGIN_DIR . '/inc/controls/customizer-repeater/inc/icons.php' ); ?>
645
+ <input type="text" class="customizer-repeater-social-repeater-link"
646
+ placeholder="<?php esc_attr_e( 'Link', 'spicebox' ); ?>"
647
+ value="<?php if ( ! empty( $social_icon['link'] ) ) {
648
+ echo esc_url( $social_icon['link'] );
649
+ } ?>">
650
+ <input type="hidden" class="customizer-repeater-social-repeater-id"
651
+ value="<?php if ( ! empty( $social_icon['id'] ) ) {
652
+ echo esc_attr( $social_icon['id'] );
653
+ } ?>">
654
+ <button class="social-repeater-remove-social-item"
655
+ style="<?php if ( $show_del == 1 ) {
656
+ echo "display:none";
657
+ } ?>"><?php esc_html_e( 'Remove Icon', 'spicebox' ); ?></button>
658
+ </div>
659
+ <?php
660
+ } ?>
661
+ <input type="hidden" id="social-repeater-socials-repeater-colector"
662
+ class="social-repeater-socials-repeater-colector"
663
+ value="<?php echo esc_attr( html_entity_decode( $value ) ); ?>" />
664
+ </div>
665
+ <button class="social-repeater-add-social-item button-secondary"><?php esc_html_e( 'Add Icon', 'spicebox' ); ?></button>
666
+ <?php
667
+ }
668
+ }
669
+ }
inc/controls/customizer-repeater/class/customizer-repeater-control.php CHANGED
@@ -17,6 +17,8 @@ class Spicebox_Repeater extends WP_Customize_Control {
17
  private $customizer_repeater_icon_control = false;
18
  private $customizer_repeater_color_control = false;
19
  private $customizer_repeater_text_control = false;
 
 
20
  private $customizer_repeater_designation_control = false;
21
  private $customizer_repeater_shortcode_control = false;
22
  private $customizer_repeater_repeater_control = false;
@@ -70,6 +72,14 @@ class Spicebox_Repeater extends WP_Customize_Control {
70
  if ( ! empty( $args['customizer_repeater_designation_control'] ) ) {
71
  $this->customizer_repeater_designation_control = $args['customizer_repeater_designation_control'];
72
  }
 
 
 
 
 
 
 
 
73
 
74
  if ( ! empty( $args['customizer_repeater_button_text_control'] ) ) {
75
  $this->customizer_repeater_button_text_control = $args['customizer_repeater_button_text_control'];
@@ -86,7 +96,7 @@ class Spicebox_Repeater extends WP_Customize_Control {
86
  if ( ! empty( $args['customizer_repeater_slide_format'] ) ) {
87
  $this->customizer_repeater_slide_format = $args['customizer_repeater_slide_format'];
88
  }
89
-
90
  if ( ! empty( $args['customizer_repeater_video_url_control'] ) ) {
91
  $this->customizer_repeater_video_url_control = $args['customizer_repeater_video_url_control'];
92
  }
@@ -191,7 +201,7 @@ class Spicebox_Repeater extends WP_Customize_Control {
191
  </div>
192
  <div class="customizer-repeater-box-content-hidden">
193
  <?php
194
- $choice = $image_url = $icon_value = $title = $subtitle = $text = $slide_format = $link = $designation = $button = $open_new_tab = $shortcode = $repeater = $color = $video_url = '';
195
  if(!empty($icon->id)){
196
  $id = $icon->id;
197
  }
@@ -215,6 +225,14 @@ class Spicebox_Repeater extends WP_Customize_Control {
215
  $designation = $icon->designation;
216
  }
217
 
 
 
 
 
 
 
 
 
218
  if(!empty($icon->subtitle)){
219
  $subtitle = $icon->subtitle;
220
  }
@@ -270,6 +288,29 @@ class Spicebox_Repeater extends WP_Customize_Control {
270
  ), $text);
271
  }
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
 
274
  if($this->customizer_repeater_button_text_control){
275
  $this->input_control(array(
@@ -333,8 +374,7 @@ class Spicebox_Repeater extends WP_Customize_Control {
333
  'sanitize_callback' => 'sanitize_hex_color'
334
  ), $color);
335
  }
336
-
337
-
338
  if($this->customizer_repeater_shortcode_control==true){
339
  $this->input_control(array(
340
  'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Shortcode','spicebox' ), $this->id, 'customizer_repeater_shortcode_control' ),
@@ -343,13 +383,7 @@ class Spicebox_Repeater extends WP_Customize_Control {
343
  ), $shortcode);
344
  }
345
 
346
- if($this->customizer_repeater_designation_control==true){
347
- $this->input_control(array(
348
- 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Designation','spicebox' ), $this->id, 'customizer_repeater_designation_control' ),
349
- 'class' => 'customizer-repeater-designation-control',
350
- 'type' => apply_filters('Spicebox_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ),
351
- ), $designation);
352
- }
353
 
354
  if($this->customizer_repeater_repeater_control==true){
355
  $this->repeater_control($repeater);
@@ -465,7 +499,22 @@ class Spicebox_Repeater extends WP_Customize_Control {
465
  'type' => apply_filters('Spicebox_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ),
466
  ) );
467
  }
 
 
 
 
 
 
 
 
468
 
 
 
 
 
 
 
 
469
 
470
  if ( $this->customizer_repeater_designation_control == true ) {
471
  $this->input_control( array(
@@ -640,7 +689,7 @@ class Spicebox_Repeater extends WP_Customize_Control {
640
  <input data-placement="bottomRight" class="icp icp-auto" value="<?php if( !empty($social_icon['icon']) ) { echo esc_attr( $social_icon['icon'] ); } ?>" type="text">
641
  <span class="input-group-addon"><i class="fa <?php echo esc_attr( $social_icon['icon'] ); ?>"></i></span>
642
  </div>
643
- <?php get_template_part( $this->customizer_icon_container ); ?>
644
  <input type="text" class="customizer-repeater-social-repeater-link"
645
  placeholder="<?php esc_attr_e( 'Link', 'spicebox' ); ?>"
646
  value="<?php if ( ! empty( $social_icon['link'] ) ) {
17
  private $customizer_repeater_icon_control = false;
18
  private $customizer_repeater_color_control = false;
19
  private $customizer_repeater_text_control = false;
20
+ private $customizer_repeater_user_name_control = false;
21
+ private $customizer_repeater_member_name_control = false;
22
  private $customizer_repeater_designation_control = false;
23
  private $customizer_repeater_shortcode_control = false;
24
  private $customizer_repeater_repeater_control = false;
72
  if ( ! empty( $args['customizer_repeater_designation_control'] ) ) {
73
  $this->customizer_repeater_designation_control = $args['customizer_repeater_designation_control'];
74
  }
75
+
76
+ if (!empty($args['customizer_repeater_user_name_control'])) {
77
+ $this->customizer_repeater_user_name_control = $args['customizer_repeater_user_name_control'];
78
+ }
79
+
80
+ if (!empty($args['customizer_repeater_member_name_control'])) {
81
+ $this->customizer_repeater_member_name_control = $args['customizer_repeater_member_name_control'];
82
+ }
83
 
84
  if ( ! empty( $args['customizer_repeater_button_text_control'] ) ) {
85
  $this->customizer_repeater_button_text_control = $args['customizer_repeater_button_text_control'];
96
  if ( ! empty( $args['customizer_repeater_slide_format'] ) ) {
97
  $this->customizer_repeater_slide_format = $args['customizer_repeater_slide_format'];
98
  }
99
+
100
  if ( ! empty( $args['customizer_repeater_video_url_control'] ) ) {
101
  $this->customizer_repeater_video_url_control = $args['customizer_repeater_video_url_control'];
102
  }
201
  </div>
202
  <div class="customizer-repeater-box-content-hidden">
203
  <?php
204
+ $choice = $image_url = $icon_value = $title = $subtitle = $text = $slide_format = $link = $designation = $button = $membername = $clientname = $open_new_tab = $shortcode = $repeater = $color = $video_url = '';
205
  if(!empty($icon->id)){
206
  $id = $icon->id;
207
  }
225
  $designation = $icon->designation;
226
  }
227
 
228
+ if (!empty($icon->clientname)) {
229
+ $clientname = $icon->clientname;
230
+ }
231
+
232
+ if (!empty($icon->membername)) {
233
+ $membername = $icon->membername;
234
+ }
235
+
236
  if(!empty($icon->subtitle)){
237
  $subtitle = $icon->subtitle;
238
  }
288
  ), $text);
289
  }
290
 
291
+ if ($this->customizer_repeater_user_name_control == true) {
292
+ $this->input_control(array(
293
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Client Name', 'busicare-plus'), $this->id, 'customizer_repeater_user_name_control'),
294
+ 'class' => 'customizer-repeater-user-name-control',
295
+ 'type' => apply_filters('Spicebox_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_user_name_control'),
296
+ ), $clientname);
297
+ }
298
+
299
+ if ($this->customizer_repeater_member_name_control == true) {
300
+ $this->input_control(array(
301
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Name', 'spicebox'), $this->id, 'customizer_repeater_member_name_control'),
302
+ 'class' => 'customizer-repeater-member-name-control',
303
+ 'type' => apply_filters('Spicebox_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_member_name_control'),
304
+ ), $membername);
305
+ }
306
+
307
+ if($this->customizer_repeater_designation_control==true){
308
+ $this->input_control(array(
309
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Designation','spicebox' ), $this->id, 'customizer_repeater_designation_control' ),
310
+ 'class' => 'customizer-repeater-designation-control',
311
+ 'type' => apply_filters('Spicebox_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ),
312
+ ), $designation);
313
+ }
314
 
315
  if($this->customizer_repeater_button_text_control){
316
  $this->input_control(array(
374
  'sanitize_callback' => 'sanitize_hex_color'
375
  ), $color);
376
  }
377
+
 
378
  if($this->customizer_repeater_shortcode_control==true){
379
  $this->input_control(array(
380
  'label' => apply_filters('repeater_input_labels_filter', esc_html__( 'Shortcode','spicebox' ), $this->id, 'customizer_repeater_shortcode_control' ),
383
  ), $shortcode);
384
  }
385
 
386
+
 
 
 
 
 
 
387
 
388
  if($this->customizer_repeater_repeater_control==true){
389
  $this->repeater_control($repeater);
499
  'type' => apply_filters('Spicebox_Repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ),
500
  ) );
501
  }
502
+
503
+ if ($this->customizer_repeater_user_name_control == true) {
504
+ $this->input_control(array(
505
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Client Name', 'busicare-plus'), $this->id, 'customizer_repeater_user_name_control'),
506
+ 'class' => 'customizer-repeater-user-name-control',
507
+ 'type' => apply_filters('Spicebox_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_user_name_control'),
508
+ ));
509
+ }
510
 
511
+ if ($this->customizer_repeater_member_name_control == true) {
512
+ $this->input_control(array(
513
+ 'label' => apply_filters('repeater_input_labels_filter', esc_html__('Name', 'busicare-plus'), $this->id, 'customizer_repeater_member_name_control'),
514
+ 'class' => 'customizer-repeater-member-name-control',
515
+ 'type' => apply_filters('Spicebox_Repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_member_name_control'),
516
+ ));
517
+ }
518
 
519
  if ( $this->customizer_repeater_designation_control == true ) {
520
  $this->input_control( array(
689
  <input data-placement="bottomRight" class="icp icp-auto" value="<?php if( !empty($social_icon['icon']) ) { echo esc_attr( $social_icon['icon'] ); } ?>" type="text">
690
  <span class="input-group-addon"><i class="fa <?php echo esc_attr( $social_icon['icon'] ); ?>"></i></span>
691
  </div>
692
+ <?php include( SPICEB_PLUGIN_DIR . '/inc/controls/customizer-repeater/inc/icons.php' ); ?>
693
  <input type="text" class="customizer-repeater-social-repeater-link"
694
  placeholder="<?php esc_attr_e( 'Link', 'spicebox' ); ?>"
695
  value="<?php if ( ! empty( $social_icon['link'] ) ) {
inc/controls/customizer-repeater/inc/customizer.php CHANGED
@@ -6,6 +6,10 @@ function Spicebox_Repeater_register( $wp_customize ) {
6
  require_once( $Spicebox_Repeater_path );
7
  }
8
 
 
 
 
 
9
  }
10
  add_action( 'customize_register', 'Spicebox_Repeater_register' );
11
 
6
  require_once( $Spicebox_Repeater_path );
7
  }
8
 
9
+ $Spicebox_limit_Repeater_path = SPICEB_PLUGIN_DIR . '/inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php';
10
+ if( file_exists( $Spicebox_limit_Repeater_path ) ){
11
+ require_once( $Spicebox_limit_Repeater_path );
12
+ }
13
  }
14
  add_action( 'customize_register', 'Spicebox_Repeater_register' );
15
 
inc/controls/customizer-repeater/js/customizer_limit_repeater.js ADDED
@@ -0,0 +1,585 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* global jQuery */
2
+ /* global wp */
3
+ function media_upload(button_class) {
4
+ 'use strict';
5
+ jQuery('body').on('click', button_class, function () {
6
+ var button_id = '#' + jQuery(this).attr('id');
7
+ var display_field = jQuery(this).parent().children('input:text');
8
+ var _custom_media = true;
9
+
10
+ wp.media.editor.send.attachment = function (props, attachment) {
11
+
12
+ if (_custom_media) {
13
+ if (typeof display_field !== 'undefined') {
14
+ switch (props.size) {
15
+ case 'full':
16
+ display_field.val(attachment.sizes.full.url);
17
+ display_field.trigger('change');
18
+ break;
19
+ case 'medium':
20
+ display_field.val(attachment.sizes.medium.url);
21
+ display_field.trigger('change');
22
+ break;
23
+ case 'thumbnail':
24
+ display_field.val(attachment.sizes.thumbnail.url);
25
+ display_field.trigger('change');
26
+ break;
27
+ default:
28
+ display_field.val(attachment.url);
29
+ display_field.trigger('change');
30
+ }
31
+ }
32
+ _custom_media = false;
33
+ } else {
34
+ return wp.media.editor.send.attachment(button_id, [props, attachment]);
35
+ }
36
+ };
37
+ wp.media.editor.open(button_class);
38
+ window.send_to_editor = function (html) {
39
+
40
+ };
41
+ return false;
42
+ });
43
+ }
44
+
45
+ /********************************************
46
+ *** Generate unique id ***
47
+ *********************************************/
48
+ function customizer_repeater_uniqid(prefix, more_entropy) {
49
+ 'use strict';
50
+ if (typeof prefix === 'undefined') {
51
+ prefix = '';
52
+ }
53
+
54
+ var retId;
55
+ var php_js;
56
+ var formatSeed = function (seed, reqWidth) {
57
+ seed = parseInt(seed, 10)
58
+ .toString(16); // to hex str
59
+ if (reqWidth < seed.length) { // so long we split
60
+ return seed.slice(seed.length - reqWidth);
61
+ }
62
+ if (reqWidth > seed.length) { // so short we pad
63
+ return new Array(1 + (reqWidth - seed.length))
64
+ .join('0') + seed;
65
+ }
66
+ return seed;
67
+ };
68
+
69
+ // BEGIN REDUNDANT
70
+ if (!php_js) {
71
+ php_js = {};
72
+ }
73
+ // END REDUNDANT
74
+ if (!php_js.uniqidSeed) { // init seed with big random int
75
+ php_js.uniqidSeed = Math.floor(Math.random() * 0x75bcd15);
76
+ }
77
+ php_js.uniqidSeed++;
78
+
79
+ retId = prefix; // start with prefix, add current milliseconds hex string
80
+ retId += formatSeed(parseInt(new Date()
81
+ .getTime() / 1000, 10), 8);
82
+ retId += formatSeed(php_js.uniqidSeed, 5); // add seed hex string
83
+ if (more_entropy) {
84
+ // for more entropy we add a float lower to 10
85
+ retId += (Math.random() * 10)
86
+ .toFixed(8)
87
+ .toString();
88
+ }
89
+
90
+ return retId;
91
+ }
92
+
93
+
94
+ /********************************************
95
+ *** General Repeater ***
96
+ *********************************************/
97
+ function customizer_repeater_refresh_social_icons(th) {
98
+ 'use strict';
99
+ var icons_repeater_values = [];
100
+ th.find('.customizer-repeater-social-repeater-container').each(function () {
101
+ var icon = jQuery(this).find('.icp').val();
102
+ var link = jQuery(this).find('.customizer-repeater-social-repeater-link').val();
103
+ var id = jQuery(this).find('.customizer-repeater-social-repeater-id').val();
104
+
105
+ if (!id) {
106
+ id = 'customizer-repeater-social-repeater-' + customizer_repeater_uniqid();
107
+ jQuery(this).find('.customizer-repeater-social-repeater-id').val(id);
108
+ }
109
+
110
+ if (icon !== '' && link !== '') {
111
+ icons_repeater_values.push({
112
+ 'icon': icon,
113
+ 'link': link,
114
+ 'id': id
115
+ });
116
+ }
117
+ });
118
+
119
+ th.find('.social-repeater-socials-repeater-colector').val(JSON.stringify(icons_repeater_values));
120
+ customizer_repeater_refresh_general_control_values();
121
+ }
122
+
123
+
124
+ function customizer_repeater_refresh_general_control_values() {
125
+
126
+ 'use strict';
127
+ jQuery('.customizer-repeater-general-control-repeater').each(function () {
128
+ var values = [];
129
+ var th = jQuery(this);
130
+ th.find('.customizer-repeater-general-control-repeater-container').each(function () {
131
+
132
+ var icon_value = jQuery(this).find('.icp').val();
133
+ var text = jQuery(this).find('.customizer-repeater-text-control').val();
134
+ var button_text = jQuery(this).find('.customizer-repeater-button-text-control').val();
135
+ var link = jQuery(this).find('.customizer-repeater-link-control').val();
136
+ var color = jQuery(this).find('.customizer-repeater-color-control').val();
137
+ var clientname = jQuery(this).find('.customizer-repeater-user-name-control').val();
138
+ var membername = jQuery(this).find('.customizer-repeater-member-name-control').val();
139
+ var designation = jQuery(this).find('.customizer-repeater-designation-control').val();
140
+ var open_new_tab = jQuery(this).find('.customizer-repeater-checkbox').attr("checked") ? 'yes' : 'no';
141
+ var image_url = jQuery(this).find('.custom-media-url').val();
142
+ var choice = jQuery(this).find('.customizer-repeater-image-choice').val();
143
+ var title = jQuery(this).find('.customizer-repeater-title-control').val();
144
+ var subtitle = jQuery(this).find('.customizer-repeater-subtitle-control').val();
145
+ var slide_format = jQuery(this).find('.customizer-repeater-slide-format').val();
146
+ var video_url = jQuery(this).find('.customizer-repeater-video-url-control').val();
147
+ var id = jQuery(this).find('.social-repeater-box-id').val();
148
+ if (!id) {
149
+ id = 'social-repeater-' + customizer_repeater_uniqid();
150
+ jQuery(this).find('.social-repeater-box-id').val(id);
151
+ }
152
+ var social_repeater = jQuery(this).find('.social-repeater-socials-repeater-colector').val();
153
+ var shortcode = jQuery(this).find('.customizer-repeater-shortcode-control').val();
154
+
155
+ if (text !== '' || image_url !== '' || title !== '' || subtitle !== '' || icon_value !== '' || link !== '' || designation !== '' || open_new_tab !== '' || choice !== '' || social_repeater !== '' || shortcode !== '' || color !== '' || button_text !== '' || slide_format !== '' || video_url !== '') {
156
+ values.push({
157
+ 'icon_value': (choice === 'customizer_repeater_none' ? '' : icon_value),
158
+ 'color': color,
159
+ 'text': escapeHtml(text),
160
+ 'link': link,
161
+ 'image_url': (choice === 'customizer_repeater_none' ? '' : image_url),
162
+ 'choice': choice,
163
+ 'title': escapeHtml(title),
164
+ 'subtitle': escapeHtml(subtitle),
165
+ 'social_repeater': escapeHtml(social_repeater),
166
+ 'id': id,
167
+ 'shortcode': escapeHtml(shortcode),
168
+ 'button_text' : button_text,
169
+ 'clientname' : clientname,
170
+ 'membername' : membername,
171
+ 'designation' : designation,
172
+ 'open_new_tab' : open_new_tab,
173
+ 'slide_format' : slide_format,
174
+ 'video_url' : video_url
175
+ });
176
+ }
177
+
178
+ });
179
+ th.find('.customizer-repeater-colector').val(JSON.stringify(values));
180
+ th.find('.customizer-repeater-colector').trigger('change');
181
+ });
182
+ }
183
+
184
+
185
+ jQuery(document).ready(function () {
186
+ 'use strict';
187
+ var theme_conrols = jQuery('#customize-theme-controls');
188
+ theme_conrols.on('click', '.customizer-repeater-customize-control-title', function () {
189
+ jQuery(this).next().slideToggle('medium', function () {
190
+ if (jQuery(this).is(':visible')){
191
+ jQuery(this).prev().addClass('repeater-expanded');
192
+ jQuery(this).css('display', 'block');
193
+ } else {
194
+ jQuery(this).prev().removeClass('repeater-expanded');
195
+ }
196
+ });
197
+ });
198
+
199
+ theme_conrols.on('change', '.icp',function(){
200
+ customizer_repeater_refresh_general_control_values();
201
+ return false;
202
+ });
203
+
204
+ theme_conrols.on('change','.customizer-repeater-slide-format', function(){
205
+ if(jQuery(this).val() === 'customizer_repeater_slide_forma_video'){
206
+ jQuery(this).parent().parent().find('.customizer-repeater-video-url-control').show();
207
+ jQuery(this).parent().parent().find('.Video').show();
208
+ }else{
209
+ jQuery(this).parent().parent().find('.customizer-repeater-video-url-control').hide();
210
+ jQuery(this).parent().parent().find('.Video').hide();
211
+ }
212
+ customizer_repeater_refresh_general_control_values();
213
+ return false;
214
+
215
+ });
216
+
217
+ theme_conrols.on('change', '.customizer-repeater-image-choice', function () {
218
+ if (jQuery(this).val() === 'customizer_repeater_image') {
219
+ jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide();
220
+ jQuery(this).parent().parent().find('.customizer-repeater-image-control').show();
221
+ }
222
+ if (jQuery(this).val() === 'customizer_repeater_icon') {
223
+ jQuery(this).parent().parent().find('.social-repeater-general-control-icon').show();
224
+ jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide();
225
+ }
226
+ if (jQuery(this).val() === 'customizer_repeater_none') {
227
+ jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide();
228
+ jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide();
229
+ }
230
+
231
+ customizer_repeater_refresh_general_control_values();
232
+ return false;
233
+ });
234
+ media_upload('.customizer-repeater-custom-media-button');
235
+ jQuery('body').on('change', '.custom-media-url', function (){
236
+ customizer_repeater_refresh_general_control_values();
237
+ return false;
238
+ });
239
+
240
+ var color_options = {
241
+ change: function(event, ui){
242
+ customizer_repeater_refresh_general_control_values();
243
+ }
244
+ };
245
+
246
+ /**
247
+ * This adds a new box to repeater
248
+ *
249
+ */
250
+ theme_conrols.on('click', '#customize-control-busicare_service_content .customizer-repeater-new-field', function () {
251
+ if(jQuery("#spiceb_service_limit").val()==3)
252
+ {
253
+ jQuery(".customizer_busicareservice_upgrade_section").show();
254
+ return false;
255
+ }
256
+ else if(jQuery("#spiceb_service_limit").val()<4)
257
+ {
258
+ var total_services_sections=parseInt(jQuery("#spiceb_service_limit").val())+1;
259
+ jQuery("#spiceb_service_limit").val(total_services_sections);
260
+ var th = jQuery(this).parent();
261
+ var id = 'customizer-repeater-' + customizer_repeater_uniqid();
262
+ if (typeof th !== 'undefined') {
263
+ /* Clone the first box*/
264
+ var field = th.find('.customizer-repeater-general-control-repeater-container:first').clone( true, true );
265
+
266
+ if (typeof field !== 'undefined') {
267
+ /*Set the default value for choice between image and icon to icon*/
268
+ field.find('.customizer-repeater-image-choice').val('customizer_repeater_icon');
269
+
270
+ /*Show icon selector*/
271
+ field.find('.social-repeater-general-control-icon').show();
272
+
273
+ /*Hide image selector*/
274
+ if (field.find('.social-repeater-general-control-icon').length > 0) {
275
+ field.find('.customizer-repeater-image-control').hide();
276
+ }
277
+
278
+ /*Show delete box button because it's not the first box*/
279
+ field.find('.social-repeater-general-control-remove-field').show();
280
+
281
+ /* Empty control for icon */
282
+ field.find('.input-group-addon').find('.fa').attr('class', 'fa');
283
+
284
+
285
+ /*Remove all repeater fields except first one*/
286
+
287
+ field.find('.customizer-repeater-social-repeater').find('.customizer-repeater-social-repeater-container').not(':first').remove();
288
+ field.find('.customizer-repeater-social-repeater-link').val('');
289
+ field.find('.social-repeater-socials-repeater-colector').val('');
290
+
291
+ /*Remove value from icon field*/
292
+ field.find('.icp').val('');
293
+
294
+ /*Remove value from text field*/
295
+ field.find('.customizer-repeater-text-control').val('');
296
+ field.find('.customizer-repeater-user-name-control').val('');
297
+ field.find('.customizer-repeater-member-name-control').val('');
298
+ /*Remove value from button text field*/
299
+ field.find('.customizer-repeater-button-text-control').val('');
300
+
301
+
302
+ field.find('.customizer-repeater-video-url-control').val('');
303
+
304
+ /*Remove value from designation text field*/
305
+ field.find('.customizer-repeater-designation-control').val('');
306
+
307
+ /*Set the default value in slide format*/
308
+ field.find('.customizer-repeater-slide-format').val('customizer_repeater_slide_format_standard');
309
+
310
+ /*Remove value from link field*/
311
+ field.find('.customizer-repeater-link-control').val('');
312
+
313
+ /*Set box id*/
314
+ field.find('.social-repeater-box-id').val(id);
315
+
316
+ /*Remove value from media field*/
317
+ field.find('.custom-media-url').val('');
318
+
319
+ /*Remove value from title field*/
320
+ field.find('.customizer-repeater-title-control').val('');
321
+
322
+ /*Remove value from color field*/
323
+ field.find('.wp-picker-container').replaceWith('<input type="text" class="customizer-repeater-color-control ' + id + '">');
324
+ field.find('.customize-control-notifications-container').remove();
325
+ field.find('.customizer-repeater-color-control').wpColorPicker(color_options);
326
+
327
+ /*Remove value from subtitle field*/
328
+ field.find('.customizer-repeater-subtitle-control').val('');
329
+
330
+ /*Remove value from shortcode field*/
331
+ field.find('.customizer-repeater-shortcode-control').val('');
332
+
333
+ /*Set the default value in checkbox*/
334
+ field.find('.customizer-repeater-checkbox').val('');
335
+
336
+ /*Append new box*/
337
+ th.find('.customizer-repeater-general-control-repeater-container:first').parent().append(field);
338
+
339
+ /*Refresh values*/
340
+ customizer_repeater_refresh_general_control_values();
341
+ }
342
+
343
+ }
344
+ if(jQuery("#spiceb_service_limit").val()>3)
345
+ {
346
+ jQuery(".customizer_busicareservice_upgrade_section").hide();
347
+ }
348
+ }
349
+
350
+ return false;
351
+ });
352
+
353
+ theme_conrols.on('click', '#customize-control-busicare_team_content .customizer-repeater-new-field,#customize-control-busicare_testimonial_content .customizer-repeater-new-field', function () {
354
+ var th = jQuery(this).parent();
355
+ var id = 'customizer-repeater-' + customizer_repeater_uniqid();
356
+ if (typeof th !== 'undefined') {
357
+ /* Clone the first box*/
358
+ var field = th.find('.customizer-repeater-general-control-repeater-container:first').clone( true, true );
359
+
360
+ if (typeof field !== 'undefined') {
361
+ /*Set the default value for choice between image and icon to icon*/
362
+ field.find('.customizer-repeater-image-choice').val('customizer_repeater_icon');
363
+
364
+ /*Show icon selector*/
365
+ field.find('.social-repeater-general-control-icon').show();
366
+
367
+ /*Hide image selector*/
368
+ if (field.find('.social-repeater-general-control-icon').length > 0) {
369
+ field.find('.customizer-repeater-image-control').hide();
370
+ }
371
+
372
+ /*Show delete box button because it's not the first box*/
373
+ field.find('.social-repeater-general-control-remove-field').show();
374
+
375
+ /* Empty control for icon */
376
+ field.find('.input-group-addon').find('.fa').attr('class', 'fa');
377
+
378
+
379
+ /*Remove all repeater fields except first one*/
380
+
381
+ field.find('.customizer-repeater-social-repeater').find('.customizer-repeater-social-repeater-container').not(':first').remove();
382
+ field.find('.customizer-repeater-social-repeater-link').val('');
383
+ field.find('.social-repeater-socials-repeater-colector').val('');
384
+
385
+ /*Remove value from icon field*/
386
+ field.find('.icp').val('');
387
+
388
+ /*Remove value from text field*/
389
+ field.find('.customizer-repeater-text-control').val('');
390
+ field.find('.customizer-repeater-user-name-control').val('');
391
+ field.find('.customizer-repeater-member-name-control').val('');
392
+
393
+ /*Remove value from button text field*/
394
+ field.find('.customizer-repeater-button-text-control').val('');
395
+
396
+ field.find('.customizer-repeater-video-url-control').val('');
397
+
398
+ /*Remove value from designation text field*/
399
+ field.find('.customizer-repeater-designation-control').val('');
400
+
401
+ /*Set the default value in slide format*/
402
+ field.find('.customizer-repeater-slide-format').val('customizer_repeater_slide_format_standard');
403
+
404
+ /*Remove value from link field*/
405
+ field.find('.customizer-repeater-link-control').val('');
406
+
407
+ /*Set box id*/
408
+ field.find('.social-repeater-box-id').val(id);
409
+
410
+ /*Remove value from media field*/
411
+ field.find('.custom-media-url').val('');
412
+
413
+ /*Remove value from title field*/
414
+ field.find('.customizer-repeater-title-control').val('');
415
+
416
+ /*Remove value from color field*/
417
+ field.find('.wp-picker-container').replaceWith('<input type="text" class="customizer-repeater-color-control ' + id + '">');
418
+ field.find('.customize-control-notifications-container').remove();
419
+ field.find('.customizer-repeater-color-control').wpColorPicker(color_options);
420
+
421
+ /*Remove value from subtitle field*/
422
+ field.find('.customizer-repeater-subtitle-control').val('');
423
+
424
+ /*Remove value from shortcode field*/
425
+ field.find('.customizer-repeater-shortcode-control').val('');
426
+
427
+ /*Set the default value in checkbox*/
428
+ field.find('.customizer-repeater-checkbox').val('');
429
+
430
+ /*Append new box*/
431
+ th.find('.customizer-repeater-general-control-repeater-container:first').parent().append(field);
432
+
433
+ /*Refresh values*/
434
+ customizer_repeater_refresh_general_control_values();
435
+ }
436
+
437
+ }
438
+ return false;
439
+ });
440
+ theme_conrols.on('click', '.social-repeater-general-control-remove-field', function () {
441
+ jQuery(".customizer-repeater-new-field").show();
442
+ var total_service= parseInt(jQuery("#spiceb_service_limit").val())-1;
443
+ jQuery("#spiceb_service_limit").val(total_service);
444
+ if (typeof jQuery(this).parent() !== 'undefined') {
445
+ jQuery(this).parent().hide(500, function(){
446
+ jQuery(this).parent().remove();
447
+ customizer_repeater_refresh_general_control_values();
448
+
449
+ });
450
+ }
451
+ return false;
452
+ });
453
+
454
+ theme_conrols.on('click', '.customizer-repeater-checkbox', function (event) {
455
+ if (this.checked) {
456
+ this.setAttribute("checked", "checked");
457
+ } else {
458
+ this.removeAttribute("checked");
459
+ }
460
+ });
461
+
462
+ theme_conrols.on('keyup', '.customizer-repeater-title-control', function () {
463
+ customizer_repeater_refresh_general_control_values();
464
+ });
465
+
466
+ jQuery('.customizer-repeater-color-control').wpColorPicker(color_options);
467
+
468
+ theme_conrols.on('keyup', '.customizer-repeater-subtitle-control', function () {
469
+ customizer_repeater_refresh_general_control_values();
470
+ });
471
+
472
+ theme_conrols.on('keyup', '.customizer-repeater-shortcode-control', function () {
473
+ customizer_repeater_refresh_general_control_values();
474
+ });
475
+
476
+ theme_conrols.on('keyup', '.customizer-repeater-video-url-control', function () {
477
+ customizer_repeater_refresh_general_control_values();
478
+ });
479
+
480
+ theme_conrols.on('keyup', '.customizer-repeater-text-control', function () {
481
+ customizer_repeater_refresh_general_control_values();
482
+ });
483
+
484
+ theme_conrols.on('keyup','.customizer-repeater-button-text-control', function(){
485
+
486
+ customizer_repeater_refresh_general_control_values();
487
+ })
488
+
489
+ theme_conrols.on('keyup', '.customizer-repeater-link-control', function () {
490
+ customizer_repeater_refresh_general_control_values();
491
+ });
492
+
493
+ theme_conrols.on('keyup','.customizer-repeater-user-name-control', function(){
494
+
495
+ customizer_repeater_refresh_general_control_values();
496
+ });
497
+
498
+ theme_conrols.on('keyup','.customizer-repeater-member-name-control', function(){
499
+
500
+ customizer_repeater_refresh_general_control_values();
501
+ });
502
+
503
+ theme_conrols.on('keyup','.customizer-repeater-designation-control', function(){
504
+
505
+ customizer_repeater_refresh_general_control_values();
506
+ });
507
+
508
+ theme_conrols.on('change','.customizer-repeater-checkbox', function(){
509
+
510
+ customizer_repeater_refresh_general_control_values();
511
+ });
512
+
513
+ /*Drag and drop to change icons order*/
514
+
515
+ jQuery('.customizer-repeater-general-control-droppable').sortable({
516
+ axis: 'y',
517
+ update: function () {
518
+ customizer_repeater_refresh_general_control_values();
519
+ }
520
+ });
521
+
522
+
523
+ /*----------------- Socials Repeater ---------------------*/
524
+ theme_conrols.on('click', '.social-repeater-add-social-item', function (event) {
525
+ event.preventDefault();
526
+ var th = jQuery(this).parent();
527
+ var id = 'customizer-repeater-social-repeater-' + customizer_repeater_uniqid();
528
+ if (typeof th !== 'undefined') {
529
+ var field = th.find('.customizer-repeater-social-repeater-container:first').clone( true, true );
530
+ if (typeof field !== 'undefined') {
531
+ field.find( '.icp' ).val('');
532
+ field.find( '.input-group-addon' ).find('.fa').attr('class','fa');
533
+ field.find('.social-repeater-remove-social-item').show();
534
+ field.find('.customizer-repeater-social-repeater-link').val('');
535
+ field.find('.customizer-repeater-social-repeater-id').val(id);
536
+ th.find('.customizer-repeater-social-repeater-container:first').parent().append(field);
537
+ }
538
+ }
539
+ return false;
540
+ });
541
+
542
+ theme_conrols.on('click', '.social-repeater-remove-social-item', function (event) {
543
+ event.preventDefault();
544
+ var th = jQuery(this).parent();
545
+ var repeater = jQuery(this).parent().parent();
546
+ th.remove();
547
+ customizer_repeater_refresh_social_icons(repeater);
548
+ return false;
549
+ });
550
+
551
+ theme_conrols.on('keyup', '.customizer-repeater-social-repeater-link', function (event) {
552
+ event.preventDefault();
553
+ var repeater = jQuery(this).parent().parent();
554
+ customizer_repeater_refresh_social_icons(repeater);
555
+ return false;
556
+ });
557
+
558
+ theme_conrols.on('change', '.customizer-repeater-social-repeater-container .icp', function (event) {
559
+ event.preventDefault();
560
+ var repeater = jQuery(this).parent().parent().parent();
561
+ customizer_repeater_refresh_social_icons(repeater);
562
+ return false;
563
+ });
564
+
565
+ });
566
+
567
+ var entityMap = {
568
+ '&': '&amp;',
569
+ '<': '&lt;',
570
+ '>': '&gt;',
571
+ '"': '&quot;',
572
+ '\'': '&#39;',
573
+ '/': '&#x2F;'
574
+ };
575
+
576
+ function escapeHtml(string) {
577
+ 'use strict';
578
+ //noinspection JSUnresolvedFunction
579
+ string = String(string).replace(new RegExp('\r?\n', 'g'), '<br />');
580
+ string = String(string).replace(/\\/g, '&#92;');
581
+ return String(string).replace(/[&<>"'\/]/g, function (s) {
582
+ return entityMap[s];
583
+ });
584
+
585
+ }
inc/controls/customizer-repeater/js/customizer_repeater.js CHANGED
@@ -134,6 +134,7 @@ function customizer_repeater_refresh_general_control_values() {
134
  var button_text = jQuery(this).find('.customizer-repeater-button-text-control').val();
135
  var link = jQuery(this).find('.customizer-repeater-link-control').val();
136
  var color = jQuery(this).find('.customizer-repeater-color-control').val();
 
137
  var designation = jQuery(this).find('.customizer-repeater-designation-control').val();
138
  var open_new_tab = jQuery(this).find('.customizer-repeater-checkbox').attr("checked") ? 'yes' : 'no';
139
  var image_url = jQuery(this).find('.custom-media-url').val();
@@ -150,7 +151,7 @@ function customizer_repeater_refresh_general_control_values() {
150
  var social_repeater = jQuery(this).find('.social-repeater-socials-repeater-colector').val();
151
  var shortcode = jQuery(this).find('.customizer-repeater-shortcode-control').val();
152
 
153
- if (text !== '' || image_url !== '' || title !== '' || subtitle !== '' || icon_value !== '' || link !== '' || designation !== '' || open_new_tab !== '' || choice !== '' || social_repeater !== '' || shortcode !== '' || color !== '' || button_text !== '' || slide_format !== '' || video_url !== '') {
154
  values.push({
155
  'icon_value': (choice === 'customizer_repeater_none' ? '' : icon_value),
156
  'color': color,
@@ -164,7 +165,8 @@ function customizer_repeater_refresh_general_control_values() {
164
  'id': id,
165
  'shortcode': escapeHtml(shortcode),
166
  'button_text' : button_text,
167
- 'designation' : designation,
 
168
  'open_new_tab' : open_new_tab,
169
  'slide_format' : slide_format,
170
  'video_url' : video_url
@@ -280,12 +282,13 @@ jQuery(document).ready(function () {
280
 
281
  /*Remove value from text field*/
282
  field.find('.customizer-repeater-text-control').val('');
 
283
 
284
  /*Remove value from button text field*/
285
  field.find('.customizer-repeater-button-text-control').val('');
286
 
287
  field.find('.customizer-repeater-video-url-control').val('');
288
-
289
  /*Remove value from designation text field*/
290
  field.find('.customizer-repeater-designation-control').val('');
291
 
@@ -371,6 +374,11 @@ jQuery(document).ready(function () {
371
  customizer_repeater_refresh_general_control_values();
372
  });
373
 
 
 
 
 
 
374
  theme_conrols.on('keyup','.customizer-repeater-button-text-control', function(){
375
 
376
  customizer_repeater_refresh_general_control_values();
134
  var button_text = jQuery(this).find('.customizer-repeater-button-text-control').val();
135
  var link = jQuery(this).find('.customizer-repeater-link-control').val();
136
  var color = jQuery(this).find('.customizer-repeater-color-control').val();
137
+ var membername = jQuery(this).find('.customizer-repeater-member-name-control').val();
138
  var designation = jQuery(this).find('.customizer-repeater-designation-control').val();
139
  var open_new_tab = jQuery(this).find('.customizer-repeater-checkbox').attr("checked") ? 'yes' : 'no';
140
  var image_url = jQuery(this).find('.custom-media-url').val();
151
  var social_repeater = jQuery(this).find('.social-repeater-socials-repeater-colector').val();
152
  var shortcode = jQuery(this).find('.customizer-repeater-shortcode-control').val();
153
 
154
+ if (membername !== '' ||text !== '' || image_url !== '' || title !== '' || subtitle !== '' || icon_value !== '' || link !== '' || designation !== '' || open_new_tab !== '' || choice !== '' || social_repeater !== '' || shortcode !== '' || color !== '' || button_text !== '' || slide_format !== '' || video_url !== '') {
155
  values.push({
156
  'icon_value': (choice === 'customizer_repeater_none' ? '' : icon_value),
157
  'color': color,
165
  'id': id,
166
  'shortcode': escapeHtml(shortcode),
167
  'button_text' : button_text,
168
+ 'membername' : membername,
169
+ 'designation' : designation,
170
  'open_new_tab' : open_new_tab,
171
  'slide_format' : slide_format,
172
  'video_url' : video_url
282
 
283
  /*Remove value from text field*/
284
  field.find('.customizer-repeater-text-control').val('');
285
+ field.find('.customizer-repeater-member-name-control').val('');
286
 
287
  /*Remove value from button text field*/
288
  field.find('.customizer-repeater-button-text-control').val('');
289
 
290
  field.find('.customizer-repeater-video-url-control').val('');
291
+
292
  /*Remove value from designation text field*/
293
  field.find('.customizer-repeater-designation-control').val('');
294
 
374
  customizer_repeater_refresh_general_control_values();
375
  });
376
 
377
+ theme_conrols.on('keyup','.customizer-repeater-member-name-control', function(){
378
+
379
+ customizer_repeater_refresh_general_control_values();
380
+ });
381
+
382
  theme_conrols.on('keyup','.customizer-repeater-button-text-control', function(){
383
 
384
  customizer_repeater_refresh_general_control_values();
inc/controls/customizer-text-radio/css/customizer.css ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ==========================================================================
2
+ Text Radio Buttons
3
+ ========================================================================== */
4
+ .text_radio_button_control:after {
5
+ content: " ";
6
+ display: block;
7
+ clear: both;
8
+ }
9
+
10
+ .text_radio_button_control .radio-buttons {
11
+ display: inline-block;
12
+ border: 1px solid #f9f9fe;
13
+ }
14
+
15
+ .text_radio_button_control .radio-button-label {
16
+ cursor: pointer;
17
+ float: left;
18
+ }
19
+
20
+ .text_radio_button_control .radio-button-label > input {
21
+ display: none;
22
+ }
23
+
24
+ .text_radio_button_control .radio-button-label span {
25
+ cursor: pointer;
26
+ font-weight: 500;
27
+ border: 2px solid #f9f9fe;
28
+ margin: 0;
29
+ background-color: #eee;
30
+ padding: 5px 15px;
31
+ display: inline-block;
32
+ }
33
+
34
+ .text_radio_button_control .radio-button-label span:hover {
35
+ background-color: rgba(255, 255, 255, .2);
36
+ color: #2885bb;
37
+ }
38
+
39
+ .text_radio_button_control .radio-button-label > input:checked + span {
40
+ background-color: #2084bd;
41
+ color: #fff;
42
+ }
43
+
44
+ .text_radio_button_control .radio-button-label > input:checked + span:hover {
45
+ color: #fff;
46
+ }
inc/controls/customizer-text-radio/custom-controls.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( class_exists( 'WP_Customize_Control' ) ) {
3
+ class Spicebox_Radio_Control extends WP_Customize_Control {
4
+ protected function get_spicebox_resource_url() {
5
+ if( strpos( wp_normalize_path( __DIR__ ), wp_normalize_path( WP_PLUGIN_DIR ) ) === 0 ) {
6
+ // We're in a plugin directory and need to determine the url accordingly.
7
+ return plugin_dir_url( __DIR__ );
8
+ }
9
+
10
+ return trailingslashit( get_template_directory_uri() );
11
+ }
12
+ }
13
+
14
+ class Spicebox_Text_Radio_Button_Custom_Control extends Spicebox_Radio_Control {
15
+ /**
16
+ * The type of control being rendered
17
+ */
18
+ public $type = 'text_radio_button';
19
+ /**
20
+ * Enqueue our scripts and styles
21
+ */
22
+
23
+ public function enqueue() {
24
+ wp_enqueue_style( 'spicebox-text-radio-controls-css', SPICEB_PLUGIN_URL . 'inc/controls/customizer-text-radio/css/customizer.css', array(), '1.0', 'all' );
25
+ }
26
+ /**
27
+ * Render the control in the customizer
28
+ */
29
+ public function render_content() {
30
+ ?>
31
+ <div class="text_radio_button_control">
32
+ <?php if( !empty( $this->label ) ) { ?>
33
+ <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
34
+ <?php } ?>
35
+ <?php if( !empty( $this->description ) ) { ?>
36
+ <span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
37
+ <?php } ?>
38
+
39
+ <div class="radio-buttons">
40
+ <?php foreach ( $this->choices as $key => $value ) { ?>
41
+ <label class="radio-button-label">
42
+ <input type="radio" name="<?php echo esc_attr( $this->id ); ?>" value="<?php echo esc_attr( $key ); ?>" <?php $this->link(); ?> <?php checked( esc_attr( $key ), $this->value() ); ?>/>
43
+ <span><?php echo esc_html( $value ); ?></span>
44
+ </label>
45
+ <?php } ?>
46
+ </div>
47
+ </div>
48
+ <?php
49
+ }
50
+ }
51
+ }
inc/controls/customizer-text-radio/customizer-text-radio.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Load Customizer Controls
4
+ */
5
+ require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
languages/spicebox.pot CHANGED
@@ -4,7 +4,7 @@ msgstr ""
4
  "Project-Id-Version: "
5
  "Spiceboxv1.0.0\n"
6
  "POT-Creation-Date: "
7
- "2021-06-16 13:13+0530\n"
8
  "PO-Revision-Date: \n"
9
  "Last-Translator: Your "
10
  "Name <you@example.com>\n"
@@ -42,11 +42,707 @@ msgstr ""
42
  "_nc:4c,1,2\n"
43
  "X-Poedit-Basepath: ..\n"
44
  "Language: en_US\n"
45
- "X-Generator: Poedit "
46
- "2.4.2\n"
47
  "X-Poedit-"
48
  "SearchPath-0: .\n"
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  #: inc/chilly/post-meta.php:5
51
  #: inc/chilly/post-meta.php:6
52
  msgid ""
@@ -136,37 +832,6 @@ msgid ""
136
  "amet?"
137
  msgstr ""
138
 
139
- #: inc/cloudpress/features/feature-cta-section.php:33
140
- #: inc/cloudpress/features/feature-service-section.php:33
141
- #: inc/cloudpress/features/feature-slider-section.php:77
142
- #: inc/cloudpress/features/feature-team-section.php:45
143
- #: inc/cloudpress/features/feature-testimonial-section.php:58
144
- #: inc/cloudpress/features/feature-testimonial-section.php:122
145
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
146
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
147
- #: inc/honeypress/features/feature-service-section.php:33
148
- #: inc/honeypress/features/feature-slider-section.php:174
149
- #: inc/honeypress/features/feature-testimonial-section.php:90
150
- #: inc/honeypress/features/feature-testimonial-section.php:161
151
- #: inc/innofit/customizer/callout-section.php:29
152
- #: inc/innofit/customizer/news-section.php:30
153
- #: inc/innofit/customizer/services-section.php:31
154
- #: inc/innofit/customizer/slider-section.php:73
155
- #: inc/innofit/customizer/subscriber-section.php:115
156
- #: inc/innofit/customizer/team-section.php:27
157
- #: inc/innofit/customizer/testimonial-section.php:66
158
- #: inc/innofit/customizer/wooproduct-section.php:26
159
- #: inc/spicepress/features/feature-portfolio-section.php:31
160
- #: inc/spicepress/features/feature-portfolio-section.php:78
161
- #: inc/spicepress/features/feature-portfolio-section.php:127
162
- #: inc/spicepress/features/feature-portfolio-section.php:175
163
- #: inc/spicepress/features/feature-service-section.php:40
164
- #: inc/spicepress/features/feature-slider-section.php:76
165
- #: inc/spicepress/features/feature-testimonial-section.php:70
166
- #: inc/spicepress/features/feature-testimonial-section.php:128
167
- msgid "Title"
168
- msgstr ""
169
-
170
  #: inc/cloudpress/features/feature-cta-section.php:41
171
  #: inc/cloudpress/sections/cloudpress-cta-section.php:17
172
  msgid ""
@@ -191,41 +856,6 @@ msgstr ""
191
  msgid "Button"
192
  msgstr ""
193
 
194
- #: inc/cloudpress/features/feature-cta-section.php:65
195
- #: inc/cloudpress/features/feature-slider-section.php:109
196
- #: inc/cloudpress/features/feature-slider-section.php:146
197
- #: inc/cloudpress/features/feature-testimonial-section.php:129
198
- #: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
199
- #: inc/honeypress/features/feature-slider-section.php:206
200
- #: inc/honeypress/features/feature-slider-section.php:243
201
- #: inc/innofit/customizer/callout-section.php:68
202
- #: inc/innofit/customizer/slider-section.php:105
203
- #: inc/spicepress/features/feature-slider-section.php:108
204
- msgid "#"
205
- msgstr ""
206
-
207
- #: inc/cloudpress/features/feature-cta-section.php:70
208
- #: inc/cloudpress/features/feature-slider-section.php:114
209
- #: inc/honeypress/features/feature-slider-section.php:211
210
- #: inc/innofit/customizer/callout-section.php:74
211
- #: inc/innofit/customizer/slider-section.php:110
212
- #: inc/spicepress/features/feature-slider-section.php:113
213
- msgid "Button Link"
214
- msgstr ""
215
-
216
- #: inc/cloudpress/features/feature-cta-section.php:85
217
- #: inc/cloudpress/features/feature-slider-section.php:127
218
- #: inc/cloudpress/features/feature-slider-section.php:164
219
- #: inc/cloudpress/features/feature-testimonial-section.php:146
220
- #: inc/honeypress/features/feature-slider-section.php:224
221
- #: inc/honeypress/features/feature-slider-section.php:261
222
- #: inc/innofit/customizer/callout-section.php:90
223
- #: inc/innofit/customizer/slider-section.php:123
224
- #: inc/spicepress/features/feature-slider-section.php:126
225
- msgid ""
226
- "Open link in new tab"
227
- msgstr ""
228
-
229
  #: inc/cloudpress/features/feature-funfact-section.php:8
230
  msgid "Funfact Settings"
231
  msgstr ""
@@ -253,16 +883,6 @@ msgid ""
253
  "To add More funfact? Then"
254
  msgstr ""
255
 
256
- #: inc/cloudpress/features/feature-funfact-section.php:45
257
- #: inc/cloudpress/features/feature-service-section.php:74
258
- #: inc/honeypress/features/feature-service-section.php:75
259
- #: inc/innofit/customizer/services-section.php:73
260
- #: inc/innofit/customizer/team-section.php:73
261
- #: inc/innofit/customizer/testimonial-section.php:106
262
- #: inc/innofit/customizer/testimonial-section.php:138
263
- msgid "Upgrade to Plus"
264
- msgstr ""
265
-
266
  #: inc/cloudpress/features/feature-service-section.php:8
267
  #: inc/honeypress/features/feature-service-section.php:8
268
  #: inc/spicepress/features/feature-service-section.php:13
@@ -278,193 +898,31 @@ msgid ""
278
  "homepage"
279
  msgstr ""
280
 
281
- #: inc/cloudpress/features/feature-service-section.php:28
282
- #: inc/cloudpress/sections/cloudpress-service-section.php:19
283
- #: inc/honeypress/features/feature-service-section.php:28
284
- #: inc/honeypress/sections/honeypress-service-section.php:23
285
- msgid "Etiam et Urna?"
286
- msgstr ""
287
-
288
- #: inc/cloudpress/features/feature-service-section.php:41
289
- #: inc/cloudpress/sections/cloudpress-service-section.php:20
290
- #: inc/honeypress/features/feature-service-section.php:41
291
- #: inc/honeypress/sections/honeypress-service-section.php:24
292
- msgid "Fusce Sed Massa"
293
- msgstr ""
294
-
295
- #: inc/cloudpress/features/feature-service-section.php:46
296
- #: inc/cloudpress/features/feature-slider-section.php:89
297
- #: inc/cloudpress/features/feature-testimonial-section.php:72
298
- #: inc/cloudpress/features/feature-testimonial-section.php:108
299
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
300
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
301
- #: inc/honeypress/features/feature-service-section.php:46
302
- #: inc/honeypress/features/feature-slider-section.php:186
303
- #: inc/honeypress/features/feature-testimonial-section.php:103
304
- #: inc/honeypress/features/feature-testimonial-section.php:148
305
- #: inc/innofit/customizer/callout-section.php:41
306
- #: inc/innofit/customizer/news-section.php:42
307
- #: inc/innofit/customizer/services-section.php:46
308
- #: inc/innofit/customizer/slider-section.php:85
309
- #: inc/innofit/customizer/subscriber-section.php:131
310
- #: inc/innofit/customizer/team-section.php:38
311
- #: inc/innofit/customizer/testimonial-section.php:79
312
- #: inc/innofit/customizer/wooproduct-section.php:37
313
- #: inc/spicepress/features/feature-portfolio-section.php:44
314
- #: inc/spicepress/features/feature-portfolio-section.php:92
315
- #: inc/spicepress/features/feature-portfolio-section.php:141
316
- #: inc/spicepress/features/feature-portfolio-section.php:189
317
- #: inc/spicepress/features/feature-service-section.php:53
318
- #: inc/spicepress/features/feature-slider-section.php:88
319
- #: inc/spicepress/features/feature-testimonial-section.php:83
320
- #: inc/spicepress/features/feature-testimonial-section.php:114
321
- msgid "Description"
322
- msgstr ""
323
-
324
  #: inc/cloudpress/features/feature-service-section.php:56
325
  #: inc/honeypress/features/feature-service-section.php:56
326
  #: inc/spicepress/features/feature-service-section.php:63
327
  msgid "Service content"
328
  msgstr ""
329
 
330
- #: inc/cloudpress/features/feature-service-section.php:59
331
- #: inc/honeypress/features/feature-service-section.php:59
332
- #: inc/innofit/customizer/services-section.php:59
333
- #: inc/spicepress/features/feature-service-section.php:66
334
- msgid "Add new Service"
335
- msgstr ""
336
-
337
- #: inc/cloudpress/features/feature-service-section.php:60
338
- #: inc/honeypress/features/feature-service-section.php:60
339
- #: inc/innofit/customizer/services-section.php:60
340
- #: inc/innofit/default-pages/home-custom-menu.php:19
341
- #: inc/spicepress/features/feature-service-section.php:67
342
- msgid "Service"
343
- msgstr ""
344
-
345
- #: inc/cloudpress/features/feature-service-section.php:73
346
- #: inc/honeypress/features/feature-service-section.php:74
347
- #: inc/innofit/customizer/services-section.php:72
348
- msgid ""
349
- "To add More Service? Then"
350
- msgstr ""
351
-
352
- #: inc/cloudpress/features/feature-slider-section.php:7
353
- #: inc/honeypress/features/feature-slider-section.php:10
354
- #: inc/spicepress/features/feature-slider-section.php:7
355
- msgid "Slider settings"
356
- msgstr ""
357
-
358
  #: inc/cloudpress/features/feature-slider-section.php:15
359
- #: inc/honeypress/features/feature-slider-section.php:18
360
- #: inc/spicepress/features/feature-slider-section.php:15
361
- msgid "Enable slider"
362
- msgstr ""
363
-
364
- #: inc/cloudpress/features/feature-slider-section.php:35
365
- #: inc/cloudpress/features/feature-testimonial-section.php:90
366
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
367
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
368
- #: inc/honeypress/features/feature-slider-section.php:35
369
- #: inc/honeypress/features/feature-slider-section.php:113
370
- #: inc/honeypress/features/feature-testimonial-section.php:131
371
- #: inc/innofit/customizer/about-section.php:73
372
- #: inc/innofit/customizer/slider-section.php:32
373
- #: inc/spicepress/features/feature-portfolio-section.php:59
374
- #: inc/spicepress/features/feature-portfolio-section.php:108
375
- #: inc/spicepress/features/feature-portfolio-section.php:157
376
- #: inc/spicepress/features/feature-slider-section.php:35
377
- #: inc/spicepress/features/feature-testimonial-section.php:97
378
- msgid "Image"
379
- msgstr ""
380
-
381
- #: inc/cloudpress/features/feature-slider-section.php:50
382
- #: inc/honeypress/features/feature-slider-section.php:127
383
- #: inc/innofit/customizer/slider-section.php:47
384
- #: inc/spicepress/features/feature-slider-section.php:50
385
- msgid ""
386
- "Enable slider image "
387
- "overlay"
388
- msgstr ""
389
-
390
- #: inc/cloudpress/features/feature-slider-section.php:63
391
- #: inc/honeypress/features/feature-slider-section.php:140
392
- #: inc/innofit/customizer/slider-section.php:60
393
- #: inc/spicepress/features/feature-slider-section.php:63
394
- msgid ""
395
- "Slider image overlay "
396
- "color"
397
- msgstr ""
398
-
399
- #: inc/cloudpress/features/feature-slider-section.php:71
400
- #: inc/cloudpress/sections/cloudpress-slider-section.php:10
401
- #: inc/honeypress/features/feature-slider-section.php:168
402
- #: inc/honeypress/sections/honeypress-slider-section.php:25
403
- msgid ""
404
- "Nulla nec dolor sit amet "
405
- "lacus molestie"
406
- msgstr ""
407
-
408
- #: inc/cloudpress/features/feature-slider-section.php:84
409
- #: inc/honeypress/features/feature-slider-section.php:181
410
- msgid ""
411
- "Sea summo mazim ex, ea "
412
- "errem eleifend "
413
- "definitionem vim. Ut nec "
414
- "hinc dolor possim <br> "
415
- "mei ludus efficiendi ei "
416
- "sea summo mazim ex."
417
- msgstr ""
418
-
419
- #: inc/cloudpress/features/feature-slider-section.php:97
420
- #: inc/cloudpress/sections/cloudpress-slider-section.php:13
421
- #: inc/honeypress/features/feature-slider-section.php:194
422
- #: inc/honeypress/sections/honeypress-slider-section.php:28
423
- msgid "Nec Sem"
424
- msgstr ""
425
-
426
- #: inc/cloudpress/features/feature-slider-section.php:102
427
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:276
428
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:424
429
- #: inc/honeypress/features/feature-slider-section.php:199
430
- #: inc/innofit/customizer/callout-section.php:60
431
- #: inc/innofit/customizer/slider-section.php:98
432
- #: inc/spicepress/features/feature-slider-section.php:101
433
- msgid "Button Text"
434
- msgstr ""
435
-
436
- #: inc/cloudpress/features/feature-slider-section.php:134
437
- #: inc/cloudpress/features/feature-testimonial-section.php:116
438
- #: inc/cloudpress/sections/cloudpress-slider-section.php:17
439
- #: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
440
- #: inc/honeypress/features/feature-slider-section.php:231
441
- #: inc/honeypress/features/feature-testimonial-section.php:156
442
- #: inc/honeypress/sections/honeypress-slider-section.php:32
443
- #: inc/honeypress/sections/honeypress-testimonail-section.php:42
444
- #: inc/honeypress/sections/honeypress-testimonail-section.php:84
445
- msgid "Cras Vitae"
446
- msgstr ""
447
-
448
- #: inc/cloudpress/features/feature-slider-section.php:139
449
- #: inc/honeypress/features/feature-slider-section.php:236
450
- msgid "Button 2 Text"
451
  msgstr ""
452
 
453
- #: inc/cloudpress/features/feature-slider-section.php:151
454
- #: inc/honeypress/features/feature-slider-section.php:248
455
- msgid "Button 2 Link"
 
 
 
 
456
  msgstr ""
457
 
458
  #: inc/cloudpress/features/feature-team-section.php:8
459
  msgid "Team Settings"
460
  msgstr ""
461
 
462
- #: inc/cloudpress/features/feature-team-section.php:15
463
- #: inc/innofit/customizer/team-section.php:11
464
- msgid ""
465
- "Enable Home Team section"
466
- msgstr ""
467
-
468
  #: inc/cloudpress/features/feature-team-section.php:27
469
  #: inc/cloudpress/sections/cloudpress-team-section.php:22
470
  msgid ""
@@ -478,41 +936,10 @@ msgid ""
478
  "suscipit"
479
  msgstr ""
480
 
481
- #: inc/cloudpress/features/feature-team-section.php:59
482
- #: inc/innofit/customizer/team-section.php:53
483
- msgid "Team content"
484
- msgstr ""
485
-
486
- #: inc/cloudpress/features/feature-team-section.php:62
487
- #: inc/innofit/customizer/team-section.php:56
488
- msgid "Add new Team Member"
489
- msgstr ""
490
-
491
- #: inc/cloudpress/features/feature-team-section.php:63
492
- #: inc/innofit/customizer/team-section.php:57
493
- msgid "Team Member"
494
- msgstr ""
495
-
496
  #: inc/cloudpress/features/feature-team-section.php:78
497
  msgid "Animation speed"
498
  msgstr ""
499
 
500
- #: inc/cloudpress/features/feature-team-section.php:94
501
- msgid "Navigation Style"
502
- msgstr ""
503
-
504
- #: inc/cloudpress/features/feature-team-section.php:99
505
- msgid "Bullets"
506
- msgstr ""
507
-
508
- #: inc/cloudpress/features/feature-team-section.php:100
509
- msgid "Navigation"
510
- msgstr ""
511
-
512
- #: inc/cloudpress/features/feature-team-section.php:101
513
- msgid "Both"
514
- msgstr ""
515
-
516
  #: inc/cloudpress/features/feature-team-section.php:110
517
  msgid "Smooth speed"
518
  msgstr ""
@@ -533,35 +960,11 @@ msgid ""
533
  "section"
534
  msgstr ""
535
 
536
- #: inc/cloudpress/features/feature-testimonial-section.php:31
537
- #: inc/innofit/customizer/contact-section.php:28
538
- #: inc/innofit/customizer/subscriber-section.php:71
539
- #: inc/innofit/customizer/testimonial-section.php:27
540
- #: inc/spicepress/features/feature-testimonial-section.php:31
541
- msgid "Background Image"
542
- msgstr ""
543
-
544
  #: inc/cloudpress/features/feature-testimonial-section.php:45
545
  msgid ""
546
  "Background Overlay Color"
547
  msgstr ""
548
 
549
- #: inc/cloudpress/features/feature-testimonial-section.php:53
550
- #: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
551
- #: inc/honeypress/features/feature-testimonial-section.php:85
552
- #: inc/honeypress/sections/honeypress-testimonail-section.php:40
553
- msgid "Proin Egestas"
554
- msgstr ""
555
-
556
- #: inc/cloudpress/features/feature-testimonial-section.php:66
557
- #: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
558
- #: inc/honeypress/features/feature-testimonial-section.php:98
559
- #: inc/honeypress/sections/honeypress-testimonail-section.php:41
560
- msgid ""
561
- "Nam Viverra Iaculis "
562
- "Finibus"
563
- msgstr ""
564
-
565
  #: inc/cloudpress/features/feature-testimonial-section.php:102
566
  #: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
567
  #: inc/honeypress/features/feature-testimonial-section.php:143
@@ -589,24 +992,22 @@ msgid ""
589
  msgstr ""
590
 
591
  #: inc/cloudpress/features/feature-testimonial-section.php:134
592
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:287
593
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:434
594
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:623
595
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:645
 
 
 
 
596
  msgid "Link"
597
  msgstr ""
598
 
599
- #: inc/cloudpress/features/feature-testimonial-section.php:152
600
- #: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
601
- #: inc/honeypress/features/feature-testimonial-section.php:168
602
- #: inc/honeypress/sections/honeypress-testimonail-section.php:43
603
- #: inc/honeypress/sections/honeypress-testimonail-section.php:85
604
- msgid "Eu Suscipit"
605
- msgstr ""
606
-
607
  #: inc/cloudpress/features/feature-testimonial-section.php:158
608
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
609
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
 
 
610
  #: inc/honeypress/features/feature-testimonial-section.php:173
611
  #: inc/spicepress/features/feature-testimonial-section.php:141
612
  msgid "Designation"
@@ -644,33 +1045,6 @@ msgstr ""
644
  msgid "Voluptate Velit"
645
  msgstr ""
646
 
647
- #: inc/cloudpress/sections/cloudpress-service-section.php:177
648
- #: inc/honeypress/sections/honeypress-service-section.php:195
649
- msgid ""
650
- "Suspendisse Tristique"
651
- msgstr ""
652
-
653
- #: inc/cloudpress/sections/cloudpress-service-section.php:185
654
- #: inc/honeypress/sections/honeypress-service-section.php:203
655
- msgid "Blandit-Gravida"
656
- msgstr ""
657
-
658
- #: inc/cloudpress/sections/cloudpress-service-section.php:193
659
- #: inc/honeypress/sections/honeypress-service-section.php:211
660
- msgid "Justo Bibendum"
661
- msgstr ""
662
-
663
- #: inc/cloudpress/sections/cloudpress-slider-section.php:12
664
- #: inc/honeypress/sections/honeypress-slider-section.php:27
665
- msgid ""
666
- "Sea summo mazim ex, ea "
667
- "errem eleifend "
668
- "definitionem vim. Ut nec "
669
- "hinc dolor possim <br> "
670
- "mei ludus efficiendi ei "
671
- "sea summo mazim ex."
672
- msgstr ""
673
-
674
  #: inc/cloudpress/sections/cloudpress-team-section.php:86
675
  #: inc/cloudpress/sections/cloudpress-team-section.php:89
676
  #: inc/cloudpress/sections/cloudpress-team-section.php:199
@@ -726,50 +1100,66 @@ msgstr ""
726
  msgid "Morbi sollicitudin"
727
  msgstr ""
728
 
729
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:33
 
730
  msgid "Add new field"
731
  msgstr ""
732
 
733
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:38
 
734
  msgid "Customizer Repeater"
735
  msgstr ""
736
 
737
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:260
738
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:409
 
 
739
  msgid "Subtitle"
740
  msgstr ""
741
 
742
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:306
743
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:452
 
 
744
  msgid "Video Url"
745
  msgstr ""
746
 
747
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:330
748
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:394
 
 
749
  msgid "Color"
750
  msgstr ""
751
 
752
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:340
753
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:463
 
 
754
  msgid "Shortcode"
755
  msgstr ""
756
 
757
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:364
758
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:483
 
 
759
  msgid "Delete field"
760
  msgstr ""
761
 
762
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:520
 
763
  msgid ""
764
  "Open link in new tab:"
765
  msgstr ""
766
 
767
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:531
768
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:599
 
 
769
  msgid "Icon"
770
  msgstr ""
771
 
772
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:536
 
773
  #, php-format
774
  msgid ""
775
  "Note: Some icons may not "
@@ -778,65 +1168,84 @@ msgid ""
778
  "icons at %1$s."
779
  msgstr ""
780
 
781
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:537
 
782
  msgid ""
783
  "http://fontawesome.io/"
784
  "icons/"
785
  msgstr ""
786
 
787
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:557
 
788
  msgid "Upload Image"
789
  msgstr ""
790
 
791
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:566
 
792
  msgid "Slide Format"
793
  msgstr ""
794
 
795
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:570
 
796
  #: inc/spicepress/features/feature-service-section.php:101
797
  #: inc/spicepress/features/feature-testimonial-section.php:171
798
  msgid "Standard"
799
  msgstr ""
800
 
801
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:574
 
802
  msgid "Aside"
803
  msgstr ""
804
 
805
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:578
 
806
  msgid "Quote"
807
  msgstr ""
808
 
809
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:582
 
810
  msgid "Status"
811
  msgstr ""
812
 
813
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:586
814
- #: inc/honeypress/features/feature-slider-section.php:36
815
- msgid "Video"
816
- msgstr ""
817
-
818
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:596
819
  msgid "Image type"
820
  msgstr ""
821
 
822
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:601
 
823
  msgid "None"
824
  msgstr ""
825
 
826
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:609
 
827
  msgid "Social icons"
828
  msgstr ""
829
 
830
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:626
831
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:656
 
 
832
  msgid "Remove Icon"
833
  msgstr ""
834
 
835
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:631
836
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:664
 
 
837
  msgid "Add Icon"
838
  msgstr ""
839
 
 
 
 
 
 
 
 
 
 
 
840
  #: inc/controls/customizer-repeater/inc/icons.php:1
841
  msgid "Type to filter"
842
  msgstr ""
@@ -902,72 +1311,6 @@ msgid ""
902
  "Create your own JotForm"
903
  msgstr ""
904
 
905
- #: inc/honeypress/features/feature-slider-section.php:31
906
- msgid ""
907
- "Slider Background Type"
908
- msgstr ""
909
-
910
- #: inc/honeypress/features/feature-slider-section.php:50
911
- msgid "Slider video"
912
- msgstr ""
913
-
914
- #: inc/honeypress/features/feature-slider-section.php:51
915
- msgid ""
916
- "Upload your video in ."
917
- "mp4 format and minimize "
918
- "its file size for best "
919
- "results. For this theme "
920
- "the recommended size is "
921
- "1150 × 2000 pixels."
922
- msgstr ""
923
-
924
- #: inc/honeypress/features/feature-slider-section.php:55
925
- #: inc/honeypress/features/feature-slider-section.php:60
926
- msgid "Select File"
927
- msgstr ""
928
-
929
- #: inc/honeypress/features/feature-slider-section.php:56
930
- msgid "Change File"
931
- msgstr ""
932
-
933
- #: inc/honeypress/features/feature-slider-section.php:57
934
- msgid "Default"
935
- msgstr ""
936
-
937
- #: inc/honeypress/features/feature-slider-section.php:58
938
- msgid "Remove"
939
- msgstr ""
940
-
941
- #: inc/honeypress/features/feature-slider-section.php:59
942
- msgid "No file selected"
943
- msgstr ""
944
-
945
- #: inc/honeypress/features/feature-slider-section.php:61
946
- msgid "Choose File"
947
- msgstr ""
948
-
949
- #: inc/honeypress/features/feature-slider-section.php:75
950
- msgid ""
951
- "Or, enter a YouTube URL:"
952
- msgstr ""
953
-
954
- #: inc/honeypress/features/feature-slider-section.php:155
955
- msgid ""
956
- "Slider Content Alignment"
957
- msgstr ""
958
-
959
- #: inc/honeypress/features/feature-slider-section.php:158
960
- msgid "Left"
961
- msgstr ""
962
-
963
- #: inc/honeypress/features/feature-slider-section.php:159
964
- msgid "Center"
965
- msgstr ""
966
-
967
- #: inc/honeypress/features/feature-slider-section.php:160
968
- msgid "Right"
969
- msgstr ""
970
-
971
  #: inc/honeypress/features/feature-testimonial-section.php:77
972
  msgid "Background Color"
973
  msgstr ""
@@ -1003,26 +1346,6 @@ msgstr ""
1003
  msgid "Volunteer"
1004
  msgstr ""
1005
 
1006
- #: inc/innofit/customizer.php:107
1007
- #: inc/innofit/sections/innofit-team-section.php:132
1008
- msgid "Senior Manager"
1009
- msgstr ""
1010
-
1011
- #: inc/innofit/customizer.php:139
1012
- #: inc/innofit/sections/innofit-team-section.php:149
1013
- msgid "Founder & CEO"
1014
- msgstr ""
1015
-
1016
- #: inc/innofit/customizer.php:170
1017
- #: inc/innofit/sections/innofit-team-section.php:166
1018
- msgid "Web Master"
1019
- msgstr ""
1020
-
1021
- #: inc/innofit/customizer.php:203
1022
- #: inc/innofit/sections/innofit-team-section.php:183
1023
- msgid "UI Developer"
1024
- msgstr ""
1025
-
1026
  #: inc/innofit/customizer/about-section.php:4
1027
  msgid "About settings"
1028
  msgstr ""
@@ -1214,11 +1537,6 @@ msgid ""
1214
  "Contact Info content"
1215
  msgstr ""
1216
 
1217
- #: inc/innofit/customizer/news-section.php:4
1218
- msgid ""
1219
- "Latest News settings"
1220
- msgstr ""
1221
-
1222
  #: inc/innofit/customizer/news-section.php:13
1223
  msgid ""
1224
  "Enable Home News section"
@@ -1240,10 +1558,6 @@ msgid ""
1240
  "section"
1241
  msgstr ""
1242
 
1243
- #: inc/innofit/customizer/services-section.php:4
1244
- msgid "Services settings"
1245
- msgstr ""
1246
-
1247
  #: inc/innofit/customizer/services-section.php:26
1248
  #: inc/innofit/sections/innofit-services-section.php:44
1249
  msgid "What we do"
@@ -1254,10 +1568,6 @@ msgstr ""
1254
  msgid "Services we provide"
1255
  msgstr ""
1256
 
1257
- #: inc/innofit/customizer/services-section.php:56
1258
- msgid "Services content"
1259
- msgstr ""
1260
-
1261
  #: inc/innofit/customizer/slider-section.php:4
1262
  msgid "Hero settings"
1263
  msgstr ""
@@ -1327,10 +1637,6 @@ msgstr ""
1327
  msgid "Instructions"
1328
  msgstr ""
1329
 
1330
- #: inc/innofit/customizer/team-section.php:4
1331
- msgid "Team settings"
1332
- msgstr ""
1333
-
1334
  #: inc/innofit/customizer/team-section.php:22
1335
  #: inc/innofit/sections/innofit-team-section.php:21
1336
  msgid ""
@@ -1348,11 +1654,6 @@ msgid ""
1348
  "To add More Team? Then"
1349
  msgstr ""
1350
 
1351
- #: inc/innofit/customizer/testimonial-section.php:3
1352
- msgid ""
1353
- "Testimonials settings"
1354
- msgstr ""
1355
-
1356
  #: inc/innofit/customizer/testimonial-section.php:39
1357
  #: inc/spicepress/features/feature-testimonial-section.php:43
1358
  msgid ""
@@ -1360,13 +1661,6 @@ msgid ""
1360
  "overlay"
1361
  msgstr ""
1362
 
1363
- #: inc/innofit/customizer/testimonial-section.php:52
1364
- #: inc/spicepress/features/feature-testimonial-section.php:56
1365
- msgid ""
1366
- "Testimonial image "
1367
- "overlay color"
1368
- msgstr ""
1369
-
1370
  #: inc/innofit/customizer/testimonial-section.php:61
1371
  #: inc/innofit/sections/innofit-testimonial-section.php:12
1372
  msgid ""
@@ -1381,18 +1675,6 @@ msgid ""
1381
  "your business."
1382
  msgstr ""
1383
 
1384
- #: inc/innofit/customizer/testimonial-section.php:89
1385
- msgid "Testimonial content"
1386
- msgstr ""
1387
-
1388
- #: inc/innofit/customizer/testimonial-section.php:91
1389
- msgid "Add new Testimonial"
1390
- msgstr ""
1391
-
1392
- #: inc/innofit/customizer/testimonial-section.php:92
1393
- msgid "Testimonial"
1394
- msgstr ""
1395
-
1396
  #: inc/innofit/customizer/testimonial-section.php:105
1397
  msgid ""
1398
  "To add More Testimonial? "
@@ -1446,10 +1728,6 @@ msgstr ""
1446
  msgid "Contact"
1447
  msgstr ""
1448
 
1449
- #: inc/innofit/sections/innofit-news-section.php:97
1450
- msgid "Read More"
1451
- msgstr ""
1452
-
1453
  #: inc/innofit/sections/innofit-wooproduct-section.php:56
1454
  msgid "On Sale!"
1455
  msgstr ""
4
  "Project-Id-Version: "
5
  "Spiceboxv1.0.0\n"
6
  "POT-Creation-Date: "
7
+ "2021-06-28 22:07+0530\n"
8
  "PO-Revision-Date: \n"
9
  "Last-Translator: Your "
10
  "Name <you@example.com>\n"
42
  "_nc:4c,1,2\n"
43
  "X-Poedit-Basepath: ..\n"
44
  "Language: en_US\n"
45
+ "X-Generator: Poedit 3.0\n"
 
46
  "X-Poedit-"
47
  "SearchPath-0: .\n"
48
 
49
+ #: inc/busicare/customizer.php:12
50
+ #: inc/busicare/sections/busicare-services-section.php:11
51
+ #: inc/cloudpress/sections/cloudpress-service-section.php:177
52
+ #: inc/honeypress/sections/honeypress-service-section.php:195
53
+ msgid ""
54
+ "Suspendisse Tristique"
55
+ msgstr ""
56
+
57
+ #: inc/busicare/customizer.php:13
58
+ #: inc/busicare/customizer.php:22
59
+ #: inc/busicare/customizer.php:31
60
+ #: inc/busicare/sections/busicare-services-section.php:12
61
+ #: inc/busicare/sections/busicare-services-section.php:21
62
+ #: inc/busicare/sections/busicare-services-section.php:30
63
+ msgid ""
64
+ "Sed ut perspiciatis unde "
65
+ "omnis iste natus error "
66
+ "sit voluptatem "
67
+ "accusantium doloremque "
68
+ "laudantium, totam rem "
69
+ "aperiam."
70
+ msgstr ""
71
+
72
+ #: inc/busicare/customizer.php:21
73
+ #: inc/busicare/sections/busicare-services-section.php:20
74
+ #: inc/cloudpress/sections/cloudpress-service-section.php:185
75
+ #: inc/honeypress/sections/honeypress-service-section.php:203
76
+ msgid "Blandit-Gravida"
77
+ msgstr ""
78
+
79
+ #: inc/busicare/customizer.php:30
80
+ #: inc/busicare/sections/busicare-services-section.php:29
81
+ #: inc/cloudpress/sections/cloudpress-service-section.php:193
82
+ #: inc/honeypress/sections/honeypress-service-section.php:211
83
+ msgid "Justo Bibendum"
84
+ msgstr ""
85
+
86
+ #: inc/busicare/customizer.php:56
87
+ #: inc/busicare/customizer.php:66
88
+ #: inc/busicare/customizer.php:76
89
+ #: inc/busicare/customizer/news-section.php:55
90
+ #: inc/busicare/customizer/slider-section.php:231
91
+ #: inc/busicare/sections/busicare-news-section.php:8
92
+ #: inc/busicare/sections/busicare-slider-section.php:17
93
+ #: inc/busicare/sections/busicare-testimonial-section.php:22
94
+ #: inc/busicare/sections/busicare-testimonial-section.php:32
95
+ #: inc/busicare/sections/busicare-testimonial-section.php:42
96
+ #: inc/cloudpress/features/feature-slider-section.php:134
97
+ #: inc/cloudpress/features/feature-testimonial-section.php:116
98
+ #: inc/cloudpress/sections/cloudpress-slider-section.php:17
99
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
100
+ #: inc/honeypress/features/feature-slider-section.php:231
101
+ #: inc/honeypress/features/feature-testimonial-section.php:156
102
+ #: inc/honeypress/sections/honeypress-slider-section.php:32
103
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:42
104
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:84
105
+ msgid "Cras Vitae"
106
+ msgstr ""
107
+
108
+ #: inc/busicare/customizer.php:57
109
+ #: inc/busicare/customizer.php:67
110
+ #: inc/busicare/customizer.php:77
111
+ #: inc/busicare/sections/busicare-testimonial-section.php:23
112
+ #: inc/busicare/sections/busicare-testimonial-section.php:33
113
+ #: inc/busicare/sections/busicare-testimonial-section.php:43
114
+ #: inc/cloudpress/features/feature-testimonial-section.php:152
115
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
116
+ #: inc/honeypress/features/feature-testimonial-section.php:168
117
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:43
118
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:85
119
+ msgid "Eu Suscipit"
120
+ msgstr ""
121
+
122
+ #: inc/busicare/customizer.php:102
123
+ #: inc/busicare/sections/busicare-team-section.php:18
124
+ #: inc/innofit/customizer.php:107
125
+ #: inc/innofit/sections/innofit-team-section.php:132
126
+ msgid "Senior Manager"
127
+ msgstr ""
128
+
129
+ #: inc/busicare/customizer.php:133
130
+ #: inc/busicare/sections/busicare-team-section.php:49
131
+ #: inc/innofit/customizer.php:139
132
+ #: inc/innofit/sections/innofit-team-section.php:149
133
+ msgid "Founder & CEO"
134
+ msgstr ""
135
+
136
+ #: inc/busicare/customizer.php:164
137
+ #: inc/busicare/sections/busicare-team-section.php:80
138
+ #: inc/innofit/customizer.php:170
139
+ #: inc/innofit/sections/innofit-team-section.php:166
140
+ msgid "Web Master"
141
+ msgstr ""
142
+
143
+ #: inc/busicare/customizer.php:195
144
+ #: inc/busicare/sections/busicare-team-section.php:111
145
+ #: inc/innofit/customizer.php:203
146
+ #: inc/innofit/sections/innofit-team-section.php:183
147
+ msgid "UI Developer"
148
+ msgstr ""
149
+
150
+ #: inc/busicare/customizer.php:238
151
+ msgid ""
152
+ "Homepage Section Settings"
153
+ msgstr ""
154
+
155
+ #: inc/busicare/customizer/news-section.php:4
156
+ #: inc/innofit/customizer/news-section.php:4
157
+ msgid ""
158
+ "Latest News settings"
159
+ msgstr ""
160
+
161
+ #: inc/busicare/customizer/news-section.php:18
162
+ msgid ""
163
+ "Enable / Disable Home "
164
+ "News section"
165
+ msgstr ""
166
+
167
+ #: inc/busicare/customizer/news-section.php:28
168
+ #: inc/busicare/sections/busicare-news-section.php:17
169
+ msgid "Vitae Lacinia"
170
+ msgstr ""
171
+
172
+ #: inc/busicare/customizer/news-section.php:33
173
+ #: inc/busicare/customizer/services-section.php:31
174
+ #: inc/busicare/customizer/slider-section.php:172
175
+ #: inc/busicare/customizer/team-section.php:30
176
+ #: inc/busicare/customizer/testimonial-section.php:29
177
+ #: inc/cloudpress/features/feature-cta-section.php:33
178
+ #: inc/cloudpress/features/feature-service-section.php:33
179
+ #: inc/cloudpress/features/feature-slider-section.php:77
180
+ #: inc/cloudpress/features/feature-team-section.php:45
181
+ #: inc/cloudpress/features/feature-testimonial-section.php:58
182
+ #: inc/cloudpress/features/feature-testimonial-section.php:122
183
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:254
184
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:403
185
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:271
186
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:436
187
+ #: inc/honeypress/features/feature-service-section.php:33
188
+ #: inc/honeypress/features/feature-slider-section.php:174
189
+ #: inc/honeypress/features/feature-testimonial-section.php:90
190
+ #: inc/honeypress/features/feature-testimonial-section.php:161
191
+ #: inc/innofit/customizer/callout-section.php:29
192
+ #: inc/innofit/customizer/news-section.php:30
193
+ #: inc/innofit/customizer/services-section.php:31
194
+ #: inc/innofit/customizer/slider-section.php:73
195
+ #: inc/innofit/customizer/subscriber-section.php:115
196
+ #: inc/innofit/customizer/team-section.php:27
197
+ #: inc/innofit/customizer/testimonial-section.php:66
198
+ #: inc/innofit/customizer/wooproduct-section.php:26
199
+ #: inc/spicepress/features/feature-portfolio-section.php:31
200
+ #: inc/spicepress/features/feature-portfolio-section.php:78
201
+ #: inc/spicepress/features/feature-portfolio-section.php:127
202
+ #: inc/spicepress/features/feature-portfolio-section.php:175
203
+ #: inc/spicepress/features/feature-service-section.php:40
204
+ #: inc/spicepress/features/feature-slider-section.php:76
205
+ #: inc/spicepress/features/feature-testimonial-section.php:70
206
+ #: inc/spicepress/features/feature-testimonial-section.php:128
207
+ msgid "Title"
208
+ msgstr ""
209
+
210
+ #: inc/busicare/customizer/news-section.php:41
211
+ #: inc/busicare/sections/busicare-news-section.php:18
212
+ msgid "Cras Vitae Placerat"
213
+ msgstr ""
214
+
215
+ #: inc/busicare/customizer/news-section.php:46
216
+ #: inc/busicare/customizer/services-section.php:47
217
+ #: inc/busicare/customizer/team-section.php:43
218
+ msgid "Sub title"
219
+ msgstr ""
220
+
221
+ #: inc/busicare/customizer/news-section.php:60
222
+ msgid "Read More Text"
223
+ msgstr ""
224
+
225
+ #: inc/busicare/customizer/news-section.php:77
226
+ msgid ""
227
+ "Enable / Disable post "
228
+ "meta in blog section"
229
+ msgstr ""
230
+
231
+ #: inc/busicare/customizer/news-section.php:87
232
+ msgid "View More"
233
+ msgstr ""
234
+
235
+ #: inc/busicare/customizer/news-section.php:96
236
+ msgid ""
237
+ "View More Button Text"
238
+ msgstr ""
239
+
240
+ #: inc/busicare/customizer/news-section.php:114
241
+ msgid ""
242
+ "View More Button Link"
243
+ msgstr ""
244
+
245
+ #: inc/busicare/customizer/news-section.php:131
246
+ #: inc/busicare/customizer/slider-section.php:223
247
+ #: inc/busicare/customizer/slider-section.php:261
248
+ #: inc/cloudpress/features/feature-cta-section.php:85
249
+ #: inc/cloudpress/features/feature-slider-section.php:127
250
+ #: inc/cloudpress/features/feature-slider-section.php:164
251
+ #: inc/cloudpress/features/feature-testimonial-section.php:146
252
+ #: inc/honeypress/features/feature-slider-section.php:224
253
+ #: inc/honeypress/features/feature-slider-section.php:261
254
+ #: inc/innofit/customizer/callout-section.php:90
255
+ #: inc/innofit/customizer/slider-section.php:123
256
+ #: inc/spicepress/features/feature-slider-section.php:126
257
+ msgid ""
258
+ "Open link in new tab"
259
+ msgstr ""
260
+
261
+ #: inc/busicare/customizer/services-section.php:3
262
+ #: inc/innofit/customizer/services-section.php:4
263
+ msgid "Services settings"
264
+ msgstr ""
265
+
266
+ #: inc/busicare/customizer/services-section.php:16
267
+ msgid ""
268
+ "Enable / Disable "
269
+ "Services on homepage"
270
+ msgstr ""
271
+
272
+ #: inc/busicare/customizer/services-section.php:25
273
+ #: inc/busicare/sections/busicare-services-section.php:38
274
+ #: inc/cloudpress/features/feature-service-section.php:28
275
+ #: inc/cloudpress/sections/cloudpress-service-section.php:19
276
+ #: inc/honeypress/features/feature-service-section.php:28
277
+ #: inc/honeypress/sections/honeypress-service-section.php:23
278
+ msgid "Etiam et Urna?"
279
+ msgstr ""
280
+
281
+ #: inc/busicare/customizer/services-section.php:40
282
+ #: inc/busicare/sections/busicare-services-section.php:39
283
+ #: inc/cloudpress/features/feature-service-section.php:41
284
+ #: inc/cloudpress/sections/cloudpress-service-section.php:20
285
+ #: inc/honeypress/features/feature-service-section.php:41
286
+ #: inc/honeypress/sections/honeypress-service-section.php:24
287
+ msgid "Fusce Sed Massa"
288
+ msgstr ""
289
+
290
+ #: inc/busicare/customizer/services-section.php:59
291
+ #: inc/innofit/customizer/services-section.php:56
292
+ msgid "Services content"
293
+ msgstr ""
294
+
295
+ #: inc/busicare/customizer/services-section.php:62
296
+ #: inc/cloudpress/features/feature-service-section.php:59
297
+ #: inc/honeypress/features/feature-service-section.php:59
298
+ #: inc/innofit/customizer/services-section.php:59
299
+ #: inc/spicepress/features/feature-service-section.php:66
300
+ msgid "Add new Service"
301
+ msgstr ""
302
+
303
+ #: inc/busicare/customizer/services-section.php:63
304
+ #: inc/cloudpress/features/feature-service-section.php:60
305
+ #: inc/honeypress/features/feature-service-section.php:60
306
+ #: inc/innofit/customizer/services-section.php:60
307
+ #: inc/innofit/default-pages/home-custom-menu.php:19
308
+ #: inc/spicepress/features/feature-service-section.php:67
309
+ msgid "Service"
310
+ msgstr ""
311
+
312
+ #: inc/busicare/customizer/services-section.php:77
313
+ #: inc/cloudpress/features/feature-service-section.php:73
314
+ #: inc/honeypress/features/feature-service-section.php:74
315
+ #: inc/innofit/customizer/services-section.php:72
316
+ msgid ""
317
+ "To add More Service? Then"
318
+ msgstr ""
319
+
320
+ #: inc/busicare/customizer/services-section.php:78
321
+ #: inc/cloudpress/features/feature-funfact-section.php:45
322
+ #: inc/cloudpress/features/feature-service-section.php:74
323
+ #: inc/honeypress/features/feature-service-section.php:75
324
+ #: inc/innofit/customizer/services-section.php:73
325
+ #: inc/innofit/customizer/team-section.php:73
326
+ #: inc/innofit/customizer/testimonial-section.php:106
327
+ #: inc/innofit/customizer/testimonial-section.php:138
328
+ msgid "Upgrade to Plus"
329
+ msgstr ""
330
+
331
+ #: inc/busicare/customizer/slider-section.php:5
332
+ #: inc/cloudpress/features/feature-slider-section.php:7
333
+ #: inc/honeypress/features/feature-slider-section.php:10
334
+ #: inc/spicepress/features/feature-slider-section.php:7
335
+ msgid "Slider settings"
336
+ msgstr ""
337
+
338
+ #: inc/busicare/customizer/slider-section.php:18
339
+ msgid ""
340
+ "Enable / Disable Slider "
341
+ "on homepage"
342
+ msgstr ""
343
+
344
+ #: inc/busicare/customizer/slider-section.php:29
345
+ #: inc/honeypress/features/feature-slider-section.php:31
346
+ msgid ""
347
+ "Slider Background Type"
348
+ msgstr ""
349
+
350
+ #: inc/busicare/customizer/slider-section.php:34
351
+ #: inc/busicare/customizer/slider-section.php:93
352
+ #: inc/cloudpress/features/feature-slider-section.php:35
353
+ #: inc/cloudpress/features/feature-testimonial-section.php:90
354
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:555
355
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:601
356
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:603
357
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:649
358
+ #: inc/honeypress/features/feature-slider-section.php:35
359
+ #: inc/honeypress/features/feature-slider-section.php:113
360
+ #: inc/honeypress/features/feature-testimonial-section.php:131
361
+ #: inc/innofit/customizer/about-section.php:73
362
+ #: inc/innofit/customizer/slider-section.php:32
363
+ #: inc/spicepress/features/feature-portfolio-section.php:59
364
+ #: inc/spicepress/features/feature-portfolio-section.php:108
365
+ #: inc/spicepress/features/feature-portfolio-section.php:157
366
+ #: inc/spicepress/features/feature-slider-section.php:35
367
+ #: inc/spicepress/features/feature-testimonial-section.php:97
368
+ msgid "Image"
369
+ msgstr ""
370
+
371
+ #: inc/busicare/customizer/slider-section.php:35
372
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:587
373
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:635
374
+ #: inc/honeypress/features/feature-slider-section.php:36
375
+ msgid "Video"
376
+ msgstr ""
377
+
378
+ #: inc/busicare/customizer/slider-section.php:49
379
+ #: inc/honeypress/features/feature-slider-section.php:50
380
+ msgid "Slider video"
381
+ msgstr ""
382
+
383
+ #: inc/busicare/customizer/slider-section.php:50
384
+ #: inc/honeypress/features/feature-slider-section.php:51
385
+ msgid ""
386
+ "Upload your video in ."
387
+ "mp4 format and minimize "
388
+ "its file size for best "
389
+ "results. For this theme "
390
+ "the recommended size is "
391
+ "1150 × 2000 pixels."
392
+ msgstr ""
393
+
394
+ #: inc/busicare/customizer/slider-section.php:55
395
+ #: inc/busicare/customizer/slider-section.php:60
396
+ #: inc/honeypress/features/feature-slider-section.php:55
397
+ #: inc/honeypress/features/feature-slider-section.php:60
398
+ msgid "Select File"
399
+ msgstr ""
400
+
401
+ #: inc/busicare/customizer/slider-section.php:56
402
+ #: inc/honeypress/features/feature-slider-section.php:56
403
+ msgid "Change File"
404
+ msgstr ""
405
+
406
+ #: inc/busicare/customizer/slider-section.php:57
407
+ #: inc/honeypress/features/feature-slider-section.php:57
408
+ msgid "Default"
409
+ msgstr ""
410
+
411
+ #: inc/busicare/customizer/slider-section.php:58
412
+ #: inc/honeypress/features/feature-slider-section.php:58
413
+ msgid "Remove"
414
+ msgstr ""
415
+
416
+ #: inc/busicare/customizer/slider-section.php:59
417
+ #: inc/honeypress/features/feature-slider-section.php:59
418
+ msgid "No file selected"
419
+ msgstr ""
420
+
421
+ #: inc/busicare/customizer/slider-section.php:61
422
+ #: inc/honeypress/features/feature-slider-section.php:61
423
+ msgid "Choose File"
424
+ msgstr ""
425
+
426
+ #: inc/busicare/customizer/slider-section.php:74
427
+ #: inc/honeypress/features/feature-slider-section.php:75
428
+ msgid ""
429
+ "Or, enter a YouTube URL:"
430
+ msgstr ""
431
+
432
+ #: inc/busicare/customizer/slider-section.php:109
433
+ msgid ""
434
+ "Enable / Disable slider "
435
+ "image overlay"
436
+ msgstr ""
437
+
438
+ #: inc/busicare/customizer/slider-section.php:124
439
+ #: inc/cloudpress/features/feature-slider-section.php:63
440
+ #: inc/honeypress/features/feature-slider-section.php:140
441
+ #: inc/innofit/customizer/slider-section.php:60
442
+ #: inc/spicepress/features/feature-slider-section.php:63
443
+ msgid ""
444
+ "Slider image overlay "
445
+ "color"
446
+ msgstr ""
447
+
448
+ #: inc/busicare/customizer/slider-section.php:140
449
+ #: inc/honeypress/features/feature-slider-section.php:155
450
+ msgid ""
451
+ "Slider Content Alignment"
452
+ msgstr ""
453
+
454
+ #: inc/busicare/customizer/slider-section.php:144
455
+ #: inc/honeypress/features/feature-slider-section.php:158
456
+ msgid "Left"
457
+ msgstr ""
458
+
459
+ #: inc/busicare/customizer/slider-section.php:145
460
+ #: inc/honeypress/features/feature-slider-section.php:159
461
+ msgid "Center"
462
+ msgstr ""
463
+
464
+ #: inc/busicare/customizer/slider-section.php:146
465
+ #: inc/honeypress/features/feature-slider-section.php:160
466
+ msgid "Right"
467
+ msgstr ""
468
+
469
+ #: inc/busicare/customizer/slider-section.php:154
470
+ msgid "Nulla nec dolor sit"
471
+ msgstr ""
472
+
473
+ #: inc/busicare/customizer/slider-section.php:159
474
+ msgid "Sub-title"
475
+ msgstr ""
476
+
477
+ #: inc/busicare/customizer/slider-section.php:167
478
+ #: inc/busicare/sections/busicare-slider-section.php:9
479
+ #: inc/busicare/sections/busicare-slider-section.php:11
480
+ #: inc/cloudpress/features/feature-slider-section.php:71
481
+ #: inc/cloudpress/sections/cloudpress-slider-section.php:10
482
+ #: inc/honeypress/features/feature-slider-section.php:168
483
+ #: inc/honeypress/sections/honeypress-slider-section.php:25
484
+ msgid ""
485
+ "Nulla nec dolor sit amet "
486
+ "lacus molestie"
487
+ msgstr ""
488
+
489
+ #: inc/busicare/customizer/slider-section.php:180
490
+ #: inc/cloudpress/features/feature-slider-section.php:84
491
+ #: inc/honeypress/features/feature-slider-section.php:181
492
+ msgid ""
493
+ "Sea summo mazim ex, ea "
494
+ "errem eleifend "
495
+ "definitionem vim. Ut nec "
496
+ "hinc dolor possim <br> "
497
+ "mei ludus efficiendi ei "
498
+ "sea summo mazim ex."
499
+ msgstr ""
500
+
501
+ #: inc/busicare/customizer/slider-section.php:184
502
+ #: inc/cloudpress/features/feature-service-section.php:46
503
+ #: inc/cloudpress/features/feature-slider-section.php:89
504
+ #: inc/cloudpress/features/feature-testimonial-section.php:72
505
+ #: inc/cloudpress/features/feature-testimonial-section.php:108
506
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:268
507
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:417
508
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:285
509
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:450
510
+ #: inc/honeypress/features/feature-service-section.php:46
511
+ #: inc/honeypress/features/feature-slider-section.php:186
512
+ #: inc/honeypress/features/feature-testimonial-section.php:103
513
+ #: inc/honeypress/features/feature-testimonial-section.php:148
514
+ #: inc/innofit/customizer/callout-section.php:41
515
+ #: inc/innofit/customizer/news-section.php:42
516
+ #: inc/innofit/customizer/services-section.php:46
517
+ #: inc/innofit/customizer/slider-section.php:85
518
+ #: inc/innofit/customizer/subscriber-section.php:131
519
+ #: inc/innofit/customizer/team-section.php:38
520
+ #: inc/innofit/customizer/testimonial-section.php:79
521
+ #: inc/innofit/customizer/wooproduct-section.php:37
522
+ #: inc/spicepress/features/feature-portfolio-section.php:44
523
+ #: inc/spicepress/features/feature-portfolio-section.php:92
524
+ #: inc/spicepress/features/feature-portfolio-section.php:141
525
+ #: inc/spicepress/features/feature-portfolio-section.php:189
526
+ #: inc/spicepress/features/feature-service-section.php:53
527
+ #: inc/spicepress/features/feature-slider-section.php:88
528
+ #: inc/spicepress/features/feature-testimonial-section.php:83
529
+ #: inc/spicepress/features/feature-testimonial-section.php:114
530
+ msgid "Description"
531
+ msgstr ""
532
+
533
+ #: inc/busicare/customizer/slider-section.php:193
534
+ #: inc/busicare/sections/busicare-slider-section.php:13
535
+ #: inc/cloudpress/features/feature-slider-section.php:97
536
+ #: inc/cloudpress/sections/cloudpress-slider-section.php:13
537
+ #: inc/honeypress/features/feature-slider-section.php:194
538
+ #: inc/honeypress/sections/honeypress-slider-section.php:28
539
+ msgid "Nec Sem"
540
+ msgstr ""
541
+
542
+ #: inc/busicare/customizer/slider-section.php:197
543
+ #: inc/cloudpress/features/feature-slider-section.php:102
544
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:277
545
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:425
546
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:317
547
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:458
548
+ #: inc/honeypress/features/feature-slider-section.php:199
549
+ #: inc/innofit/customizer/callout-section.php:60
550
+ #: inc/innofit/customizer/slider-section.php:98
551
+ #: inc/spicepress/features/feature-slider-section.php:101
552
+ msgid "Button Text"
553
+ msgstr ""
554
+
555
+ #: inc/busicare/customizer/slider-section.php:205
556
+ #: inc/busicare/customizer/slider-section.php:243
557
+ #: inc/busicare/sections/busicare-news-section.php:7
558
+ #: inc/cloudpress/features/feature-cta-section.php:65
559
+ #: inc/cloudpress/features/feature-slider-section.php:109
560
+ #: inc/cloudpress/features/feature-slider-section.php:146
561
+ #: inc/cloudpress/features/feature-testimonial-section.php:129
562
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
563
+ #: inc/honeypress/features/feature-slider-section.php:206
564
+ #: inc/honeypress/features/feature-slider-section.php:243
565
+ #: inc/innofit/customizer/callout-section.php:68
566
+ #: inc/innofit/customizer/slider-section.php:105
567
+ #: inc/spicepress/features/feature-slider-section.php:108
568
+ msgid "#"
569
+ msgstr ""
570
+
571
+ #: inc/busicare/customizer/slider-section.php:209
572
+ #: inc/cloudpress/features/feature-cta-section.php:70
573
+ #: inc/cloudpress/features/feature-slider-section.php:114
574
+ #: inc/honeypress/features/feature-slider-section.php:211
575
+ #: inc/innofit/customizer/callout-section.php:74
576
+ #: inc/innofit/customizer/slider-section.php:110
577
+ #: inc/spicepress/features/feature-slider-section.php:113
578
+ msgid "Button Link"
579
+ msgstr ""
580
+
581
+ #: inc/busicare/customizer/slider-section.php:235
582
+ #: inc/cloudpress/features/feature-slider-section.php:139
583
+ #: inc/honeypress/features/feature-slider-section.php:236
584
+ msgid "Button 2 Text"
585
+ msgstr ""
586
+
587
+ #: inc/busicare/customizer/slider-section.php:247
588
+ #: inc/cloudpress/features/feature-slider-section.php:151
589
+ #: inc/honeypress/features/feature-slider-section.php:248
590
+ msgid "Button 2 Link"
591
+ msgstr ""
592
+
593
+ #: inc/busicare/customizer/team-section.php:5
594
+ #: inc/innofit/customizer/team-section.php:4
595
+ msgid "Team settings"
596
+ msgstr ""
597
+
598
+ #: inc/busicare/customizer/team-section.php:17
599
+ #: inc/cloudpress/features/feature-team-section.php:15
600
+ #: inc/innofit/customizer/team-section.php:11
601
+ msgid ""
602
+ "Enable Home Team section"
603
+ msgstr ""
604
+
605
+ #: inc/busicare/customizer/team-section.php:25
606
+ #: inc/busicare/sections/busicare-team-section.php:146
607
+ msgid "The Team"
608
+ msgstr ""
609
+
610
+ #: inc/busicare/customizer/team-section.php:38
611
+ #: inc/busicare/sections/busicare-team-section.php:147
612
+ msgid "Meet Our Experts"
613
+ msgstr ""
614
+
615
+ #: inc/busicare/customizer/team-section.php:58
616
+ #: inc/cloudpress/features/feature-team-section.php:59
617
+ #: inc/innofit/customizer/team-section.php:53
618
+ msgid "Team content"
619
+ msgstr ""
620
+
621
+ #: inc/busicare/customizer/team-section.php:61
622
+ #: inc/cloudpress/features/feature-team-section.php:62
623
+ #: inc/innofit/customizer/team-section.php:56
624
+ msgid "Add new Team Member"
625
+ msgstr ""
626
+
627
+ #: inc/busicare/customizer/team-section.php:62
628
+ #: inc/cloudpress/features/feature-team-section.php:63
629
+ #: inc/innofit/customizer/team-section.php:57
630
+ msgid "Team Member"
631
+ msgstr ""
632
+
633
+ #: inc/busicare/customizer/team-section.php:78
634
+ #: inc/busicare/customizer/testimonial-section.php:58
635
+ #: inc/cloudpress/features/feature-team-section.php:94
636
+ msgid "Navigation Style"
637
+ msgstr ""
638
+
639
+ #: inc/busicare/customizer/team-section.php:83
640
+ #: inc/busicare/customizer/testimonial-section.php:63
641
+ #: inc/cloudpress/features/feature-team-section.php:99
642
+ msgid "Bullets"
643
+ msgstr ""
644
+
645
+ #: inc/busicare/customizer/team-section.php:84
646
+ #: inc/busicare/customizer/testimonial-section.php:64
647
+ #: inc/cloudpress/features/feature-team-section.php:100
648
+ msgid "Navigation"
649
+ msgstr ""
650
+
651
+ #: inc/busicare/customizer/team-section.php:85
652
+ #: inc/busicare/customizer/testimonial-section.php:65
653
+ #: inc/cloudpress/features/feature-team-section.php:101
654
+ msgid "Both"
655
+ msgstr ""
656
+
657
+ #: inc/busicare/customizer/testimonial-section.php:4
658
+ #: inc/innofit/customizer/testimonial-section.php:3
659
+ msgid ""
660
+ "Testimonials settings"
661
+ msgstr ""
662
+
663
+ #: inc/busicare/customizer/testimonial-section.php:17
664
+ msgid ""
665
+ "Enable / Disable "
666
+ "Testimonial on homepage"
667
+ msgstr ""
668
+
669
+ #: inc/busicare/customizer/testimonial-section.php:25
670
+ #: inc/cloudpress/features/feature-testimonial-section.php:53
671
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
672
+ #: inc/honeypress/features/feature-testimonial-section.php:85
673
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:40
674
+ msgid "Proin Egestas"
675
+ msgstr ""
676
+
677
+ #: inc/busicare/customizer/testimonial-section.php:40
678
+ #: inc/innofit/customizer/testimonial-section.php:89
679
+ msgid "Testimonial content"
680
+ msgstr ""
681
+
682
+ #: inc/busicare/customizer/testimonial-section.php:42
683
+ #: inc/innofit/customizer/testimonial-section.php:91
684
+ msgid "Add new Testimonial"
685
+ msgstr ""
686
+
687
+ #: inc/busicare/customizer/testimonial-section.php:43
688
+ #: inc/innofit/customizer/testimonial-section.php:92
689
+ msgid "Testimonial"
690
+ msgstr ""
691
+
692
+ #: inc/busicare/customizer/testimonial-section.php:77
693
+ #: inc/cloudpress/features/feature-testimonial-section.php:31
694
+ #: inc/innofit/customizer/contact-section.php:28
695
+ #: inc/innofit/customizer/subscriber-section.php:71
696
+ #: inc/innofit/customizer/testimonial-section.php:27
697
+ #: inc/spicepress/features/feature-testimonial-section.php:31
698
+ msgid "Background Image"
699
+ msgstr ""
700
+
701
+ #: inc/busicare/customizer/testimonial-section.php:90
702
+ msgid ""
703
+ "Enable / Disable "
704
+ "testimonial image overlay"
705
+ msgstr ""
706
+
707
+ #: inc/busicare/customizer/testimonial-section.php:103
708
+ #: inc/innofit/customizer/testimonial-section.php:52
709
+ #: inc/spicepress/features/feature-testimonial-section.php:56
710
+ msgid ""
711
+ "Testimonial image "
712
+ "overlay color"
713
+ msgstr ""
714
+
715
+ #: inc/busicare/sections/busicare-news-section.php:70
716
+ msgid "By"
717
+ msgstr ""
718
+
719
+ #: inc/busicare/sections/busicare-news-section.php:93
720
+ #: inc/innofit/sections/innofit-news-section.php:97
721
+ msgid "Read More"
722
+ msgstr ""
723
+
724
+ #: inc/busicare/sections/busicare-slider-section.php:12
725
+ #: inc/cloudpress/sections/cloudpress-slider-section.php:12
726
+ #: inc/honeypress/sections/honeypress-slider-section.php:27
727
+ msgid ""
728
+ "Sea summo mazim ex, ea "
729
+ "errem eleifend "
730
+ "definitionem vim. Ut nec "
731
+ "hinc dolor possim <br> "
732
+ "mei ludus efficiendi ei "
733
+ "sea summo mazim ex."
734
+ msgstr ""
735
+
736
+ #: inc/busicare/sections/busicare-testimonial-section.php:13
737
+ #: inc/cloudpress/features/feature-testimonial-section.php:66
738
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
739
+ #: inc/honeypress/features/feature-testimonial-section.php:98
740
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:41
741
+ msgid ""
742
+ "Nam Viverra Iaculis "
743
+ "Finibus"
744
+ msgstr ""
745
+
746
  #: inc/chilly/post-meta.php:5
747
  #: inc/chilly/post-meta.php:6
748
  msgid ""
832
  "amet?"
833
  msgstr ""
834
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
835
  #: inc/cloudpress/features/feature-cta-section.php:41
836
  #: inc/cloudpress/sections/cloudpress-cta-section.php:17
837
  msgid ""
856
  msgid "Button"
857
  msgstr ""
858
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
859
  #: inc/cloudpress/features/feature-funfact-section.php:8
860
  msgid "Funfact Settings"
861
  msgstr ""
883
  "To add More funfact? Then"
884
  msgstr ""
885
 
 
 
 
 
 
 
 
 
 
 
886
  #: inc/cloudpress/features/feature-service-section.php:8
887
  #: inc/honeypress/features/feature-service-section.php:8
888
  #: inc/spicepress/features/feature-service-section.php:13
898
  "homepage"
899
  msgstr ""
900
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
901
  #: inc/cloudpress/features/feature-service-section.php:56
902
  #: inc/honeypress/features/feature-service-section.php:56
903
  #: inc/spicepress/features/feature-service-section.php:63
904
  msgid "Service content"
905
  msgstr ""
906
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
907
  #: inc/cloudpress/features/feature-slider-section.php:15
908
+ #: inc/honeypress/features/feature-slider-section.php:18
909
+ #: inc/spicepress/features/feature-slider-section.php:15
910
+ msgid "Enable slider"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
911
  msgstr ""
912
 
913
+ #: inc/cloudpress/features/feature-slider-section.php:50
914
+ #: inc/honeypress/features/feature-slider-section.php:127
915
+ #: inc/innofit/customizer/slider-section.php:47
916
+ #: inc/spicepress/features/feature-slider-section.php:50
917
+ msgid ""
918
+ "Enable slider image "
919
+ "overlay"
920
  msgstr ""
921
 
922
  #: inc/cloudpress/features/feature-team-section.php:8
923
  msgid "Team Settings"
924
  msgstr ""
925
 
 
 
 
 
 
 
926
  #: inc/cloudpress/features/feature-team-section.php:27
927
  #: inc/cloudpress/sections/cloudpress-team-section.php:22
928
  msgid ""
936
  "suscipit"
937
  msgstr ""
938
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
939
  #: inc/cloudpress/features/feature-team-section.php:78
940
  msgid "Animation speed"
941
  msgstr ""
942
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
943
  #: inc/cloudpress/features/feature-team-section.php:110
944
  msgid "Smooth speed"
945
  msgstr ""
960
  "section"
961
  msgstr ""
962
 
 
 
 
 
 
 
 
 
963
  #: inc/cloudpress/features/feature-testimonial-section.php:45
964
  msgid ""
965
  "Background Overlay Color"
966
  msgstr ""
967
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
968
  #: inc/cloudpress/features/feature-testimonial-section.php:102
969
  #: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
970
  #: inc/honeypress/features/feature-testimonial-section.php:143
992
  msgstr ""
993
 
994
  #: inc/cloudpress/features/feature-testimonial-section.php:134
995
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:288
996
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:435
997
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:624
998
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:646
999
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:328
1000
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:468
1001
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:672
1002
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:694
1003
  msgid "Link"
1004
  msgstr ""
1005
 
 
 
 
 
 
 
 
 
1006
  #: inc/cloudpress/features/feature-testimonial-section.php:158
1007
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:349
1008
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:473
1009
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:309
1010
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:521
1011
  #: inc/honeypress/features/feature-testimonial-section.php:173
1012
  #: inc/spicepress/features/feature-testimonial-section.php:141
1013
  msgid "Designation"
1045
  msgid "Voluptate Velit"
1046
  msgstr ""
1047
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1048
  #: inc/cloudpress/sections/cloudpress-team-section.php:86
1049
  #: inc/cloudpress/sections/cloudpress-team-section.php:89
1050
  #: inc/cloudpress/sections/cloudpress-team-section.php:199
1100
  msgid "Morbi sollicitudin"
1101
  msgstr ""
1102
 
1103
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:33
1104
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:35
1105
  msgid "Add new field"
1106
  msgstr ""
1107
 
1108
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:38
1109
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:40
1110
  msgid "Customizer Repeater"
1111
  msgstr ""
1112
 
1113
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:261
1114
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:410
1115
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:278
1116
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:443
1117
  msgid "Subtitle"
1118
  msgstr ""
1119
 
1120
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:307
1121
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:453
1122
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:347
1123
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:486
1124
  msgid "Video Url"
1125
  msgstr ""
1126
 
1127
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:331
1128
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:395
1129
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:371
1130
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:428
1131
  msgid "Color"
1132
  msgstr ""
1133
 
1134
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:341
1135
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:464
1136
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:380
1137
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:497
1138
  msgid "Shortcode"
1139
  msgstr ""
1140
 
1141
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:365
1142
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:484
1143
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:398
1144
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:532
1145
  msgid "Delete field"
1146
  msgstr ""
1147
 
1148
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:521
1149
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:569
1150
  msgid ""
1151
  "Open link in new tab:"
1152
  msgstr ""
1153
 
1154
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:532
1155
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:600
1156
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:580
1157
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:648
1158
  msgid "Icon"
1159
  msgstr ""
1160
 
1161
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:537
1162
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:585
1163
  #, php-format
1164
  msgid ""
1165
  "Note: Some icons may not "
1168
  "icons at %1$s."
1169
  msgstr ""
1170
 
1171
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:538
1172
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:586
1173
  msgid ""
1174
  "http://fontawesome.io/"
1175
  "icons/"
1176
  msgstr ""
1177
 
1178
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:558
1179
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:606
1180
  msgid "Upload Image"
1181
  msgstr ""
1182
 
1183
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:567
1184
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:615
1185
  msgid "Slide Format"
1186
  msgstr ""
1187
 
1188
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:571
1189
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:619
1190
  #: inc/spicepress/features/feature-service-section.php:101
1191
  #: inc/spicepress/features/feature-testimonial-section.php:171
1192
  msgid "Standard"
1193
  msgstr ""
1194
 
1195
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:575
1196
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:623
1197
  msgid "Aside"
1198
  msgstr ""
1199
 
1200
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:579
1201
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:627
1202
  msgid "Quote"
1203
  msgstr ""
1204
 
1205
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:583
1206
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:631
1207
  msgid "Status"
1208
  msgstr ""
1209
 
1210
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:597
1211
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:645
 
 
 
 
1212
  msgid "Image type"
1213
  msgstr ""
1214
 
1215
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:602
1216
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:650
1217
  msgid "None"
1218
  msgstr ""
1219
 
1220
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:610
1221
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:658
1222
  msgid "Social icons"
1223
  msgstr ""
1224
 
1225
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:627
1226
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:657
1227
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:675
1228
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:705
1229
  msgid "Remove Icon"
1230
  msgstr ""
1231
 
1232
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:632
1233
+ #: inc/controls/customizer-repeater/class/customizer-limit-repeater-control.php:665
1234
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:680
1235
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:713
1236
  msgid "Add Icon"
1237
  msgstr ""
1238
 
1239
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:293
1240
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:505
1241
+ msgid "Client Name"
1242
+ msgstr ""
1243
+
1244
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:301
1245
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:513
1246
+ msgid "Name"
1247
+ msgstr ""
1248
+
1249
  #: inc/controls/customizer-repeater/inc/icons.php:1
1250
  msgid "Type to filter"
1251
  msgstr ""
1311
  "Create your own JotForm"
1312
  msgstr ""
1313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1314
  #: inc/honeypress/features/feature-testimonial-section.php:77
1315
  msgid "Background Color"
1316
  msgstr ""
1346
  msgid "Volunteer"
1347
  msgstr ""
1348
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1349
  #: inc/innofit/customizer/about-section.php:4
1350
  msgid "About settings"
1351
  msgstr ""
1537
  "Contact Info content"
1538
  msgstr ""
1539
 
 
 
 
 
 
1540
  #: inc/innofit/customizer/news-section.php:13
1541
  msgid ""
1542
  "Enable Home News section"
1558
  "section"
1559
  msgstr ""
1560
 
 
 
 
 
1561
  #: inc/innofit/customizer/services-section.php:26
1562
  #: inc/innofit/sections/innofit-services-section.php:44
1563
  msgid "What we do"
1568
  msgid "Services we provide"
1569
  msgstr ""
1570
 
 
 
 
 
1571
  #: inc/innofit/customizer/slider-section.php:4
1572
  msgid "Hero settings"
1573
  msgstr ""
1637
  msgid "Instructions"
1638
  msgstr ""
1639
 
 
 
 
 
1640
  #: inc/innofit/customizer/team-section.php:22
1641
  #: inc/innofit/sections/innofit-team-section.php:21
1642
  msgid ""
1654
  "To add More Team? Then"
1655
  msgstr ""
1656
 
 
 
 
 
 
1657
  #: inc/innofit/customizer/testimonial-section.php:39
1658
  #: inc/spicepress/features/feature-testimonial-section.php:43
1659
  msgid ""
1661
  "overlay"
1662
  msgstr ""
1663
 
 
 
 
 
 
 
 
1664
  #: inc/innofit/customizer/testimonial-section.php:61
1665
  #: inc/innofit/sections/innofit-testimonial-section.php:12
1666
  msgid ""
1675
  "your business."
1676
  msgstr ""
1677
 
 
 
 
 
 
 
 
 
 
 
 
 
1678
  #: inc/innofit/customizer/testimonial-section.php:105
1679
  msgid ""
1680
  "To add More Testimonial? "
1728
  msgid "Contact"
1729
  msgstr ""
1730
 
 
 
 
 
1731
  #: inc/innofit/sections/innofit-wooproduct-section.php:56
1732
  msgid "On Sale!"
1733
  msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.7
6
- Stable tag: 1.4.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -230,6 +230,8 @@ Fixed minor issues of HoneyPress child themes.
230
  1. Added Team Section for the CloudPress theme.
231
  2. Fixed the Slider title issue of Innofit theme.
232
 
 
 
233
 
234
  =======External resources=======
235
 
@@ -243,6 +245,11 @@ Copyright: (c) 2016 Codeinwp cristian-ungureanu
243
  License: MIT license
244
  Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
245
 
 
 
 
 
 
246
  =========== Images ============
247
 
248
  == HoneyWaves Images ==
@@ -285,3 +292,23 @@ https://pxhere.com/en/photo/1235380
285
  * Image used in Slider
286
  License CC0 Public Domain
287
  https://stocksnap.io/photo/guy-man-9RZJVHG39A
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.7
6
+ Stable tag: 1.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
230
  1. Added Team Section for the CloudPress theme.
231
  2. Fixed the Slider title issue of Innofit theme.
232
 
233
+ = 1.5 =
234
+ 1. Added homepage sections for BusiCare theme.
235
 
236
  =======External resources=======
237
 
245
  License: MIT license
246
  Source: https://github.com/Codeinwp/customizer-controls/tree/master/customizer-repeater
247
 
248
+ Custom control - Image Radio Button Custom Control
249
+ Copyright: Anthony Hortin
250
+ License: GNU General Public License v2 or later
251
+ Source: https://github.com/maddisondesigns/customizer-custom-controls
252
+
253
  =========== Images ============
254
 
255
  == HoneyWaves Images ==
292
  * Image used in Slider
293
  License CC0 Public Domain
294
  https://stocksnap.io/photo/guy-man-9RZJVHG39A
295
+
296
+ == BusiCare Images ==
297
+
298
+ * Image used in slider
299
+ License CC0 Public Domain
300
+ https://stocksnap.io/photo/woman-working-8LHTBAZW32
301
+
302
+ * Image used in testimonial
303
+ License CC0 Public Domain
304
+ 1. https://pxhere.com/en/photo/1419926
305
+ 2. https://pxhere.com/en/photo/642874
306
+ 3. https://pxhere.com/en/photo/1602577
307
+ 4. https://pxhere.com/en/photo/1177664
308
+
309
+ * Image used in Team,
310
+ License CC0 Public Domain
311
+ 1. https://pxhere.com/en/photo/645506
312
+ 2. https://pxhere.com/en/photo/1435981
313
+ 3. https://pxhere.com/en/photo/527825
314
+ 4. https://pxhere.com/en/photo/1052708
spicebox.php CHANGED
@@ -1,9 +1,8 @@
1
  <?php
2
  /*
3
  Plugin Name: SpiceBox
4
- Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
- Version: 1.4.3
7
  Author: Spicethemes
8
  Author URI: https://spicethemes.com
9
  Text Domain: spicebox
@@ -149,6 +148,50 @@ function spiceb_activate() {
149
 
150
  }
151
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
 
153
  }
154
  add_action( 'init', 'spiceb_activate' );
@@ -233,6 +276,21 @@ if ( 'Chilly' == $theme->name )
233
  require_once('inc/chilly/post-meta.php');
234
  }
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  //Sanatize text
237
  function spiceb_spicepress_home_page_sanitize_text( $input ) {
238
 
@@ -254,6 +312,16 @@ function spiceb_cloudpress_home_page_sanitize_text( $input ) {
254
 
255
  }
256
 
 
 
 
 
 
 
 
 
 
 
257
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
258
 
259
 
1
  <?php
2
  /*
3
  Plugin Name: SpiceBox
 
4
  Description: Enhances SpiceThemes with extra functionality.
5
+ Version: 1.5
6
  Author: Spicethemes
7
  Author URI: https://spicethemes.com
8
  Text Domain: spicebox
148
 
149
  }
150
 
151
+ if ( 'BusiCare' == $theme->name || 'BusiCare Child' == $theme->name){
152
+
153
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
154
+
155
+ if ( ! is_plugin_active( 'busicare-plus/busicare-plus.php' ) ):
156
+
157
+ require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
158
+ require_once('inc/controls/customizer-repeater/functions.php');
159
+ require ('inc/controls/customizer-text-radio/customizer-text-radio.php');
160
+
161
+ if ( ! function_exists( 'spiceb_busicare_customize_register' ) ) :
162
+ function spiceb_busicare_customize_register($wp_customize){
163
+
164
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
165
+ $sections_customizer_data = array('slider','services','news','testimonial','team');
166
+
167
+
168
+
169
+ if (!empty($sections_customizer_data))
170
+ {
171
+ foreach($sections_customizer_data as $section_customizer_data)
172
+ {
173
+ require_once('inc/busicare/customizer/'.$section_customizer_data.'-section.php');
174
+ }
175
+ }
176
+ $wp_customize->remove_control('header_textcolor');
177
+
178
+ }
179
+ add_action( 'customize_register', 'spiceb_busicare_customize_register' );
180
+ endif;
181
+
182
+ $sections_data = array('slider','services','news','testimonial','team');
183
+
184
+ if (!empty($sections_data)){
185
+
186
+ foreach($sections_data as $section_data){
187
+ require_once('inc/busicare/sections/busicare-'.$section_data.'-section.php');
188
+ }
189
+ }
190
+
191
+ require_once('inc/busicare/customizer.php');
192
+
193
+ endif;
194
+ }
195
 
196
  }
197
  add_action( 'init', 'spiceb_activate' );
276
  require_once('inc/chilly/post-meta.php');
277
  }
278
 
279
+ //BusiCare
280
+ if ( 'BusiCare' == $theme->name || 'BusiCare Child' == $theme->name){
281
+ register_activation_hook( __FILE__, 'spiceb_busicare_install_function');
282
+ function spiceb_busicare_install_function(){
283
+ $item_details_page = get_option('item_details_page');
284
+ if(!$item_details_page){
285
+ require_once('inc/busicare/default-pages/upload-media.php');
286
+ require_once('inc/busicare/default-pages/home-page.php');
287
+ require_once('inc/busicare/default-pages/blog-page.php');
288
+ require_once('inc/busicare/default-widgets/default-widget.php');
289
+ update_option( 'item_details_page', 'Done' );
290
+ }
291
+ }
292
+ }
293
+
294
  //Sanatize text
295
  function spiceb_spicepress_home_page_sanitize_text( $input ) {
296
 
312
 
313
  }
314
 
315
+ //Sanatize for Busicare theme
316
+ function spiceb_busicare_home_page_sanitize_text($input){
317
+ return wp_kses_post( force_balance_tags( $input ) );
318
+ }
319
+
320
+ function spiceb_busicare_sanitize_checkbox($checked) {
321
+ // Boolean check.
322
+ return ( ( isset($checked) && true == $checked ) ? true : false );
323
+ }
324
+
325
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
326
 
327