Clever Fox - Version 2.4

Version Description

  • Azwa Theme Functionality Improved
Download this release

Release Info

Developer nayrathemes
Plugin Icon 128x128 Clever Fox
Version 2.4
Comparing to
See all releases

Code changes from version 2.3 to 2.4

clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
- Version: 2.3
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
+ Version: 2.4
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/assets/js/owlCarousel2Thumbs.min.js CHANGED
@@ -10,6 +10,7 @@ jQuery(function($) {
10
  items: 1,
11
  loop: true,
12
  dots: false,
 
13
  navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
14
  autoHeight: $("body").hasClass("azwa-template") ? true : false,
15
  autoplay: true,
@@ -104,7 +105,7 @@ jQuery(function($) {
104
  // INJECT CSS
105
  var css = document.createElement("style");
106
  css.type = "text/css";
107
- css.innerHTML = $("body").hasClass("azwa-template") ? ".typewrite > .wrap { border-right: 0.08em solid #111111}" : ".typewrite > .wrap { border-right: 0.08em solid #ffffff}";
108
  document.body.appendChild(css);
109
  };
110
  // Info Active/Hover
@@ -117,4 +118,3 @@ jQuery(function($) {
117
  });
118
  }
119
  });
120
-
10
  items: 1,
11
  loop: true,
12
  dots: false,
13
+ margin: 0,
14
  navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
15
  autoHeight: $("body").hasClass("azwa-template") ? true : false,
16
  autoplay: true,
105
  // INJECT CSS
106
  var css = document.createElement("style");
107
  css.type = "text/css";
108
+ css.innerHTML = $("body").hasClass("azwa-template") ? ".typewrite > .wrap { border-right: 0.08em solid #ffffff}" : ".typewrite > .wrap { border-right: 0.08em solid #ffffff}";
109
  document.body.appendChild(css);
110
  };
111
  // Info Active/Hover
118
  });
119
  }
120
  });
 
inc/azwa/azwa.php CHANGED
@@ -6,12 +6,12 @@
6
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/extras.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/dynamic-style.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/azwa/sections/above-header.php';
9
- require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-header.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-call-to-action.php';
11
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-features.php';
12
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-info.php';
13
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-service.php';
14
- require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-slider.php';
15
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-sponsers.php';
16
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-typography.php';
17
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-navigation.php';
6
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/extras.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/dynamic-style.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/azwa/sections/above-header.php';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/azwa/features/azwa-header.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-call-to-action.php';
11
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-features.php';
12
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-info.php';
13
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-service.php';
14
+ require CLEVERFOX_PLUGIN_DIR . 'inc/azwa/features/azwa-slider.php';
15
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-sponsers.php';
16
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-typography.php';
17
  require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-navigation.php';
