Spice Box - Version 1.3.1

Version Description

Download this release

Release Info

Developer spicethemes
Plugin Icon wp plugin Spice Box
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3 to 1.3.1

inc/controls/customizer-image-radio-button/image_radio_button.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function spicebox_image_radio_button_customizer($wp_customize) {
4
+ /**
5
+ * Image Radio Button Custom Control
6
+ */
7
+ class Spicebox_Image_Radio_Button_Custom_Control extends WP_Customize_Control {
8
+ /**
9
+ * The type of control being rendered
10
+ */
11
+ public $type = 'image_radio_button';
12
+ /**
13
+ * Enqueue our scripts and styles
14
+ */
15
+ public function enqueue() {
16
+ wp_enqueue_style( 'spicebox-radio-image-controls', SPICEB_PLUGIN_URL . 'inc/css/customizer.css' );
17
+ }
18
+ /**
19
+ * Render the control in the customizer
20
+ */
21
+ public function render_content() {
22
+ ?>
23
+ <div class="image_radio_button_control">
24
+ <?php if( !empty( $this->label ) ) { ?>
25
+ <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
26
+ <?php } ?>
27
+ <?php if( !empty( $this->description ) ) { ?>
28
+ <span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
29
+ <?php } ?>
30
+
31
+ <?php foreach ( $this->choices as $key => $value ) { ?>
32
+ <label class="radio-button-label">
33
+ <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() ); ?>/>
34
+ <img src="<?php echo esc_attr( $value['image'] ); ?>" alt="<?php echo esc_attr( $value['name'] ); ?>" title="<?php echo esc_attr( $value['name'] ); ?>" />
35
+ </label>
36
+ <?php } ?>
37
+ </div>
38
+ <?php
39
+ }
40
+ }
41
+ }
42
+
43
+ add_action( 'customize_register', 'spicebox_image_radio_button_customizer' );
inc/css/customizer.css ADDED
@@ -0,0 +1,809 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ==========================================================================
2
+ CSS for Customizer Custom Controls
3
+ ========================================================================== */
4
+
5
+ /* ==========================================================================
6
+ Standard Selection
7
+ ========================================================================== */
8
+ .customize-control select,
9
+ .select2-container--default .selection .select2-selection--single {
10
+ border: none;
11
+ background-color: #fcfcff;
12
+ position: relative;
13
+ border-radius: 0;
14
+ height: 27px;
15
+ line-height: 27px;
16
+ outline: none;
17
+ -webkit-box-shadow: none;
18
+ box-shadow: none;
19
+ }
20
+
21
+ .wp-customizer .select2-container--default .selection .select2-selection--multiple {
22
+ border: none;
23
+ background-color: #fcfcff;
24
+ border-radius: 0;
25
+ height: auto;
26
+ outline: none;
27
+ -webkit-box-shadow: none;
28
+ box-shadow: none;
29
+ }
30
+
31
+ .wp-customizer .select2-container--default .select2-selection--multiple .select2-selection__rendered {
32
+ width: 95%;
33
+ }
34
+
35
+ .wp-customizer .select2-container--default .select2-selection--multiple .select2-selection__clear {
36
+ position: absolute;
37
+ right: 0;
38
+ }
39
+
40
+ .wp-customizer .select2-container .select2-dropdown {
41
+ z-index: 900000;
42
+ }
43
+
44
+ .customize-control select:active,
45
+ .customize-control select:focus {
46
+ outline: none;
47
+ -webkit-box-shadow: none;
48
+ box-shadow: none;
49
+ }
50
+
51
+ /* ==========================================================================
52
+ Standard Input
53
+ ========================================================================== */
54
+ input[type="text"],
55
+ input[type="number"],
56
+ input[type="url"],
57
+ input[type="email"],
58
+ input[type="date"] {
59
+ background-color: #fcfcff;
60
+ position: relative;
61
+ border-radius: 0;
62
+ border: 1px solid #eee;
63
+ height: 27px;
64
+ line-height: 27px;
65
+ outline: none;
66
+ -webkit-box-shadow: none;
67
+ box-shadow: none;
68
+ }
69
+
70
+ input[type="text"]:active,
71
+ input[type="text"]:focus,
72
+ input[type="number"]:active,
73
+ input[type="number"]:focus {
74
+ outline: none;
75
+ -webkit-box-shadow: none;
76
+ box-shadow: none;
77
+ }
78
+
79
+ /* ==========================================================================
80
+ Simple Notice
81
+ ========================================================================== */
82
+
83
+ .simple-notice-custom-control .customize-control-description {
84
+ line-height: 1.6
85
+ }
86
+
87
+ .simple-notice-custom-control code {
88
+ font-size: 90%;
89
+ padding: 2px 4px;
90
+ }
91
+
92
+ /* ==========================================================================
93
+ Textarea/TinyMCE
94
+ ========================================================================== */
95
+ .tinymce-control textarea {
96
+ width: 100%;
97
+ padding: 10px;
98
+ }
99
+
100
+ /* ==========================================================================
101
+ Text Radio Buttons
102
+ ========================================================================== */
103
+ .text_radio_button_control:after {
104
+ content: " ";
105
+ display: block;
106
+ clear: both;
107
+ }
108
+
109
+ .text_radio_button_control .radio-buttons {
110
+ display: inline-block;
111
+ border: 1px solid #f9f9fe;
112
+ }
113
+
114
+ .text_radio_button_control .radio-button-label {
115
+ cursor: pointer;
116
+ float: left;
117
+ }
118
+
119
+ .text_radio_button_control .radio-button-label > input {
120
+ display: none;
121
+ }
122
+
123
+ .text_radio_button_control .radio-button-label span {
124
+ cursor: pointer;
125
+ font-weight: 500;
126
+ border: 2px solid #f9f9fe;
127
+ margin: 0;
128
+ background-color: #eee;
129
+ padding: 5px 15px;
130
+ display: inline-block;
131
+ }
132
+
133
+ .text_radio_button_control .radio-button-label span:hover {
134
+ background-color: rgba(255, 255, 255, .2);
135
+ color: #2885bb;
136
+ }
137
+
138
+ .text_radio_button_control .radio-button-label > input:checked + span {
139
+ background-color: #2084bd;
140
+ color: #fff;
141
+ }
142
+
143
+ .text_radio_button_control .radio-button-label > input:checked + span:hover {
144
+ color: #fff;
145
+ }
146
+
147
+ /* ==========================================================================
148
+ Image Radio Buttons
149
+ ========================================================================== */
150
+ .image_radio_button_control .radio-button-label > input {
151
+ display: none;
152
+ }
153
+
154
+ .image_radio_button_control .radio-button-label > img {
155
+ cursor: pointer;
156
+ border: 3px solid #ddd;
157
+ }
158
+
159
+ .image_radio_button_control .radio-button-label > input:checked + img {
160
+ border: 3px solid #2885bb;
161
+ }
162
+
163
+ /* ==========================================================================
164
+ Image Checkboxes
165
+ ========================================================================== */
166
+ .image_checkbox_control .checkbox-label > input {
167
+ display: none;
168
+ }
169
+
170
+ .image_checkbox_control .checkbox-label > img {
171
+ cursor: pointer;
172
+ border: 3px solid #ddd;
173
+ }
174
+
175
+ .image_checkbox_control .checkbox-label > input:checked + img {
176
+ border: 3px solid #2885bb;
177
+ }
178
+
179
+ /* ==========================================================================
180
+ Pill Checkboxes
181
+ ========================================================================== */
182
+ .pill_checkbox_control .checkbox-label > input {
183
+ display: none;
184
+ }
185
+
186
+ .pill_checkbox_control .checkbox-label > .sortable-pill-title {
187
+ box-sizing: border-box;
188
+ cursor: pointer;
189
+ background-color: #ddd;
190
+ padding: 5px 15px;
191
+ border-radius: 20px;
192
+ font-size: 1rem;
193
+ display: inline-block;
194
+ margin-bottom: 5px
195
+ }
196
+
197
+ .pill_checkbox_control .sortable .checkbox-label > .sortable-pill-title {
198
+ cursor: move;
199
+ }
200
+
201
+ .pill_checkbox_control .sortable.fullwidth_pills .checkbox-label > .sortable-pill-title {
202
+ cursor: pointer;
203
+ }
204
+
205
+ .pill_checkbox_control .checkbox-label > input:checked + .sortable-pill-title {
206
+ background-color: #2084bd;
207
+ color: #fff;
208
+ }
209
+
210
+ .pill_checkbox_control .checkbox-label > input:checked + .sortable-pill-title:before {
211
+ display: inline-block;
212
+ font-style: normal;
213
+ font-variant: normal;
214
+ text-rendering: auto;
215
+ -webkit-font-smoothing: antialiased;
216
+ font-family: "dashicons";
217
+ font-weight: normal;
218
+ font-size: 24px;
219
+ content: "\f147";
220
+ margin-left: -10px;
221
+ vertical-align: bottom;
222
+ }
223
+
224
+ .pill_checkbox_control .fullwidth_pills .checkbox-label > .sortable-pill-title {
225
+ width: 100%;
226
+ border-radius: 0;
227
+ }
228
+
229
+ .pill_checkbox_control .sortable.fullwidth_pills .checkbox-label > .sortable-pill-title {
230
+ width: 90%;
231
+ }
232
+
233
+ .pill-ui-state-highlight {
234
+ display: inline-block;
235
+ padding: 5px 15px;
236
+ border-radius: 20px;
237
+ font-size: 1rem;
238
+ border: 1px dotted #2084bd;
239
+ margin-bottom: 5px;
240
+ height: 16px;
241
+ }
242
+
243
+ .pill_checkbox_control .sortable_pills .pill-ui-state-highlight {
244
+ width: 50px;
245
+ border-radius: 20px;
246
+ }
247
+
248
+ .pill_checkbox_control .sortable_pills.fullwidth_pills .pill-ui-state-highlight {
249
+ width: 90%;
250
+ border-radius: 0;
251
+ }
252
+
253
+ .pill_checkbox_control .dashicons-sort {
254
+ margin: 5px 0 0 1px;
255
+ color: #d4d4d4;
256
+ cursor: move;
257
+ }
258
+
259
+ .pill_checkbox_control .dashicons-sort:hover {
260
+ color: #a7a7a7;
261
+ }
262
+
263
+ .pill_checkbox_control .sortable_pills.fullwidth_pills .ui-sortable-helper {
264
+ width: calc(100% - 25px) !important;
265
+ }
266
+
267
+ /* ==========================================================================
268
+ Slider
269
+ ========================================================================== */
270
+ .slider-custom-control {
271
+ margin-bottom: 30px;
272
+ }
273
+
274
+ .slider-custom-control input[type=number]::-webkit-inner-spin-button,
275
+ .slider-custom-control input[type=number]::-webkit-outer-spin-button {
276
+ -webkit-appearance: none;
277
+ margin: 0;
278
+ }
279
+
280
+ .slider-custom-control input[type=number] {
281
+ -moz-appearance: textfield;
282
+ }
283
+
284
+ .slider-custom-control .customize-control-title {
285
+ display: inline-block;
286
+ }
287
+
288
+ .slider-custom-control input[type=number] {
289
+ text-align: right;
290
+ width: 50px;
291
+ float: right;
292
+ }
293
+
294
+ .slider-custom-control .slider {
295
+ width: 85%;
296
+ float: left;
297
+ margin: 20px 0 10px;
298
+ }
299
+
300
+ .slider-custom-control .slider-reset {
301
+ float: right;
302
+ cursor: pointer;
303
+ }
304
+
305
+ .slider-custom-control .slider-value {
306
+ border: none;
307
+ text-align: right;
308
+ width: 50px;
309
+ margin-right: 5px;
310
+ }
311
+
312
+ .slider-custom-control .slider-value,
313
+ .slider-custom-control .slider-unit {
314
+ float: right;
315
+ }
316
+
317
+ .slider-custom-control .ui-widget.ui-widget-content {
318
+ border: 1px solid #f4f4f4;
319
+ }
320
+
321
+ .slider-custom-control .ui-corner-all,
322
+ .slider-custom-control .ui-corner-bottom,
323
+ .slider-custom-control .ui-corner-right,
324
+ .slider-custom-control .ui-corner-br {
325
+ border-bottom-right-radius: 3px;
326
+ }
327
+
328
+ .slider-custom-control .ui-corner-all,
329
+ .slider-custom-control .ui-corner-bottom,
330
+ .slider-custom-control .ui-corner-left,
331
+ .slider-custom-control .ui-corner-bl {
332
+ border-bottom-left-radius: 3px;
333
+ }
334
+
335
+ .slider-custom-control .ui-corner-all,
336
+ .slider-custom-control .ui-corner-top,
337
+ .slider-custom-control .ui-corner-right,
338
+ .slider-custom-control .ui-corner-tr {
339
+ border-top-right-radius: 3px;
340
+ }
341
+
342
+ .slider-custom-control .ui-corner-all,
343
+ .slider-custom-control .ui-corner-top,
344
+ .slider-custom-control .ui-corner-left,
345
+ .slider-custom-control .ui-corner-tl {
346
+ border-top-left-radius: 3px;
347
+ }
348
+
349
+ .slider-custom-control .ui-widget-content {
350
+ background: #f4f4f4 none repeat scroll 0 0;
351
+ color: #333;
352
+ }
353
+
354
+ .slider-custom-control .ui-slider-horizontal {
355
+ height: 3px;
356
+ }
357
+
358
+ .slider-custom-control .ui-slider {
359
+ position: relative;
360
+ text-align: left;
361
+ }
362
+
363
+ .slider-custom-control .ui-state-default,
364
+ .slider-custom-control .ui-widget-content .ui-state-default,
365
+ .slider-custom-control .ui-widget-header .ui-state-default,
366
+ .slider-custom-control .ui-button,
367
+ .slider-custom-control .ui-button.ui-state-disabled:hover,
368
+ .slider-custom-control .ui-button.ui-state-disabled:active {
369
+ background: #2885bb none repeat scroll 0 0;
370
+ border: 1px solid #2885bb;
371
+ color: #454545;
372
+ font-weight: normal;
373
+ }
374
+
375
+ .slider-custom-control .ui-slider-horizontal .ui-slider-handle {
376
+ margin-left: -7px;
377
+ top: -7px;
378
+ border-radius: 50%;
379
+ }
380
+
381
+ .slider-custom-control .ui-slider .ui-slider-handle {
382
+ cursor: pointer;
383
+ height: 14px;
384
+ position: absolute;
385
+ width: 14px;
386
+ z-index: 2;
387
+ }
388
+
389
+ .slider-custom-control .dashicons-image-rotate {
390
+ margin-top: 10px;
391
+ color: #d4d4d4;
392
+ size: 16px;
393
+ }
394
+
395
+ .slider-custom-control .dashicons-image-rotate:hover {
396
+ color: #a7a7a7;
397
+ }
398
+
399
+ /* ==========================================================================
400
+ Toggle Switch
401
+ ========================================================================== */
402
+ .toggle-switch-control .customize-control-title {
403
+ display: inline-block;
404
+ }
405
+
406
+ .toggle-switch {
407
+ position: relative;
408
+ width: 64px;
409
+ -webkit-user-select: none;
410
+ -moz-user-select: none;
411
+ -ms-user-select: none;
412
+ float: right;
413
+ }
414
+
415
+ .toggle-switch .toggle-switch-checkbox {
416
+ display: none;
417
+ }
418
+
419
+ .toggle-switch .toggle-switch-label {
420
+ display: block;
421
+ overflow: hidden;
422
+ cursor: pointer;
423
+ border: 2px solid #ddd;
424
+ border-radius: 20px;
425
+ padding: 0;
426
+ margin: 0;
427
+ }
428
+
429
+ .toggle-switch-inner {
430
+ display: block;
431
+ width: 200%;
432
+ margin-left: -100%;
433
+ transition: margin 0.3s ease-in 0s;
434
+ }
435
+
436
+ .toggle-switch-inner:before,
437
+ .toggle-switch-inner:after {
438
+ display: block;
439
+ float: left;
440
+ width: 50%;
441
+ height: 22px;
442
+ padding: 0;
443
+ line-height: 22px;
444
+ font-size: 14px;
445
+ color: white;
446
+ font-family: Trebuchet, Arial, sans-serif;
447
+ font-weight: bold;
448
+ box-sizing: border-box;
449
+ }
450
+
451
+ .toggle-switch-inner:before {
452
+ content: "ON";
453
+ padding-left: 8px;
454
+ background-color: #2885bb;
455
+ color: #fff;
456
+ }
457
+
458
+ .toggle-switch-inner:after {
459
+ content: "OFF";
460
+ padding-right: 8px;
461
+ background-color: #eee;
462
+ color: #999;
463
+ text-align: right;
464
+ }
465
+
466
+ .toggle-switch-switch {
467
+ display: block;
468
+ width: 16px;
469
+ margin: 3px;
470
+ background-color: #fff;
471
+ position: absolute;
472
+ top: 0;
473
+ bottom: 0;
474
+ right: 38px;
475
+ border: 2px solid #ddd;
476
+ border-radius: 20px;
477
+ transition: all 0.3s ease-in 0s;
478
+ }
479
+
480
+ .toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-inner {
481
+ margin-left: 0;
482
+ }
483
+
484
+ .toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-switch {
485
+ right: 0px;
486
+ }
487
+
488
+ /* ==========================================================================
489
+ Sortable Repeater
490
+ ========================================================================== */
491
+ .sortable {
492
+ list-style-type: none;
493
+ margin: 0;
494
+ padding: 0;
495
+ }
496
+
497
+ .sortable input[type="text"] {
498
+ margin: 5px 5px 5px 0;
499
+ width: 80%;
500
+ }
501
+
502
+ .sortable div {
503
+ cursor: move;
504
+ }
505
+
506
+ .customize-control-sortable-repeater-delete {
507
+ color: #d4d4d4;
508
+ }
509
+
510
+ .customize-control-sortable-repeater-delete:hover {
511
+ color: #f00;
512
+ }
513
+
514
+ .customize-control-sortable-repeater-delete .dashicons-no-alt {
515
+ text-decoration: none;
516
+ margin: 8px 0 0 0;
517
+ font-weight: 600;
518
+ }
519
+
520
+ .customize-control-sortable-repeater-delete:active,
521
+ .customize-control-sortable-repeater-delete:focus {
522
+ outline: none;
523
+ -webkit-box-shadow: none;
524
+ box-shadow: none;
525
+ }
526
+
527
+ .repeater .dashicons-sort {
528
+ margin: 8px 5px 0 5px;
529
+ color: #d4d4d4;
530
+ }
531
+
532
+ .repeater .dashicons-sort:hover {
533
+ color: #a7a7a7;
534
+ }
535
+
536
+ /* ==========================================================================
537
+ Single Accordion
538
+ ========================================================================== */
539
+ .single-accordion-toggle {
540
+ font-size: 14px;
541
+ font-weight: 600;
542
+ line-height: 24px;
543
+ padding: 10px 5px 5px 0;
544
+ cursor: pointer;
545
+ }
546
+
547
+ .accordion-icon-toggle {
548
+ font-size: 18px;
549
+ margin-left: 5px;
550
+ margin-top: 5px;
551
+ -webkit-transition: -webkit-transform 0.3s ease-in-out;
552
+ -moz-transition: -moz-transform 0.3s ease-in-out;
553
+ -o-transition: -o-transform 0.3s ease-in-out;
554
+ transition: transform 0.3s ease-in-out;
555
+ }
556
+
557
+ .single-accordion-toggle-rotate .accordion-icon-toggle {
558
+ filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=-0.5);
559
+ -webkit-transform: rotate(-45deg);
560
+ -moz-transform: rotate(-45deg);
561
+ -ms-transform: rotate(-45deg);
562
+ -o-transform: rotate(-45deg);
563
+ transform: rotate(-45deg);
564
+ display: inline-block;
565
+ }
566
+
567
+ .single-accordion {
568
+ display: none;
569
+ }
570
+
571
+ .single-accordion ul {
572
+ margin: 0;
573
+ padding: 0;
574
+ }
575
+
576
+ .single-accordion li {
577
+ background-color: #e4e4e4;
578
+ color: #888;
579
+ width: 115px;
580
+ display: inline-block;
581
+ padding: 5px;
582
+ margin: 5px;
583
+ text-align: center;
584
+ }
585
+
586
+ .single-accordion li i {
587
+ margin-left: 5px;
588
+ }
589
+
590
+ /* ==========================================================================
591
+ Alpha Color Picker
592
+ ========================================================================== */
593
+ .customize-control-alpha-color .wp-picker-container .iris-picker {
594
+ border-bottom:none;
595
+ }
596
+
597
+ .customize-control-alpha-color .wp-picker-container {
598
+ max-width: 257px;
599
+ }
600
+
601
+ .customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap {
602
+ width: 100%;
603
+ }
604
+
605
+ .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
606
+ float: left;
607
+ width: 195px;
608
+ }
609
+
610
+ .customize-control-alpha-color .wp-picker-input-wrap .button {
611
+ margin-left: 0;
612
+ float: right;
613
+ }
614
+
615
+ .wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container {
616
+ display: block;
617
+ }
618
+
619
+ .alpha-color-picker-container {
620
+ border: 1px solid #dfdfdf;
621
+ border-top: none;
622
+ display: none;
623
+ background-color: #fff;
624
+ padding: 0 11px 10px;
625
+ position: relative;
626
+ }
627
+
628
+ .alpha-color-picker-container .ui-widget-content,
629
+ .alpha-color-picker-container .ui-widget-header,
630
+ .alpha-color-picker-wrap .ui-state-focus {
631
+ background: transparent;
632
+ border: none;
633
+ }
634
+
635
+ .alpha-color-picker-wrap a.iris-square-value:focus {
636
+ -webkit-box-shadow: none;
637
+ box-shadow: none;
638
+ }
639
+
640
+ .alpha-color-picker-container .ui-slider {
641
+ position: relative;
642
+ z-index: 1;
643
+ height: 24px;
644
+ text-align: center;
645
+ margin: 0 auto;
646
+ width: 88%;
647
+ width: calc( 100% - 28px );
648
+ }
649
+
650
+ .alpha-color-picker-container .ui-slider-handle,
651
+ .alpha-color-picker-container .ui-widget-content .ui-state-default {
652
+ color: #777;
653
+ background-color: #fff;
654
+ text-shadow: 0 1px 0 #fff;
655
+ text-decoration: none;
656
+ position: absolute;
657
+ z-index: 2;
658
+ box-shadow: 0 1px 2px rgba(0,0,0,0.2);
659
+ border: 1px solid #aaa;
660
+ -webkit-border-radius: 4px;
661
+ -moz-border-radius: 4px;
662
+ border-radius: 4px;
663
+ margin-top: -2px;
664
+ top: 0;
665
+ height: 26px;
666
+ width: 26px;
667
+ cursor: ew-resize;
668
+ font-size: 0;
669
+ padding: 0;
670
+ line-height: 27px;
671
+ margin-left: -14px;
672
+ }
673
+ .alpha-color-picker-container .ui-slider-handle.show-opacity {
674
+ font-size: 12px;
675
+ }
676
+
677
+ .alpha-color-picker-container .click-zone {
678
+ width: 14px;
679
+ height: 24px;
680
+ display: block;
681
+ position: absolute;
682
+ left: 10px;
683
+ }
684
+
685
+ .alpha-color-picker-container .max-click-zone {
686
+ right: 10px;
687
+ left: auto;
688
+ }
689
+
690
+ .alpha-color-picker-container .transparency {
691
+ height: 24px;
692
+ width: 100%;
693
+ background-color: #fff;
694
+ background-image: url(../images/color-picker-transparency-grid.png);
695
+ box-shadow: 0 0 5px rgba(0,0,0,0.4) inset;
696
+ -webkit-border-radius: 3px;
697
+ -moz-border-radius: 3px;
698
+ border-radius: 3px;
699
+ padding: 0;
700
+ margin-top: -24px;
701
+ }
702
+
703
+ @media only screen and (max-width: 782px) {
704
+ .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
705
+ width: 184px;
706
+ }
707
+ }
708
+
709
+ @media only screen and (max-width: 640px) {
710
+ .customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.alpha-color-control {
711
+ width: 172px;
712
+ height: 33px;
713
+ }
714
+ }
715
+
716
+ /* ==========================================================================
717
+ Alpha Color Picker & Standard Color Picker
718
+ ========================================================================== */
719
+ .customize-control-color .wp-color-result,
720
+ .customize-control-alpha-color .wp-color-result {
721
+ box-shadow: none;
722
+ }
723
+
724
+ .customize-control-color .wp-color-result .wp-color-result-text,
725
+ .customize-control-alpha-color .wp-color-result .wp-color-result-text {
726
+ border-left: none;
727
+ }
728
+
729
+ .wp-picker-holder .iris-picker .iris-palette {
730
+ box-shadow: none;
731
+ }
732
+
733
+ .wp-picker-container .iris-picker,
734
+ .wp-picker-container .alpha-color-picker-container {
735
+ border-radius: 0;
736
+ border: none;
737
+ }
738
+
739
+ .wp-picker-container .alpha-color-picker-container {
740
+ width: 233px;
741
+ }
742
+
743
+ /* ==========================================================================
744
+ WPColorPicker Alpha Color Picker
745
+ ========================================================================== */
746
+ .customize-control-wpcolorpicker-alpha-color .wp-color-result {
747
+ box-shadow: none;
748
+ }
749
+
750
+ .customize-control-wpcolorpicker-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker {
751
+ float: left;
752
+ width: 195px;
753
+ }
754
+
755
+ .customize-control-wpcolorpicker-alpha-color .wp-color-result .wp-color-result-text {
756
+ border-left: none;
757
+ }
758
+
759
+ /* ==========================================================================
760
+ Google Fonts Select
761
+ ========================================================================== */
762
+ .google_fonts_select_control .google-fonts,
763
+ .google_fonts_select_control .weight-style {
764
+ margin-bottom: 10px;
765
+ }
766
+
767
+ /* ==========================================================================
768
+ Upsell Section
769
+ ========================================================================== */
770
+ #customize-theme-controls #accordion-section-upsell_section {
771
+ display: block !important;
772
+ }
773
+
774
+ #customize-theme-controls .upsell-section-title {
775
+ font-size: 14px;
776
+ border-bottom: 1px solid #ddd;
777
+ border-left: 4px solid #fff;
778
+ transition: 0s color ease-in-out,0s background-color ease-in-out,0s border-color ease-in-out;
779
+ margin: 0;
780
+ padding: 0;
781
+ position: relative;
782
+ border-left: 1px solid #ddd;
783
+ border-right: 1px solid #ddd;
784
+ -webkit-user-select: none;
785
+ -moz-user-select: none;
786
+ -ms-user-select: none;
787
+ user-select: none;
788
+ }
789
+
790
+ #customize-theme-controls .upsell-section-title::after {
791
+ position: absolute;
792
+ top: 12px;
793
+ right: 10px;
794
+ z-index: 1;
795
+ content: "\f345";
796
+ font: normal 20px/1 dashicons;
797
+ speak: none;
798
+ display: block;
799
+ -webkit-font-smoothing: antialiased;
800
+ -moz-osx-font-smoothing: grayscale;
801
+ text-decoration: none !important;
802
+ }
803
+
804
+ #customize-theme-controls .upsell-section-title a {
805
+ display: block;
806
+ padding: 12px 15px 15px;
807
+ line-height: 21px;
808
+ text-decoration: none;
809
+ }
inc/spicepress/customizer.php CHANGED
@@ -13,4 +13,16 @@ if ( ! function_exists( 'spiceb_customize_register' ) ) :
13
 
