Spice Box - Version 1.3.3

Version Description

Download this release

Release Info

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

Code changes from version 1.3.2 to 1.3.3

inc/cloudpress/default-pages/upload-media.php CHANGED
@@ -1,9 +1,17 @@
1
  <?php
2
- $ImagePath = SPICEB_PLUGIN_URL .'inc/cloudpress/images';
3
 
4
- $images = array(
5
- $ImagePath. '/logo.png',
6
- );
 
 
 
 
 
 
 
 
 
7
 
8
  foreach($images as $name) {
9
  $filename = basename($name);
1
  <?php
 
2
 
3
+ $ImagePath = SPICEB_PLUGIN_URL .'inc/cloudpress/images';
4
+ $theme = wp_get_theme();
5
+ if ('CloudPress Agency' == $theme->name){
6
+ $images = array(
7
+ $ImagePath. '/cloudpress-agency.png',
8
+ );
9
+ }
10
+ else{
11
+ $images = array(
12
+ $ImagePath. '/logo.png',
13
+ );
14
+ }
15
 
16
  foreach($images as $name) {
17
  $filename = basename($name);
inc/cloudpress/features/feature-cta-section.php CHANGED
@@ -25,7 +25,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
25
  // cta section title
26
  $wp_customize->add_setting( 'home_cta_section_title',array(
27
  'capability' => 'edit_theme_options',
28
- 'default' => __('Want to Work With Us?','spicebox'),
29
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
30
  'transport' => $selective_refresh,
31
  ));
@@ -38,7 +38,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
38
  //cta section discription
39
  $wp_customize->add_setting( 'home_cta_section_discription',array(
40
  'capability' => 'edit_theme_options',
41
- 'default'=> __('Choose a package that suits your every need for building a website.','spicebox'),
42
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
43
  'transport' => $selective_refresh,
44
  ));
@@ -50,7 +50,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
50
 
51
  $wp_customize->add_setting( 'home_cta_btn',array(
52
  'capability' => 'edit_theme_options',
53
- 'default' => __('Contact Us','spicebox'),
54
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
55
  'transport' => $selective_refresh,
56
  ));
@@ -71,6 +71,21 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
71
  'section' => 'cta_section',
72
  'type' => 'text',
73
  ));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
 
76
  add_action( 'customize_register', 'spiceb_cloudpress_cta_customize_register' );
@@ -83,45 +98,45 @@ function spiceb_cloudpress_register_home_cta_section_partials( $wp_customize ){
83
 
84
  //cta
85
  $wp_customize->selective_refresh->add_partial( 'home_cta_section_title', array(
86
- 'selector' => '.section-module.cta .section-subtitle',
87
  'settings' => 'home_cta_section_title',
88
  'render_callback' => 'spiceb_cloudpress_cta_section_title_render_callback',
89
 
90
  ) );
91
 
92
  $wp_customize->selective_refresh->add_partial( 'home_cta_section_discription', array(
93
- 'selector' => '.section-module.cta .section-title',
94
  'settings' => 'home_cta_section_discription',
95
  'render_callback' => 'spiceb_cloudpress_cta_section_discription_render_callback',
96
 
97
  ) );
98
 
99
- $wp_customize->selective_refresh->add_partial( 'home_cta_desc', array(
100
- 'selector' => '.testmonial-block.text-center .text-white',
101
- 'settings' => 'home_cta_desc',
102
- 'render_callback' => 'spiceb_cloudpress_cta_desc_render_callback',
103
 
104
- ) );
105
 
106
- $wp_customize->selective_refresh->add_partial( 'home_cta_title', array(
107
- 'selector' => '.section-module.cta .name',
108
- 'settings' => 'home_cta_title',
109
- 'render_callback' => 'spiceb_cloudpress_cta_title_render_callback',
110
 
111
- ) );
112
 
113
  $wp_customize->selective_refresh->add_partial( 'home_cta_btn', array(
114
- 'selector' => '.section-module.cta .designation',
115
  'settings' => 'home_cta_btn',
116
  'render_callback' => 'spiceb_cloudpress_cta_designation_render_callback',
117
 
118
  ) );
119
 
120
- $wp_customize->selective_refresh->add_partial( 'home_cta_thumb', array(
121
- 'selector' => '.section.cta-section .avatar ',
122
- 'settings' => 'home_cta_thumb',
123
 
124
- ) );
125
  }
126
 
127
  add_action( 'customize_register', 'spiceb_cloudpress_register_home_cta_section_partials' );
@@ -134,13 +149,13 @@ function spiceb_cloudpress_cta_section_discription_render_callback() {
134
  return get_theme_mod( 'home_cta_section_discription' );
135
  }
136
 
137
- function spiceb_cloudpress_cta_desc_render_callback() {
138
- return get_theme_mod( 'home_cta_desc' );
139
- }
140
 
141
- function spiceb_cloudpress_cta_title_render_callback() {
142
- return get_theme_mod( 'home_cta_title' );
143
- }
144
 
145
  function spiceb_cloudpress_cta_designation_render_callback() {
146
  return get_theme_mod( 'home_cta_btn' );
25
  // cta section title
26
  $wp_customize->add_setting( 'home_cta_section_title',array(
27
  'capability' => 'edit_theme_options',
28
+ 'default' => __('Lorem ipsum dolor sit amet?','spicebox'),
29
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
30
  'transport' => $selective_refresh,
31
  ));
38
  //cta section discription
39
  $wp_customize->add_setting( 'home_cta_section_discription',array(
40
  'capability' => 'edit_theme_options',
41
+ 'default'=> __('Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.','spicebox'),
42
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
43
  'transport' => $selective_refresh,
44
  ));
50
 
51
  $wp_customize->add_setting( 'home_cta_btn',array(
52
  'capability' => 'edit_theme_options',
53
+ 'default' => __('Nemo enim','spicebox'),
54
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
55
  'transport' => $selective_refresh,
56
  ));
71
  'section' => 'cta_section',
72
  'type' => 'text',
73
  ));
74
+
75
+ //Callout Button Target Blank
76
+ $wp_customize->add_setting('home_call_out_btn_link_target',
77
+ array(
78
+ 'default' => false,
79
+ 'sanitize_callback' => 'sanitize_text_field',
80
+ ));
81
+ $wp_customize->add_control(
82
+ 'home_call_out_btn_link_target',
83
+ array(
84
+ 'type' => 'checkbox',
85
+ 'label' => __('Open link in new tab','cloudpress'),
86
+ 'section' => 'cta_section',
87
+ )
88
+ );
89
  }
90
 
91
  add_action( 'customize_register', 'spiceb_cloudpress_cta_customize_register' );
98
 
99
  //cta
100
  $wp_customize->selective_refresh->add_partial( 'home_cta_section_title', array(
101
+ 'selector' => '.section-module.call-to-action-one .title',
102
  'settings' => 'home_cta_section_title',
103
  'render_callback' => 'spiceb_cloudpress_cta_section_title_render_callback',
104
 
105
  ) );
106
 
107
  $wp_customize->selective_refresh->add_partial( 'home_cta_section_discription', array(
108
+ 'selector' => '.section-module.call-to-action-one p',
109
  'settings' => 'home_cta_section_discription',
110
  'render_callback' => 'spiceb_cloudpress_cta_section_discription_render_callback',
111
 
112
  ) );
113
 
114
+ // $wp_customize->selective_refresh->add_partial( 'home_cta_desc', array(
115
+ // 'selector' => '.testmonial-block.text-center .text-white',
116
+ // 'settings' => 'home_cta_desc',
117
+ // 'render_callback' => 'spiceb_cloudpress_cta_desc_render_callback',
118
 
119
+ // ) );
120
 
121
+ // $wp_customize->selective_refresh->add_partial( 'home_cta_title', array(
122
+ // 'selector' => '.section-module.cta .name',
123
+ // 'settings' => 'home_cta_title',
124
+ // 'render_callback' => 'spiceb_cloudpress_cta_title_render_callback',
125
 
126
+ // ) );
127
 
128
  $wp_customize->selective_refresh->add_partial( 'home_cta_btn', array(
129
+ 'selector' => '.section-module.call-to-action-one .pbottom-5',
130
  'settings' => 'home_cta_btn',
131
  'render_callback' => 'spiceb_cloudpress_cta_designation_render_callback',
132
 
133
  ) );
134
 
135
+ // $wp_customize->selective_refresh->add_partial( 'home_cta_thumb', array(
136
+ // 'selector' => '.section.cta-section .avatar ',
137
+ // 'settings' => 'home_cta_thumb',
138
 
139
+ // ) );
140
  }
141
 
142
  add_action( 'customize_register', 'spiceb_cloudpress_register_home_cta_section_partials' );
149
  return get_theme_mod( 'home_cta_section_discription' );
150
  }
151
 
152
+ // function spiceb_cloudpress_cta_desc_render_callback() {
153
+ // return get_theme_mod( 'home_cta_desc' );
154
+ // }
155
 
156
+ // function spiceb_cloudpress_cta_title_render_callback() {
157
+ // return get_theme_mod( 'home_cta_title' );
158
+ // }
159
 