inc/azwa/features/azwa-header.php ADDED
@@ -0,0 +1,489 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_lite_header_setting( $wp_customize ){
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Top Left Header
6
+ =========================================*/
7
+ // Header Settings Section //
8
+ $wp_customize->add_section(
9
+ 'header_contact',
10
+ array(
11
+ 'priority' => 1,
12
+ 'title' => __('Top Left Header','conceptly-pro'),
13
+ 'panel' => 'header_section',
14
+ )
15
+ );
16
+
17
+ //Header Contact Hide/Show Setting //
18
+ $wp_customize->add_setting(
19
+ 'hide_show_contact_infot' ,
20
+ array(
21
+ 'default' => '1',
22
+ 'capability' => 'edit_theme_options',
23
+ 'sanitize_callback' => 'sanitize_text_field',
24
+ 'transport' => $selective_refresh,
25
+ )
26
+ );
27
+
28
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
29
+ 'hide_show_contact_infot',
30
+ array(
31
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
32
+ 'section' => 'header_contact',
33
+ 'settings' => 'hide_show_contact_infot',
34
+ 'type' => 'ios', // light, ios, flat
35
+ )
36
+ ));
37
+
38
+
39
+ // Header Contact Number Setting //
40
+
41
+ $wp_customize->add_setting(
42
+ 'header_phone_icon',
43
+ array(
44
+ 'default' => __('fa-phone','conceptly-pro'),
45
+ 'sanitize_callback' => 'conceptly_sanitize_text',
46
+ 'capability' => 'edit_theme_options',
47
+ )
48
+ );
49
+
50
+ $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
51
+ 'header_phone_icon',
52
+ array(
53
+ 'label' => __('Phone Icon','conceptly-pro'),
54
+ 'section' => 'header_contact',
55
+ 'settings'=> 'header_phone_icon',
56
+ 'iconset' => 'fa',
57
+ ) )
58
+ );
59
+
60
+ $wp_customize->add_setting(
61
+ 'header_phone_number',
62
+ array(
63
+ 'default' => __('Call Us: (210) 123-451','conceptly-pro'),
64
+ 'sanitize_callback' => 'conceptly_sanitize_text',
65
+ 'capability' => 'edit_theme_options'
66
+ )
67
+ );
68
+
69
+ $wp_customize->add_control(
70
+ 'header_phone_number',
71
+ array(
72
+ 'label' => __('Title','conceptly-pro'),
73
+ 'section' => 'header_contact',
74
+ 'settings'=> 'header_phone_number',
75
+ 'type' => 'text',
76
+ )
77
+ );
78
+
79
+ $wp_customize->add_setting(
80
+ 'header_phone_sub',
81
+ array(
82
+ 'default' => __('+1 231-214-3567','conceptly-pro'),
83
+ 'sanitize_callback' => 'conceptly_sanitize_text',
84
+ 'capability' => 'edit_theme_options'
85
+ )
86
+ );
87
+
88
+ $wp_customize->add_control(
89
+ 'header_phone_sub',
90
+ array(
91
+ 'label' => __('Subtitle','conceptly-pro'),
92
+ 'section' => 'header_contact',
93
+ 'type' => 'text',
94
+ )
95
+ );
96
+
97
+ //Header Email Hide/Show Setting //
98
+ $wp_customize->add_setting(
99
+ 'hide_show_email_infot' ,
100
+ array(
101
+ 'default' => '1',
102
+ 'capability' => 'edit_theme_options',
103
+ 'sanitize_callback' => 'sanitize_text_field',
104
+ 'transport' => $selective_refresh,
105
+ )
106
+ );
107
+
108
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
109
+ 'hide_show_email_infot',
110
+ array(
111
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
112
+ 'section' => 'header_contact',
113
+ 'settings' => 'hide_show_email_infot',
114
+ 'type' => 'ios', // light, ios, flat
115
+ )
116
+ ));
117
+
118
+ // Header Email icon Setting //
119
+ $wp_customize->add_setting(
120
+ 'header_email_icon',
121
+ array(
122
+ 'default' => __('fa-envelope','conceptly-pro'),
123
+ 'sanitize_callback' => 'conceptly_sanitize_text',
124
+ 'capability' => 'edit_theme_options',
125
+ )
126
+ );
127
+
128
+ $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
129
+ 'header_email_icon',
130
+ array(
131
+ 'label' => __('Email Icon','conceptly-pro'),
132
+ 'section' => 'header_contact',
133
+ 'settings'=> 'header_email_icon',
134
+ 'iconset' => 'fa',
135
+ ))
136
+ );
137
+
138
+ // Header Email Setting //
139
+ $wp_customize->add_setting(
140
+ 'header_email',
141
+ array(
142
+ 'default' => __('380 St Kilda Road','conceptly-pro'),
143
+ 'sanitize_callback' => 'conceptly_sanitize_text',
144
+ 'capability' => 'edit_theme_options',
145
+ )
146
+ );
147
+
148
+ $wp_customize->add_control(
149
+ 'header_email',
150
+ array(
151
+ 'label' => __('Title','conceptly-pro'),
152
+ 'section' => 'header_contact',
153
+ 'settings'=> 'header_email',
154
+ 'type' => 'text',
155
+ )
156
+ );
157
+
158
+ $wp_customize->add_setting(
159
+ 'header_email_sub',
160
+ array(
161
+ 'default' => __('example@example.com','conceptly-pro'),
162
+ 'sanitize_callback' => 'conceptly_sanitize_text',
163
+ 'capability' => 'edit_theme_options',
164
+ )
165
+ );
166
+
167
+ $wp_customize->add_control(
168
+ 'header_email_sub',
169
+ array(
170
+ 'label' => __('Subtitle','conceptly-pro'),
171
+ 'section' => 'header_contact',
172
+ 'type' => 'text',
173
+ )
174
+ );
175
+
176
+ //Header FAQ Hide/Show Setting //
177
+ $wp_customize->add_setting(
178
+ 'hide_show_faq' ,
179
+ array(
180
+ 'default' => '1',
181
+ 'capability' => 'edit_theme_options',
182
+ 'sanitize_callback' => 'sanitize_text_field',
183
+ 'transport' => $selective_refresh,
184
+ )
185
+ );
186
+
187
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
188
+ 'hide_show_faq',
189
+ array(
190
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
191
+ 'section' => 'header_contact',
192
+ 'settings' => 'hide_show_faq',
193
+ 'type' => 'ios', // light, ios, flat
194
+ )
195
+ ));
196
+
197
+ // Header faq icon Setting //
198
+ $wp_customize->add_setting(
199
+ 'header_faq_icon',
200
+ array(
201
+ 'default' => __('fa-user','conceptly-pro'),
202
+ 'sanitize_callback' => 'conceptly_sanitize_text',
203
+ 'capability' => 'edit_theme_options',
204
+ )
205
+ );
206
+
207
+ $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
208
+ 'header_faq_icon',
209
+ array(
210
+ 'label' => __('FAQ Icon','conceptly-pro'),
211
+ 'section' => 'header_contact',
212
+ 'settings'=> 'header_faq_icon',
213
+ 'iconset' => 'fa',
214
+ ))
215
+ );
216
+ // Header FAQ //
217
+ $wp_customize->add_setting(
218
+ 'header_faq',
219
+ array(
220
+ 'default' => __('Ask Your Question','conceptly-pro'),
221
+ 'sanitize_callback' => 'conceptly_sanitize_text',
222
+ 'capability' => 'edit_theme_options',
223
+ )
224
+ );
225
+
226
+ $wp_customize->add_control(
227
+ 'header_faq',
228
+ array(
229
+ 'label' => __('Title','conceptly-pro'),
230
+ 'section' => 'header_contact',
231
+ 'settings' => 'header_faq',
232
+ 'description' => __( '', 'conceptly-pro' ),
233
+ 'type' => 'text'
234
+ )
235
+ );
236
+ $wp_customize->add_setting(
237
+ 'header_faq_sub',
238
+ array(
239
+ 'default' => __('On Azwa','conceptly-pro'),
240
+ 'sanitize_callback' => 'conceptly_sanitize_text',
241
+ 'capability' => 'edit_theme_options',
242
+ )
243
+ );
244
+
245
+ $wp_customize->add_control(
246
+ 'header_faq_sub',
247
+ array(
248
+ 'label' => __('Subtitle','conceptly-pro'),
249
+ 'section' => 'header_contact',
250
+ 'type' => 'text'
251
+ )
252
+ );
253
+
254
+ /*=========================================
255
+ Top Right Header
256
+ ===========================================*/
257
+
258
+ // Header Settings Section //
259
+ $wp_customize->add_section(
260
+ 'header_setting',
261
+ array(
262
+ 'priority' => 1,
263
+ 'title' => __('Top Right Header','conceptly-pro'),
264
+ 'panel' => 'header_section',
265
+ )
266
+ );
267
+ // Social Icons Hide/Show Setting //
268
+ $wp_customize->add_setting(
269
+ 'hide_show_social_icon' ,
270
+ array(
271
+ 'default' => '1',
272
+ 'capability' => 'edit_theme_options',
273
+ 'sanitize_callback' => 'sanitize_text_field',
274
+ 'transport' => $selective_refresh,
275
+ )
276
+ );
277
+
278
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
279
+ 'hide_show_social_icon',
280
+ array(
281
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
282
+ 'section' => 'header_setting',
283
+ 'settings' => 'hide_show_social_icon',
284
+ 'type' => 'ios', // light, ios, flat
285
+ )
286
+ ));
287
+ /**
288
+ * Customizer Repeater
289
+ */
290
+ $wp_customize->add_setting( 'social_icons',
291
+ array(
292
+ 'default' => conceptly_get_social_icon_default(),
293
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
294
+ )
295
+ );
296
+
297
+ $wp_customize->add_control(
298
+ new Conceptly_Repeater( $wp_customize,
299
+ 'social_icons',
300
+ array(
301
+ 'label' => esc_html__('Social Icons','conceptly-pro'),
302
+ 'section' => 'header_setting',
303
+ 'priority' => 2,
304
+ 'customizer_repeater_icon_control' => true,
305
+ 'customizer_repeater_link_control' => true,
306
+ )
307
+ )
308
+ );
309
+
310
+ /*=========================================
311
+ Breadcrumb
312
+ =========================================*/
313
+ // Breadcrumb Height //
314
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
315
+ $wp_customize->add_setting(
316
+ 'breadcrumb_min_height' ,
317
+ array(
318
+ 'default' => '100',
319
+ 'capability' => 'edit_theme_options',
320
+ 'sanitize_callback' => 'conceptly_sanitize_number_range',
321
+ 'transport' => 'postMessage',
322
+ )
323
+ );
324
+
325
+ $wp_customize->add_control(
326
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_min_height',
327
+ array(
328
+ 'section' => 'breadcrumb_design',
329
+ 'label' => __( 'Min Height','conceptly' ),
330
+ 'input_attrs' => array(
331
+ 'min' => 0,
332
+ 'max' => 500,
333
+ 'step' => 1,
334
+ //'suffix' => 'px', //optional suffix
335
+ ),
336
+ ) )
337
+ );
338
+ }
339
+ // Breadcrumb Align //
340
+ $wp_customize->add_setting(
341
+ 'breadcrumb_align' ,
342
+ array(
343
+ 'default' => __('left', 'conceptly' ),
344
+ 'capability' => 'edit_theme_options',
345
+ 'sanitize_callback' => 'conceptly_sanitize_select'
346
+ )
347
+ );
348
+
349
+ $wp_customize->add_control(
350
+ 'breadcrumb_align' ,
351
+ array(
352
+ 'label' => __( 'Alignment', 'conceptly' ),
353
+ 'section' => 'breadcrumb_design',
354
+ 'type' => 'select',
355
+ 'priority' => 10,
356
+ 'choices' =>
357
+ array(
358
+ 'left' => __( 'Left', 'conceptly' ),
359
+ 'center' => __( 'Center', 'conceptly' ),
360
+ 'right' => __( 'Right', 'conceptly' )
361
+ )
362
+ )
363
+ );
364
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
365
+ $wp_customize->add_setting(
366
+ 'breadcrumb_opacity' ,
367
+ array(
368
+ 'default' => '0.9',
369
+ 'capability' => 'edit_theme_options',
370
+ 'sanitize_callback' => 'conceptly_sanitize_text',
371
+ )
372
+ );
373
+
374
+ $wp_customize->add_control(
375
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_opacity',
376
+ array(
377
+ 'section' => 'breadcrumb_design',
378
+ 'settings' => 'breadcrumb_opacity',
379
+ 'label' => __( 'Background Opacity','conceptly' ),
380
+ 'input_attrs' => array(
381
+ 'min' => 0,
382
+ 'max' => 0.9,
383
+ 'step' => 0.1,
384
+ //'suffix' => 'px', //optional suffix
385
+ ),
386
+ ) )
387
+ );
388
+ }
389
+ };
390
+ add_action( 'customize_register', 'conceptly_lite_header_setting' );
391
+
392
+ // header selective refresh
393
+ function conceptly_clverfox_header_section_partials( $wp_customize ){
394
+
395
+
396
+ // hide_show_contact_infot
397
+ $wp_customize->selective_refresh->add_partial(
398
+ 'hide_show_contact_infot', array(
399
+ 'selector' => '#header-top .tlh-phone',
400
+ 'container_inclusive' => true,
401
+ 'render_callback' => 'header_contact',
402
+ 'fallback_refresh' => true,
403
+ )
404
+ );
405
+
406
+ // header_phone_number
407
+
408
+ $wp_customize->selective_refresh->add_partial(
409
+ 'header_phone_number', array(
410
+ 'selector' => '#header-top .tlh-phone ',
411
+ 'settings' => 'header_phone_number',
412
+ 'render_callback' => 'header_section_header_phone_number_render_callback',
413
+
414
+ ) );
415
+
416
+ // hide_show_email_infot
417
+ $wp_customize->selective_refresh->add_partial(
418
+ 'hide_show_email_infot', array(
419
+ 'selector' => '#header-top .tlh-email',
420
+ 'container_inclusive' => true,
421
+ 'render_callback' => 'header_contact',
422
+ 'fallback_refresh' => true,
423
+ )
424
+ );
425
+ // Header Email
426
+ $wp_customize->selective_refresh->add_partial(
427
+ 'header_email', array(
428
+ 'selector' => '#header-top .tlh-email',
429
+ 'settings' => 'header_email',
430
+ 'render_callback' => 'header_section_header_email_render_callback',
431
+
432
+ ) );
433
+
434
+ // hide_show_header_FAQ
435
+ $wp_customize->selective_refresh->add_partial(
436
+ 'hide_show_faq', array(
437
+ 'selector' => '#header-top .tlh-faq',
438
+ 'container_inclusive' => true,
439
+ 'render_callback' => 'header_contact',
440
+ 'fallback_refresh' => true,
441
+ )
442
+ );
443
+ // Header_FAQ
444
+ $wp_customize->selective_refresh->add_partial(
445
+ 'header_faq', array(
446
+ 'selector' => '#header-top .tlh-faq',
447
+ 'settings' => 'header_faq',
448
+ 'render_callback' => 'header_section_header_faq_render_callback',
449
+
450
+ ) );
451
+
452
+
453
+ // hide_show_social_icon
454
+ $wp_customize->selective_refresh->add_partial(
455
+ 'hide_show_social_icon', array(
456
+ 'selector' => '.trh-social',
457
+ 'container_inclusive' => true,
458
+ 'render_callback' => 'header_setting',
459
+ 'fallback_refresh' => true,
460
+ )
461
+ );
462
+
463
+ // social icons
464
+ $wp_customize->selective_refresh->add_partial(
465
+ 'social_icons', array(
466
+ 'selector' => '#header-top .trh-social',
467
+ 'settings' => 'social_icons',
468
+ 'render_callback' => 'header_section_social_render_callback'
469
+ ) );
470
+ }
471
+ add_action( 'customize_register', 'conceptly_clverfox_header_section_partials' );
472
+
473
+ // header_phone_number
474
+ function header_section_header_phone_number_render_callback() {
475
+ return get_theme_mod( 'header_phone_number' );
476
+ }
477
+ // header_email
478
+ function header_section_header_email_render_callback() {
479
+ return get_theme_mod( 'header_email' );
480
+ }
481
+ // header_FAQ
482
+ function header_section_header_faq_render_callback() {
483
+ return get_theme_mod( 'header_faq' );
484
+ }
485
+
486
+ // social_icons
487
+ function header_section_social_render_callback() {
488
+ return get_theme_mod( 'social_icons' );
489
+ }
inc/azwa/features/azwa-slider.php ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_slider_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Slider Section Panel
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'slider_setting', array(
9
+ 'title' => esc_html__( 'Slider Section', 'conceptly-pro' ),
10
+ 'panel' => 'conceptly_frontpage_sections',
11
+ 'priority' => apply_filters( 'conceptly_section_priority', 1, 'slider_setting' ),
12
+ )
13
+ );
14
+
15
+ /**
16
+ * Customizer Repeater for add slides
17
+ */
18
+
19
+ $wp_customize->add_setting( 'slider',
20
+ array(
21
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
22
+ //'transport' => $selective_refresh,
23
+ 'default' => conceptly_get_slides_default()
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_control(
28
+ new Conceptly_Repeater( $wp_customize,
29
+ 'slider',
30
+ array(
31
+ 'label' => esc_html__('Slide','conceptly-pro'),
32
+ 'section' => 'slider_setting',
33
+ 'add_field_label' => esc_html__( 'Add New Slider', 'conceptly-pro' ),
34
+ 'item_name' => esc_html__( 'Slider', 'conceptly-pro' ),
35
+ 'priority' => 2,
36
+
37
+ 'customizer_repeater_icon_control' => false,
38
+ 'customizer_repeater_title_control' => true,
39
+ 'customizer_repeater_subtitle_control' => true,
40
+ 'customizer_repeater_text_control' => true,
41
+ 'customizer_repeater_text2_control'=> true,
42
+ 'customizer_repeater_link_control' => true,
43
+ 'customizer_repeater_slide_align' => true,
44
+ 'customizer_repeater_checkbox_control' => true,
45
+ 'customizer_repeater_image_control' => true,
46
+ 'customizer_repeater_image2_control' => true,
47
+ )
48
+ )
49
+ );
50
+
51
+ //Pro feature
52
+ class Conceptly_slider__section_upgrade extends WP_Customize_Control {
53
+ public function render_content() {
54
+ $theme = wp_get_theme(); // gets the current theme
55
+ if ( 'Ameya' == $theme->name){
56
+ ?>
57
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
58
+ <?php
59
+ }elseif ( 'Azwa' == $theme->name){
60
+ ?>
61
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
62
+ <?php
63
+ }else{
64
+ ?>
65
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
66
+ <?php
67
+ }
68
+ }
69
+ }
70
+
71
+ $wp_customize->add_setting( 'conceptly_slider_upgrade_to_pro', array(
72
+ 'capability' => 'edit_theme_options',
73
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
74
+ ));
75
+ $wp_customize->add_control(
76
+ new Conceptly_slider__section_upgrade(
77
+ $wp_customize,
78
+ 'conceptly_slider_upgrade_to_pro',
79
+ array(
80
+ 'section' => 'slider_setting',
81
+ 'settings' => 'conceptly_slider_upgrade_to_pro',
82
+ )
83
+ )
84
+ );
85
+
86
+ // Slider Hide/ Show Setting //
87
+ $wp_customize->add_setting(
88
+ 'hide_show_slider' ,
89
+ array(
90
+ 'default' => esc_html__( '1', 'conceptly-pro' ),
91
+ 'capability' => 'edit_theme_options',
92
+ 'sanitize_callback' => 'sanitize_text_field',
93
+ 'transport' => $selective_refresh,
94
+ )
95
+ );
96
+
97
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
98
+ 'hide_show_slider',
99
+ array(
100
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
101
+ 'section' => 'slider_setting',
102
+ 'settings' => 'hide_show_slider',
103
+ 'type' => 'ios', // light, ios, flat
104
+ )
105
+ ));
106
+
107
+
108
+
109
+ //slider opacity
110
+
111
+ // Slider Text Caption //
112
+ $wp_customize->add_setting(
113
+ 'slider_opacity' ,
114
+ array(
115
+ 'default' => '',
116
+ 'capability' => 'edit_theme_options',
117
+ //'sanitize_callback' => 'sanitize_text_field',
118
+ )
119
+ );
120
+
121
+ $wp_customize->add_control(
122
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'slider_opacity',
123
+ array(
124
+ 'section' => 'slider_setting',
125
+ 'settings' => 'slider_opacity',
126
+ 'label' => __( 'Background Opacity','conceptly-pro' ),
127
+ 'input_attrs' => array(
128
+ 'min' => 0,
129
+ 'max' => 0.9,
130
+ 'step' => 0.1,
131
+ //'suffix' => 'px', //optional suffix
132
+ ),
133
+ ) )
134
+ );
135
+ }
136
+ add_action( 'customize_register', 'conceptly_slider_setting' );
137
+
138
+ // slider selective refresh
139
+ function conceptly_home_slider_section_partials( $wp_customize ){
140
+
141
+ // hide_show_slider
142
+ $wp_customize->selective_refresh->add_partial(
143
+ 'hide_show_slider', array(
144
+ 'selector' => '.header-slider',
145
+ 'container_inclusive' => true,
146
+ 'render_callback' => 'slider_setting',
147
+ 'fallback_refresh' => true,
148
+ )
149
+ );
150
+ // slider
151
+ $wp_customize->selective_refresh->add_partial( 'slider', array(
152
+ 'selector' => '#slider .header-slider figure',
153
+ 'settings' => 'slider',
154
+ 'render_callback' => 'home_section_slider_render_callback',
155
+
156
+ ) );
157
+
158
+ }
159
+
160
+ add_action( 'customize_register', 'conceptly_home_slider_section_partials' );
161
+
162
+ // Slider
163
+ function home_section_slider_render_callback() {
164
+ return get_theme_mod( 'slider' );
165
+ }
166
+ ?>
inc/azwa/sections/above-header.php CHANGED
@@ -6,11 +6,14 @@
6
  $social_icons = get_theme_mod('social_icons',conceptly_get_social_icon_default());