14
  add_action( 'customize_register', 'spiceb_customize_register' );
15
  endif;
16
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  add_action( 'customize_register', 'spiceb_customize_register' );
15
  endif;
16
+
17
+ //stacy child theme
18
+ if (!get_option('stacy_user', false)) {
19
+ //detect old user and set value
20
+ if (get_theme_mod('home_news_section_title',false) ||
21
+ get_theme_mod('home_news_section_discription',false) ||
22
+ get_theme_mod('home_service_section_title',false) ||
23
+ get_theme_mod('home_service_section_discription',false)) {
24
+ add_option('stacy_user', 'old');
25
+ }else{
26
+ add_option('stacy_user', 'new');
27
+ }
28
+ }
inc/spicepress/features/feature-portfolio-section.php CHANGED
@@ -24,7 +24,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
24
  $wp_customize->add_setting( 'home_portfolio_section_title',array(
25
  'capability' => 'edit_theme_options',
26
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
27
- 'default' => __('Our Portfolio','spicebox'),
28
  'transport' => $selective_refresh,
29
  ));
30
  $wp_customize->add_control( 'home_portfolio_section_title',array(
@@ -69,7 +69,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
69
  //Portfolio one Title
70
  $wp_customize->add_setting(
71
  'portfolio_one_title', array(
72
- 'default' => __('Art Office Design','spicebox'),
73
  'capability' => 'edit_theme_options',
74
  'sanitize_callback' => 'sanitize_text_field',
75
  'transport' => $selective_refresh,
@@ -118,7 +118,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
118
  //Portfolio two Title
119
  $wp_customize->add_setting(
120
  'portfolio_two_title', array(
121
- 'default' => __('Graphics Design','spicebox'),
122
  'capability' => 'edit_theme_options',
123
  'sanitize_callback' => 'sanitize_text_field',
124
  'transport' => $selective_refresh,
@@ -166,7 +166,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
166
  //Portfolio three Title
167
  $wp_customize->add_setting(
168
  'portfolio_three_title', array(
169
- 'default' => __('WordPress Themes','spicebox'),
170
  'capability' => 'edit_theme_options',
171
  'sanitize_callback' => 'sanitize_text_field',
172
  'transport' => $selective_refresh,
24
  $wp_customize->add_setting( 'home_portfolio_section_title',array(
25
  'capability' => 'edit_theme_options',
26
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
27
+ 'default' => __('Eros Lacinia','spicebox'),
28
  'transport' => $selective_refresh,
29
  ));
30
  $wp_customize->add_control( 'home_portfolio_section_title',array(
69
  //Portfolio one Title
70
  $wp_customize->add_setting(
71
  'portfolio_one_title', array(
72
+ 'default' => __('Quisque facilisis','spicebox'),
73
  'capability' => 'edit_theme_options',
74
  'sanitize_callback' => 'sanitize_text_field',
75
  'transport' => $selective_refresh,
118
  //Portfolio two Title
119
  $wp_customize->add_setting(
120
  'portfolio_two_title', array(
121
+ 'default' => __('Quisque facilisis','spicebox'),
122
  'capability' => 'edit_theme_options',
123
  'sanitize_callback' => 'sanitize_text_field',
124
  'transport' => $selective_refresh,
166
  //Portfolio three Title
167
  $wp_customize->add_setting(
168
  'portfolio_three_title', array(
169
+ 'default' => __('Quisque sodales','spicebox'),
170
  'capability' => 'edit_theme_options',
171
  'sanitize_callback' => 'sanitize_text_field',
172
  'transport' => $selective_refresh,
inc/spicepress/features/feature-service-section.php CHANGED
@@ -32,7 +32,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
32
  // Service section title
33
  $wp_customize->add_setting( 'home_service_section_title',array(
34
  'capability' => 'edit_theme_options',
35
- 'default' => __('What we Offer?','spicebox'),
36
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
37
  'transport' => $selective_refresh,
38
  ));
@@ -73,6 +73,42 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
  'customizer_repeater_image_control' => true,
74
  ) ) );
75
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  }
78
 
@@ -87,7 +123,7 @@ function spiceb_spicepress_register_home_service_section_partials( $wp_customize
87
 
88
  //Slider section
89
  $wp_customize->selective_refresh->add_partial( 'spicepress_service_content', array(
90
- 'selector' => '.service-section #service_content_section',
91
  'settings' => 'spicepress_service_content',
92
 
93
  ) );
@@ -95,14 +131,14 @@ function spiceb_spicepress_register_home_service_section_partials( $wp_customize
95
 
96
  //Slider section
97
  $wp_customize->selective_refresh->add_partial( 'home_service_section_title', array(
98
- 'selector' => '.service-section .section-header .widget-title',
99
  'settings' => 'home_service_section_title',
100
  'render_callback' => 'spiceb_spicepress_service_section_title_render_callback',
101
 
102
  ) );
103
 
104
  $wp_customize->selective_refresh->add_partial( 'home_service_section_discription', array(
105
- 'selector' => '.service-section .section-header p',
106
  'settings' => 'home_service_section_discription',
107
  'render_callback' => 'spiceb_spicepress_service_section_discription_render_callback',
108
 
@@ -119,5 +155,4 @@ function spiceb_spicepress_service_section_title_render_callback() {
119
 
120
  function spiceb_spicepress_service_section_discription_render_callback() {
121
  return get_theme_mod( 'home_service_section_discription' );
122
- }
123
- ?>
32
  // Service section title
33
  $wp_customize->add_setting( 'home_service_section_title',array(
34
  'capability' => 'edit_theme_options',
35
+ 'default' => __('Nisl At Est?','spicebox'),
36
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
37
  'transport' => $selective_refresh,
38
  ));
73
  'customizer_repeater_image_control' => true,
74
  ) ) );
75
  }
76
+
77
+ if (wp_get_theme()->name == 'Stacy' && version_compare(wp_get_theme()->get('Version'), '1.3.3') > 0):
78
+ // set value for old & new user after this version
79
+ // Service Layout settings
80
+ if(get_option('stacy_user', 'new')=='old') {
81
+ $wp_customize->add_setting('service_design', array(
82
+ 'default' => 'default',
83
+ 'sanitize_callback' => 'stacy_image_radio_button_sanitization',
84
+ ));
85
+
86
+ } else {
87
+ $wp_customize->add_setting('service_design', array(
88
+ 'default' => 'slide-effect',
89
+ 'sanitize_callback' => 'stacy_image_radio_button_sanitization',
90
+ ));
91
+
92
+ }
93
+
94
+ $wp_customize->add_control(new Spicebox_Image_Radio_Button_Custom_Control($wp_customize, 'service_design',
95
+ array(
96
+ 'label' => esc_html__('Service Design', 'stacy'),
97
+ 'section' => 'services_section',
98
+ 'choices' => array(
99
+ 'default' => array(
100
+ 'image' => SPICEB_PLUGIN_URL . '/inc/spicepress/images/stacy/stacy-service-default.png',
101
+ 'name' => esc_html__('Standard', 'stacy')
102
+ ),
103
+ 'slide-effect' => array(
104
+ 'image' => SPICEB_PLUGIN_URL . '/inc/spicepress/images/stacy/stacy-service-slide-type.png',
105
+ 'name' => esc_html__('Slide-effect', 'stacy')
106
+ )
107
+ )
108
+ )
109
+ ));
110
+
111
+ endif;
112
 
113
  }
114
 
123
 
124
  //Slider section
125
  $wp_customize->selective_refresh->add_partial( 'spicepress_service_content', array(
126
+ 'selector' => '.service-section #service_content_section, .section-module.services2.service_wrapper #service_content_section',
127
  'settings' => 'spicepress_service_content',
128
 
129
  ) );
131
 
132
  //Slider section
133
  $wp_customize->selective_refresh->add_partial( 'home_service_section_title', array(
134
+ 'selector' => '.service-section .section-header .widget-title, .section-module.services2.service_wrapper .section-header h1',
135
  'settings' => 'home_service_section_title',
136
  'render_callback' => 'spiceb_spicepress_service_section_title_render_callback',
137
 
138
  ) );
139
 
140
  $wp_customize->selective_refresh->add_partial( 'home_service_section_discription', array(
141
+ 'selector' => '.service-section .section-header p, .section-module.services2.service_wrapper .section-header p',
142
  'settings' => 'home_service_section_discription',
143
  'render_callback' => 'spiceb_spicepress_service_section_discription_render_callback',
144
 
155
 
156
  function spiceb_spicepress_service_section_discription_render_callback() {
157
  return get_theme_mod( 'home_service_section_discription' );
158
+ }
 
inc/spicepress/features/feature-slider-section.php CHANGED
@@ -68,7 +68,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
 
69
  // Slider title
70
  $wp_customize->add_setting( 'home_slider_title',array(
71
- 'default' => __('Welcome to SpicePress Theme','spicebox'),
72
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
73
  'transport' => $selective_refresh,
74
  ));
@@ -93,7 +93,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
93
 
94
  // Slider button text
95
  $wp_customize->add_setting( 'home_slider_btn_txt',array(
96
- 'default' => __('Read more','spicebox'),
97
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
98
  'transport' => $selective_refresh,
99
  ));
68
 
69
  // Slider title
70
  $wp_customize->add_setting( 'home_slider_title',array(
71
+ 'default' => __('Lorem Ipsum Dolor Sit Amet','spicebox'),
72
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
73
  'transport' => $selective_refresh,
74
  ));
93
 
94
  // Slider button text
95
  $wp_customize->add_setting( 'home_slider_btn_txt',array(
96
+ 'default' => __('Urna Nec','spicebox'),
97
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
98
  'transport' => $selective_refresh,
99
  ));
inc/spicepress/features/feature-testimonial-section.php CHANGED
@@ -62,7 +62,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
62
  // testimonial section title
63
  $wp_customize->add_setting( 'home_testimonial_section_title',array(
64
  'capability' => 'edit_theme_options',
65
- 'default' => __('What People Say','spicebox'),
66
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
67
  'transport' => $selective_refresh,
68
  ));
@@ -120,7 +120,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
120
  // testimonial section title
121
  $wp_customize->add_setting( 'home_testimonial_title',array(
122
  'capability' => 'edit_theme_options',
123
- 'default' => __('Alice Culan','spicebox'),
124
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
125
  'transport' => $selective_refresh,
126
  ));
@@ -133,7 +133,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
133
 
134
  $wp_customize->add_setting( 'home_testimonial_designation',array(
135
  'capability' => 'edit_theme_options',
136
- 'default' => __('UI Developer','spicebox'),
137
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
138
  'transport' => $selective_refresh,
139
  ));
@@ -142,6 +142,43 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
142
  'section' => 'testimonial_section',
143
  'type' => 'text',
144
  ));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
 
146
 
147
  }
@@ -173,7 +210,7 @@ function spiceb_spicepress_register_home_testimonial_section_partials( $wp_custo
173
  ) );
174
 
175
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
176
- 'selector' => '.author-description p',
177
  'settings' => 'home_testimonial_desc',
178
  'render_callback' => 'spiceb_spicepress_testimonial_desc_render_callback',
179
 
@@ -181,14 +218,14 @@ function spiceb_spicepress_register_home_testimonial_section_partials( $wp_custo
181
 
182
 
183
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
184
- 'selector' => '.testmonial-area h4',
185
  'settings' => 'home_testimonial_title',
186
  'render_callback' => 'spiceb_spicepress_testimonial_title_render_callback',
187
 
188
  ) );
189
 
190
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
191
- 'selector' => '.testmonial-area span.designation',
192
  'settings' => 'home_testimonial_designation',
193
  'render_callback' => 'spiceb_spicepress_testimonial_designation_render_callback',
194
 
@@ -201,7 +238,7 @@ function spiceb_spicepress_register_home_testimonial_section_partials( $wp_custo
201
  ) );
202
 
203
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
204
- 'selector' => '.testmonial-area .author-box',
205
  'settings' => 'home_testimonial_thumb',
206
 
207
  ) );
@@ -230,5 +267,4 @@ function spiceb_spicepress_testimonial_title_render_callback() {
230
 
231
  function spiceb_spicepress_testimonial_designation_render_callback() {
232
  return get_theme_mod( 'home_testimonial_designation' );
233
- }
234
- ?>
62
  // testimonial section title
63
  $wp_customize->add_setting( 'home_testimonial_section_title',array(
64
  'capability' => 'edit_theme_options',
65
+ 'default' => __('Lorem ipsum dolor','spicebox'),
66
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
67
  'transport' => $selective_refresh,
68
  ));
120
  // testimonial section title
121
  $wp_customize->add_setting( 'home_testimonial_title',array(
122
  'capability' => 'edit_theme_options',
123
+ 'default' => __('Ipsum dolor','spicebox'),
124
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
125
  'transport' => $selective_refresh,
126
  ));
133
 
134
  $wp_customize->add_setting( 'home_testimonial_designation',array(
135
  'capability' => 'edit_theme_options',
136
+ 'default' => __('Ligula Eget','spicebox'),
137
  'sanitize_callback' => 'spiceb_spicepress_home_page_sanitize_text',
138
  'transport' => $selective_refresh,
139
  ));
142
  'section' => 'testimonial_section',
143
  'type' => 'text',
144
  ));
145
+
146
+ $theme = wp_get_theme(); // gets the current theme
147
+ if ($theme->name == 'Stacy' && version_compare(wp_get_theme()->get('Version'), '1.3.3') > 0):
148
+
149
+ // Service Layout settings
150
+ if(get_option('stacy_user', 'new')=='old') {
151
+ $wp_customize->add_setting('testimonial_design', array(
152
+ 'default' => 'default',
153
+ 'sanitize_callback' => 'stacy_image_radio_button_sanitization',
154
+ ));
155
+
156
+ } else {
157
+ $wp_customize->add_setting('testimonial_design', array(
158
+ 'default' => 'center-effect',
159
+ 'sanitize_callback' => 'stacy_image_radio_button_sanitization',
160
+ ));
161
+
162
+ }
163
+
164
+ $wp_customize->add_control(new Spicebox_Image_Radio_Button_Custom_Control($wp_customize, 'testimonial_design',
165
+ array(
166
+ 'label' => esc_html__('Testimonial Design', 'stacy'),
167
+ 'section' => 'testimonial_section',
168
+ 'choices' => array(
169
+ 'default' => array(
170
+ 'image' => SPICEB_PLUGIN_URL . '/inc/spicepress/images/stacy/stacy-testimonial-default.png',
171
+ 'name' => esc_html__('Standard', 'stacy')
172
+ ),
173
+ 'center-effect' => array(
174
+ 'image' => SPICEB_PLUGIN_URL . '/inc/spicepress/images/stacy/stacy-testimonial-center.png',
175
+ 'name' => esc_html__('Center-effect', 'stacy')
176
+ )
177
+ )
178
+ )
179
+ ));
180
+
181
+ endif;
182
 
183
 
184
  }
210
  ) );
211
 
212
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
213
+ 'selector' => '.author-description p, .home .testmonial-block p',
214
  'settings' => 'home_testimonial_desc',
215
  'render_callback' => 'spiceb_spicepress_testimonial_desc_render_callback',
216
 
218
 
219
 
220
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
221
+ 'selector' => '.testmonial-area h4, .home , .home .testmonial-block h4',
222
  'settings' => 'home_testimonial_title',
223
  'render_callback' => 'spiceb_spicepress_testimonial_title_render_callback',
224
 
225
  ) );