160
  function spiceb_cloudpress_cta_designation_render_callback() {
161
  return get_theme_mod( 'home_cta_btn' );
inc/cloudpress/features/feature-funfact-section.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  $wp_customize->add_section( 'funfacts_section' , array(
8
  'title' => __('Funfact Settings', 'spicebox'),
9
  'panel' => 'section_settings',
10
- 'priority' => 3,
11
  ) );
12
 
13
  // Enable funfact
@@ -92,34 +92,34 @@ function spiceb_cloudpress_register_home_funfact_section_partials( $wp_customize
92
 
93
  //Slider section
94
  $wp_customize->selective_refresh->add_partial( 'cloudpress_funfact_content', array(
95
- 'selector' => '.funfact-section #funfact_content_section',
96
  'settings' => 'cloudpress_funfact_content',
97
 
98
  ) );
99
 
100
  //Slider section
101
- $wp_customize->selective_refresh->add_partial( 'home_funfact_section_title', array(
102
- 'selector' => '.section-module.funfacts .section-subtitle',
103
- 'settings' => 'home_funfact_section_title',
104
- 'render_callback' => 'spiceb_cloudpress_funfact_section_title_render_callback',
105
 
106
- ) );
107
 
108
- $wp_customize->selective_refresh->add_partial( 'home_funfact_section_discription', array(
109
- 'selector' => '.section-module.funfacts .section-title',
110
- 'settings' => 'home_funfact_section_discription',
111
- 'render_callback' => 'spiceb_cloudpress_funfact_section_discription_render_callback',
112
 
113
- ) );
114
 
115
  }
116
  add_action( 'customize_register', 'spiceb_cloudpress_register_home_funfact_section_partials' );
117
 
118
- function spiceb_cloudpress_funfact_section_title_render_callback() {
119
- return get_theme_mod( 'home_funfact_section_title' );
120
- }
121
 
122
- function spiceb_cloudpress_funfact_section_discription_render_callback() {
123
- return get_theme_mod( 'home_funfact_section_discription' );
124
- }
125
  ?>
7
  $wp_customize->add_section( 'funfacts_section' , array(
8
  'title' => __('Funfact Settings', 'spicebox'),
9
  'panel' => 'section_settings',
10
+ 'priority' => 5,
11
  ) );
12
 
13
  // Enable funfact
92
 
93
  //Slider section
94
  $wp_customize->selective_refresh->add_partial( 'cloudpress_funfact_content', array(
95
+ 'selector' => '.section-module.funfact #funfacts',
96
  'settings' => 'cloudpress_funfact_content',
97
 
98
  ) );
99
 
100
  //Slider section
101
+ // $wp_customize->selective_refresh->add_partial( 'home_funfact_section_title', array(
102
+ // 'selector' => '.section-module.funfacts .section-subtitle',
103
+ // 'settings' => 'home_funfact_section_title',
104
+ // 'render_callback' => 'spiceb_cloudpress_funfact_section_title_render_callback',
105
 
106
+ // ) );
107
 
108
+ // $wp_customize->selective_refresh->add_partial( 'home_funfact_section_discription', array(
109
+ // 'selector' => '.section-module.funfacts .section-title',
110
+ // 'settings' => 'home_funfact_section_discription',
111
+ // 'render_callback' => 'spiceb_cloudpress_funfact_section_discription_render_callback',
112
 
113
+ // ) );
114
 
115
  }
116
  add_action( 'customize_register', 'spiceb_cloudpress_register_home_funfact_section_partials' );
117
 
118
+ // function spiceb_cloudpress_funfact_section_title_render_callback() {
119
+ // return get_theme_mod( 'home_funfact_section_title' );
120
+ // }
121
 
122
+ // function spiceb_cloudpress_funfact_section_discription_render_callback() {
123
+ // return get_theme_mod( 'home_funfact_section_discription' );
124
+ // }
125
  ?>
inc/cloudpress/features/feature-service-section.php CHANGED
@@ -25,7 +25,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
25
  // Service section title
26
  $wp_customize->add_setting( 'home_service_section_title',array(
27
  'capability' => 'edit_theme_options',
28
- 'default' => __('What we Offer?','spicebox'),
29
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
30
  'transport' => $selective_refresh,
31
  ));
@@ -38,7 +38,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
38
  //room section discription
39
  $wp_customize->add_setting( 'home_service_section_discription',array(
40
  'capability' => 'edit_theme_options',
41
- 'default' => __('Why Choose Us','spicebox'),
42
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
43
  'transport' => $selective_refresh,
44
  ));