7
  $hide_show_contact_infot = get_theme_mod('hide_show_contact_infot','1');
8
  $header_email_icon = get_theme_mod('header_email_icon','fa-envelope-o');
9
- $header_email = get_theme_mod('header_email','email@companyname.com');
 
10
  $header_phone_icon = get_theme_mod('header_phone_icon','fa-phone');
11
- $header_phone_number = get_theme_mod('header_phone_number','+1 514-286-4242');
 
12
  $header_faq_icon = get_theme_mod('header_faq_icon','fa-question');
13
  $header_faq = get_theme_mod('header_faq','Ask Your Question');
 
14
  $sticky_header_setting = get_theme_mod('sticky_header_setting','1');
15
  $hide_show_email_infot = get_theme_mod('hide_show_email_infot','1');
16
  $hide_show_faq = get_theme_mod('hide_show_faq','1');
@@ -49,20 +52,44 @@
49
  <div class="col-lg-9 col-md-12 text-lg-right text-center my-auto mb-lg-0 mb-sm-3 mb-3">
50
  <ul class="header-info d-inline-block">
51
  <?php if($hide_show_contact_infot =='1'){ ?>
52
- <?php if($header_phone_number) {?>
53
- <li class="tlh-phone"><a href="tel:<?php echo esc_html($header_phone_number); ?>"><i class="fa <?php echo esc_attr($header_phone_icon); ?>"></i><?php echo esc_html($header_phone_number); ?></a></li>
 
 
 
 
 
 
 
 
54
  <?php
55
  }
56
  }