226
 
227
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
228
+ 'selector' => '.testmonial-area span.designation, .home .testmonial-block span.designation',
229
  'settings' => 'home_testimonial_designation',
230
  'render_callback' => 'spiceb_spicepress_testimonial_designation_render_callback',
231
 
238
  ) );
239
 
240
  $wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
241
+ 'selector' => '.testmonial-area .author-box, .home .testmonial-block .avatar',
242
  'settings' => 'home_testimonial_thumb',
243
 
244
  ) );
267
 
268
  function spiceb_spicepress_testimonial_designation_render_callback() {
269
  return get_theme_mod( 'home_testimonial_designation' );
270
+ }
 
inc/spicepress/images/stacy/stacy-service-default.png ADDED
Binary file
inc/spicepress/images/stacy/stacy-service-slide-type.png ADDED
Binary file
inc/spicepress/images/stacy/stacy-testimonial-center.png ADDED
Binary file
inc/spicepress/images/stacy/stacy-testimonial-default.png ADDED
Binary file
inc/spicepress/sections/spicepress-features-section.php CHANGED
@@ -7,15 +7,30 @@ if ( ! function_exists( 'spiceb_spicepress_service' ) ) :
7
  function spiceb_spicepress_service() {
8
 
9
  $home_service_section_enabled = get_theme_mod('home_service_section_enabled','on');
10
- $home_service_section_title = get_theme_mod('home_service_section_title',__('What we Offer?','spicebox'));
11
  $home_service_section_discription = get_theme_mod('home_service_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
12
  $spicepress_service_content = get_theme_mod( 'spicepress_service_content', spiceb_spicepress_get_service_default() );
13
  $section_is_empty = empty( $spicepress_service_content ) && empty( $home_service_section_discription ) && empty( $home_service_section_title );
14
  if($home_service_section_enabled !='off')
15
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ?>
17
  <!-- Section Title -->
18
- <section class="service-section">
19
  <div class="container">
20
  <?php if( ($home_service_section_title) || ($home_service_section_discription)!='' ) { ?>
21
  <div class="row">
@@ -172,7 +187,7 @@ function spiceb_spicepress_get_service_default() {
172
  array(
173
  array(
174
  'icon_value' => 'fa-laptop',
175
- 'title' => esc_html__( 'Easy to Use', 'spicebox' ),
176
  'text' => esc_html__('Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicebox'),
177
  'choice' => 'customizer_repeater_icon',
178
  'link' => '#',
@@ -180,7 +195,7 @@ function spiceb_spicepress_get_service_default() {
180
  ),
181
  array(
182
  'icon_value' => 'fa fa-cogs',
183
- 'title' => esc_html__( 'Multi-Purpose', 'spicebox' ),
184
  'text' => esc_html__('Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicebox'),
185
  'choice' => 'customizer_repeater_icon',
186
  'link' => '#',
@@ -188,7 +203,7 @@ function spiceb_spicepress_get_service_default() {
188
  ),
189
  array(
190
  'icon_value' => 'fa fa-mobile',
191
- 'title' => esc_html__( 'Responsive Design', 'spicebox' ),
192
  'text' => esc_html__('Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.','spicebox'),
193
  'choice' => 'customizer_repeater_icon',
194
  'link' => '#',
7
  function spiceb_spicepress_service() {
8
 
9
  $home_service_section_enabled = get_theme_mod('home_service_section_enabled','on');
10
+ $home_service_section_title = get_theme_mod('home_service_section_title',__('Nisl At Est?','spicebox'));
11
  $home_service_section_discription = get_theme_mod('home_service_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
12
  $spicepress_service_content = get_theme_mod( 'spicepress_service_content', spiceb_spicepress_get_service_default() );
13
  $section_is_empty = empty( $spicepress_service_content ) && empty( $home_service_section_discription ) && empty( $home_service_section_title );
14
  if($home_service_section_enabled !='off')
15
  {
16
+
17
+ $section_class= 'service-section';
18
+ if (wp_get_theme()->name == 'Stacy' && version_compare(wp_get_theme()->get('Version'), '1.3.3') > 0){
19
+ if (get_theme_mod('service_design', false)) {
20
+ if (get_theme_mod('service_design', 'slide-effect') == 'slide-effect') {
21
+ $section_class= 'section-module services2 service_wrapper';
22
+ }
23
+ } else {
24
+ if (get_option('stacy_user', false) == 'new') {
25
+ $section_class= 'section-module services2 service_wrapper';
26
+ }
27
+ }
28
+ }
29
+
30
+
31
  ?>
32
  <!-- Section Title -->
33
+ <section class="<?php echo ($section_class) ? $section_class : 'service-section'; ?>">
34
  <div class="container">
35
  <?php if( ($home_service_section_title) || ($home_service_section_discription)!='' ) { ?>
36
  <div class="row">
187
  array(
188
  array(
189
  'icon_value' => 'fa-laptop',
190
+ 'title' => esc_html__( 'In Felis Ut', 'spicebox' ),
191
  'text' => esc_html__('Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicebox'),
192
  'choice' => 'customizer_repeater_icon',
193
  'link' => '#',
195
  ),
196
  array(
197
  'icon_value' => 'fa fa-cogs',
198
+ 'title' => esc_html__( 'Risus Vitae', 'spicebox' ),
199
  'text' => esc_html__('Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.', 'spicebox'),
200
  'choice' => 'customizer_repeater_icon',
201
  'link' => '#',
203
  ),
204
  array(
205
  'icon_value' => 'fa fa-mobile',
206
+ 'title' => esc_html__( 'Quis hendrerit purus', 'spicebox' ),
207
  'text' => esc_html__('Phasellus facilisis, nunc in lacinia auctor, eros lacus aliquet velit, quis lobortis risus nunc nec nisi maecans et turpis vitae velit.volutpat porttitor a sit amet est. In eu rutrum ante. Nullam id lorem fermentum, accumsan enim non auctor neque.','spicebox'),
208
  'choice' => 'customizer_repeater_icon',
209
  'link' => '#',
inc/spicepress/sections/spicepress-portfolio-section.php CHANGED
@@ -6,17 +6,17 @@ if ( ! function_exists( 'spiceb_spicepress_portfolio' ) ) :
6
 
7
  function spiceb_spicepress_portfolio() {
8
 
9
- $home_portfolio_section_title = get_theme_mod('home_portfolio_section_title',__('Our Portfolio','spicebox'));
10
  $home_portfolio_section_discription = get_theme_mod('home_portfolio_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
11
- $portfolio_one_title = get_theme_mod('portfolio_one_title',__('Art Office Design','spicebox'));
12
  $portfolio_one_desc = get_theme_mod('portfolio_one_desc',__('Lorem ipsum dolor sit amet, consectetur adipisicing elit..','spicebox'));
13
  $portfolio_one_thumb = get_theme_mod('portfolio_one_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item1.jpg');
14
 
15
- $portfolio_two_title = get_theme_mod('portfolio_two_title',__('Art Office Design','spicebox'));
16
  $portfolio_two_desc = get_theme_mod('portfolio_two_desc',__('Lorem ipsum dolor sit amet, consectetur adipisicing elit..','spicebox'));
17
  $portfolio_two_thumb = get_theme_mod('portfolio_two_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item2.jpg');
18
 
19
- $portfolio_three_title = get_theme_mod('portfolio_three_title',__('Art Office Design','spicebox'));
20
  $portfolio_three_desc = get_theme_mod('portfolio_three_desc',__('Lorem ipsum dolor sit amet, consectetur adipisicing elit..','spicebox'));
21
  $portfolio_three_thumb = get_theme_mod('portfolio_three_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item3.jpg');
22
  $portfolio_section_enable = get_theme_mod('portfolio_section_enable','on');
6
 
7
  function spiceb_spicepress_portfolio() {
8
 
9
+ $home_portfolio_section_title = get_theme_mod('home_portfolio_section_title',__('Eros Lacinia','spicebox'));
10
  $home_portfolio_section_discription = get_theme_mod('home_portfolio_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
11
+ $portfolio_one_title = get_theme_mod('portfolio_one_title',__('Quisque facilisis','spicebox'));
12
  $portfolio_one_desc = get_theme_mod('portfolio_one_desc',__('Lorem ipsum dolor sit amet, consectetur adipisicing elit..','spicebox'));
13
  $portfolio_one_thumb = get_theme_mod('portfolio_one_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item1.jpg');
14
 
15
+ $portfolio_two_title = get_theme_mod('portfolio_two_title',__('Quisque facilisis','spicebox'));
16
  $portfolio_two_desc = get_theme_mod('portfolio_two_desc',__('Lorem ipsum dolor sit amet, consectetur adipisicing elit..','spicebox'));
17
  $portfolio_two_thumb = get_theme_mod('portfolio_two_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item2.jpg');
18
 
19
+ $portfolio_three_title = get_theme_mod('portfolio_three_title',__('Quisque facilisis','spicebox'));
20
  $portfolio_three_desc = get_theme_mod('portfolio_three_desc',__('Lorem ipsum dolor sit amet, consectetur adipisicing elit..','spicebox'));
21
  $portfolio_three_thumb = get_theme_mod('portfolio_three_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/portfolio/item3.jpg');
22
  $portfolio_section_enable = get_theme_mod('portfolio_section_enable','on');
inc/spicepress/sections/spicepress-slider-section.php CHANGED
@@ -7,10 +7,10 @@ if ( ! function_exists( 'spiceb_spicepress_slider' ) ) :
7
  function spiceb_spicepress_slider() {
8
 
9
  $home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/spicepress/images/slider/slider.jpg');
10
- $home_slider_title = get_theme_mod('home_slider_title',__('Welcome to SpicePress Theme','spicebox'));
11
 
12
  $home_slider_discription = get_theme_mod('home_slider_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
13
- $home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Read More','spicebox'));
14
  $home_slider_btn_link = get_theme_mod('home_slider_btn_link',esc_url('#'));
15
  $home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
16
 
7
  function spiceb_spicepress_slider() {
8
 
9
  $home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/spicepress/images/slider/slider.jpg');
10
+ $home_slider_title = get_theme_mod('home_slider_title',__('Lorem Ipsum Dolor Sit Amet','spicebox'));
11
 
12
  $home_slider_discription = get_theme_mod('home_slider_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
13
+ $home_slider_btn_txt = get_theme_mod('home_slider_btn_txt',__('Urna Nec','spicebox'));
14
  $home_slider_btn_link = get_theme_mod('home_slider_btn_link',esc_url('#'));
15
  $home_slider_btn_target = get_theme_mod('home_slider_btn_target',false);
16
 
inc/spicepress/sections/spicepress-testimonail-section.php CHANGED
@@ -7,7 +7,24 @@ if ( ! function_exists( 'spiceb_spicepress_testimonial' ) ) :
7
  function spiceb_spicepress_testimonial() {
8
 
9
  $testimonial_section_enable = get_theme_mod('testimonial_section_enable','on');
10
- if($testimonial_section_enable !='off')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  {
12
  $testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testimonial-bg.jpg');
13
  if($testimonial_callout_background != '') { ?>
@@ -21,10 +38,10 @@ $testimonial_image_overlay = get_theme_mod('testimonial_image_overlay',true);
21
  <div class="overlay"<?php if($testimonial_image_overlay != false) { ?>style="background-color:<?php echo $testimonial_overlay_section_color; } ?>">
22
  <div class="container">
23
  <?php
24
- $home_testimonial_section_title = get_theme_mod('home_testimonial_section_title',__('What People Say','spicebox'));
25
  $home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
26
- $home_testimonial_title = get_theme_mod('home_testimonial_title',__('Alice Culan','spicebox'));
27
- $home_testimonial_designation= get_theme_mod('home_testimonial_designation',__('UI Developer','spicebox'));
28
  $home_testimonial_thumb = get_theme_mod('home_testimonial_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testi1.jpg');
29
  $home_testimonial_desc = get_theme_mod('home_testimonial_desc',__('Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.','spicebox'));
30
  ?>
@@ -80,6 +97,83 @@ $testimonial_image_overlay = get_theme_mod('testimonial_image_overlay',true);
80
  </section>
81
  <!-- /Testimonial Section -->
82
  <div class="clearfix"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  <?php } ?>
84
  <?php
85
  }
7
  function spiceb_spicepress_testimonial() {
8
 
9
  $testimonial_section_enable = get_theme_mod('testimonial_section_enable','on');
10
+
11
+ $testimonial_section_design= 'default';
12
+ if (wp_get_theme()->name == 'Stacy' && version_compare(wp_get_theme()->get('Version'), '1.3.3') > 0){
13
+ if (get_theme_mod('testimonial_design', false)) {
14
+ if (get_theme_mod('testimonial_design', 'center-effect') == 'center-effect') {
15
+ $testimonial_section_design= 'center-effect';
16
+ }
17
+ } else {
18
+ if (get_option('stacy_user', false) == 'new') {
19
+ $testimonial_section_design= 'center-effect';
20
+ }
21
+ }
22
+ }
23
+
24
+
25
+ $testimonial_section_design = ($testimonial_section_design) ? $testimonial_section_design : 'default';
26
+
27
+ if($testimonial_section_enable !='off' && $testimonial_section_design == 'default' )
28
  {
29
  $testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testimonial-bg.jpg');
30
  if($testimonial_callout_background != '') { ?>
38
  <div class="overlay"<?php if($testimonial_image_overlay != false) { ?>style="background-color:<?php echo $testimonial_overlay_section_color; } ?>">
39
  <div class="container">
40
  <?php
41
+ $home_testimonial_section_title = get_theme_mod('home_testimonial_section_title',__('Lorem ipsum dolor','spicebox'));
42
  $home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
43
+ $home_testimonial_title = get_theme_mod('home_testimonial_title',__('Ipsum dolor','spicebox'));
44
+ $home_testimonial_designation= get_theme_mod('home_testimonial_designation',__('Ligula Eget','spicebox'));
45
  $home_testimonial_thumb = get_theme_mod('home_testimonial_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testi1.jpg');
46
  $home_testimonial_desc = get_theme_mod('home_testimonial_desc',__('Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.','spicebox'));
47
  ?>
97
  </section>
98
  <!-- /Testimonial Section -->
99
  <div class="clearfix"></div>
100
+ <?php }
101
+
102
+
103
+
104
+ if($testimonial_section_enable !='off' && $testimonial_section_design == 'center-effect' )
105
+ {
106
+ $testimonial_callout_background = get_theme_mod('testimonial_callout_background',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testimonial-bg.jpg');
107
+ if($testimonial_callout_background != '') { ?>
108
+ <section class="testimonial-section" style="background-image:url('<?php echo esc_url($testimonial_callout_background);?>'); background-repeat: no-repeat; background-position: top left;">
109
+ <?php } else { ?>
110
+ <section class="testimonial-section">
111
+ <?php }
112
+ $testimonial_overlay_section_color = get_theme_mod('testimonial_overlay_section_color','rgba(0,0,0,0.6)');
113
+ $testimonial_image_overlay = get_theme_mod('testimonial_image_overlay',true);
114
+ ?>
115
+ <div class="overlay"<?php if($testimonial_image_overlay != false) { ?>style="background-color:<?php echo $testimonial_overlay_section_color; } ?>">
116
+ <div class="container">
117
+ <?php
118
+ $home_testimonial_section_title = get_theme_mod('home_testimonial_section_title',__('Lorem ipsum dolor','spicebox'));
119
+ $home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription',__('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim mei ludus efficiendi ei sea summo mazim ex.','spicebox'));
120
+ $home_testimonial_title = get_theme_mod('home_testimonial_title',__('Ipsum dolor','spicebox'));
121
+ $home_testimonial_designation= get_theme_mod('home_testimonial_designation',__('Ligula Eget','spicebox'));
122
+ $home_testimonial_thumb = get_theme_mod('home_testimonial_thumb',SPICEB_PLUGIN_URL .'inc/spicepress/images/testimonial/testi1.jpg');
123
+ $home_testimonial_desc = get_theme_mod('home_testimonial_desc',__('Sed ut Perspiciatis Unde Omnis Iste Sed ut perspiciatis unde omnis iste natu error sit voluptatem accu tium neque fermentum veposu miten a tempor nise. Duis autem vel eum iriure dolor in hendrerit in vulputate velit consequat reprehender in voluptate velit esse cillum duis dolor fugiat nulla pariatur.','spicebox'));
124
+ ?>
125
+
126
+
127
+ <?php if( $home_testimonial_section_title != '' || $home_testimonial_section_discription != '') { ?>
128
+ <!-- Section Title -->
129
+ <div class="row">
130
+ <div class="col-md-12">
131
+ <div class="section-header">
132
+ <h1 class="white wow fadeInUp animated" data-wow-delay="0ms" data-wow-duration="500ms">
133
+ <?php echo esc_attr($home_testimonial_section_title); ?>
134
+ </h1>
135
+ <div class="widget-separator"><span></span></div>
136
+ <p class="white wow fadeInDown animated">
137
+ <?php echo esc_attr($home_testimonial_section_discription); ?>
138
+ </p>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ <?php } ?>
143
+ <!-- /Section Title -->
144
+ <!-- Testimonial -->
145
+ <div class="row">
146
+ <div class="home col-md-12">
147
+ <div class="item">
148
+ <article class="testmonial-block text-center">
149
+ <?php if($home_testimonial_thumb !=''){ ?>
150
+ <figure class="avatar">
151
+ <img src="<?php echo $home_testimonial_thumb; ?>" class="img-responsive img-circle" alt="img">
152
+ </figure>
153
+ <?php } ?>
154
+
155
+ <?php if($home_testimonial_title != '' || $home_testimonial_designation !='' ){?>
156
+ <h4><?php echo $home_testimonial_title; ?> <?php if($home_testimonial_designation !=''){ ?> - <?php } ?><span class="designation"><?php echo $home_testimonial_designation; ?></span>
157
+ </h4>
158
+ <?php } ?>
159
+
160
+ <?php if($home_testimonial_desc !=''){ ?>
161
+ <div class="entry-content">
162
+ <p class="text-white"><?php echo $home_testimonial_desc; ?></p>
163
+ </div>
164
+ <?php } ?>
165
+
166
+ </article>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ <!-- /Testimonial -->
171
+
172
+ </div>
173
+ </div>
174
+ </section>
175
+ <!-- /Testimonial Section -->
176
+ <div class="clearfix"></div>
177
  <?php } ?>
178
  <?php
179
  }
languages/spicebox.pot CHANGED
@@ -4,7 +4,7 @@ msgstr ""
4
  "Project-Id-Version: "
5
  "Spiceboxv1.0.0\n"
6
  "POT-Creation-Date: "
7
- "2020-09-04 19:14+0530\n"
8
  "PO-Revision-Date: \n"
9
  "Last-Translator: Your "
10
  "Name <you@example.com>\n"
@@ -43,7 +43,7 @@ msgstr ""
43
  "X-Poedit-Basepath: ..\n"
44
  "Language: en_US\n"
45
  "X-Generator: Poedit "
46
- "2.2.4\n"
47
  "X-Poedit-"
48
  "SearchPath-0: .\n"
49
 
@@ -256,8 +256,6 @@ msgstr ""
256
 
257
  #: inc/cloudpress/features/feature-service-section.php:28
258
  #: inc/cloudpress/sections/cloudpress-service-section.php:10
259
- #: inc/spicepress/features/feature-service-section.php:35
260
- #: inc/spicepress/sections/spicepress-features-section.php:10
261
  msgid "What we Offer?"
262
  msgstr ""
263
 
@@ -387,7 +385,6 @@ msgstr ""
387
  #: inc/cloudpress/features/feature-slider-section.php:97
388
  #: inc/cloudpress/sections/cloudpress-slider-section.php:13
389
  #: inc/innofit/sections/innofit-news-section.php:97
390
- #: inc/spicepress/sections/spicepress-slider-section.php:13
391
  msgid "Read More"
392
  msgstr ""
393
 
@@ -456,12 +453,10 @@ msgid "Clients Review"
456
  msgstr ""
457
 
458
  #: inc/cloudpress/sections/cloudpress-service-section.php:161
459
- #: inc/spicepress/sections/spicepress-features-section.php:191
460
  msgid "Responsive Design"
461
  msgstr ""
462
 
463
  #: inc/cloudpress/sections/cloudpress-service-section.php:169
464
- #: inc/spicepress/sections/spicepress-features-section.php:183
465
  msgid "Multi-Purpose"
466
  msgstr ""
467
 
@@ -563,6 +558,8 @@ msgid "Slide Format"
563
  msgstr ""
564
 
565
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:570
 
 
566
  msgid "Standard"
567
  msgstr ""
568
 
@@ -733,7 +730,8 @@ msgstr ""
733
  #: inc/honeypress/sections/honeypress-testimonail-section.php:34
734
  #: inc/honeypress/sections/honeypress-testimonail-section.php:76
735
  #: inc/spicepress/features/feature-testimonial-section.php:109
736
- #: inc/spicepress/sections/spicepress-testimonail-section.php:29
 
737
  msgid ""
738
  "Sed ut Perspiciatis Unde "
739
  "Omnis Iste Sed ut "
@@ -814,8 +812,6 @@ msgstr ""
814
 
815
  #: inc/innofit/customizer.php:203
816
  #: inc/innofit/sections/innofit-team-section.php:183
817
- #: inc/spicepress/features/feature-testimonial-section.php:136
818
- #: inc/spicepress/sections/spicepress-testimonail-section.php:27
819
  msgid "UI Developer"
820
  msgstr ""
821
 
@@ -1078,7 +1074,6 @@ msgid "Welcome to Innofit"
1078
  msgstr ""
1079
 
1080
  #: inc/innofit/customizer/slider-section.php:93
1081
- #: inc/spicepress/features/feature-slider-section.php:96
1082
  msgid "Read more"
1083
  msgstr ""
1084
 
@@ -1287,7 +1282,7 @@ msgstr ""
1287
 
1288
  #: inc/spicepress/features/feature-portfolio-section.php:27
1289
  #: inc/spicepress/sections/spicepress-portfolio-section.php:9
1290
- msgid "Our Portfolio"
1291
  msgstr ""
1292
 
1293
  #: inc/spicepress/features/feature-portfolio-section.php:40
@@ -1297,7 +1292,8 @@ msgstr ""
1297
  #: inc/spicepress/sections/spicepress-features-section.php:11
1298
  #: inc/spicepress/sections/spicepress-portfolio-section.php:10
1299
  #: inc/spicepress/sections/spicepress-slider-section.php:12
1300
- #: inc/spicepress/sections/spicepress-testimonail-section.php:25
 
1301
  msgid ""
1302
  "Sea summo mazim ex, ea "
1303
  "errem eleifend "
@@ -1308,10 +1304,11 @@ msgid ""
1308
  msgstr ""
1309
 
1310
  #: inc/spicepress/features/feature-portfolio-section.php:72
 
1311
  #: inc/spicepress/sections/spicepress-portfolio-section.php:11
1312
  #: inc/spicepress/sections/spicepress-portfolio-section.php:15
1313
  #: inc/spicepress/sections/spicepress-portfolio-section.php:19
1314
- msgid "Art Office Design"
1315
  msgstr ""
1316
 
1317
  #: inc/spicepress/features/feature-portfolio-section.php:86
@@ -1326,38 +1323,68 @@ msgid ""
1326
  "adipisicing elit.."
1327
  msgstr ""
1328
 
1329
- #: inc/spicepress/features/feature-portfolio-section.php:121
1330
- msgid "Graphics Design"
1331
  msgstr ""
1332
 
1333
- #: inc/spicepress/features/feature-portfolio-section.php:169
1334
- msgid "WordPress Themes"
 
 
 
 
 
 
 
 
 
1335
  msgstr ""
1336
 
1337
  #: inc/spicepress/features/feature-slider-section.php:71
1338
  #: inc/spicepress/sections/spicepress-slider-section.php:10
1339
  msgid ""
1340
- "Welcome to SpicePress "
1341
- "Theme"
 
 
 
 
 
1342
  msgstr ""
1343
 
1344
  #: inc/spicepress/features/feature-testimonial-section.php:65
1345
- #: inc/spicepress/sections/spicepress-testimonail-section.php:24
1346
- msgid "What People Say"
 
1347
  msgstr ""
1348
 
1349
  #: inc/spicepress/features/feature-testimonial-section.php:123
1350
- #: inc/spicepress/sections/spicepress-testimonail-section.php:26
1351
- msgid "Alice Culan"
 
 
 
 
 
 
 
 
 
 
 
1352
  msgstr ""
1353
 
1354
- #: inc/spicepress/sections/spicepress-features-section.php:175
1355
- msgid "Easy to Use"
1356
  msgstr ""
1357
 
1358
- #: inc/spicepress/sections/spicepress-features-section.php:176
1359
- #: inc/spicepress/sections/spicepress-features-section.php:184
1360
- #: inc/spicepress/sections/spicepress-features-section.php:192
 
 
 
 
1361
  msgid ""
1362
  "Phasellus facilisis, "
1363
  "nunc in lacinia auctor, "
@@ -1372,3 +1399,12 @@ msgid ""
1372
  "accumsan enim non auctor "
1373
  "neque."
1374
  msgstr ""
 
 
 
 
 
 
 
 
 
4
  "Project-Id-Version: "
5
  "Spiceboxv1.0.0\n"
6
  "POT-Creation-Date: "
7
+ "2020-10-12 11:57+0530\n"
8
  "PO-Revision-Date: \n"
9
  "Last-Translator: Your "
10
  "Name <you@example.com>\n"
43
  "X-Poedit-Basepath: ..\n"
44
  "Language: en_US\n"
45
  "X-Generator: Poedit "
46
+ "2.4.1\n"
47
  "X-Poedit-"
48
  "SearchPath-0: .\n"
49
 
256
 
257
  #: inc/cloudpress/features/feature-service-section.php:28
258
  #: inc/cloudpress/sections/cloudpress-service-section.php:10
 
 
259
  msgid "What we Offer?"
260
  msgstr ""
261
 
385
  #: inc/cloudpress/features/feature-slider-section.php:97
386
  #: inc/cloudpress/sections/cloudpress-slider-section.php:13
387
  #: inc/innofit/sections/innofit-news-section.php:97
 
388
  msgid "Read More"
389
  msgstr ""
390
 
453
  msgstr ""
454
 
455
  #: inc/cloudpress/sections/cloudpress-service-section.php:161
 
456
  msgid "Responsive Design"
457
  msgstr ""
458
 
459
  #: inc/cloudpress/sections/cloudpress-service-section.php:169
 
460
  msgid "Multi-Purpose"
461
  msgstr ""
462
 
558
  msgstr ""
559
 
560
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:570
561
+ #: inc/spicepress/features/feature-service-section.php:101
562
+ #: inc/spicepress/features/feature-testimonial-section.php:171
563
  msgid "Standard"
564
  msgstr ""
565
 
730
  #: inc/honeypress/sections/honeypress-testimonail-section.php:34
731
  #: inc/honeypress/sections/honeypress-testimonail-section.php:76
732
  #: inc/spicepress/features/feature-testimonial-section.php:109
733
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:46
734
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:123
735
  msgid ""
736
  "Sed ut Perspiciatis Unde "
737
  "Omnis Iste Sed ut "
812
 
813
  #: inc/innofit/customizer.php:203
814
  #: inc/innofit/sections/innofit-team-section.php:183
 
 
815
  msgid "UI Developer"
816
  msgstr ""
817
 
1074
  msgstr ""
1075
 
1076
  #: inc/innofit/customizer/slider-section.php:93
 
1077
  msgid "Read more"
1078
  msgstr ""
1079
 
1282
 
1283
  #: inc/spicepress/features/feature-portfolio-section.php:27
1284
  #: inc/spicepress/sections/spicepress-portfolio-section.php:9
1285
+ msgid "Eros Lacinia"
1286
  msgstr ""
1287
 
1288
  #: inc/spicepress/features/feature-portfolio-section.php:40
1292
  #: inc/spicepress/sections/spicepress-features-section.php:11
1293
  #: inc/spicepress/sections/spicepress-portfolio-section.php:10
1294
  #: inc/spicepress/sections/spicepress-slider-section.php:12
1295
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:42
1296
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:119
1297
  msgid ""
1298
  "Sea summo mazim ex, ea "
1299
  "errem eleifend "
1304
  msgstr ""
1305
 
1306
  #: inc/spicepress/features/feature-portfolio-section.php:72
1307
+ #: inc/spicepress/features/feature-portfolio-section.php:121
1308
  #: inc/spicepress/sections/spicepress-portfolio-section.php:11
1309
  #: inc/spicepress/sections/spicepress-portfolio-section.php:15
1310
  #: inc/spicepress/sections/spicepress-portfolio-section.php:19
1311
+ msgid "Quisque facilisis"
1312
  msgstr ""
1313
 
1314
  #: inc/spicepress/features/feature-portfolio-section.php:86
1323
  "adipisicing elit.."
1324
  msgstr ""
1325
 
1326
+ #: inc/spicepress/features/feature-portfolio-section.php:169
1327
+ msgid "Quisque sodales"
1328
  msgstr ""
1329
 
1330
+ #: inc/spicepress/features/feature-service-section.php:35
1331
+ #: inc/spicepress/sections/spicepress-features-section.php:10
1332
+ msgid "Nisl At Est?"
1333
+ msgstr ""
1334
+
1335
+ #: inc/spicepress/features/feature-service-section.php:96
1336
+ msgid "Service Design"
1337
+ msgstr ""
1338
+
1339
+ #: inc/spicepress/features/feature-service-section.php:105
1340
+ msgid "Slide-effect"
1341
  msgstr ""
1342
 
1343
  #: inc/spicepress/features/feature-slider-section.php:71
1344
  #: inc/spicepress/sections/spicepress-slider-section.php:10
1345
  msgid ""
1346
+ "Lorem Ipsum Dolor Sit "
1347
+ "Amet"
1348
+ msgstr ""
1349
+
1350
+ #: inc/spicepress/features/feature-slider-section.php:96
1351
+ #: inc/spicepress/sections/spicepress-slider-section.php:13
1352
+ msgid "Urna Nec"
1353
  msgstr ""
1354
 
1355
  #: inc/spicepress/features/feature-testimonial-section.php:65
1356
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:41
1357
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:118
1358
+ msgid "Lorem ipsum dolor"
1359
  msgstr ""
1360
 
1361
  #: inc/spicepress/features/feature-testimonial-section.php:123
1362
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:43
1363
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:120
1364
+ msgid "Ipsum dolor"
1365
+ msgstr ""
1366
+
1367
+ #: inc/spicepress/features/feature-testimonial-section.php:136
1368
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:44
1369
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:121
1370
+ msgid "Ligula Eget"
1371
+ msgstr ""
1372
+
1373
+ #: inc/spicepress/features/feature-testimonial-section.php:166
1374
+ msgid "Testimonial Design"
1375
  msgstr ""
1376
 
1377
+ #: inc/spicepress/features/feature-testimonial-section.php:175
1378
+ msgid "Center-effect"
1379
  msgstr ""
1380
 
1381
+ #: inc/spicepress/sections/spicepress-features-section.php:190
1382
+ msgid "In Felis Ut"
1383
+ msgstr ""
1384
+
1385
+ #: inc/spicepress/sections/spicepress-features-section.php:191
1386
+ #: inc/spicepress/sections/spicepress-features-section.php:199
1387
+ #: inc/spicepress/sections/spicepress-features-section.php:207
1388
  msgid ""
1389
  "Phasellus facilisis, "
1390
  "nunc in lacinia auctor, "
1399
  "accumsan enim non auctor "
1400
  "neque."
1401
  msgstr ""
1402
+
1403
+ #: inc/spicepress/sections/spicepress-features-section.php:198
1404
+ msgid "Risus Vitae"
1405
+ msgstr ""
1406
+
1407
+ #: inc/spicepress/sections/spicepress-features-section.php:206
1408
+ msgid ""
1409
+ "Quis hendrerit purus"
1410
+ msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: spicethemes
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.5.1
6
- Stable tag: 1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -201,9 +201,13 @@ Fixed jQuery compatibiltiy issue coming with latest release on WP 5.5
201
  = 1.2.9 =
202
  Added variations for HoneyPress child themes.
203
 
204
- =1.3=
205
  Fixed minor issues of HoneyPress child themes.
206
 
 
 
 
 
207
  =======External resources=======
208
 
209
  Alpha color picker Control:
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.5.1
6
+ Stable tag: 1.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
201
  = 1.2.9 =
202
  Added variations for HoneyPress child themes.
203
 
204
+ =1.3.0=
205
  Fixed minor issues of HoneyPress child themes.
206
 
207
+ =1.3.1=
208
+ 1. Added variations ( testimonial & service ) for Stacy Child theme.
209
+ 2. Dummy content updated for spicepress theme.
210
+
211
  =======External resources=======
212
 
213
  Alpha color picker Control:
spicebox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
- Version: 1.3
7
  Author: Spicethemes
8
  Author URI: https://spicethemes.com
9
  Text Domain: spicebox
@@ -17,6 +17,7 @@ function spiceb_activate() {
17
 
18
  //Alpha Color Control
19
  require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
 
20
  require_once('inc/spicepress/features/feature-slider-section.php');
21
  require_once('inc/spicepress/features/feature-service-section.php');
22
  require_once('inc/spicepress/features/feature-portfolio-section.php');
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
+ Version: 1.3.1
7
  Author: Spicethemes
8
  Author URI: https://spicethemes.com
9
  Text Domain: spicebox
17
 
18
  //Alpha Color Control
19
  require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
20
+ require_once('inc/controls/customizer-image-radio-button/image_radio_button.php');
21
  require_once('inc/spicepress/features/feature-slider-section.php');
22
  require_once('inc/spicepress/features/feature-service-section.php');
23
  require_once('inc/spicepress/features/feature-portfolio-section.php');