@@ -128,14 +128,14 @@ function spiceb_cloudpress_register_home_service_section_partials( $wp_customize
128
 
129
  //Slider section
130
  $wp_customize->selective_refresh->add_partial( 'home_service_section_title', array(
131
- 'selector' => '.section-module.services .section-subtitle',
132
  'settings' => 'home_service_section_title',
133
  'render_callback' => 'spiceb_cloudpress_service_section_title_render_callback',
134
 
135
  ) );
136
 
137
  $wp_customize->selective_refresh->add_partial( 'home_service_section_discription', array(
138
- 'selector' => '.section-module.services .section-title',
139
  'settings' => 'home_service_section_discription',
140
  'render_callback' => 'spiceb_cloudpress_service_section_discription_render_callback',
141
 
25
  // Service section title
26
  $wp_customize->add_setting( 'home_service_section_title',array(
27
  'capability' => 'edit_theme_options',
28
+ 'default' => __('Etiam et Urna?','spicebox'),
29
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
30
  'transport' => $selective_refresh,
31
  ));
38
  //room section discription
39
  $wp_customize->add_setting( 'home_service_section_discription',array(
40
  'capability' => 'edit_theme_options',
41
+ 'default' => __('Fusce Sed Massa','spicebox'),
42
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
43
  'transport' => $selective_refresh,
44
  ));
128
 
129
  //Slider section
130
  $wp_customize->selective_refresh->add_partial( 'home_service_section_title', array(
131
+ 'selector' => '.section-module.services .section-subtitle, .section-module .section-subtitle',
132
  'settings' => 'home_service_section_title',
133
  'render_callback' => 'spiceb_cloudpress_service_section_title_render_callback',
134
 
135
  ) );
136
 
137
  $wp_customize->selective_refresh->add_partial( 'home_service_section_discription', array(
138
+ 'selector' => '.section-module.services .section-title, .section-module .section-title',
139
  'settings' => 'home_service_section_discription',
140
  'render_callback' => 'spiceb_cloudpress_service_section_discription_render_callback',
141
 
inc/cloudpress/features/feature-slider-section.php CHANGED
@@ -68,7 +68,7 @@ function spiceb_cloudpress_slider_customize_register($wp_customize){
68
 
69
  // Slider title
70
  $wp_customize->add_setting( 'home_slider_title',array(
71
- 'default' => __('Start Building Your Website','spicebox'),
72
  'capability' => 'edit_theme_options',
73
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
74
  'transport' => $selective_refresh,
@@ -81,7 +81,7 @@ function spiceb_cloudpress_slider_customize_register($wp_customize){
81
 
82
  //Slider discription
83
  $wp_customize->add_setting( 'home_slider_discription',array(
84
- 'default' => __('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.','spicebox'),
85
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
86
  'transport' => $selective_refresh,
87
  ));
@@ -94,7 +94,7 @@ function spiceb_cloudpress_slider_customize_register($wp_customize){
94
 
95
  // Slider button text
96
  $wp_customize->add_setting( 'home_slider_btn_txt',array(
97
- 'default' => __('Read More','spicebox'),
98
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
99
  'transport' => $selective_refresh,
100
  ));
@@ -131,7 +131,7 @@ function spiceb_cloudpress_slider_customize_register($wp_customize){
131
 
132
  // Slider button2 text
133
  $wp_customize->add_setting( 'home_slider_btn_txt2',array(
134
- 'default' => __('About Us','spicebox'),
135
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
136
  'transport' => $selective_refresh,
137
  ));
@@ -183,27 +183,27 @@ function spiceb_cloudpress_register_home_slider_section_partials( $wp_customize
183
 
184
  //Slider section
185
  $wp_customize->selective_refresh->add_partial( 'home_slider_title', array(
186
- 'selector' => '.caption-content.text-center .title',
187
  'settings' => 'home_slider_title',
188
  'render_callback' => 'spiceb_cloudpress_slider_section_title_render_callback',
189
  ) );
190
 
191
  $wp_customize->selective_refresh->add_partial( 'home_slider_discription', array(
192
- 'selector' => '.caption-content.text-center .description',
193
  'settings' => 'home_slider_discription',
194
  'render_callback' => 'spiceb_cloudpress_slider_section_discription_render_callback',
195
 
196
  ) );
197
 
198
  $wp_customize->selective_refresh->add_partial( 'home_slider_btn_txt', array(
199
- 'selector' => '.caption-content.text-center .btn-small.btn-default',
200
  'settings' => 'home_slider_btn_txt',
201
  'render_callback' => 'spiceb_cloudpress_slider_btn_render_callback',
202
 
203
  ) );
204
 
205
  $wp_customize->selective_refresh->add_partial( 'home_slider_btn_txt2', array(
206
- 'selector' => '.about-tbn',
207
  'settings' => 'home_slider_btn_txt2',
208
  'render_callback' => 'spiceb_cloudpress_slider_btn2_render_callback',
209
  ) );
68
 
69
  // Slider title
70
  $wp_customize->add_setting( 'home_slider_title',array(
71
+ 'default' => __('Nulla nec dolor sit amet lacus molestie', 'spicebox'),
72
  'capability' => 'edit_theme_options',
73
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
74
  'transport' => $selective_refresh,
81
 
82
  //Slider discription
83
  $wp_customize->add_setting( 'home_slider_discription',array(
84
+ 'default' => __('Sea summo mazim ex, ea errem eleifend definitionem vim. Ut nec hinc dolor possim <br> mei ludus efficiendi ei sea summo mazim ex.', 'spicebox'),
85
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
86
  'transport' => $selective_refresh,
87
  ));
94
 
95
  // Slider button text
96
  $wp_customize->add_setting( 'home_slider_btn_txt',array(
97
+ 'default' => __('Nec Sem', 'spicebox'),
98
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
99
  'transport' => $selective_refresh,
100
  ));
131
 
132
  // Slider button2 text
133
  $wp_customize->add_setting( 'home_slider_btn_txt2',array(
134
+ 'default' => __('Cras Vitae', 'spicebox'),
135
  'sanitize_callback' => 'spiceb_cloudpress_home_page_sanitize_text',
136
  'transport' => $selective_refresh,
137
  ));
183
 
184
  //Slider section
185
  $wp_customize->selective_refresh->add_partial( 'home_slider_title', array(
186
+ 'selector' => '.main-slider .caption-content .title',
187
  'settings' => 'home_slider_title',
188
  'render_callback' => 'spiceb_cloudpress_slider_section_title_render_callback',
189
  ) );
190
 
191
  $wp_customize->selective_refresh->add_partial( 'home_slider_discription', array(
192
+ 'selector' => '.caption-content .description',
193
  'settings' => 'home_slider_discription',
194
  'render_callback' => 'spiceb_cloudpress_slider_section_discription_render_callback',
195
 
196
  ) );
197
 
198
  $wp_customize->selective_refresh->add_partial( 'home_slider_btn_txt', array(
199
+ 'selector' => '.caption-content .btn-small.btn-default',
200
  'settings' => 'home_slider_btn_txt',
201
  'render_callback' => 'spiceb_cloudpress_slider_btn_render_callback',
202
 
203
  ) );
204
 
205
  $wp_customize->selective_refresh->add_partial( 'home_slider_btn_txt2', array(
206
+ 'selector' => '.caption-content .btn-small.btn-light',
207
  'settings' => 'home_slider_btn_txt2',
208
  'render_callback' => 'spiceb_cloudpress_slider_btn2_render_callback',
209
  ) );
inc/cloudpress/features/feature-testimonial-section.php ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'spiceb_cloudpress_agency_testimonial_customize_register' ) ) :
3
+ function spiceb_cloudpress_agency_testimonial_customize_register($wp_customize){
4
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
5
+
6
+ /* Testimonial Section */
7
+ $wp_customize->add_section( 'testimonial_section' , array(
8
+ 'title' => __('Testimonial settings', 'spicebox'),
9
+ 'panel' => 'section_settings',
10
+ 'priority' =>4,
11
+ ) );
12
+
13
+ // Enable testimonial section
14
+ $wp_customize->add_setting( 'testimonial_section_enable' , array( 'default' => 'on') );
15
+ $wp_customize->add_control( 'testimonial_section_enable' , array(
16
+ 'label' => __( 'Enable Home Testimonial section', 'spicebox' ),
17
+ 'section' => 'testimonial_section',
18
+ 'type' => 'radio',
19
+ 'choices' => array(
20
+ 'on'=>__('ON', 'spicebox'),
21
+ 'off'=>__('OFF', 'spicebox')
22
+ )
23
+ ));
24
+
25
+ //Testimonial Background Image
26
+ $wp_customize->add_setting( 'testimonial_callout_background', array('default' => SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/bg03.jpg',
27
+ 'sanitize_callback' => 'esc_url_raw',
28
+ ) );
29
+
30
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'testimonial_callout_background', array(
31
+ 'label' => __( 'Background Image', 'cloudpress' ),
32
+ 'active_callback' => 'cloudpress_testimonial_callback',
33
+ 'section' => 'testimonial_section',
34
+ 'settings' => 'testimonial_callout_background',
35
+ ) ) );
36
+
37
+ //Testimonial Background Color
38
+ $wp_customize->add_setting( 'testimonial_overlay_section_color', array(
39
+ 'sanitize_callback' => 'sanitize_text_field',
40
+ 'default' => 'rgba(1, 7, 12, 0.65)',
41
+ ) );
42
+
43
+
44
+
45
+ $wp_customize->add_control(new Cloudpress_Customize_Alpha_Color_Control( $wp_customize,'testimonial_overlay_section_color', array(
46
+ 'label' => __('Background Overlay Color','spicebox'),
47
+ 'palette' => true,
48
+ 'section' => 'testimonial_section')
49
+ ) );
50
+
51
+ // testimonial section title
52
+ $wp_customize->add_setting( 'home_testimonial_section_title',array(
53
+ 'capability' => 'edit_theme_options',
54
+ 'default' => __('Proin Egestas','spicebox'),
55
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
56
+ 'transport' => $selective_refresh,
57
+ ));
58
+ $wp_customize->add_control( 'home_testimonial_section_title',array(
59
+ 'label' => __('Title','spicebox'),
60
+ 'section' => 'testimonial_section',
61
+ 'type' => 'text',
62
+ ));
63
+
64
+ //testimonial section discription
65
+ $wp_customize->add_setting( 'home_testimonial_section_discription',array(
66
+ 'capability' => 'edit_theme_options',
67
+ 'default'=> __('Nam Viverra Iaculis Finibus','spicebox'),
68
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
69
+ 'transport' => $selective_refresh,
70
+
71
+ ));
72
+ $wp_customize->add_control( 'home_testimonial_section_discription',array(
73
+ 'label' => __('Description','spicebox'),
74
+ 'section' => 'testimonial_section',
75
+ 'type' => 'textarea',
76
+ ));
77
+
78
+ //testimonial one image
79
+ $wp_customize->add_setting( 'home_testimonial_thumb',
80
+ array(
81
+ 'default' => SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/user-1.jpg',
82
+ 'sanitize_callback' => 'esc_url_raw',
83
+
84
+ ));
85
+
86
+ $wp_customize->add_control(
87
+ new WP_Customize_Image_Control(
88
+ $wp_customize,
89
+ 'home_testimonial_thumb',
90
+ array(
91
+ 'label' => __('Image','spicebox'),
92
+ 'section' => 'example_section_one',
93
+ 'settings' =>'home_testimonial_thumb',
94
+ 'section' => 'testimonial_section',
95
+ 'type' => 'upload',
96
+ )
97
+ )
98
+ );
99
+
100
+ //testimonial description
101
+ $wp_customize->add_setting( 'home_testimonial_desc',array(
102
+ 'capability' => 'edit_theme_options',
103
+ 'default' => __('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'),
104
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
105
+ 'transport' => $selective_refresh,
106
+
107
+ ));
108
+ $wp_customize->add_control( 'home_testimonial_desc',array(
109
+ 'label' => __('Description','spicebox'),
110
+ 'section' => 'testimonial_section',
111
+ 'type' => 'text',
112
+ ));
113
+
114
+ // testimonial section title
115
+ $wp_customize->add_setting( 'home_testimonial_title',array(
116
+ 'capability' => 'edit_theme_options',
117
+ 'default' => __('Cras Vitae','spicebox'),
118
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
119
+ 'transport' => $selective_refresh,
120
+
121
+ ));
122
+ $wp_customize->add_control( 'home_testimonial_title',array(
123
+ 'label' => __('Title','spicebox'),
124
+ 'section' => 'testimonial_section',
125
+ 'type' => 'text',
126
+ ));
127
+
128
+ // testimonial link
129
+ $wp_customize->add_setting( 'home_testimonial_link',array(
130
+ 'default' => __('#','spicebox'),
131
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
132
+ 'transport' => $selective_refresh,
133
+ ));
134
+ $wp_customize->add_control( 'home_testimonial_link',array(
135
+ 'label' => __('Link','spicebox'),
136
+ 'section' => 'testimonial_section',
137
+ 'type' => 'text',
138
+ ));
139
+
140
+ // testimonial open in new tab
141
+ $wp_customize->add_setting( 'home_testimonial_open_tab',array(
142
+ 'default' => false,
143
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
144
+ 'transport' => $selective_refresh,
145
+ ));
146
+ $wp_customize->add_control( 'home_testimonial_open_tab',array(
147
+ 'label' => __('Open link in new tab','spicebox'),
148
+ 'section' => 'testimonial_section',
149
+ 'type' => 'checkbox',
150
+ ));
151
+ $wp_customize->add_setting( 'home_testimonial_designation',array(
152
+ 'capability' => 'edit_theme_options',
153
+ 'default' => __('Eu Suscipit','spicebox'),
154
+ 'sanitize_callback' => 'spiceb_cloudpress_agency_home_page_sanitize_text',
155
+ 'transport' => $selective_refresh,
156
+
157
+ ));
158
+ $wp_customize->add_control( 'home_testimonial_designation',array(
159
+ 'label' => __('Designation','spicebox'),
160
+ 'section' => 'testimonial_section',
161
+ 'type' => 'text',
162
+ ));
163
+ }
164
+
165
+ add_action( 'customize_register', 'spiceb_cloudpress_agency_testimonial_customize_register' );
166
+ endif;
167
+
168
+ /**
169
+ * Add selective refresh for Front page section section controls.
170
+ */
171
+ function spiceb_cloudpress_agency_register_home_testimonial_section_partials( $wp_customize ){
172
+
173
+ //Testimonial
174
+ $wp_customize->selective_refresh->add_partial( 'home_testimonial_section_title', array(
175
+ 'selector' => '.testimonial-wrapper .section-header .section-title',
176
+ 'settings' => 'home_testimonial_section_title',
177
+ 'render_callback' => 'spiceb_cloudpress_agency_testimonial_section_title_render_callback',
178
+
179
+ ) );
180
+
181
+ $wp_customize->selective_refresh->add_partial( 'home_testimonial_section_discription', array(
182
+ 'selector' => '.testimonial-wrapper .section-header .section-subtitle',
183
+ 'settings' => 'home_testimonial_section_discription',
184
+ 'render_callback' => 'spiceb_cloudpress_agency_testimonial_section_discription_render_callback',
185
+
186
+ ) );
187
+
188
+ $wp_customize->selective_refresh->add_partial( 'home_testimonial_desc', array(
189
+ 'selector' => '.testimonial .testmonial-block .description p',
190
+ 'settings' => 'home_testimonial_desc',
191
+ 'render_callback' => 'spiceb_cloudpress_agency_testimonial_desc_render_callback',
192
+
193
+ ) );
194
+
195
+ $wp_customize->selective_refresh->add_partial( 'home_testimonial_title', array(
196
+ 'selector' => '.testimonial .testmonial-block .name',
197
+ 'settings' => 'home_testimonial_title',
198
+ 'render_callback' => 'spiceb_cloudpress_agency_testimonial_title_render_callback',
199
+
200
+ ) );
201
+
202
+ $wp_customize->selective_refresh->add_partial( 'home_testimonial_designation', array(
203
+ 'selector' => '.testimonial .testmonial-block .name .designation',
204
+ 'settings' => 'home_testimonial_designation',
205
+ 'render_callback' => 'spiceb_cloudpress_agency_testimonial_designation_render_callback',
206
+
207
+ ) );
208
+
209
+ $wp_customize->selective_refresh->add_partial( 'home_testimonial_thumb', array(
210
+ 'selector' => '.testimonial .testmonial-block .avatar ',
211
+ 'settings' => 'home_testimonial_thumb',
212
+
213
+ ) );
214
+ }
215
+
216
+ add_action( 'customize_register', 'spiceb_cloudpress_agency_register_home_testimonial_section_partials' );
217
+
218
+ function spiceb_cloudpress_agency_testimonial_section_title_render_callback() {
219
+ return get_theme_mod( 'home_testimonial_section_title' );
220
+ }
221
+
222
+ function spiceb_cloudpress_agency_testimonial_section_discription_render_callback() {
223
+ return get_theme_mod( 'home_testimonial_section_discription' );
224
+ }
225
+
226
+ function spiceb_cloudpress_agency_testimonial_desc_render_callback() {
227
+ return get_theme_mod( 'home_testimonial_desc' );
228
+ }
229
+
230
+ function spiceb_cloudpress_agency_testimonial_title_render_callback() {
231
+ return get_theme_mod( 'home_testimonial_title' );
232
+ }
233
+
234
+ function spiceb_cloudpress_agency_testimonial_designation_render_callback() {
235
+ return get_theme_mod( 'home_testimonial_designation' );
236
+ }
237
+
238
+ function spiceb_cloudpress_agency_home_page_sanitize_text( $input ) {
239
+ return wp_kses_post( force_balance_tags( $input ) );
240
+ }
inc/cloudpress/images/cloudpress-agency.png ADDED
Binary file
inc/cloudpress/images/testimonial/bg03.jpg ADDED
Binary file
inc/cloudpress/images/testimonial/user-1.jpg ADDED
Binary file
inc/cloudpress/sections/cloudpress-cta-section.php CHANGED
@@ -8,13 +8,14 @@ function spiceb_cloudpress_cta() {
8
  $cta_section_enable = get_theme_mod('cta_section_enable','on');
9
  if($cta_section_enable !='off')
10
  {
11
- ?>
 
12
  <section class="section-module call-to-action-one" id="features">
13
  <div class="container">
14
  <?php
15
- $home_cta_section_title = get_theme_mod('home_cta_section_title',__('Want to Work With Us?','spicebox'));
16
- $home_cta_section_discription = get_theme_mod('home_cta_section_discription',__('Choose a package that suits your every need for building a website.','spicebox'));
17
- $home_cta_btn= get_theme_mod('home_cta_btn',__('Contact Us','spicebox'));?>
18
  <div class="row">
19
  <div class="col-md-9 col-sm-9 col-xs-12">
20
  <div class="text-left">
@@ -24,7 +25,7 @@ if($cta_section_enable !='off')
24
  </div>
25
  <?php if(!empty($home_cta_btn)):?>
26
  <div class="col-md-3 col-sm-3 col-xs-12">
27
- <div class="ptop-15 pbottom-5"><a href="<?php echo get_theme_mod('home_cta_btn_link','#');?>" class="btn-small btn-animate border btn-shadow-lg"><?php echo $home_cta_btn; ?></a></div>
28
  </div>
29
  <?php endif;?>
30
  </div>
8
  $cta_section_enable = get_theme_mod('cta_section_enable','on');
9
  if($cta_section_enable !='off')
10
  {
11
+ $cta_open_new_tab = get_theme_mod('home_call_out_btn_link_target',false);
12
+ ?>
13
  <section class="section-module call-to-action-one" id="features">
14
  <div class="container">
15
  <?php
16
+ $home_cta_section_title = get_theme_mod('home_cta_section_title',__('Lorem ipsum dolor sit amet?','spicebox'));
17
+ $home_cta_section_discription = get_theme_mod('home_cta_section_discription', __('Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.','spicebox'));
18
+ $home_cta_btn= get_theme_mod('home_cta_btn',__('Nemo enim','spicebox'));?>
19
  <div class="row">
20
  <div class="col-md-9 col-sm-9 col-xs-12">
21
  <div class="text-left">
25
  </div>
26
  <?php if(!empty($home_cta_btn)):?>
27
  <div class="col-md-3 col-sm-3 col-xs-12">
28
+ <div class="ptop-15 pbottom-5 text-right"><a href="<?php echo get_theme_mod('home_cta_btn_link','#');?>" class="btn-small btn-animate border btn-shadow-lg" <?php if($cta_open_new_tab==true) { ?> target="_blank"<?php } ?>><?php echo $home_cta_btn; ?></a></div>
29
  </div>
30
  <?php endif;?>
31
  </div>
inc/cloudpress/sections/cloudpress-funfact-section.php CHANGED
@@ -99,7 +99,7 @@ function spiceb_cloudpress_get_funfact_default() {
99
  array(
100
  'icon_value' => 'fa-laptop',
101
  'title' => esc_html__( '1250', 'spicebox' ),
102
- 'text' => esc_html__( 'Our Projects', 'spicebox' ),
103
  'choice' => 'customizer_repeater_icon',
104
  'link' => '#',
105
  'open_new_tab' => 'no',
@@ -107,7 +107,7 @@ function spiceb_cloudpress_get_funfact_default() {
107
  array(
108
  'icon_value' => 'fa fa-cogs',
109
  'title' => esc_html__( '879', 'spicebox' ),
110
- 'text' => 'Finish Project', 'spicebox',
111
  'choice' => 'customizer_repeater_icon',
112
  'link' => '#',
113
  'open_new_tab' => 'no',
@@ -115,7 +115,7 @@ function spiceb_cloudpress_get_funfact_default() {
115
  array(
116
  'icon_value' => 'fa fa-handshake-o funfact-icon',
117
  'title' => esc_html__( '687', 'spicebox' ),
118
- 'text' => esc_html__( 'Business Partners', 'spicebox' ),
119
  'choice' => 'customizer_repeater_icon',
120
  'link' => '#',
121
  'open_new_tab' => 'no',
@@ -123,7 +123,7 @@ function spiceb_cloudpress_get_funfact_default() {
123
  array(
124
  'icon_value' => 'fa fa-smile-o funfact-icon',
125
  'title' => esc_html__( '3578', 'spicebox' ),
126
- 'text' => esc_html__( 'Clients Review', 'spicebox' ),
127
  'choice' => 'customizer_repeater_icon',
128
  'link' => '#',
129
  'open_new_tab' => 'no',
@@ -134,6 +134,6 @@ function spiceb_cloudpress_get_funfact_default() {
134
  }
135
 
136
  if ( function_exists( 'spiceb_cloudpress_funfact' ) ) {
137
- $section_priority = apply_filters( 'cloudpress_section_priority', 3, 'spiceb_cloudpress_funfact' );
138
  add_action( 'spiceb_cloudpress_sections', 'spiceb_cloudpress_funfact', absint( $section_priority ) );
139
  }
99
  array(
100
  'icon_value' => 'fa-laptop',
101
  'title' => esc_html__( '1250', 'spicebox' ),
102
+ 'text' => esc_html__( 'Excepteur', 'spicebox' ),
103
  'choice' => 'customizer_repeater_icon',
104
  'link' => '#',
105
  'open_new_tab' => 'no',
107
  array(
108
  'icon_value' => 'fa fa-cogs',
109
  'title' => esc_html__( '879', 'spicebox' ),
110
+ 'text' => esc_html__( 'Incididunt', 'spicebox'),
111
  'choice' => 'customizer_repeater_icon',
112
  'link' => '#',
113
  'open_new_tab' => 'no',
115
  array(
116
  'icon_value' => 'fa fa-handshake-o funfact-icon',
117
  'title' => esc_html__( '687', 'spicebox' ),
118
+ 'text' => esc_html__( 'Quis Nostrud ', 'spicebox' ),
119
  'choice' => 'customizer_repeater_icon',
120
  'link' => '#',
121
  'open_new_tab' => 'no',
123
  array(
124
  'icon_value' => 'fa fa-smile-o funfact-icon',
125
  'title' => esc_html__( '3578', 'spicebox' ),
126
+ 'text' => esc_html__( 'Voluptate Velit', 'spicebox' ),
127
  'choice' => 'customizer_repeater_icon',
128
  'link' => '#',
129
  'open_new_tab' => 'no',
134
  }
135
 
136
  if ( function_exists( 'spiceb_cloudpress_funfact' ) ) {
137
+ $section_priority = apply_filters( 'cloudpress_section_priority', 5, 'spiceb_cloudpress_funfact' );
138
  add_action( 'spiceb_cloudpress_sections', 'spiceb_cloudpress_funfact', absint( $section_priority ) );
139
  }
inc/cloudpress/sections/cloudpress-service-section.php CHANGED
@@ -5,16 +5,22 @@
5
  if ( ! function_exists( 'spiceb_cloudpress_service' ) ) :
6
 
7
  function spiceb_cloudpress_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',__('Why Choose Us','spicebox'));
12
  $cloudpress_service_content = get_theme_mod( 'cloudpress_service_content', spiceb_cloudpress_get_service_default() );
13
  $section_is_empty = empty( $cloudpress_service_content ) && empty( $home_service_section_discription ) && empty( $home_service_section_title );
14
  if($home_service_section_enabled !='off')
15
  {
16
  ?>
17
- <section class="section-module services" id="services">
18
  <div class="container">
19
  <?php if( ($home_service_section_title) || ($home_service_section_discription)!='' ) { ?>
20
  <div class="row">
@@ -42,6 +48,13 @@ if ( ! function_exists( 'spiceb_cloudpress_service' ) ) :
42
  endif;
43
 
44
  function spiceb_cloudpress_service_content( $cloudpress_service_content, $is_callback = false ) {
 
 
 
 
 
 
 
45
  if ( ! $is_callback ) {
46
  ?>
47
  <?php
@@ -72,7 +85,7 @@ function spiceb_cloudpress_service_content( $cloudpress_service_content, $is_cal
72
 
73
  ?>
74
  <div class="col-md-4 col-sm-6 col-xs-12">
75
- <article class="post text-center">
76
  <?php if($choice == 'customizer_repeater_image'){ ?>
77
  <?php if ( ! empty( $image ) ) : ?>
78
  <figure class="post-thumbnail">
@@ -158,7 +171,7 @@ function spiceb_cloudpress_get_service_default() {
158
  array(
159
  array(
160
  'icon_value' => 'fa-laptop',
161
- 'title' => esc_html__( 'Responsive Design', 'spicebox' ),
162
  'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor', 'spicebox',
163
  'choice' => 'customizer_repeater_icon',
164
  'link' => '#',
@@ -166,7 +179,7 @@ function spiceb_cloudpress_get_service_default() {
166
  ),
167
  array(
168
  'icon_value' => 'fa fa-cogs',
169
- 'title' => esc_html__( 'Multi-Purpose', 'spicebox' ),
170
  'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor', 'spicebox',
171
  'choice' => 'customizer_repeater_icon',
172
  'link' => '#',
@@ -174,7 +187,7 @@ function spiceb_cloudpress_get_service_default() {
174
  ),
175
  array(
176
  'icon_value' => 'fa fa-cog',
177
- 'title' => esc_html__( 'Powerful Options', 'spicebox' ),
178
  'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor',
179
  'choice' => 'customizer_repeater_icon',
180
  'link' => '#',
5
  if ( ! function_exists( 'spiceb_cloudpress_service' ) ) :
6
 
7
  function spiceb_cloudpress_service() {
8
+ $theme = wp_get_theme();
9
+ if ('CloudPress Agency' == $theme->name){
10
+ $service_section_class='services2';
11
+ }
12
+ else{
13
+ $service_section_class='services';
14
+ }
15
  $home_service_section_enabled = get_theme_mod('home_service_section_enabled','on');
16
+ $home_service_section_title = get_theme_mod('home_service_section_title',__('Etiam et Urna?','spicebox'));
17
+ $home_service_section_discription = get_theme_mod('home_service_section_discription',__('Fusce Sed Massa','spicebox'));
18
  $cloudpress_service_content = get_theme_mod( 'cloudpress_service_content', spiceb_cloudpress_get_service_default() );
19
  $section_is_empty = empty( $cloudpress_service_content ) && empty( $home_service_section_discription ) && empty( $home_service_section_title );
20
  if($home_service_section_enabled !='off')
21
  {
22
  ?>
23
+ <section class="section-module <?php echo $service_section_class;?>" id="services">
24
  <div class="container">
25
  <?php if( ($home_service_section_title) || ($home_service_section_discription)!='' ) { ?>
26
  <div class="row">
48
  endif;
49
 
50
  function spiceb_cloudpress_service_content( $cloudpress_service_content, $is_callback = false ) {
51
+ $theme = wp_get_theme();
52
+ if ('CloudPress Agency' == $theme->name){
53
+ $service_article_class='';
54
+ }
55
+ else{
56
+ $service_article_class='text-center';
57
+ }
58
  if ( ! $is_callback ) {
59
  ?>
60
  <?php
85
 
86
  ?>
87
  <div class="col-md-4 col-sm-6 col-xs-12">
88
+ <article class="post <?php echo $service_article_class;?>">
89
  <?php if($choice == 'customizer_repeater_image'){ ?>
90
  <?php if ( ! empty( $image ) ) : ?>
91
  <figure class="post-thumbnail">
171
  array(
172
  array(
173
  'icon_value' => 'fa-laptop',
174
+ 'title' => esc_html__('Suspendisse Tristique', 'spicebox'),
175
  'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor', 'spicebox',
176
  'choice' => 'customizer_repeater_icon',
177
  'link' => '#',
179
  ),
180
  array(
181
  'icon_value' => 'fa fa-cogs',
182
+ 'title' => esc_html__('Blandit-Gravida', 'spicebox'),
183
  'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor', 'spicebox',
184
  'choice' => 'customizer_repeater_icon',
185
  'link' => '#',
187
  ),
188
  array(
189
  'icon_value' => 'fa fa-cog',
190
+ 'title' => esc_html__('Justo Bibendum', 'spicebox'),
191
  'text' => 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem amet dolore ut labore et tempor',
192
  'choice' => 'customizer_repeater_icon',
193
  'link' => '#',
inc/cloudpress/sections/cloudpress-slider-section.php CHANGED
@@ -7,14 +7,14 @@ if ( ! function_exists( 'spiceb_cloudpress_slider' ) ) :
7
  function spiceb_cloudpress_slider() {
8
 
9
  $home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/cloudpress/images/slider/slider.jpg');
10
- $home_slider_title = get_theme_mod('home_slider_title',__('Start Building Your Website','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 <br> 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('#'),'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',__('About Us','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
 
7
  function spiceb_cloudpress_slider() {
8
 
9
  $home_slider_image = get_theme_mod('home_slider_image',SPICEB_PLUGIN_URL .'inc/cloudpress/images/slider/slider.jpg');
10
+ $home_slider_title = get_theme_mod('home_slider_title',__('Nulla nec dolor sit amet lacus molestie', '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 <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
 
inc/cloudpress/sections/cloudpress-testimonail-section.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Testimonial section for the homepage.
4
+ */
5
+ if (!function_exists('spiceb_cloudpress_testimonial')) :
6
+
7
+ function spiceb_cloudpress_testimonial() {
8
+ $home_testimonial_title = get_theme_mod('home_testimonial_title',__('Cras Vitae','spicebox'));
9
+ $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'));
10
+ $test_link = get_theme_mod('home_testimonial_link',__('#','spicebox'));
11
+ $open_new_tab = get_theme_mod('home_testimonial_open_tab',false);
12
+ $designation = get_theme_mod('home_testimonial_designation',__('Eu Suscipit','spicebox'));
13
+ $home_testimonial_thumb = get_theme_mod('home_testimonial_thumb', SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/user-1.jpg');
14
+
15
+ $home_testimonial_section_title = get_theme_mod('home_testimonial_section_title',__('Proin Egestas','spicebox'));
16
+ $home_testimonial_section_discription = get_theme_mod('home_testimonial_section_discription',__('Nam Viverra Iaculis Finibus','spicebox'));
17
+ $testimonial_callout_background = get_theme_mod('testimonial_callout_background', SPICEB_PLUGIN_URL .'inc/cloudpress/images/testimonial/bg03.jpg');
18
+ if(get_theme_mod('testimonial_section_enable','on')=='on'):
19
+ ?>
20
+ <section class="testimonial-wrapper" id="testimonial" style="background:url('<?php echo esc_url($testimonial_callout_background);?>')center center no-repeat;">
21
+ <div class="container">
22
+ <div class="row">
23
+ <div class="col-md-12">
24
+ <div class="section-header text-left cloudpress-testimonial">
25
+ <?php if(!empty($home_testimonial_section_title)):?>
26
+ <h2 class="section-title text-white"><?php echo $home_testimonial_section_title; ?></h2>
27
+ <?php endif; if(!empty($home_testimonial_section_discription)):?>
28
+ <h5 class="section-subtitle text-white"><?php echo $home_testimonial_section_discription; ?></h5><?php endif;?>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </section>
34
+ <section class="testimonial">
35
+ <div class="container">
36
+ <div class="row">
37
+ <div class="col-md-12">
38
+ <blockquote class="testmonial-block text-center">
39
+ <?php $default_arg =array('class' => "img-circle"); ?>
40
+ <?php if($home_testimonial_thumb != ''): ?>
41
+ <figure class="avatar">
42
+ <img class="img-circle" src="<?php echo esc_url($home_testimonial_thumb); ?>">
43
+ </figure>
44
+ <?php endif; ?>
45
+
46
+ <?php if(!empty($home_testimonial_desc)):?>
47
+ <div class="description">
48
+ <p><?php echo wp_kses_post( $home_testimonial_desc ); ?></p>
49
+ </div>
50
+ <?php endif;
51
+ if( $home_testimonial_title != '' || $designation != ''): ?>
52
+ <figcaption>
53
+ <?php if(!empty($home_testimonial_title)):?>
54
+ <cite class="name"><a href="<?php if(empty($test_link)) { echo '#';} else { echo $test_link;} ?>" <?php if($open_new_tab==true) { ?> target="_blank"<?php } ?>><?php echo $home_testimonial_title; ?></a><?php if(!empty($designation)):?><span class="designation"><?php echo $designation; ?></span><?php endif;?></cite>
55
+ <?php endif;?>
56
+ </figcaption>
57
+ <?php endif; ?>
58
+ </blockquote>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </section>
63
+ <?php endif;?>
64
+ <style type="text/css">
65
+ <?php
66
+ if(get_theme_mod('testimonial_image_overlay',true)==true):?>
67
+ .testimonial-wrapper:before
68
+ {
69
+ background-color: <?php echo get_theme_mod('testimonial_overlay_section_color','rgba(1, 7, 12, 0.65)');?>
70
+ }
71
+ <?php endif;?>
72
+ </style>
73
+ <?php }
74
+ endif;
75
+ if (function_exists('spiceb_cloudpress_testimonial')) {
76
+ $section_priority = apply_filters('cloudpress_section_priority', 4, 'spiceb_cloudpress_testimonial');
77
+ add_action('spiceb_cloudpress_sections', 'spiceb_cloudpress_testimonial', absint($section_priority));
78
+ }
79
+ ?>
languages/spicebox.pot CHANGED
@@ -4,7 +4,7 @@ msgstr ""
4
  "Project-Id-Version: "
5
  "Spiceboxv1.0.0\n"
6
  "POT-Creation-Date: "
7
- "2020-11-07 18:11+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.4.1\n"
47
  "X-Poedit-"
48
  "SearchPath-0: .\n"
49
 
@@ -81,6 +81,7 @@ msgstr ""
81
  #: inc/cloudpress/features/feature-funfact-section.php:20
82
  #: inc/cloudpress/features/feature-service-section.php:20
83
  #: inc/cloudpress/features/feature-slider-section.php:19
 
84
  #: inc/honeypress/features/feature-service-section.php:20
85
  #: inc/honeypress/features/feature-slider-section.php:22
86
  #: inc/honeypress/features/feature-testimonial-section.php:20
@@ -105,6 +106,7 @@ msgstr ""
105
  #: inc/cloudpress/features/feature-funfact-section.php:21
106
  #: inc/cloudpress/features/feature-service-section.php:21
107
  #: inc/cloudpress/features/feature-slider-section.php:20
 
108
  #: inc/honeypress/features/feature-service-section.php:21
109
  #: inc/honeypress/features/feature-slider-section.php:23
110
  #: inc/honeypress/features/feature-testimonial-section.php:21
@@ -126,14 +128,17 @@ msgid "OFF"
126
  msgstr ""
127
 
128
  #: inc/cloudpress/features/feature-cta-section.php:28
129
- #: inc/cloudpress/sections/cloudpress-cta-section.php:15
130
  msgid ""
131
- "Want to Work With Us?"
 
132
  msgstr ""
133
 
134
  #: inc/cloudpress/features/feature-cta-section.php:33
135
  #: inc/cloudpress/features/feature-service-section.php:33
136
  #: inc/cloudpress/features/feature-slider-section.php:77
 
 
137
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
138
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
139
  #: inc/honeypress/features/feature-service-section.php:33
@@ -160,11 +165,13 @@ msgid "Title"
160
  msgstr ""
161
 
162
  #: inc/cloudpress/features/feature-cta-section.php:41
163
- #: inc/cloudpress/sections/cloudpress-cta-section.php:16
164
  msgid ""
165
- "Choose a package that "
166
- "suits your every need "
167
- "for building a website."
 
 
168
  msgstr ""
169
 
170
  #: inc/cloudpress/features/feature-cta-section.php:46
@@ -172,10 +179,8 @@ msgid "Sub Title"
172
  msgstr ""
173
 
174
  #: inc/cloudpress/features/feature-cta-section.php:53
175
- #: inc/cloudpress/sections/cloudpress-cta-section.php:17
176
- #: inc/innofit/customizer/contact-section.php:76
177
- #: inc/innofit/sections/innofit-contact-section.php:23
178
- msgid "Contact Us"
179
  msgstr ""
180
 
181
  #: inc/cloudpress/features/feature-cta-section.php:58
@@ -185,6 +190,8 @@ msgstr ""
185
  #: inc/cloudpress/features/feature-cta-section.php:65
186
  #: inc/cloudpress/features/feature-slider-section.php:109
187
  #: inc/cloudpress/features/feature-slider-section.php:146
 
 
188
  #: inc/honeypress/features/feature-slider-section.php:131
189
  #: inc/honeypress/features/feature-slider-section.php:168
190
  #: inc/innofit/customizer/callout-section.php:68
@@ -202,6 +209,19 @@ msgstr ""
202
  msgid "Button Link"
203
  msgstr ""
204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  #: inc/cloudpress/features/feature-funfact-section.php:8
206
  msgid "Funfact Settings"
207
  msgstr ""
@@ -255,17 +275,23 @@ msgid ""
255
  msgstr ""
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
 
262
  #: inc/cloudpress/features/feature-service-section.php:41
263
- #: inc/cloudpress/sections/cloudpress-service-section.php:11
264
- msgid "Why Choose Us"
 
 
265
  msgstr ""
266
 
267
  #: inc/cloudpress/features/feature-service-section.php:46
268
  #: inc/cloudpress/features/feature-slider-section.php:89
 
 
269
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
270
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
271
  #: inc/honeypress/features/feature-service-section.php:46
@@ -332,6 +358,7 @@ msgid "Enable slider"
332
  msgstr ""
333
 
334
  #: inc/cloudpress/features/feature-slider-section.php:35
 
335
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
336
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
337
  #: inc/honeypress/features/feature-slider-section.php:58
@@ -366,9 +393,11 @@ msgstr ""
366
 
367
  #: inc/cloudpress/features/feature-slider-section.php:71
368
  #: inc/cloudpress/sections/cloudpress-slider-section.php:10
 
 
369
  msgid ""
370
- "Start Building Your "
371
- "Website"
372
  msgstr ""
373
 
374
  #: inc/cloudpress/features/feature-slider-section.php:84
@@ -384,8 +413,9 @@ msgstr ""
384
 
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
 
391
  #: inc/cloudpress/features/feature-slider-section.php:102
@@ -398,20 +428,16 @@ msgstr ""
398
  msgid "Button Text"
399
  msgstr ""
400
 
401
- #: inc/cloudpress/features/feature-slider-section.php:127
402
- #: inc/cloudpress/features/feature-slider-section.php:164
403
- #: inc/honeypress/features/feature-slider-section.php:149
404
- #: inc/honeypress/features/feature-slider-section.php:186
405
- #: inc/innofit/customizer/callout-section.php:90
406
- #: inc/innofit/customizer/slider-section.php:123
407
- #: inc/spicepress/features/feature-slider-section.php:126
408
- msgid ""
409
- "Open link in new tab"
410
- msgstr ""
411
-
412
  #: inc/cloudpress/features/feature-slider-section.php:134
 
413
  #: inc/cloudpress/sections/cloudpress-slider-section.php:17
414
- msgid "About Us"
 
 
 
 
 
 
415
  msgstr ""
416
 
417
  #: inc/cloudpress/features/feature-slider-section.php:139
@@ -424,24 +450,123 @@ msgstr ""
424
  msgid "Button 2 Link"
425
  msgstr ""
426
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:101
428
  msgid "1250"
429
  msgstr ""
430
 
431
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:102
432
- msgid "Our Projects"
433
  msgstr ""
434
 
435
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:109
436
  msgid "879"
437
  msgstr ""
438
 
 
 
 
 
439
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:117
440
  msgid "687"
441
  msgstr ""
442
 
443
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:118
444
- msgid "Business Partners"
445
  msgstr ""
446
 
447
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:125
@@ -449,21 +574,23 @@ msgid "3578"
449
  msgstr ""
450
 
451
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:126
452
- msgid "Clients Review"
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
 
463
- #: inc/cloudpress/sections/cloudpress-service-section.php:177
464
- #: inc/innofit/customizer.php:29
465
- #: inc/innofit/sections/innofit-services-section.php:30
466
- msgid "Powerful Options"
467
  msgstr ""
468
 
469
  #: inc/cloudpress/sections/cloudpress-slider-section.php:12
@@ -490,13 +617,6 @@ msgstr ""
490
  msgid "Subtitle"
491
  msgstr ""
492
 
493
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:287
494
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:434
495
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:623
496
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:645
497
- msgid "Link"
498
- msgstr ""
499
-
500
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:306
501
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:452
502
  msgid "Video Url"
@@ -512,13 +632,6 @@ msgstr ""
512
  msgid "Shortcode"
513
  msgstr ""
514
 
515
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
516
- #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
517
- #: inc/honeypress/features/feature-testimonial-section.php:167
518
- #: inc/spicepress/features/feature-testimonial-section.php:141
519
- msgid "Designation"
520
- msgstr ""
521
-
522
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:364
523
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:483
524
  msgid "Delete field"
@@ -666,109 +779,10 @@ msgid ""
666
  "Create your own JotForm"
667
  msgstr ""
668
 
669
- #: inc/honeypress/features/feature-service-section.php:28
670
- #: inc/honeypress/sections/honeypress-service-section.php:23
671
- msgid "Etiam et Urna?"
672
- msgstr ""
673
-
674
- #: inc/honeypress/features/feature-service-section.php:41
675
- #: inc/honeypress/sections/honeypress-service-section.php:24
676
- msgid "Fusce Sed Massa"
677
- msgstr ""
678
-
679
- #: inc/honeypress/features/feature-slider-section.php:93
680
- #: inc/honeypress/sections/honeypress-slider-section.php:23
681
- msgid ""
682
- "Nulla nec dolor sit amet "
683
- "lacus molestie"
684
- msgstr ""
685
-
686
- #: inc/honeypress/features/feature-slider-section.php:119
687
- #: inc/honeypress/sections/honeypress-slider-section.php:26
688
- msgid "Nec Sem"
689
- msgstr ""
690
-
691
- #: inc/honeypress/features/feature-slider-section.php:156
692
- #: inc/honeypress/features/feature-testimonial-section.php:150
693
- #: inc/honeypress/sections/honeypress-slider-section.php:30
694
- #: inc/honeypress/sections/honeypress-testimonail-section.php:39
695
- #: inc/honeypress/sections/honeypress-testimonail-section.php:81
696
- msgid "Cras Vitae"
697
- msgstr ""
698
-
699
- #: inc/honeypress/features/feature-testimonial-section.php:8
700
- #: inc/spicepress/features/feature-testimonial-section.php:8
701
- msgid ""
702
- "Testimonial settings"
703
- msgstr ""
704
-
705
- #: inc/honeypress/features/feature-testimonial-section.php:16
706
- #: inc/innofit/customizer/testimonial-section.php:11
707
- #: inc/spicepress/features/feature-testimonial-section.php:16
708
- msgid ""
709
- "Enable Home Testimonial "
710
- "section"
711
- msgstr ""
712
-
713
  #: inc/honeypress/features/feature-testimonial-section.php:71
714
  msgid "Background Color"
715
  msgstr ""
716
 
717
- #: inc/honeypress/features/feature-testimonial-section.php:79
718
- #: inc/honeypress/sections/honeypress-testimonail-section.php:37
719
- msgid "Proin Egestas"
720
- msgstr ""
721
-
722
- #: inc/honeypress/features/feature-testimonial-section.php:92
723
- #: inc/honeypress/sections/honeypress-testimonail-section.php:38
724
- msgid ""
725
- "Nam Viverra Iaculis "
726
- "Finibus"
727
- msgstr ""
728
-
729
- #: inc/honeypress/features/feature-testimonial-section.php:137
730
- #: inc/honeypress/sections/honeypress-testimonail-section.php:42
731
- #: inc/honeypress/sections/honeypress-testimonail-section.php:89
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 "
738
- "perspiciatis unde omnis "
739
- "iste natu error sit "
740
- "voluptatem accu tium "
741
- "neque fermentum veposu "
742
- "miten a tempor nise. "
743
- "Duis autem vel eum "
744
- "iriure dolor in "
745
- "hendrerit in vulputate "
746
- "velit consequat "
747
- "reprehender in voluptate "
748
- "velit esse cillum duis "
749
- "dolor fugiat nulla "
750
- "pariatur."
751
- msgstr ""
752
-
753
- #: inc/honeypress/features/feature-testimonial-section.php:162
754
- #: inc/honeypress/sections/honeypress-testimonail-section.php:40
755
- #: inc/honeypress/sections/honeypress-testimonail-section.php:82
756
- msgid "Eu Suscipit"
757
- msgstr ""
758
-
759
- #: inc/honeypress/sections/honeypress-service-section.php:195
760
- msgid ""
761
- "Suspendisse Tristique"
762
- msgstr ""
763
-
764
- #: inc/honeypress/sections/honeypress-service-section.php:203
765
- msgid "Blandit-Gravida"
766
- msgstr ""
767
-
768
- #: inc/honeypress/sections/honeypress-service-section.php:211
769
- msgid "Justo Bibendum"
770
- msgstr ""
771
-
772
  #: inc/innofit/customizer.php:11
773
  #: inc/innofit/sections/innofit-services-section.php:12
774
  msgid "Unlimited Support"
@@ -780,6 +794,11 @@ msgid ""
780
  "Pixel Perfect Design"
781
  msgstr ""
782
 
 
 
 
 
 
783
  #: inc/innofit/customizer.php:60
784
  #: inc/innofit/sections/innofit-testimonial-section.php:95
785
  msgid "Developer"
@@ -915,13 +934,6 @@ msgid ""
915
  "section"
916
  msgstr ""
917
 
918
- #: inc/innofit/customizer/contact-section.php:28
919
- #: inc/innofit/customizer/subscriber-section.php:71
920
- #: inc/innofit/customizer/testimonial-section.php:27
921
- #: inc/spicepress/features/feature-testimonial-section.php:31
922
- msgid "Background Image"
923
- msgstr ""
924
-
925
  #: inc/innofit/customizer/contact-section.php:40
926
  msgid ""
927
  "Enable Contact image "
@@ -944,6 +956,11 @@ msgid ""
944
  "Contact form title one"
945
  msgstr ""
946
 
 
 
 
 
 
947
  #: inc/innofit/customizer/contact-section.php:81
948
  msgid ""
949
  "Contact form title two"
@@ -1257,6 +1274,10 @@ msgstr ""
1257
  msgid "Contact"
1258
  msgstr ""
1259
 
 
 
 
 
1260
  #: inc/innofit/sections/innofit-wooproduct-section.php:56
1261
  msgid "On Sale!"
1262
  msgstr ""
4
  "Project-Id-Version: "
5
  "Spiceboxv1.0.0\n"
6
  "POT-Creation-Date: "
7
+ "2021-01-13 14:19+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.2\n"
47
  "X-Poedit-"
48
  "SearchPath-0: .\n"
49
 
81
  #: inc/cloudpress/features/feature-funfact-section.php:20
82
  #: inc/cloudpress/features/feature-service-section.php:20
83
  #: inc/cloudpress/features/feature-slider-section.php:19
84
+ #: inc/cloudpress/features/feature-testimonial-section.php:20
85
  #: inc/honeypress/features/feature-service-section.php:20
86
  #: inc/honeypress/features/feature-slider-section.php:22
87
  #: inc/honeypress/features/feature-testimonial-section.php:20
106
  #: inc/cloudpress/features/feature-funfact-section.php:21
107
  #: inc/cloudpress/features/feature-service-section.php:21
108
  #: inc/cloudpress/features/feature-slider-section.php:20
109
+ #: inc/cloudpress/features/feature-testimonial-section.php:21
110
  #: inc/honeypress/features/feature-service-section.php:21
111
  #: inc/honeypress/features/feature-slider-section.php:23
112
  #: inc/honeypress/features/feature-testimonial-section.php:21
128
  msgstr ""
129
 
130
  #: inc/cloudpress/features/feature-cta-section.php:28
131
+ #: inc/cloudpress/sections/cloudpress-cta-section.php:16
132
  msgid ""
133
+ "Lorem ipsum dolor sit "
134
+ "amet?"
135
  msgstr ""
136
 
137
  #: inc/cloudpress/features/feature-cta-section.php:33
138
  #: inc/cloudpress/features/feature-service-section.php:33
139
  #: inc/cloudpress/features/feature-slider-section.php:77
140
+ #: inc/cloudpress/features/feature-testimonial-section.php:59
141
+ #: inc/cloudpress/features/feature-testimonial-section.php:123
142
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:253
143
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:402
144
  #: inc/honeypress/features/feature-service-section.php:33
165
  msgstr ""
166
 
167
  #: inc/cloudpress/features/feature-cta-section.php:41
168
+ #: inc/cloudpress/sections/cloudpress-cta-section.php:17
169
  msgid ""
170
+ "Excepteur sint occaecat "
171
+ "cupidatat non proident, "
172
+ "sunt in culpa qui "
173
+ "officia deserunt mollit "
174
+ "anim id est laborum."
175
  msgstr ""
176
 
177
  #: inc/cloudpress/features/feature-cta-section.php:46
179
  msgstr ""
180
 
181
  #: inc/cloudpress/features/feature-cta-section.php:53
182
+ #: inc/cloudpress/sections/cloudpress-cta-section.php:18
183
+ msgid "Nemo enim"
 
 
184
  msgstr ""
185
 
186
  #: inc/cloudpress/features/feature-cta-section.php:58
190
  #: inc/cloudpress/features/feature-cta-section.php:65
191
  #: inc/cloudpress/features/feature-slider-section.php:109
192
  #: inc/cloudpress/features/feature-slider-section.php:146
193
+ #: inc/cloudpress/features/feature-testimonial-section.php:130
194
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:10
195
  #: inc/honeypress/features/feature-slider-section.php:131
196
  #: inc/honeypress/features/feature-slider-section.php:168
197
  #: inc/innofit/customizer/callout-section.php:68
209
  msgid "Button Link"
210
  msgstr ""
211
 
212
+ #: inc/cloudpress/features/feature-cta-section.php:85
213
+ #: inc/cloudpress/features/feature-slider-section.php:127
214
+ #: inc/cloudpress/features/feature-slider-section.php:164
215
+ #: inc/cloudpress/features/feature-testimonial-section.php:147
216
+ #: inc/honeypress/features/feature-slider-section.php:149
217
+ #: inc/honeypress/features/feature-slider-section.php:186
218
+ #: inc/innofit/customizer/callout-section.php:90
219
+ #: inc/innofit/customizer/slider-section.php:123
220
+ #: inc/spicepress/features/feature-slider-section.php:126
221
+ msgid ""
222
+ "Open link in new tab"
223
+ msgstr ""
224
+
225
  #: inc/cloudpress/features/feature-funfact-section.php:8
226
  msgid "Funfact Settings"
227
  msgstr ""
275
  msgstr ""
276
 
277
  #: inc/cloudpress/features/feature-service-section.php:28
278
+ #: inc/cloudpress/sections/cloudpress-service-section.php:16
279
+ #: inc/honeypress/features/feature-service-section.php:28
280
+ #: inc/honeypress/sections/honeypress-service-section.php:23
281
+ msgid "Etiam et Urna?"
282
  msgstr ""
283
 
284
  #: inc/cloudpress/features/feature-service-section.php:41
285
+ #: inc/cloudpress/sections/cloudpress-service-section.php:17
286
+ #: inc/honeypress/features/feature-service-section.php:41
287
+ #: inc/honeypress/sections/honeypress-service-section.php:24
288
+ msgid "Fusce Sed Massa"
289
  msgstr ""
290
 
291
  #: inc/cloudpress/features/feature-service-section.php:46
292
  #: inc/cloudpress/features/feature-slider-section.php:89
293
+ #: inc/cloudpress/features/feature-testimonial-section.php:73
294
+ #: inc/cloudpress/features/feature-testimonial-section.php:109
295
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:267
296
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:416
297
  #: inc/honeypress/features/feature-service-section.php:46
358
  msgstr ""
359
 
360
  #: inc/cloudpress/features/feature-slider-section.php:35
361
+ #: inc/cloudpress/features/feature-testimonial-section.php:91
362
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:554
363
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:600
364
  #: inc/honeypress/features/feature-slider-section.php:58
393
 
394
  #: inc/cloudpress/features/feature-slider-section.php:71
395
  #: inc/cloudpress/sections/cloudpress-slider-section.php:10
396
+ #: inc/honeypress/features/feature-slider-section.php:93
397
+ #: inc/honeypress/sections/honeypress-slider-section.php:23
398
  msgid ""
399
+ "Nulla nec dolor sit amet "
400
+ "lacus molestie"
401
  msgstr ""
402
 
403
  #: inc/cloudpress/features/feature-slider-section.php:84
413
 
414
  #: inc/cloudpress/features/feature-slider-section.php:97
415
  #: inc/cloudpress/sections/cloudpress-slider-section.php:13
416
+ #: inc/honeypress/features/feature-slider-section.php:119
417
+ #: inc/honeypress/sections/honeypress-slider-section.php:26
418
+ msgid "Nec Sem"
419
  msgstr ""
420
 
421
  #: inc/cloudpress/features/feature-slider-section.php:102
428
  msgid "Button Text"
429
  msgstr ""
430
 
 
 
 
 
 
 
 
 
 
 
 
431
  #: inc/cloudpress/features/feature-slider-section.php:134
432
+ #: inc/cloudpress/features/feature-testimonial-section.php:117
433
  #: inc/cloudpress/sections/cloudpress-slider-section.php:17
434
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:8
435
+ #: inc/honeypress/features/feature-slider-section.php:156
436
+ #: inc/honeypress/features/feature-testimonial-section.php:150
437
+ #: inc/honeypress/sections/honeypress-slider-section.php:30
438
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:39
439
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:81
440
+ msgid "Cras Vitae"
441
  msgstr ""
442
 
443
  #: inc/cloudpress/features/feature-slider-section.php:139
450
  msgid "Button 2 Link"
451
  msgstr ""
452
 
453
+ #: inc/cloudpress/features/feature-testimonial-section.php:8
454
+ #: inc/honeypress/features/feature-testimonial-section.php:8
455
+ #: inc/spicepress/features/feature-testimonial-section.php:8
456
+ msgid ""
457
+ "Testimonial settings"
458
+ msgstr ""
459
+
460
+ #: inc/cloudpress/features/feature-testimonial-section.php:16
461
+ #: inc/honeypress/features/feature-testimonial-section.php:16
462
+ #: inc/innofit/customizer/testimonial-section.php:11
463
+ #: inc/spicepress/features/feature-testimonial-section.php:16
464
+ msgid ""
465
+ "Enable Home Testimonial "
466
+ "section"
467
+ msgstr ""
468
+
469
+ #: inc/cloudpress/features/feature-testimonial-section.php:31
470
+ #: inc/innofit/customizer/contact-section.php:28
471
+ #: inc/innofit/customizer/subscriber-section.php:71
472
+ #: inc/innofit/customizer/testimonial-section.php:27
473
+ #: inc/spicepress/features/feature-testimonial-section.php:31
474
+ msgid "Background Image"
475
+ msgstr ""
476
+
477
+ #: inc/cloudpress/features/feature-testimonial-section.php:46
478
+ msgid ""
479
+ "Background Overlay Color"
480
+ msgstr ""
481
+
482
+ #: inc/cloudpress/features/feature-testimonial-section.php:54
483
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:15
484
+ #: inc/honeypress/features/feature-testimonial-section.php:79
485
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:37
486
+ msgid "Proin Egestas"
487
+ msgstr ""
488
+
489
+ #: inc/cloudpress/features/feature-testimonial-section.php:67
490
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:16
491
+ #: inc/honeypress/features/feature-testimonial-section.php:92
492
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:38
493
+ msgid ""
494
+ "Nam Viverra Iaculis "
495
+ "Finibus"
496
+ msgstr ""
497
+
498
+ #: inc/cloudpress/features/feature-testimonial-section.php:103
499
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:9
500
+ #: inc/honeypress/features/feature-testimonial-section.php:137
501
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:42
502
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:89
503
+ #: inc/spicepress/features/feature-testimonial-section.php:109
504
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:46
505
+ #: inc/spicepress/sections/spicepress-testimonail-section.php:123
506
+ msgid ""
507
+ "Sed ut Perspiciatis Unde "
508
+ "Omnis Iste Sed ut "
509
+ "perspiciatis unde omnis "
510
+ "iste natu error sit "
511
+ "voluptatem accu tium "
512
+ "neque fermentum veposu "
513
+ "miten a tempor nise. "
514
+ "Duis autem vel eum "
515
+ "iriure dolor in "
516
+ "hendrerit in vulputate "
517
+ "velit consequat "
518
+ "reprehender in voluptate "
519
+ "velit esse cillum duis "
520
+ "dolor fugiat nulla "
521
+ "pariatur."
522
+ msgstr ""
523
+
524
+ #: inc/cloudpress/features/feature-testimonial-section.php:135
525
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:287
526
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:434
527
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:623
528
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:645
529
+ msgid "Link"
530
+ msgstr ""
531
+
532
+ #: inc/cloudpress/features/feature-testimonial-section.php:153
533
+ #: inc/cloudpress/sections/cloudpress-testimonail-section.php:12
534
+ #: inc/honeypress/features/feature-testimonial-section.php:162
535
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:40
536
+ #: inc/honeypress/sections/honeypress-testimonail-section.php:82
537
+ msgid "Eu Suscipit"
538
+ msgstr ""
539
+
540
+ #: inc/cloudpress/features/feature-testimonial-section.php:159
541
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:348
542
+ #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:472
543
+ #: inc/honeypress/features/feature-testimonial-section.php:167
544
+ #: inc/spicepress/features/feature-testimonial-section.php:141
545
+ msgid "Designation"
546
+ msgstr ""
547
+
548
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:101
549
  msgid "1250"
550
  msgstr ""
551
 
552
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:102
553
+ msgid "Excepteur"
554
  msgstr ""
555
 
556
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:109
557
  msgid "879"
558
  msgstr ""
559
 
560
+ #: inc/cloudpress/sections/cloudpress-funfact-section.php:110
561
+ msgid "Incididunt"
562
+ msgstr ""
563
+
564
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:117
565
  msgid "687"
566
  msgstr ""
567
 
568
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:118
569
+ msgid "Quis Nostrud "
570
  msgstr ""
571
 
572
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:125
574
  msgstr ""
575
 
576
  #: inc/cloudpress/sections/cloudpress-funfact-section.php:126
577
+ msgid "Voluptate Velit"
578
  msgstr ""
579
 
580
+ #: inc/cloudpress/sections/cloudpress-service-section.php:174
581
+ #: inc/honeypress/sections/honeypress-service-section.php:195
582
+ msgid ""
583
+ "Suspendisse Tristique"
584
  msgstr ""
585
 
586
+ #: inc/cloudpress/sections/cloudpress-service-section.php:182
587
+ #: inc/honeypress/sections/honeypress-service-section.php:203
588
+ msgid "Blandit-Gravida"
589
  msgstr ""
590
 
591
+ #: inc/cloudpress/sections/cloudpress-service-section.php:190
592
+ #: inc/honeypress/sections/honeypress-service-section.php:211
593
+ msgid "Justo Bibendum"
 
594
  msgstr ""
595
 
596
  #: inc/cloudpress/sections/cloudpress-slider-section.php:12
617
  msgid "Subtitle"
618
  msgstr ""
619
 
 
 
 
 
 
 
 
620
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:306
621
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:452
622
  msgid "Video Url"
632
  msgid "Shortcode"
633
  msgstr ""
634
 
 
 
 
 
 
 
 
635
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:364
636
  #: inc/controls/customizer-repeater/class/customizer-repeater-control.php:483
637
  msgid "Delete field"
779
  "Create your own JotForm"
780
  msgstr ""
781
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
  #: inc/honeypress/features/feature-testimonial-section.php:71
783
  msgid "Background Color"
784
  msgstr ""
785
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
786
  #: inc/innofit/customizer.php:11
787
  #: inc/innofit/sections/innofit-services-section.php:12
788
  msgid "Unlimited Support"
794
  "Pixel Perfect Design"
795
  msgstr ""
796
 
797
+ #: inc/innofit/customizer.php:29
798
+ #: inc/innofit/sections/innofit-services-section.php:30
799
+ msgid "Powerful Options"
800
+ msgstr ""
801
+
802
  #: inc/innofit/customizer.php:60
803
  #: inc/innofit/sections/innofit-testimonial-section.php:95
804
  msgid "Developer"
934
  "section"
935
  msgstr ""
936
 
 
 
 
 
 
 
 
937
  #: inc/innofit/customizer/contact-section.php:40
938
  msgid ""
939
  "Enable Contact image "
956
  "Contact form title one"
957
  msgstr ""
958
 
959
+ #: inc/innofit/customizer/contact-section.php:76
960
+ #: inc/innofit/sections/innofit-contact-section.php:23
961
+ msgid "Contact Us"
962
+ msgstr ""
963
+
964
  #: inc/innofit/customizer/contact-section.php:81
965
  msgid ""
966
  "Contact form title two"
1274
  msgid "Contact"
1275
  msgstr ""
1276
 
1277
+ #: inc/innofit/sections/innofit-news-section.php:97
1278
+ msgid "Read More"
1279
+ msgstr ""
1280
+
1281
  #: inc/innofit/sections/innofit-wooproduct-section.php:56
1282
  msgid "On Sale!"
1283
  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
6
- Stable tag: 1.3.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -212,6 +212,10 @@ Fixed minor issues of HoneyPress child themes.
212
  1. Added variations for HoneyBee child theme.
213
  2. Fixed repeater checkbox issue.
214
 
 
 
 
 
215
  =======External resources=======
216
 
217
  Alpha color picker Control:
@@ -249,4 +253,14 @@ https://pxhere.com/en/photo/1434201
249
  == HoneyBee Images ==
250
  * Image used in Slider
251
  License CC0 Public Domain
252
- https://stocksnap.io/photo/woman-mobile-Q93BUD2Z3Z
 
 
 
 
 
 
 
 
 
 
3
  Tags: widget, admin, widgets
4
  Requires at least: 3.3+
5
  Tested up to: 5.5
6
+ Stable tag: 1.3.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
212
  1. Added variations for HoneyBee child theme.
213
  2. Fixed repeater checkbox issue.
214
 
215
+ =1.3.3=
216
+ 1. Added variations for CloudPress Agency theme.
217
+ 2. Dummy content updated for cloudpres theme.
218
+
219
  =======External resources=======
220
 
221
  Alpha color picker Control:
253
  == HoneyBee Images ==
254
  * Image used in Slider
255
  License CC0 Public Domain
256
+ https://stocksnap.io/photo/woman-mobile-Q93BUD2Z3Z
257
+
258
+ == CloudPress Agency Images ==
259
+
260
+ * Image used in Testimonial Background
261
+ License CC0 Public Domain
262
+ https://pxhere.com/en/photo/1633156
263
+
264
+ * Image used in Testimonial User
265
+ License CC0 Public Domain
266
+ https://pxhere.com/en/photo/1235380
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.2
7
  Author: Spicethemes
8
  Author URI: https://spicethemes.com
9
  Text Domain: spicebox
@@ -17,7 +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/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');
@@ -39,7 +39,7 @@ function spiceb_activate() {
39
  require_once('inc/honeypress/sections/honeypress-testimonail-section.php');
40
  require_once('inc/honeypress/customizer.php');
41
  }
42
- if ( 'CloudPress' == $theme->name || 'CloudPress Child' == $theme->name){
43
  require_once('inc/cloudpress/features/feature-slider-section.php');
44
  require_once('inc/cloudpress/features/feature-cta-section.php');
45
  require_once('inc/cloudpress/features/feature-service-section.php');
@@ -50,7 +50,13 @@ function spiceb_activate() {
50
  require_once('inc/cloudpress/sections/cloudpress-funfact-section.php');
51
  require_once('inc/cloudpress/customizer.php');
52
  }
53
-
 
 
 
 
 
 
54
  if ( 'Chilly' == $theme->name || 'SpiceBlue' == $theme->name){
55
  require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
56
  require_once('inc/spicepress/features/feature-service-section.php');
@@ -186,7 +192,7 @@ $item_details_page = get_option('item_details_page');
186
  }
187
 
188
  //CloudPress
189
- if ( 'CloudPress' == $theme->name || 'CloudPress Child' == $theme->name){
190
  register_activation_hook( __FILE__, 'spiceb_cloudpress_install_function');
191
  function spiceb_cloudpress_install_function()
192
  {
3
  Plugin Name: SpiceBox
4
  Plugin URI:
5
  Description: Enhances SpiceThemes with extra functionality.
6
+ Version: 1.3.3
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');
39
  require_once('inc/honeypress/sections/honeypress-testimonail-section.php');
40
  require_once('inc/honeypress/customizer.php');
41
  }
42
+ if ( 'CloudPress' == $theme->name || 'CloudPress Child' == $theme->name || 'CloudPress Agency' == $theme->name){
43
  require_once('inc/cloudpress/features/feature-slider-section.php');
44
  require_once('inc/cloudpress/features/feature-cta-section.php');
45
  require_once('inc/cloudpress/features/feature-service-section.php');
50
  require_once('inc/cloudpress/sections/cloudpress-funfact-section.php');
51
  require_once('inc/cloudpress/customizer.php');
52
  }
53
+
54
+ if ( 'CloudPress Agency' == $theme->name){
55
+ require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
56
+ require_once('inc/cloudpress/features/feature-testimonial-section.php');
57
+ require_once('inc/cloudpress/sections/cloudpress-testimonail-section.php');
58
+ }
59
+
60
  if ( 'Chilly' == $theme->name || 'SpiceBlue' == $theme->name){
61
  require_once('inc/controls/customizer-alpha-color-picker/class-spicepress-customize-alpha-color-control.php');
62
  require_once('inc/spicepress/features/feature-service-section.php');
192
  }
193
 
194
  //CloudPress
195
+ if ( 'CloudPress' == $theme->name || 'CloudPress Child' == $theme->name || 'CloudPress Agency' == $theme->name){
196
  register_activation_hook( __FILE__, 'spiceb_cloudpress_install_function');
197
  function spiceb_cloudpress_install_function()
198
  {