57
  ?>
58
  <?php if($hide_show_email_infot =='1'){ ?>
59
- <?php if($header_email) {?>
60
- <li class="tlh-email"><a href="mailto:<?php echo esc_html($header_email); ?>"><i class="fa <?php echo esc_attr( $header_email_icon ); ?>"></i><?php echo $header_email; ?></a></li>
 
 
 
 
 
 
 
 
61
  <?php } ?>
62
  <?php } ?>
63
  <?php if($hide_show_faq =='1'){ ?>
64
  <?php if($header_faq) {?>
65
- <li class="tlh-faq"><a href="#"><i class="fa <?php echo esc_attr($header_faq_icon); ?>"></i><?php echo $header_faq; ?></a></li>
 
 
 
 
 
 
 
 
66
  <?php } ?>
67
  <?php } ?>
68
  </ul>
6
  $social_icons = get_theme_mod('social_icons',conceptly_get_social_icon_default());
7
  $hide_show_contact_infot = get_theme_mod('hide_show_contact_infot','1');
8
  $header_email_icon = get_theme_mod('header_email_icon','fa-envelope-o');
9
+ $header_email = get_theme_mod('header_email','380 St Kilda Road');
10
+ $header_email_sub = get_theme_mod('header_email_sub','email@companyname.com');
11
  $header_phone_icon = get_theme_mod('header_phone_icon','fa-phone');
12
+ $header_phone_number = get_theme_mod('header_phone_number','Call Us: (210) 123-451');
13
+ $header_phone_sub = get_theme_mod('header_phone_sub','+1 231-214-3567');
14
  $header_faq_icon = get_theme_mod('header_faq_icon','fa-question');
15
  $header_faq = get_theme_mod('header_faq','Ask Your Question');
16
+ $header_faq_sub = get_theme_mod('header_faq_sub','On Azwa');
17
  $sticky_header_setting = get_theme_mod('sticky_header_setting','1');
18
  $hide_show_email_infot = get_theme_mod('hide_show_email_infot','1');
19
  $hide_show_faq = get_theme_mod('hide_show_faq','1');
52
  <div class="col-lg-9 col-md-12 text-lg-right text-center my-auto mb-lg-0 mb-sm-3 mb-3">
53
  <ul class="header-info d-inline-block">
54
  <?php if($hide_show_contact_infot =='1'){ ?>
55
+ <?php if($header_phone_sub) {?>
56
+ <li class="tlh-phone">
57
+ <a href="tel:<?php echo esc_html($header_phone_sub); ?>">
58
+ <div class="tlh-icon"><i class="fa <?php echo esc_attr($header_phone_icon); ?>"></i></div>
59
+ <div class="tlh-content">
60
+ <strong><?php echo esc_html($header_phone_number); ?></strong>
61
+ <p><?php echo esc_html($header_phone_sub); ?></p>
62
+ </div>
63
+ </a>
64
+ </li>
65
  <?php
66
  }
67
  }
68
  ?>
69
  <?php if($hide_show_email_infot =='1'){ ?>
70
+ <?php if($header_email_sub) {?>
71
+ <li class="tlh-email">
72
+ <a href="mailto:<?php echo esc_html($header_email_sub); ?>">
73
+ <div class="tlh-icon"><i class="fa <?php echo esc_attr( $header_email_icon ); ?>"></i></div>
74
+ <div class="tlh-content">
75
+ <strong><?php echo $header_email; ?></strong>
76
+ <p><?php echo esc_html($header_email_sub); ?></p>
77
+ </div>
78
+ </a>
79
+ </li>
80
  <?php } ?>
81
  <?php } ?>
82
  <?php if($hide_show_faq =='1'){ ?>
83
  <?php if($header_faq) {?>
84
+ <li class="tlh-faq">
85
+ <a href="#">
86
+ <div class="tlh-icon"><i class="fa <?php echo esc_attr($header_faq_icon); ?>"></i></div>
87
+ <div class="tlh-content">
88
+ <strong><?php echo $header_faq; ?></strong>
89
+ <p><?php echo esc_html($header_faq_sub); ?></p>
90
+ </div>
91
+ </a>
92
+ </li>
93
  <?php } ?>
94
  <?php } ?>
95
  </ul>
inc/azwa/sections/section-slider.php CHANGED
@@ -27,13 +27,26 @@ if($hide_show_slider == '1') { ?>
27
  $button = ! empty( $slide_item->text2) ? apply_filters( 'conceptly_translate_single_string', $slide_item->text2,'slider section' ) : '';
28
  $link = ! empty( $slide_item->link ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->link, 'slider section' ) : '';
29
  $image = ! empty( $slide_item->image_url ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
 
30
  $open_new_tab = ! empty( $slide_item->open_new_tab ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->open_new_tab, 'slider section' ) : '';
31
  $align = $slide_item->slide_align;
32
  ?>
33
- <div class="header-single-slider theme-slider azwa-slider">
 
 
 
 
 
 
 
 
34
  <div class="container">
35
- <div class="row theme-content azwa-content text-<?php echo $align; ?>">
36
- <div class="col-md-7 col-8">
 
 
 
 
37
  <?php if ( ! empty( $title ) ) : ?>
38
  <h1><?php echo esc_html( $title ); ?><br><span class="typewrite" data-period="2000" data-type='[ "<?php echo esc_html( $subtitle ); ?>"]'></span><span class="wrap"></span></h1>
39
  <?php endif; ?>
@@ -43,25 +56,20 @@ if($hide_show_slider == '1') { ?>
43
  <?php if ( ! empty( $button ) ) : ?>
44
  <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab== 'yes' || $open_new_tab== '1') { echo "target='_blank'"; } ?> class="boxed-btn"><?php echo esc_attr( $button ); ?><i class="fa fa-arrow-right"></i></a>
45
  <?php endif; ?>
 
 
46
  </div>
47
- <?php if ( ! empty( $image ) ) : ?>
48
- <div class="col-md-5 col-4 mb-0 m-auto">
49
  <div class="azwa-img">
50
- <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
51
  </div>
52
  </div>
53
  <?php endif; ?>
54
  </div>
55
  </div>
56
- </div>
57
  <?php } ?>
58
  </div>
59
- <div class="shape2"><img src="<?php echo plugin_dir_url( __DIR__ ); ?>images/shape/shape2.png" alt="image"></div>
60
- <div class="shape3"><img src="<?php echo plugin_dir_url( __DIR__ ); ?>images/shape/shape3.png" alt="image"></div>
61
- <div class="shape5"><img src="<?php echo plugin_dir_url( __DIR__ ); ?>images/shape/shape5.png" alt="image"></div>
62
- <div class="shape6"><img src="<?php echo plugin_dir_url( __DIR__ ); ?>images/shape/shape6.png" alt="image"></div>
63
- <div class="shape7"><img src="<?php echo plugin_dir_url( __DIR__ ); ?>images/shape/shape7.png" alt="image"></div>
64
- <div class="shape8"><img src="<?php echo plugin_dir_url( __DIR__ ); ?>images/shape/shape8.png" alt="image"></div>
65
  <?php } ?>
66
  </section>
67
  <?php }
27
  $button = ! empty( $slide_item->text2) ? apply_filters( 'conceptly_translate_single_string', $slide_item->text2,'slider section' ) : '';
28
  $link = ! empty( $slide_item->link ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->link, 'slider section' ) : '';
29
  $image = ! empty( $slide_item->image_url ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
30
+ $image2 = ! empty( $slide_item->image_url2 ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->image_url2, 'slider section' ) : '';
31
  $open_new_tab = ! empty( $slide_item->open_new_tab ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->open_new_tab, 'slider section' ) : '';
32
  $align = $slide_item->slide_align;
33
  ?>
34
+ <?php if ( ! empty( $image ) ) : ?>
35
+ <?php if ( ! empty( $image2 ) ) : ?>
36
+ <div class="header-single-slider theme-slider azwa-slider slider-mobi-image" style="background-image:url('<?php echo esc_url( $image ); ?>')">
37
+ <?php else : ?>
38
+ <div class="header-single-slider theme-slider azwa-slider" style="background-image:url('<?php echo esc_url( $image ); ?>')">
39
+ <?php endif; ?>
40
+ <?php else : ?>
41
+ <div class="header-single-slider theme-slider azwa-slider">
42
+ <?php endif; ?>
43
  <div class="container">
44
+ <?php if ( ! empty( $image2 ) ) : ?>
45
+ <div class="row theme-content text-<?php echo $align; ?>">
46
+ <div class="col-md-7 col-8 my-auto">
47
+ <?php else : ?>
48
+ <div class="theme-content text-<?php echo $align; ?>">
49
+ <?php endif; ?>
50
  <?php if ( ! empty( $title ) ) : ?>
51
  <h1><?php echo esc_html( $title ); ?><br><span class="typewrite" data-period="2000" data-type='[ "<?php echo esc_html( $subtitle ); ?>"]'></span><span class="wrap"></span></h1>
52
  <?php endif; ?>
56
  <?php if ( ! empty( $button ) ) : ?>
57
  <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab== 'yes' || $open_new_tab== '1') { echo "target='_blank'"; } ?> class="boxed-btn"><?php echo esc_attr( $button ); ?><i class="fa fa-arrow-right"></i></a>
58
  <?php endif; ?>
59
+
60
+ <?php if ( ! empty( $image2 ) ) : ?>
61
  </div>
62
+ <div class="col-md-5 col-4 m-auto">
 
63
  <div class="azwa-img">
64
+ <img src="<?php echo esc_url( $image2 ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
65
  </div>
66
  </div>
67
  <?php endif; ?>
68
  </div>
69
  </div>
70
+ </div>
71
  <?php } ?>
72
  </div>
 
 
 
 
 
 
73
  <?php } ?>
74
  </section>
75
  <?php }
inc/conceptly/dynamic-style.php CHANGED
@@ -6,8 +6,8 @@ if( ! function_exists( 'cleverfox_conceptly_dynamic_styles' ) ):
6
  /**
7
  * Slider
8
  */
9
- $slider_opacity = get_theme_mod('slider_opacity');
10
- $output_css .=" .theme-slider:after{
11
  opacity: " .esc_attr($slider_opacity). ";
12
  }\n";
13
 
6
  /**
7
  * Slider
8
  */
9
+ $slider_opacity = get_theme_mod('slider_opacity','0.5');
10
+ $output_css .=" .theme-slider:not(.azwa-slider):after{
11
  opacity: " .esc_attr($slider_opacity). ";
12
  }\n";
13
 
inc/conceptly/extras.php CHANGED
@@ -39,40 +39,39 @@
39
  */
40
 
41
  function conceptly_get_slides_default() {
42
-
43
  $theme = wp_get_theme(); // gets the current theme
44
- if ( 'Azwa' == $theme->name){
45
- return apply_filters(
46
- 'conceptly_get_slides_default', json_encode(
47
- array(
48
-
49
- /*Repeater's first item*/
50
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider01.png' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00070" ),
51
-
52
- /*Repeater's second item*/
53
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider02.png' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "right", "id" => "customizer_repeater_00071" ),
54
-
55
- /*Repeater's third item*/
56
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider03.png' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00072" ),
57
- )
58
- )
59
- );
60
  }else{
61
- return apply_filters(
62
- 'conceptly_get_slides_default', json_encode(
63
- array(
64
-
65
- /*Repeater's first item*/
66
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider01.jpg' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00070" ),
67
-
68
- /*Repeater's second item*/
69
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider02.jpg' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "center", "id" => "customizer_repeater_00071" ),
70
-
71
- /*Repeater's third item*/
72
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider03.jpg' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "right", "id" => "customizer_repeater_00072" ),
73
- )
74
- )
75
- );
76
  }
77
  }
78
 
39
  */
40
 
41
  function conceptly_get_slides_default() {
 
42
  $theme = wp_get_theme(); // gets the current theme
43
+ if ( 'Azwa' == $theme->name){
44
+ return apply_filters(
45
+ 'conceptly_get_slides_default', json_encode(
46
+ array(
47
+
48
+ /*Repeater's first item*/
49
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider01.jpg' ,"image_url2" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider01.png',"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00070" ),
50
+
51
+ /*Repeater's second item*/
52
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider02.jpg',"image_url2" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider02.png',"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "right", "id" => "customizer_repeater_00071" ),
53
+
54
+ /*Repeater's third item*/
55
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider03.jpg',"image_url2" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider03.png',"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00072" ),
56
+ )
57
+ )
58
+ );
59
  }else{
60
+ return apply_filters(
61
+ 'conceptly_get_slides_default', json_encode(
62
+ array(
63
+
64
+ /*Repeater's first item*/
65
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider01.jpg' ,"image_url2" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider01.png',"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00070" ),
66
+
67
+ /*Repeater's second item*/
68
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider02.jpg',"image_url2" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider02.png',"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "center", "id" => "customizer_repeater_00071" ),
69
+
70
+ /*Repeater's third item*/
71
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider03.jpg',"image_url2" => CLEVERFOX_PLUGIN_URL .'inc/azwa/images/sliders/slider03.png',"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "right", "id" => "customizer_repeater_00072" ),
72
+ )
73
+ )
74
+ );
75
  }
76
  }
77
 
inc/conceptly/features/conceptly-navigation.php CHANGED
@@ -381,6 +381,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
381
  'hide_show_contact_infot',
382
  'header_phone_icon',
383
  'header_phone_number',
 
384
  ),
385
  ),
386
 
@@ -391,7 +392,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
391
  'hide_show_email_infot',
392
  'header_email_icon',
393
  'header_email',
394
-
395
  ),
396
  ),
397
  'second' => array(
@@ -401,7 +402,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
401
  'hide_show_faq',
402
  'header_faq_icon',
403
  'header_faq',
404
-
405
  ),
406
  ),
407
  ),
381
  'hide_show_contact_infot',
382
  'header_phone_icon',
383
  'header_phone_number',
384
+ 'header_phone_sub',
385
  ),
386
  ),
387
 
392
  'hide_show_email_infot',
393
  'header_email_icon',
394
  'header_email',
395
+ 'header_email_sub'
396
  ),
397
  ),
398
  'second' => array(
402
  'hide_show_faq',
403
  'header_faq_icon',
404
  'header_faq',
405
+ 'header_faq_sub'
406
  ),
407
  ),
408
  ),
inc/conceptly/features/conceptly-slider.php CHANGED
@@ -111,9 +111,9 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
111
  $wp_customize->add_setting(
112
  'slider_opacity' ,
113
  array(
114
- 'default' => '',
115
  'capability' => 'edit_theme_options',
116
- 'sanitize_callback' => 'sanitize_text_field',
117
  )
118
  );
119
 
@@ -124,11 +124,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
124
  'settings' => 'slider_opacity',
125
  'label' => __( 'Background Opacity','conceptly-pro' ),
126
  'input_attrs' => array(
127
- 'min' => 0,
128
- 'max' => 0.9,
129
- 'step' => 0.1,
130
- //'suffix' => 'px', //optional suffix
131
- ),
132
  ) )
133
  );
134
  }
111
  $wp_customize->add_setting(
112
  'slider_opacity' ,
113
  array(
114
+ 'default' => '0.5',
115
  'capability' => 'edit_theme_options',
116
+ //'sanitize_callback' => 'sanitize_text_field',
117
  )
118
  );
119
 
124
  'settings' => 'slider_opacity',
125
  'label' => __( 'Background Opacity','conceptly-pro' ),
126
  'input_attrs' => array(
127
+ 'min' => 0,
128
+ 'max' => 0.9,
129
+ 'step' => 0.1,
130
+ //'suffix' => 'px', //optional suffix
131
+ ),
132
  ) )
133
  );
134
  }
readme.txt CHANGED
@@ -43,6 +43,9 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
43
 
44
  == Changelog ==
45
 
 
 
 
46
  = 2.3 =
47
  * Aera Theme Functionality Added
48
 
43
 
44
  == Changelog ==
45
 
46
+ = 2.4 =
47
+ * Azwa Theme Functionality Improved
48
+
49
  = 2.3 =
50
  * Aera Theme Functionality Added
51