Clever Fox - Version 5.3

Version Description

  • MetaSoft Theme Functionality Added
  • StartKit, StartBiz & Arowana Theme Functionality Improved & Design Changes
  • Tested With WordPress 5.7.2
Download this release

Release Info

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

Code changes from version 5.2 to 5.3

Files changed (98) hide show
  1. clever-fox.php +5 -1
  2. inc/arowana/arowana.php +12 -2
  3. inc/arowana/sections/section-flash.php +29 -24
  4. inc/arowana/sections/section-service.php +27 -69
  5. inc/assets/js/owl.carousel.min.js +27 -0
  6. inc/avail/features/avril-cta.php +19 -19
  7. inc/avril/extras.php +49 -49
  8. inc/avril/features/avril-cta.php +12 -12
  9. inc/avril/features/avril-features.php +17 -17
  10. inc/avril/features/avril-header.php +32 -32
  11. inc/avril/features/avril-info.php +27 -27
  12. inc/avril/features/avril-service.php +17 -17
  13. inc/avril/features/avril-slider.php +7 -7
  14. inc/avril/features/avril-typography.php +28 -28
  15. inc/azwa/features/azwa-header.php +40 -40
  16. inc/azwa/features/azwa-slider.php +12 -12
  17. inc/cleverfox-activator.php +6 -0
  18. inc/conceptly/extras.php +48 -48
  19. inc/conceptly/features/conceptly-call-to-action.php +21 -21
  20. inc/conceptly/features/conceptly-features.php +16 -16
  21. inc/conceptly/features/conceptly-header.php +34 -34
  22. inc/conceptly/features/conceptly-info.php +22 -22
  23. inc/conceptly/features/conceptly-navigation.php +7 -7
  24. inc/conceptly/features/conceptly-service.php +16 -16
  25. inc/conceptly/features/conceptly-slider.php +12 -12
  26. inc/conceptly/features/conceptly-sponsers.php +17 -17
  27. inc/conceptly/features/conceptly-typography.php +28 -28
  28. inc/conceptly/images/bg/cta-bg.jpg +0 -0
  29. inc/conceptly/images/bg/partner-bg.jpg +0 -0
  30. inc/envira/envira.php +8 -2
  31. inc/envira/features/funfact-section.php +13 -47
  32. inc/envira/sections/section-flash.php +93 -0
  33. inc/envira/sections/section-funfact.php +8 -53
  34. inc/envira/sections/section-service.php +94 -0
  35. inc/fiona-blog/features/fiona-blog-header.php +1 -0
  36. inc/fiona-blog/features/fiona-blog-slider.php +2 -4
  37. inc/fiona-blog/features/fiona-blog-weekend-top.php +2 -2
  38. inc/fiona-blog/sections/section-weekend-top.php +5 -6
  39. inc/fiona-blog/widgets/class-post-slider-widget.php +1 -1
  40. inc/hantus/features/navigation.php +11 -11
  41. inc/hantus/features/section-info.php +34 -34
  42. inc/hantus/features/section-service.php +35 -35
  43. inc/hantus/features/section-slider.php +15 -15
  44. inc/hantus/features/section-testimonial.php +21 -21
  45. inc/hantus/features/section-typography.php +28 -28
  46. inc/hantus/sections/section-service.php +20 -20
  47. inc/hantus/sections/section-testimonial.php +9 -9
  48. inc/metasoft/default-pages/home-page.php +23 -0
  49. inc/metasoft/default-pages/upload-media.php +32 -0
  50. inc/metasoft/default-widgets/default-widget.php +36 -0
  51. inc/metasoft/dynamic-style.php +61 -0
  52. inc/metasoft/extras.php +202 -0
  53. inc/metasoft/features/metasoft-expertise.php +402 -0
  54. inc/metasoft/features/metasoft-header.php +611 -0
  55. inc/metasoft/features/metasoft-info.php +102 -0
  56. inc/metasoft/features/metasoft-service.php +186 -0
  57. inc/metasoft/features/metasoft-slider.php +119 -0
  58. inc/metasoft/features/metasoft-typography.php +265 -0
  59. inc/metasoft/images/footer-logo.png +0 -0
  60. inc/metasoft/images/logo.png +0 -0
  61. inc/metasoft/images/slider/slider01.jpg +0 -0
  62. inc/metasoft/images/slider/slider02.jpg +0 -0
  63. inc/metasoft/images/slider/slider03.jpg +0 -0
  64. inc/metasoft/images/thumbsup.png +0 -0
  65. inc/metasoft/metasoft.php +30 -0
  66. inc/metasoft/sections/above-header.php +103 -0
  67. inc/metasoft/sections/section-expertise.php +113 -0
  68. inc/metasoft/sections/section-info.php +53 -0
  69. inc/metasoft/sections/section-service.php +65 -0
  70. inc/metasoft/sections/section-slider.php +66 -0
  71. inc/startbiz/features/startbiz-header.php +146 -0
  72. inc/startbiz/sections/contact-info.php +34 -0
  73. inc/startbiz/sections/section-flash.php +99 -15
  74. inc/startbiz/sections/section-service.php +34 -68
  75. inc/startbiz/sections/section-slider.php +0 -89
  76. inc/startbiz/startbiz.php +13 -2
  77. inc/startkit/extras.php +172 -0
  78. inc/startkit/features/navigation.php +10 -29
  79. inc/startkit/features/section-info.php +210 -24
  80. inc/startkit/features/section-service.php +85 -65
  81. inc/startkit/features/section-slider.php +15 -22
  82. inc/startkit/features/section-testimonial.php +53 -43
  83. inc/startkit/features/section-typography.php +59 -60
  84. inc/startkit/images/info/info-01.jpg +0 -0
  85. inc/startkit/images/info/info-02.jpg +0 -0
  86. inc/startkit/images/info/info-03.jpg +0 -0
  87. inc/startkit/images/service.jpg +0 -0
  88. inc/startkit/images/slider/slider01.jpg +0 -0
  89. inc/startkit/images/slider/slider02.jpg +0 -0
  90. inc/startkit/images/slider/slider03.jpg +0 -0
  91. inc/startkit/sections/section-flash.php +23 -11
  92. inc/startkit/sections/section-service.php +46 -64
  93. inc/startkit/sections/section-slider.php +73 -65
  94. inc/startkit/sections/section-testimonial.php +51 -83
  95. inc/startkit/startkit.php +10 -2
  96. inc/thai-spa/features/hantus-above-header.php +27 -27
  97. inc/thai-spa/sections/section-service.php +20 -20
  98. readme.txt +8 -2
clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
6
- Version: 5.2
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -76,6 +76,10 @@ function cleverfox_activate() {
76
  require_once('inc/fiona-blog/fiona-blog.php');
77
  }
78
 
 
 
 
 
79
  }
80
  add_action( 'init', 'cleverfox_activate' );
81
 
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 40000+ trusted websites with us. Clever Fox contains all features which are required to create a complete website. See below free themes.
6
+ Version: 5.3
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
76
  require_once('inc/fiona-blog/fiona-blog.php');
77
  }
78
 
79
+ if( 'MetaSoft' == $theme->name){
80
+ require_once('inc/metasoft/metasoft.php');
81
+ }
82
+
83
  }
84
  add_action( 'init', 'cleverfox_activate' );
85
 
inc/arowana/arowana.php CHANGED
@@ -2,7 +2,9 @@
2
  /**
3
  * @package Arowana
4
  */
5
-
 
 
6
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
@@ -14,10 +16,18 @@ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/typography_style.php';
14
 
15
  if ( ! function_exists( 'cleverfox_arowana_frontpage_sections' ) ) :
16
  function cleverfox_arowana_frontpage_sections() {
17
- require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
18
  require CLEVERFOX_PLUGIN_DIR . 'inc/arowana/sections/section-flash.php';
19
  require CLEVERFOX_PLUGIN_DIR . 'inc/arowana/sections/section-service.php';
20
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-testimonial.php';
21
  }
22
  add_action( 'startkit_sections', 'cleverfox_arowana_frontpage_sections' );
23
  endif;
 
 
 
 
 
 
 
 
2
  /**
3
  * @package Arowana
4
  */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/extras.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
9
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
16
 
17
  if ( ! function_exists( 'cleverfox_arowana_frontpage_sections' ) ) :
18
  function cleverfox_arowana_frontpage_sections() {
19
+ //require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
20
  require CLEVERFOX_PLUGIN_DIR . 'inc/arowana/sections/section-flash.php';
21
  require CLEVERFOX_PLUGIN_DIR . 'inc/arowana/sections/section-service.php';
22
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-testimonial.php';
23
  }
24
  add_action( 'startkit_sections', 'cleverfox_arowana_frontpage_sections' );
25
  endif;
26
+
27
+ function cleverfox_startbiz_enqueue_scripts() {
28
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
29
+ //wp_enqueue_style('owl-theme-default-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.theme.default.min.css');
30
+ wp_enqueue_style('owl-carousel-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.carousel.min.css');
31
+ wp_enqueue_script( 'owl-carousel', CLEVERFOX_PLUGIN_URL . 'inc/assets/js/owl.carousel.min.js', array('jquery'), false, true);
32
+ }
33
+ add_action( 'wp_enqueue_scripts', 'cleverfox_startbiz_enqueue_scripts' );
inc/arowana/sections/section-flash.php CHANGED
@@ -9,9 +9,12 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
9
  $info_icons2 = get_theme_mod('info_icons2','fa-cart-plus');
10
  $info_title2 = get_theme_mod('info_title2','Develop For Work');
11
  $info_description2 = get_theme_mod('info_description2','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
12
- $info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
13
  $info_title3 = get_theme_mod('info_title3','Maketing For Blast');
14
- $info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
 
 
 
15
  ?>
16
  <!-- Start: Features List
17
  ============================= -->
@@ -19,25 +22,32 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
19
  <section id="features-list">
20
  <div class="container">
21
  <div class="row text-lg-left text-md-center">
22
- <div class="col-md-4 mb-lg-0 mb-3">
23
- <div class="features-list-item first wow fadeInUp" data-wow-delay="0.1s">
24
- <span class="icon"><i class="fa <?php echo esc_attr( $info_icons ); ?>"></i></span>
25
- <h4><?php echo esc_html( $info_title ); ?></h4>
26
- <p class="small"><?php echo wp_kses_post( $info_description ); ?></p>
27
  </div>
28
  </div>
29
- <div class="col-md-4 mb-md-0 mb-3">
30
- <div class="features-list-item second wow fadeInUp" data-wow-delay="0.2s">
31
- <span class="icon"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i></span>
32
- <h4><?php echo esc_html( $info_title2 ); ?></h4>
33
- <p class="small"><?php echo wp_kses_post( $info_description2 ); ?></p>
34
  </div>
35
  </div>
36
- <div class="col-md-4">
37
- <div class="features-list-item third wow fadeInUp" data-wow-delay="0.3s">
38
- <span class="icon"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i></span>
39
- <h4><?php echo esc_html( $info_title3 ); ?></h4>
40
- <p class="small"><?php echo wp_kses_post( $info_description3 ); ?></p>
 
 
 
 
 
 
 
41
  </div>
42
  </div>
43
  </div>
@@ -45,13 +55,8 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
45
  </section>
46
  <?php }
47
  }
48
-
49
- endif;
50
-
51
-
52
  if ( function_exists( 'startkit_info_plu' ) ) {
53
  $section_priority = apply_filters( 'startkit_section_priority', 12, 'startkit_info_plu' );
54
  add_action( 'startkit_sections', 'startkit_info_plu', absint( $section_priority ) );
55
-
56
- }
57
- ?>
9
  $info_icons2 = get_theme_mod('info_icons2','fa-cart-plus');
10
  $info_title2 = get_theme_mod('info_title2','Develop For Work');
11
  $info_description2 = get_theme_mod('info_description2','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
12
+ $info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
13
  $info_title3 = get_theme_mod('info_title3','Maketing For Blast');
14
+ $info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
15
+ $info_icons4 = get_theme_mod('info_icons4','fa-shield');
16
+ $info_title4 = get_theme_mod('info_title4','Our Security');
17
+ $info_description4 = get_theme_mod('info_description4','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
18
  ?>
19
  <!-- Start: Features List
20
  ============================= -->
22
  <section id="features-list">
23
  <div class="container">
24
  <div class="row text-lg-left text-md-center">
25
+ <div class="col-lg-3 col-md-6 col-12 p-md-0 mt-md-0 mt-4">
26
+ <div class="featured-box wow fadeInUp first" data-wow-delay="0.1s">
27
+ <h5 class="title"><i class="fa <?php echo esc_attr( $info_icons ); ?>"></i> <?php echo esc_html( $info_title ); ?></h5>
28
+ <p><?php echo wp_kses_post( $info_description ); ?></p>
29
+ <!--a class="view-more" href="#">Read More</a-->
30
  </div>
31
  </div>
32
+ <div class="col-lg-3 col-md-6 col-12 p-md-0 mt-md-0 mt-4">
33
+ <div class="featured-box wow fadeInUp second" data-wow-delay="0.1s">
34
+ <h5 class="title"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i> <?php echo esc_html( $info_title2 ); ?></h5>
35
+ <p><?php echo wp_kses_post( $info_description2 ); ?></p>
36
+ <!--a class="view-more" href="#">Read More</a-->
37
  </div>
38
  </div>
39
+ <div class="col-lg-3 col-md-6 col-12 p-md-0 mt-md-0 mt-4">
40
+ <div class="featured-box wow fadeInUp third" data-wow-delay="0.1s">
41
+ <h5 class="title"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i> <?php echo esc_html( $info_title3 ); ?></h5>
42
+ <p><?php echo wp_kses_post( $info_description3 ); ?></p>
43
+ <!--a class="view-more" href="#">Read More</a-->
44
+ </div>
45
+ </div>
46
+ <div class="col-lg-3 col-md-6 col-12 p-md-0 mt-md-0 mt-4">
47
+ <div class="featured-box wow fadeInUp third" data-wow-delay="0.1s">
48
+ <h5 class="title"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i> <?php echo esc_html( $info_title4 ); ?></h5>
49
+ <p><?php echo wp_kses_post( $info_description4 ); ?></p>
50
+ <!--a class="view-more" href="#">Read More</a-->
51
  </div>
52
  </div>
53
  </div>
55
  </section>
56
  <?php }
57
  }
58
+ endif;
 
 
 
59
  if ( function_exists( 'startkit_info_plu' ) ) {
60
  $section_priority = apply_filters( 'startkit_section_priority', 12, 'startkit_info_plu' );
61
  add_action( 'startkit_sections', 'startkit_info_plu', absint( $section_priority ) );
62
+ }
 
 
inc/arowana/sections/section-service.php CHANGED
@@ -1,60 +1,12 @@
1
  <?php
2
- /**
3
- * Get default values for service section.
4
- *
5
- * @since 1.1.0
6
- * @access public
7
- */
8
  if ( ! function_exists( 'startkit_service_plu' ) ) :
9
-
10
  function startkit_service_plu() {
11
-
12
- function startkit_get_service_default() {
13
- return apply_filters(
14
- 'startkit_get_service_default', json_encode(
15
- array(
16
- array(
17
- 'title' => esc_html__( 'Idea Provide', 'startkit' ),
18
- 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'startkit' ),
19
- 'icon_value' => esc_html__( 'fa-lightbulb-o', 'startkit' ),
20
- 'id' => 'customizer_repeater_service_001',
21
-
22
- ),
23
- array(
24
- 'title' => esc_html__( 'People Research', 'startkit' ),
25
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
26
- 'icon_value' => esc_html__( 'fa-users', 'startkit' ),
27
- 'id' => 'customizer_repeater_service_002',
28
-
29
- ),
30
- array(
31
- 'title' => esc_html__( 'Business Develop', 'startkit' ),
32
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
33
- 'icon_value' => esc_html__( 'fa-briefcase', 'startkit' ),
34
- 'id' => 'customizer_repeater_service_003',
35
-
36
- ),
37
- array(
38
- 'title' => esc_html__( 'Marketing', 'startkit' ),
39
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
40
- 'icon_value' => esc_html__( 'fa-user-md', 'startkit' ),
41
- 'id' => 'customizer_repeater_service_004',
42
-
43
- ),
44
- )
45
- )
46
- );
47
- }
48
-
49
- ?>
50
- <?php
51
- $default_content = startkit_get_service_default();
52
  $hide_show_service = get_theme_mod('hide_show_service','1');
53
  $service_title = get_theme_mod('service_title','Services');
 
54
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
55
- $service_contents = get_theme_mod('service_contents',$default_content);
56
- ?>
57
- <?php if($hide_show_service == '1') {?>
58
  <section id="services" class="section-padding">
59
  <div class="container">
60
  <?php
@@ -64,14 +16,16 @@
64
  <div class="row">
65
  <div class="col-md-6 offset-md-3 text-center">
66
  <div class="section-header">
 
 
 
67
  <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
68
  <h2>
69
  <?php echo esc_html($service_title); ?>
70
  </h2>
71
- <?php endif; ?>
72
-
73
- <?php if($service_description) {?>
74
-
75
  <p class="wow fadeInUp" data-wow-delay="0.1s">
76
  <?php echo esc_html($service_description); ?>
77
  </p>
@@ -93,26 +47,31 @@
93
  'i' => array(),
94
  );
95
  $service_contents = json_decode( $service_contents );
96
- foreach ( $service_contents as $service_item ) {
97
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
98
  $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
99
  $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
 
 
100
  ?>
101
- <div class="col-lg-3 col-md-4 col-sm-6 col-12 text-center mb-5">
102
- <div class="servicepage-item wow fadeInUp" data-wow-delay="0.4s">
103
- <div class="service-icon">
104
- <?php if ( ! empty( $icon ) ) :?>
105
- <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
106
- <?php endif; ?>
107
- </div>
108
- <?php if ( ! empty( $title ) ) : ?>
109
- <h4><?php echo esc_html( $title ); ?></h4>
 
 
110
  <?php endif; ?>
111
  <?php if ( ! empty( $text ) ) : ?>
112
- <p><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
113
  <?php endif; ?>
114
- </div>
115
- </div>
 
116
  <?php
117
  } }
118
  ?>
@@ -127,4 +86,3 @@ if ( function_exists( 'startkit_service_plu' ) ) {
127
  $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
128
  add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
129
  }
130
- ?>
1
  <?php
 
 
 
 
 
 
2
  if ( ! function_exists( 'startkit_service_plu' ) ) :
 
3
  function startkit_service_plu() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  $hide_show_service = get_theme_mod('hide_show_service','1');
5
  $service_title = get_theme_mod('service_title','Services');
6
+ $service_subttl = get_theme_mod('service_subttl','<span>Service</span> <h6>Lorem is dummy text.</h6>');
7
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
8
+ $service_contents = get_theme_mod('service_contents',startkit_get_service_default());
9
+ if($hide_show_service == '1') {?>
 
10
  <section id="services" class="section-padding">
11
  <div class="container">
12
  <?php
16
  <div class="row">
17
  <div class="col-md-6 offset-md-3 text-center">
18
  <div class="section-header">
19
+ <?php if ( ! empty( $service_subttl ) ) : ?>
20
+ <div class="subtitle"><?php echo wp_kses_post( $service_subttl ); ?></div>
21
+ <?php endif; ?>
22
  <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
23
  <h2>
24
  <?php echo esc_html($service_title); ?>
25
  </h2>
26
+ <hr class="liner">
27
+ <?php endif; ?>
28
+ <?php if($service_description) { ?>
 
29
  <p class="wow fadeInUp" data-wow-delay="0.1s">
30
  <?php echo esc_html($service_description); ?>
31
  </p>
47
  'i' => array(),
48
  );
49
  $service_contents = json_decode( $service_contents );
50
+ foreach ( $service_contents as $i => $service_item ) {
51
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
52
  $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
53
  $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
54
+ $text2 = ! empty( $service_item->text2) ? apply_filters( 'startkit_translate_single_string', $service_item->text2,'service section' ) : '';
55
+ $link = ! empty( $service_item->link ) ? apply_filters( 'startkit_translate_single_string', $service_item->link, 'service section' ) : '';
56
  ?>
57
+ <div class="col-lg-4 col-md-4 col-sm-6 col-12 text-center mb-5">
58
+ <div class="features-arowana wow fadeInUp" data-wow-delay="0.4s">
59
+ <div class="icon">
60
+ <span class="count">0<?php echo esc_html( $i + 1 ); ?></span>
61
+ <?php if ( ! empty( $icon ) ) :?>
62
+ <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
63
+ <?php endif; ?>
64
+ </div>
65
+ <div class="content">
66
+ <?php if ( ! empty( $title ) ) : ?>
67
+ <h5><a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a></h5>
68
  <?php endif; ?>
69
  <?php if ( ! empty( $text ) ) : ?>
70
+ <div class="text"><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></div>
71
  <?php endif; ?>
72
+ </div>
73
+ </div>
74
+ </div>
75
  <?php
76
  } }
77
  ?>
86
  $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
87
  add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
88
  }
 
inc/assets/js/owl.carousel.min.js CHANGED
@@ -108,6 +108,33 @@ jQuery(function($) {
108
  }
109
  }
110
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  });
112
  });
113
 
108
  }
109
  }
110
  });
111
+
112
+ // Startkit Carousel's
113
+ var startkitMainSlider = $('.startkit-slider .header-slider');
114
+ startkitMainSlider.owlCarousel({
115
+ rtl: $("html").attr("dir") == 'rtl' ? true : false,
116
+ items: 1,
117
+ loop: true,
118
+ dots: false,
119
+ navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
120
+ autoHeight: true,
121
+ autoplay: true,
122
+ autoplayTimeout: 9000,
123
+ animateIn: 'pulse',
124
+ animateOut: 'fadeOut',
125
+ smartSpeed: 1000,
126
+ responsive: {
127
+ 0: {
128
+ nav: false
129
+ },
130
+ 768: {
131
+ nav: true
132
+ },
133
+ 992: {
134
+ nav: true
135
+ }
136
+ }
137
+ });
138
  });
139
  });
140
 
inc/avail/features/avril-cta.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'cta_setting', array(
9
- 'title' => esc_html__( 'Call to Action Section', 'avril' ),
10
  'priority' => 12,
11
  'panel' => 'avril_frontpage_sections',
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'cta_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','avril'),
30
  'section' => 'cta_setting',
31
  )
32
  );
@@ -44,7 +44,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
44
  $wp_customize->add_control(
45
  'hs_cta',
46
  array(
47
- 'label' => esc_html__( 'Hide / Show Section', 'avril' ),
48
  'section' => 'cta_setting',
49
  'type' => 'checkbox'
50
  )
@@ -64,7 +64,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
64
  'cta_contents',
65
  array(
66
  'type' => 'hidden',
67
- 'label' => __('Content','avril'),
68
  'section' => 'cta_setting',
69
  )
70
  );
@@ -82,7 +82,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
82
 
83
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'cta_image' ,
84
  array(
85
- 'label' => __( 'Image', 'avril' ),
86
  'section' => 'cta_setting',
87
  )
88
  ));
@@ -91,7 +91,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
91
  $wp_customize->add_setting(
92
  'cta_title',
93
  array(
94
- 'default' => __('We work in partnership with all the major <span class="primary-color"><em>technology</em></span> solutions','avril'),
95
  'capability' => 'edit_theme_options',
96
  'sanitize_callback' => 'avril_sanitize_html',
97
  'transport' => $selective_refresh,
@@ -102,7 +102,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
102
  $wp_customize->add_control(
103
  'cta_title',
104
  array(
105
- 'label' => __('Title','avril'),
106
  'section' => 'cta_setting',
107
  'type' => 'textarea',
108
  )
@@ -112,7 +112,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
112
  $wp_customize->add_setting(
113
  'cta_description',
114
  array(
115
- 'default' => __('There are many variations of passages of lorem Ipsum available, but the majority','avril'),
116
  'capability' => 'edit_theme_options',
117
  'sanitize_callback' => 'avril_sanitize_text',
118
  'transport' => $selective_refresh,
@@ -123,7 +123,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
123
  $wp_customize->add_control(
124
  'cta_description',
125
  array(
126
- 'label' => __('Description','avril'),
127
  'section' => 'cta_setting',
128
  'type' => 'textarea',
129
  )
@@ -143,7 +143,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
143
  'cta_btn_first',
144
  array(
145
  'type' => 'hidden',
146
- 'label' => __('Button First','avril'),
147
  'section' => 'cta_setting',
148
  )
149
  );
@@ -151,7 +151,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
151
  $wp_customize->add_setting(
152
  'cta_btn_lbl1',
153
  array(
154
- 'default' => __('Purchase Now','avril'),
155
  'capability' => 'edit_theme_options',
156
  'sanitize_callback' => 'avril_sanitize_html',
157
  'transport' => $selective_refresh,
@@ -162,7 +162,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
162
  $wp_customize->add_control(
163
  'cta_btn_lbl1',
164
  array(
165
- 'label' => __('Button Label','avril'),
166
  'section' => 'cta_setting',
167
  'type' => 'text',
168
  )
@@ -180,7 +180,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
180
  $wp_customize->add_control(
181
  'cta_btn_link1',
182
  array(
183
- 'label' => __('Link','avril'),
184
  'section' => 'cta_setting',
185
  'type' => 'text',
186
  )
@@ -200,7 +200,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
200
  'cta_btn_second',
201
  array(
202
  'type' => 'hidden',
203
- 'label' => __('Button Second','avril'),
204
  'section' => 'cta_setting',
205
  )
206
  );
@@ -208,7 +208,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
208
  $wp_customize->add_setting(
209
  'cta_btn_second_ttl'
210
  ,array(
211
- 'default' => __('Get Quick Support','avril'),
212
  'capability' => 'edit_theme_options',
213
  'sanitize_callback' => 'avril_sanitize_text',
214
  'transport' => $selective_refresh,
@@ -220,7 +220,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
220
  'cta_btn_second_ttl',
221
  array(
222
  'type' => 'text',
223
- 'label' => __('Title','avril'),
224
  'section' => 'cta_setting',
225
  )
226
  );
@@ -228,7 +228,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
228
  $wp_customize->add_setting(
229
  'cta_btn_lbl2',
230
  array(
231
- 'default' => __('+22 24588-55069','avril'),
232
  'capability' => 'edit_theme_options',
233
  'sanitize_callback' => 'avril_sanitize_html',
234
  'transport' => $selective_refresh,
@@ -239,7 +239,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
239
  $wp_customize->add_control(
240
  'cta_btn_lbl2',
241
  array(
242
- 'label' => __('Label','avril'),
243
  'section' => 'cta_setting',
244
  'type' => 'text',
245
  )
@@ -257,7 +257,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
257
  $wp_customize->add_control(
258
  'cta_btn_link2',
259
  array(
260
- 'label' => __('Link','avril'),
261
  'section' => 'cta_setting',
262
  'type' => 'text',
263
  )
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'cta_setting', array(
9
+ 'title' => esc_html__( 'Call to Action Section', 'clever-fox' ),
10
  'priority' => 12,
11
  'panel' => 'avril_frontpage_sections',
12
  )
26
  'cta_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'cta_setting',
31
  )
32
  );
44
  $wp_customize->add_control(
45
  'hs_cta',
46
  array(
47
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
48
  'section' => 'cta_setting',
49
  'type' => 'checkbox'
50
  )
64
  'cta_contents',
65
  array(
66
  'type' => 'hidden',
67
+ 'label' => __('Content','clever-fox'),
68
  'section' => 'cta_setting',
69
  )
70
  );
82
 
83
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'cta_image' ,
84
  array(
85
+ 'label' => __( 'Image', 'clever-fox' ),
86
  'section' => 'cta_setting',
87
  )
88
  ));
91
  $wp_customize->add_setting(
92
  'cta_title',
93
  array(
94
+ 'default' => __('We work in partnership with all the major <span class="primary-color"><em>technology</em></span> solutions','clever-fox'),
95
  'capability' => 'edit_theme_options',
96
  'sanitize_callback' => 'avril_sanitize_html',
97
  'transport' => $selective_refresh,
102
  $wp_customize->add_control(
103
  'cta_title',
104
  array(
105
+ 'label' => __('Title','clever-fox'),
106
  'section' => 'cta_setting',
107
  'type' => 'textarea',
108
  )
112
  $wp_customize->add_setting(
113
  'cta_description',
114
  array(
115
+ 'default' => __('There are many variations of passages of lorem Ipsum available, but the majority','clever-fox'),
116
  'capability' => 'edit_theme_options',
117
  'sanitize_callback' => 'avril_sanitize_text',
118
  'transport' => $selective_refresh,
123
  $wp_customize->add_control(
124
  'cta_description',
125
  array(
126
+ 'label' => __('Description','clever-fox'),
127
  'section' => 'cta_setting',
128
  'type' => 'textarea',
129
  )
143
  'cta_btn_first',
144
  array(
145
  'type' => 'hidden',
146
+ 'label' => __('Button First','clever-fox'),
147
  'section' => 'cta_setting',
148
  )
149
  );
151
  $wp_customize->add_setting(
152
  'cta_btn_lbl1',
153
  array(
154
+ 'default' => __('Purchase Now','clever-fox'),
155
  'capability' => 'edit_theme_options',
156
  'sanitize_callback' => 'avril_sanitize_html',
157
  'transport' => $selective_refresh,
162
  $wp_customize->add_control(
163
  'cta_btn_lbl1',
164
  array(
165
+ 'label' => __('Button Label','clever-fox'),
166
  'section' => 'cta_setting',
167
  'type' => 'text',
168
  )
180
  $wp_customize->add_control(
181
  'cta_btn_link1',
182
  array(
183
+ 'label' => __('Link','clever-fox'),
184
  'section' => 'cta_setting',
185
  'type' => 'text',
186
  )
200
  'cta_btn_second',
201
  array(
202
  'type' => 'hidden',
203
+ 'label' => __('Button Second','clever-fox'),
204
  'section' => 'cta_setting',
205
  )
206
  );
208
  $wp_customize->add_setting(
209
  'cta_btn_second_ttl'
210
  ,array(
211
+ 'default' => __('Get Quick Support','clever-fox'),
212
  'capability' => 'edit_theme_options',
213
  'sanitize_callback' => 'avril_sanitize_text',
214
  'transport' => $selective_refresh,
220
  'cta_btn_second_ttl',
221
  array(
222
  'type' => 'text',
223
+ 'label' => __('Title','clever-fox'),
224
  'section' => 'cta_setting',
225
  )
226
  );
228
  $wp_customize->add_setting(
229
  'cta_btn_lbl2',
230
  array(
231
+ 'default' => __('+22 24588-55069','clever-fox'),
232
  'capability' => 'edit_theme_options',
233
  'sanitize_callback' => 'avril_sanitize_html',
234
  'transport' => $selective_refresh,
239
  $wp_customize->add_control(
240
  'cta_btn_lbl2',
241
  array(
242
+ 'label' => __('Label','clever-fox'),
243
  'section' => 'cta_setting',
244
  'type' => 'text',
245
  )
257
  $wp_customize->add_control(
258
  'cta_btn_link2',
259
  array(
260
+ 'label' => __('Link','clever-fox'),
261
  'section' => 'cta_setting',
262
  'type' => 'text',
263
  )
inc/avril/extras.php CHANGED
@@ -8,28 +8,28 @@ function avril_get_social_icon_default() {
8
  'avril_get_social_icon_default', json_encode(
9
  array(
10
  array(
11
- 'icon_value' => esc_html__( 'fa-facebook', 'avril' ),
12
- 'link' => esc_html__( '#', 'avril' ),
13
  'id' => 'customizer_repeater_header_social_001',
14
  ),
15
  array(
16
- 'icon_value' => esc_html__( 'fa-google-plus', 'avril' ),
17
- 'link' => esc_html__( '#', 'avril' ),
18
  'id' => 'customizer_repeater_header_social_002',
19
  ),
20
  array(
21
- 'icon_value' => esc_html__( 'fa-twitter', 'avril' ),
22
- 'link' => esc_html__( '#', 'avril' ),
23
  'id' => 'customizer_repeater_header_social_003',
24
  ),
25
  array(
26
- 'icon_value' => esc_html__( 'fa-linkedin', 'avril' ),
27
- 'link' => esc_html__( '#', 'avril' ),
28
  'id' => 'customizer_repeater_header_social_004',
29
  ),
30
  array(
31
- 'icon_value' => esc_html__( 'fa-behance', 'avril' ),
32
- 'link' => esc_html__( '#', 'avril' ),
33
  'id' => 'customizer_repeater_header_social_005',
34
  ),
35
  )
@@ -48,37 +48,37 @@ function avril_get_social_icon_default() {
48
  array(
49
  array(
50
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/avril/images/slider/img01.jpg',
51
- 'title' => esc_html__( 'Global Project Managment', 'avril' ),
52
- 'subtitle' => esc_html__( 'Services & Solutions', 'avril' ),
53
- 'text' => esc_html__( 'There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.', 'avril' ),
54
- 'text2' => esc_html__( 'Get Started', 'avril' ),
55
- 'link' => esc_html__( '#', 'avril' ),
56
- 'button_second' => esc_html__( 'Read More', 'avril' ),
57
- 'link2' => esc_html__( '#', 'avril' ),
58
  "slide_align" => "left",
59
  'id' => 'customizer_repeater_slider_001',
60
  ),
61
  array(
62
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/avril/images/slider/img02.jpg',
63
- 'title' => esc_html__( 'Develop Stronger Minds', 'avril' ),
64
- 'subtitle' => esc_html__( 'Better Coaching Gets', 'avril' ),
65
- 'text' => esc_html__( 'There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.', 'avril' ),
66
- 'text2' => esc_html__( 'Get Started', 'avril' ),
67
- 'link' => esc_html__( '#', 'avril' ),
68
- 'button_second' => esc_html__( 'Read More', 'avril' ),
69
- 'link2' => esc_html__( '#', 'avril' ),
70
  "slide_align" => "center",
71
  'id' => 'customizer_repeater_slider_002',
72
  ),
73
  array(
74
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/avril/images/slider/img03.jpg',
75
- 'title' => esc_html__( 'Industry Analysis', 'avril' ),
76
- 'subtitle' => esc_html__( 'Marketing & Strategy', 'avril' ),
77
- 'text' => esc_html__( 'There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.', 'avril' ),
78
- 'text2' => esc_html__( 'Get Started', 'avril' ),
79
- 'link' => esc_html__( '#', 'avril' ),
80
- 'button_second' => esc_html__( 'Read More', 'avril' ),
81
- 'link2' => esc_html__( '#', 'avril' ),
82
  "slide_align" => "right",
83
  'id' => 'customizer_repeater_slider_003',
84
 
@@ -98,21 +98,21 @@ function avril_get_social_icon_default() {
98
  'avril_get_service_default', json_encode(
99
  array(
100
  array(
101
- 'title' => esc_html__( 'Well Documented', 'avril' ),
102
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'avril' ),
103
  'icon_value' => 'fa-folder-open-o',
104
  'id' => 'customizer_repeater_service_001',
105
 
106
  ),
107
  array(
108
- 'title' => esc_html__( 'Simple To Use', 'avril' ),
109
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'avril' ),
110
  'icon_value' => 'fa-list',
111
  'id' => 'customizer_repeater_service_002',
112
  ),
113
  array(
114
- 'title' => esc_html__( 'High Performance', 'avril' ),
115
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'avril' ),
116
  'icon_value' => 'fa-rocket',
117
  'id' => 'customizer_repeater_service_003',
118
  ),
@@ -131,39 +131,39 @@ function avril_get_social_icon_default() {
131
  'avril_get_features_default', json_encode(
132
  array(
133
  array(
134
- 'title' => esc_html__( 'Business Growth', 'avril' ),
135
- 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'avril' ),
136
  'icon_value' => 'fa-bar-chart',
137
  'id' => 'customizer_repeater_features_001',
138
 
139
  ),
140
  array(
141
- 'title' => esc_html__( 'Business Sustainability', 'avril' ),
142
- 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'avril' ),
143
  'icon_value' => 'fa-connectdevelop',
144
  'id' => 'customizer_repeater_features_002',
145
  ),
146
  array(
147
- 'title' => esc_html__( 'Business Performance', 'avril' ),
148
- 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'avril' ),
149
  'icon_value' => 'fa-tachometer',
150
  'id' => 'customizer_repeater_features_003',
151
  ),
152
  array(
153
- 'title' => esc_html__( 'Business Organization', 'avril' ),
154
- 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'avril' ),
155
  'icon_value' => 'fa-user-secret',
156
  'id' => 'customizer_repeater_features_004',
157
  ),
158
  array(
159
- 'title' => esc_html__( 'Dedicated Teams', 'avril' ),
160
- 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'avril' ),
161
  'icon_value' => 'fa-folder-open-o',
162
  'id' => 'customizer_repeater_features_005',
163
  ),
164
  array(
165
- 'title' => esc_html__( '24X7 support', 'avril' ),
166
- 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'avril' ),
167
  'icon_value' => 'fa-users',
168
  'id' => 'customizer_repeater_features_006',
169
  ),
8
  'avril_get_social_icon_default', json_encode(
9
  array(
10
  array(
11
+ 'icon_value' => esc_html__( 'fa-facebook', 'clever-fox' ),
12
+ 'link' => esc_html__( '#', 'clever-fox' ),
13
  'id' => 'customizer_repeater_header_social_001',
14
  ),
15
  array(
16
+ 'icon_value' => esc_html__( 'fa-google-plus', 'clever-fox' ),
17
+ 'link' => esc_html__( '#', 'clever-fox' ),
18
  'id' => 'customizer_repeater_header_social_002',
19
  ),
20
  array(
21
+ 'icon_value' => esc_html__( 'fa-twitter', 'clever-fox' ),
22
+ 'link' => esc_html__( '#', 'clever-fox' ),
23
  'id' => 'customizer_repeater_header_social_003',
24
  ),
25
  array(
26
+ 'icon_value' => esc_html__( 'fa-linkedin', 'clever-fox' ),
27
+ 'link' => esc_html__( '#', 'clever-fox' ),
28
  'id' => 'customizer_repeater_header_social_004',
29
  ),
30
  array(
31
+ 'icon_value' => esc_html__( 'fa-behance', 'clever-fox' ),
32
+ 'link' => esc_html__( '#', 'clever-fox' ),
33
  'id' => 'customizer_repeater_header_social_005',
34
  ),
35
  )
48
  array(
49
  array(
50
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/avril/images/slider/img01.jpg',
51
+ 'title' => esc_html__( 'Global Project Managment', 'clever-fox' ),
52
+ 'subtitle' => esc_html__( 'Services & Solutions', 'clever-fox' ),
53
+ 'text' => esc_html__( 'There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.', 'clever-fox' ),
54
+ 'text2' => esc_html__( 'Get Started', 'clever-fox' ),
55
+ 'link' => esc_html__( '#', 'clever-fox' ),
56
+ 'button_second' => esc_html__( 'Read More', 'clever-fox' ),
57
+ 'link2' => esc_html__( '#', 'clever-fox' ),
58
  "slide_align" => "left",
59
  'id' => 'customizer_repeater_slider_001',
60
  ),
61
  array(
62
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/avril/images/slider/img02.jpg',
63
+ 'title' => esc_html__( 'Develop Stronger Minds', 'clever-fox' ),
64
+ 'subtitle' => esc_html__( 'Better Coaching Gets', 'clever-fox' ),
65
+ 'text' => esc_html__( 'There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.', 'clever-fox' ),
66
+ 'text2' => esc_html__( 'Get Started', 'clever-fox' ),
67
+ 'link' => esc_html__( '#', 'clever-fox' ),
68
+ 'button_second' => esc_html__( 'Read More', 'clever-fox' ),
69
+ 'link2' => esc_html__( '#', 'clever-fox' ),
70
  "slide_align" => "center",
71
  'id' => 'customizer_repeater_slider_002',
72
  ),
73
  array(
74
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/avril/images/slider/img03.jpg',
75
+ 'title' => esc_html__( 'Industry Analysis', 'clever-fox' ),
76
+ 'subtitle' => esc_html__( 'Marketing & Strategy', 'clever-fox' ),
77
+ 'text' => esc_html__( 'There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.', 'clever-fox' ),
78
+ 'text2' => esc_html__( 'Get Started', 'clever-fox' ),
79
+ 'link' => esc_html__( '#', 'clever-fox' ),
80
+ 'button_second' => esc_html__( 'Read More', 'clever-fox' ),
81
+ 'link2' => esc_html__( '#', 'clever-fox' ),
82
  "slide_align" => "right",
83
  'id' => 'customizer_repeater_slider_003',
84
 
98
  'avril_get_service_default', json_encode(
99
  array(
100
  array(
101
+ 'title' => esc_html__( 'Well Documented', 'clever-fox' ),
102
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'clever-fox' ),
103
  'icon_value' => 'fa-folder-open-o',
104
  'id' => 'customizer_repeater_service_001',
105
 
106
  ),
107
  array(
108
+ 'title' => esc_html__( 'Simple To Use', 'clever-fox' ),
109
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'clever-fox' ),
110
  'icon_value' => 'fa-list',
111
  'id' => 'customizer_repeater_service_002',
112
  ),
113
  array(
114
+ 'title' => esc_html__( 'High Performance', 'clever-fox' ),
115
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.', 'clever-fox' ),
116
  'icon_value' => 'fa-rocket',
117
  'id' => 'customizer_repeater_service_003',
118
  ),
131
  'avril_get_features_default', json_encode(
132
  array(
133
  array(
134
+ 'title' => esc_html__( 'Business Growth', 'clever-fox' ),
135
+ 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'clever-fox' ),
136
  'icon_value' => 'fa-bar-chart',
137
  'id' => 'customizer_repeater_features_001',
138
 
139
  ),
140
  array(
141
+ 'title' => esc_html__( 'Business Sustainability', 'clever-fox' ),
142
+ 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'clever-fox' ),
143
  'icon_value' => 'fa-connectdevelop',
144
  'id' => 'customizer_repeater_features_002',
145
  ),
146
  array(
147
+ 'title' => esc_html__( 'Business Performance', 'clever-fox' ),
148
+ 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'clever-fox' ),
149
  'icon_value' => 'fa-tachometer',
150
  'id' => 'customizer_repeater_features_003',
151
  ),
152
  array(
153
+ 'title' => esc_html__( 'Business Organization', 'clever-fox' ),
154
+ 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'clever-fox' ),
155
  'icon_value' => 'fa-user-secret',
156
  'id' => 'customizer_repeater_features_004',
157
  ),
158
  array(
159
+ 'title' => esc_html__( 'Dedicated Teams', 'clever-fox' ),
160
+ 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'clever-fox' ),
161
  'icon_value' => 'fa-folder-open-o',
162
  'id' => 'customizer_repeater_features_005',
163
  ),
164
  array(
165
+ 'title' => esc_html__( '24X7 support', 'clever-fox' ),
166
+ 'text' => esc_html__( 'Many variations of at Lorem Ipsum but the majority have suffered. Lorem Ipsum the majority suffered.', 'clever-fox' ),
167
  'icon_value' => 'fa-users',
168
  'id' => 'customizer_repeater_features_006',
169
  ),
inc/avril/features/avril-cta.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'cta_setting', array(
9
- 'title' => esc_html__( 'Call to Action Section', 'avril' ),
10
  'priority' => 12,
11
  'panel' => 'avril_frontpage_sections',
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'cta_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','avril'),
30
  'section' => 'cta_setting',
31
  )
32
  );
@@ -44,7 +44,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
44
  $wp_customize->add_control(
45
  'hs_cta',
46
  array(
47
- 'label' => esc_html__( 'Hide / Show Section', 'avril' ),
48
  'section' => 'cta_setting',
49
  'type' => 'checkbox'
50
  )
@@ -64,7 +64,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
64
  'cta_contents',
65
  array(
66
  'type' => 'hidden',
67
- 'label' => __('Content','avril'),
68
  'section' => 'cta_setting',
69
  )
70
  );
@@ -73,7 +73,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
  $wp_customize->add_setting(
74
  'cta_title',
75
  array(
76
- 'default' => __('We work in partnership with all the major <span class="primary-color"><em>technology</em></span> solutions','avril'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
  'transport' => $selective_refresh,
@@ -84,7 +84,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
84
  $wp_customize->add_control(
85
  'cta_title',
86
  array(
87
- 'label' => __('Title','avril'),
88
  'section' => 'cta_setting',
89
  'type' => 'textarea',
90
  )
@@ -94,7 +94,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
94
  $wp_customize->add_setting(
95
  'cta_description',
96
  array(
97
- 'default' => __('There are many variations of passages of lorem Ipsum available, but the majority','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_text',
100
  'transport' => $selective_refresh,
@@ -105,7 +105,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
105
  $wp_customize->add_control(
106
  'cta_description',
107
  array(
108
- 'label' => __('Description','avril'),
109
  'section' => 'cta_setting',
110
  'type' => 'textarea',
111
  )
@@ -125,7 +125,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
125
  'cta_btn_first',
126
  array(
127
  'type' => 'hidden',
128
- 'label' => __('Button','avril'),
129
  'section' => 'cta_setting',
130
  )
131
  );
@@ -133,7 +133,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
133
  $wp_customize->add_setting(
134
  'cta_btn_lbl1',
135
  array(
136
- 'default' => __('Purchase Now','avril'),
137
  'capability' => 'edit_theme_options',
138
  'sanitize_callback' => 'avril_sanitize_html',
139
  'transport' => $selective_refresh,
@@ -144,7 +144,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
144
  $wp_customize->add_control(
145
  'cta_btn_lbl1',
146
  array(
147
- 'label' => __('Button Label','avril'),
148
  'section' => 'cta_setting',
149
  'type' => 'text',
150
  )
@@ -162,7 +162,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
162
  $wp_customize->add_control(
163
  'cta_btn_link1',
164
  array(
165
- 'label' => __('Link','avril'),
166
  'section' => 'cta_setting',
167
  'type' => 'text',
168
  )
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'cta_setting', array(
9
+ 'title' => esc_html__( 'Call to Action Section', 'clever-fox' ),
10
  'priority' => 12,
11
  'panel' => 'avril_frontpage_sections',
12
  )
26
  'cta_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'cta_setting',
31
  )
32
  );
44
  $wp_customize->add_control(
45
  'hs_cta',
46
  array(
47
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
48
  'section' => 'cta_setting',
49
  'type' => 'checkbox'
50
  )
64
  'cta_contents',
65
  array(
66
  'type' => 'hidden',
67
+ 'label' => __('Content','clever-fox'),
68
  'section' => 'cta_setting',
69
  )
70
  );
73
  $wp_customize->add_setting(
74
  'cta_title',
75
  array(
76
+ 'default' => __('We work in partnership with all the major <span class="primary-color"><em>technology</em></span> solutions','clever-fox'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
  'transport' => $selective_refresh,
84
  $wp_customize->add_control(
85
  'cta_title',
86
  array(
87
+ 'label' => __('Title','clever-fox'),
88
  'section' => 'cta_setting',
89
  'type' => 'textarea',
90
  )
94
  $wp_customize->add_setting(
95
  'cta_description',
96
  array(
97
+ 'default' => __('There are many variations of passages of lorem Ipsum available, but the majority','clever-fox'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_text',
100
  'transport' => $selective_refresh,
105
  $wp_customize->add_control(
106
  'cta_description',
107
  array(
108
+ 'label' => __('Description','clever-fox'),
109
  'section' => 'cta_setting',
110
  'type' => 'textarea',
111
  )
125
  'cta_btn_first',
126
  array(
127
  'type' => 'hidden',
128
+ 'label' => __('Button','clever-fox'),
129
  'section' => 'cta_setting',
130
  )
131
  );
133
  $wp_customize->add_setting(
134
  'cta_btn_lbl1',
135
  array(
136
+ 'default' => __('Purchase Now','clever-fox'),
137
  'capability' => 'edit_theme_options',
138
  'sanitize_callback' => 'avril_sanitize_html',
139
  'transport' => $selective_refresh,
144
  $wp_customize->add_control(
145
  'cta_btn_lbl1',
146
  array(
147
+ 'label' => __('Button Label','clever-fox'),
148
  'section' => 'cta_setting',
149
  'type' => 'text',
150
  )
162
  $wp_customize->add_control(
163
  'cta_btn_link1',
164
  array(
165
+ 'label' => __('Link','clever-fox'),
166
  'section' => 'cta_setting',
167
  'type' => 'text',
168
  )
inc/avril/features/avril-features.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'feature_setting', array(
9
- 'title' => esc_html__( 'Features Section', 'avril' ),
10
  'priority' => 4,
11
  'panel' => 'avril_frontpage_sections',
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'feature_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','avril'),
30
  'section' => 'feature_setting',
31
  )
32
  );
@@ -44,7 +44,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
44
  $wp_customize->add_control(
45
  'hs_feature',
46
  array(
47
- 'label' => esc_html__( 'Hide / Show Section', 'avril' ),
48
  'section' => 'feature_setting',
49
  'type' => 'checkbox'
50
  )
@@ -64,7 +64,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
64
  'feature_headings',
65
  array(
66
  'type' => 'hidden',
67
- 'label' => __('Header','avril'),
68
  'section' => 'feature_setting',
69
  )
70
  );
@@ -73,7 +73,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
  $wp_customize->add_setting(
74
  'feature_title',
75
  array(
76
- 'default' => __('Technology from tomorrow','avril'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
  'transport' => $selective_refresh,
@@ -84,7 +84,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
84
  $wp_customize->add_control(
85
  'feature_title',
86
  array(
87
- 'label' => __('Title','avril'),
88
  'section' => 'feature_setting',
89
  'type' => 'text',
90
  )
@@ -94,7 +94,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
94
  $wp_customize->add_setting(
95
  'feature_subtitle',
96
  array(
97
- 'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Features</b> <b>Features</b><b>Features</b></span></span>','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
100
  'transport' => $selective_refresh,
@@ -105,7 +105,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
105
  $wp_customize->add_control(
106
  'feature_subtitle',
107
  array(
108
- 'label' => __('Subtitle','avril'),
109
  'section' => 'feature_setting',
110
  'type' => 'textarea',
111
  )
@@ -115,7 +115,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
115
  $wp_customize->add_setting(
116
  'feature_description',
117
  array(
118
- 'default' => __('Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.','avril'),
119
  'capability' => 'edit_theme_options',
120
  'sanitize_callback' => 'avril_sanitize_text',
121
  'transport' => $selective_refresh,
@@ -126,7 +126,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
126
  $wp_customize->add_control(
127
  'feature_description',
128
  array(
129
- 'label' => __('Description','avril'),
130
  'section' => 'feature_setting',
131
  'type' => 'textarea',
132
  )
@@ -147,7 +147,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
147
  'feature_contents_head',
148
  array(
149
  'type' => 'hidden',
150
- 'label' => __('Content','avril'),
151
  'section' => 'feature_setting',
152
  )
153
  );
@@ -169,10 +169,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
169
  new Avril_Repeater( $wp_customize,
170
  'features_contents',
171
  array(
172
- 'label' => esc_html__('Features','avril'),
173
  'section' => 'feature_setting',
174
- 'add_field_label' => esc_html__( 'Add New Feature', 'avril' ),
175
- 'item_name' => esc_html__( 'Feature', 'avril' ),
176
  'customizer_repeater_icon_control' => true,
177
  'customizer_repeater_title_control' => true,
178
  'customizer_repeater_text_control' => true,
@@ -188,18 +188,18 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank"
191
- style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
192
 
193
  <?php }elseif ( 'Avail' == $theme->name){ ?>
194
 
195
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank"
196
- style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
197
 
198
  <?php
199
  }else{
200
  ?>
201
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank"
202
- style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
203
  <?php
204
  }
205
  }
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'feature_setting', array(
9
+ 'title' => esc_html__( 'Features Section', 'clever-fox' ),
10
  'priority' => 4,
11
  'panel' => 'avril_frontpage_sections',
12
  )
26
  'feature_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'feature_setting',
31
  )
32
  );
44
  $wp_customize->add_control(
45
  'hs_feature',
46
  array(
47
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
48
  'section' => 'feature_setting',
49
  'type' => 'checkbox'
50
  )
64
  'feature_headings',
65
  array(
66
  'type' => 'hidden',
67
+ 'label' => __('Header','clever-fox'),
68
  'section' => 'feature_setting',
69
  )
70
  );
73
  $wp_customize->add_setting(
74
  'feature_title',
75
  array(
76
+ 'default' => __('Technology from tomorrow','clever-fox'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
  'transport' => $selective_refresh,
84
  $wp_customize->add_control(
85
  'feature_title',
86
  array(
87
+ 'label' => __('Title','clever-fox'),
88
  'section' => 'feature_setting',
89
  'type' => 'text',
90
  )
94
  $wp_customize->add_setting(
95
  'feature_subtitle',
96
  array(
97
+ 'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Features</b> <b>Features</b><b>Features</b></span></span>','clever-fox'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
100
  'transport' => $selective_refresh,
105
  $wp_customize->add_control(
106
  'feature_subtitle',
107
  array(
108
+ 'label' => __('Subtitle','clever-fox'),
109
  'section' => 'feature_setting',
110
  'type' => 'textarea',
111
  )
115
  $wp_customize->add_setting(
116
  'feature_description',
117
  array(
118
+ 'default' => __('Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.','clever-fox'),
119
  'capability' => 'edit_theme_options',
120
  'sanitize_callback' => 'avril_sanitize_text',
121
  'transport' => $selective_refresh,
126
  $wp_customize->add_control(
127
  'feature_description',
128
  array(
129
+ 'label' => __('Description','clever-fox'),
130
  'section' => 'feature_setting',
131
  'type' => 'textarea',
132
  )
147
  'feature_contents_head',
148
  array(
149
  'type' => 'hidden',
150
+ 'label' => __('Content','clever-fox'),
151
  'section' => 'feature_setting',
152
  )
153
  );
169
  new Avril_Repeater( $wp_customize,
170
  'features_contents',
171
  array(
172
+ 'label' => esc_html__('Features','clever-fox'),
173
  'section' => 'feature_setting',
174
+ 'add_field_label' => esc_html__( 'Add New Feature', 'clever-fox' ),
175
+ 'item_name' => esc_html__( 'Feature', 'clever-fox' ),
176
  'customizer_repeater_icon_control' => true,
177
  'customizer_repeater_title_control' => true,
178
  'customizer_repeater_text_control' => true,
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank"
191
+ style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
192
 
193
  <?php }elseif ( 'Avail' == $theme->name){ ?>
194
 
195
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank"
196
+ style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
197
 
198
  <?php
199
  }else{
200
  ?>
201
  <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank"
202
+ style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
203
  <?php
204
  }
205
  }
inc/avril/features/avril-header.php CHANGED
@@ -9,7 +9,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
9
  array(
10
  'priority' => 2,
11
  'capability' => 'edit_theme_options',
12
- 'title' => __('Header', 'avril'),
13
  )
14
  );
15
 
@@ -31,7 +31,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
31
  $wp_customize->add_control(
32
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'logo_width',
33
  array(
34
- 'label' => __( 'Logo Width', 'avril' ),
35
  'section' => 'title_tagline',
36
  'input_attrs' => array(
37
  'min' => 0,
@@ -50,7 +50,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
50
  'above_header',
51
  array(
52
  'priority' => 2,
53
- 'title' => __('Above Header','avril'),
54
  'panel' => 'header_section',
55
  )
56
  );
@@ -70,7 +70,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
70
  'hdr_top_social',
71
  array(
72
  'type' => 'hidden',
73
- 'label' => __('Social Icons','avril'),
74
  'section' => 'above_header',
75
 
76
  )
@@ -90,7 +90,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
90
  $wp_customize->add_control(
91
  'hide_show_social_icon',
92
  array(
93
- 'label' => esc_html__( 'Hide/Show', 'avril' ),
94
  'section' => 'above_header',
95
  'type' => 'checkbox'
96
  )
@@ -111,10 +111,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
111
  new AVRIL_Repeater( $wp_customize,
112
  'social_icons',
113
  array(
114
- 'label' => esc_html__('Social Icons','avril'),
115
  'section' => 'above_header',
116
- 'add_field_label' => esc_html__( 'Add New Social', 'avril' ),
117
- 'item_name' => esc_html__( 'Social', 'avril' ),
118
  'customizer_repeater_icon_control' => true,
119
  'customizer_repeater_link_control' => true,
120
  )
@@ -127,16 +127,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
127
  $theme = wp_get_theme(); // gets the current theme
128
  if ( 'Aera' == $theme->name){
129
  ?>
130
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
131
 
132
  <?php }elseif ( 'Avail' == $theme->name){ ?>
133
 
134
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
135
 
136
  <?php
137
  }else{
138
  ?>
139
- <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
140
  <?php
141
  }
142
  }
@@ -171,7 +171,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
171
  'hdr_top_mbl',
172
  array(
173
  'type' => 'hidden',
174
- 'label' => __('Phone','avril'),
175
  'section' => 'above_header',
176
 
177
  )
@@ -190,7 +190,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
190
  $wp_customize->add_control(
191
  'hide_show_mbl_details',
192
  array(
193
- 'label' => esc_html__( 'Hide/Show', 'avril' ),
194
  'section' => 'above_header',
195
  'type' => 'checkbox'
196
  )
@@ -208,7 +208,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
208
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
209
  'tlh_mobile_icon',
210
  array(
211
- 'label' => __('Icon','avril'),
212
  'section' => 'above_header',
213
  'iconset' => 'fa',
214
 
@@ -219,7 +219,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
219
  $wp_customize->add_setting(
220
  'tlh_mobile_title',
221
  array(
222
- 'default' => __('Online 24x7','avril'),
223
  'sanitize_callback' => 'avril_sanitize_text',
224
  'transport' => $selective_refresh,
225
  'capability' => 'edit_theme_options',
@@ -230,7 +230,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
230
  $wp_customize->add_control(
231
  'tlh_mobile_title',
232
  array(
233
- 'label' => __('Title','avril'),
234
  'section' => 'above_header',
235
  'type' => 'text'
236
  )
@@ -240,7 +240,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
240
  $wp_customize->add_setting(
241
  'tlh_mobile_sbtitle',
242
  array(
243
- 'default' => __('+1-0120-400-00-00','avril'),
244
  'sanitize_callback' => 'avril_sanitize_text',
245
  'capability' => 'edit_theme_options',
246
  'transport' => $selective_refresh,
@@ -251,7 +251,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
251
  $wp_customize->add_control(
252
  'tlh_mobile_sbtitle',
253
  array(
254
- 'label' => __('Subtitle','avril'),
255
  'section' => 'above_header',
256
  'type' => 'text'
257
  )
@@ -270,7 +270,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
270
  'hdr_top_email',
271
  array(
272
  'type' => 'hidden',
273
- 'label' => __('Email','avril'),
274
  'section' => 'above_header',
275
  )
276
  );
@@ -288,7 +288,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
288
  $wp_customize->add_control(
289
  'hide_show_email_details',
290
  array(
291
- 'label' => esc_html__( 'Hide/Show', 'avril' ),
292
  'section' => 'above_header',
293
  'type' => 'checkbox'
294
  )
@@ -307,7 +307,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
307
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
308
  'tlh_email_icon',
309
  array(
310
- 'label' => __('Icon','avril'),
311
  'section' => 'above_header',
312
  'iconset' => 'fa',
313
 
@@ -317,7 +317,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
317
  $wp_customize->add_setting(
318
  'tlh_email_title',
319
  array(
320
- 'default' => __('Email Us','avril'),
321
  'sanitize_callback' => 'avril_sanitize_text',
322
  'capability' => 'edit_theme_options',
323
  'transport' => $selective_refresh,
@@ -328,7 +328,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
328
  $wp_customize->add_control(
329
  'tlh_email_title',
330
  array(
331
- 'label' => __('Title','avril'),
332
  'section' => 'above_header',
333
  'type' => 'text'
334
  )
@@ -338,7 +338,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
338
  $wp_customize->add_setting(
339
  'tlh_email_sbtitle',
340
  array(
341
- 'default' => __('email@email.com','avril'),
342
  'sanitize_callback' => 'avril_sanitize_text',
343
  'transport' => $selective_refresh,
344
  'capability' => 'edit_theme_options',
@@ -349,7 +349,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
349
  $wp_customize->add_control(
350
  'tlh_email_sbtitle',
351
  array(
352
- 'label' => __('Subtitle','avril'),
353
  'section' => 'above_header',
354
  'type' => 'text'
355
  )
@@ -369,7 +369,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
369
  'hdr_top_contact',
370
  array(
371
  'type' => 'hidden',
372
- 'label' => __('Contact','avril'),
373
  'section' => 'above_header',
374
  )
375
  );
@@ -387,7 +387,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
387
  $wp_customize->add_control(
388
  'hide_show_cntct_details',
389
  array(
390
- 'label' => esc_html__( 'Hide/Show', 'avril' ),
391
  'section' => 'above_header',
392
  'type' => 'checkbox'
393
  )
@@ -406,7 +406,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
406
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
407
  'tlh_contct_icon',
408
  array(
409
- 'label' => __('Icon','avril'),
410
  'section' => 'above_header',
411
  'iconset' => 'fa',
412
 
@@ -416,7 +416,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
416
  $wp_customize->add_setting(
417
  'tlh_contact_title',
418
  array(
419
- 'default' => __('8:00AM - 6:00PM','avril'),
420
  'sanitize_callback' => 'avril_sanitize_text',
421
  'transport' => $selective_refresh,
422
  'capability' => 'edit_theme_options',
@@ -427,7 +427,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
427
  $wp_customize->add_control(
428
  'tlh_contact_title',
429
  array(
430
- 'label' => __('Title','avril'),
431
  'section' => 'above_header',
432
  'type' => 'text'
433
  )
@@ -437,7 +437,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
437
  $wp_customize->add_setting(
438
  'tlh_contact_sbtitle',
439
  array(
440
- 'default' => __('Monday to Saturday','avril'),
441
  'sanitize_callback' => 'avril_sanitize_text',
442
  'transport' => $selective_refresh,
443
  'capability' => 'edit_theme_options',
@@ -448,7 +448,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
448
  $wp_customize->add_control(
449
  'tlh_contact_sbtitle',
450
  array(
451
- 'label' => __('Subtitle','avril'),
452
  'section' => 'above_header',
453
  'type' => 'text'
454
  )
9
  array(
10
  'priority' => 2,
11
  'capability' => 'edit_theme_options',
12
+ 'title' => __('Header', 'clever-fox'),
13
  )
14
  );
15
 
31
  $wp_customize->add_control(
32
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'logo_width',
33
  array(
34
+ 'label' => __( 'Logo Width', 'clever-fox' ),
35
  'section' => 'title_tagline',
36
  'input_attrs' => array(
37
  'min' => 0,
50
  'above_header',
51
  array(
52
  'priority' => 2,
53
+ 'title' => __('Above Header','clever-fox'),
54
  'panel' => 'header_section',
55
  )
56
  );
70
  'hdr_top_social',
71
  array(
72
  'type' => 'hidden',
73
+ 'label' => __('Social Icons','clever-fox'),
74
  'section' => 'above_header',
75
 
76
  )
90
  $wp_customize->add_control(
91
  'hide_show_social_icon',
92
  array(
93
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
94
  'section' => 'above_header',
95
  'type' => 'checkbox'
96
  )
111
  new AVRIL_Repeater( $wp_customize,
112
  'social_icons',
113
  array(
114
+ 'label' => esc_html__('Social Icons','clever-fox'),
115
  'section' => 'above_header',
116
+ 'add_field_label' => esc_html__( 'Add New Social', 'clever-fox' ),
117
+ 'item_name' => esc_html__( 'Social', 'clever-fox' ),
118
  'customizer_repeater_icon_control' => true,
119
  'customizer_repeater_link_control' => true,
120
  )
127
  $theme = wp_get_theme(); // gets the current theme
128
  if ( 'Aera' == $theme->name){
129
  ?>
130
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
131
 
132
  <?php }elseif ( 'Avail' == $theme->name){ ?>
133
 
134
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
135
 
136
  <?php
137
  }else{
138
  ?>
139
+ <a class="customizer_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
140
  <?php
141
  }
142
  }
171
  'hdr_top_mbl',
172
  array(
173
  'type' => 'hidden',
174
+ 'label' => __('Phone','clever-fox'),
175
  'section' => 'above_header',
176
 
177
  )
190
  $wp_customize->add_control(
191
  'hide_show_mbl_details',
192
  array(
193
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
194
  'section' => 'above_header',
195
  'type' => 'checkbox'
196
  )
208
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
209
  'tlh_mobile_icon',
210
  array(
211
+ 'label' => __('Icon','clever-fox'),
212
  'section' => 'above_header',
213
  'iconset' => 'fa',
214
 
219
  $wp_customize->add_setting(
220
  'tlh_mobile_title',
221
  array(
222
+ 'default' => __('Online 24x7','clever-fox'),
223
  'sanitize_callback' => 'avril_sanitize_text',
224
  'transport' => $selective_refresh,
225
  'capability' => 'edit_theme_options',
230
  $wp_customize->add_control(
231
  'tlh_mobile_title',
232
  array(
233
+ 'label' => __('Title','clever-fox'),
234
  'section' => 'above_header',
235
  'type' => 'text'
236
  )
240
  $wp_customize->add_setting(
241
  'tlh_mobile_sbtitle',
242
  array(
243
+ 'default' => __('+1-0120-400-00-00','clever-fox'),
244
  'sanitize_callback' => 'avril_sanitize_text',
245
  'capability' => 'edit_theme_options',
246
  'transport' => $selective_refresh,
251
  $wp_customize->add_control(
252
  'tlh_mobile_sbtitle',
253
  array(
254
+ 'label' => __('Subtitle','clever-fox'),
255
  'section' => 'above_header',
256
  'type' => 'text'
257
  )
270
  'hdr_top_email',
271
  array(
272
  'type' => 'hidden',
273
+ 'label' => __('Email','clever-fox'),
274
  'section' => 'above_header',
275
  )
276
  );
288
  $wp_customize->add_control(
289
  'hide_show_email_details',
290
  array(
291
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
292
  'section' => 'above_header',
293
  'type' => 'checkbox'
294
  )
307
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
308
  'tlh_email_icon',
309
  array(
310
+ 'label' => __('Icon','clever-fox'),
311
  'section' => 'above_header',
312
  'iconset' => 'fa',
313
 
317
  $wp_customize->add_setting(
318
  'tlh_email_title',
319
  array(
320
+ 'default' => __('Email Us','clever-fox'),
321
  'sanitize_callback' => 'avril_sanitize_text',
322
  'capability' => 'edit_theme_options',
323
  'transport' => $selective_refresh,
328
  $wp_customize->add_control(
329
  'tlh_email_title',
330
  array(
331
+ 'label' => __('Title','clever-fox'),
332
  'section' => 'above_header',
333
  'type' => 'text'
334
  )
338
  $wp_customize->add_setting(
339
  'tlh_email_sbtitle',
340
  array(
341
+ 'default' => __('email@email.com','clever-fox'),
342
  'sanitize_callback' => 'avril_sanitize_text',
343
  'transport' => $selective_refresh,
344
  'capability' => 'edit_theme_options',
349
  $wp_customize->add_control(
350
  'tlh_email_sbtitle',
351
  array(
352
+ 'label' => __('Subtitle','clever-fox'),
353
  'section' => 'above_header',
354
  'type' => 'text'
355
  )
369
  'hdr_top_contact',
370
  array(
371
  'type' => 'hidden',
372
+ 'label' => __('Contact','clever-fox'),
373
  'section' => 'above_header',
374
  )
375
  );
387
  $wp_customize->add_control(
388
  'hide_show_cntct_details',
389
  array(
390
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
391
  'section' => 'above_header',
392
  'type' => 'checkbox'
393
  )
406
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
407
  'tlh_contct_icon',
408
  array(
409
+ 'label' => __('Icon','clever-fox'),
410
  'section' => 'above_header',
411
  'iconset' => 'fa',
412
 
416
  $wp_customize->add_setting(
417
  'tlh_contact_title',
418
  array(
419
+ 'default' => __('8:00AM - 6:00PM','clever-fox'),
420
  'sanitize_callback' => 'avril_sanitize_text',
421
  'transport' => $selective_refresh,
422
  'capability' => 'edit_theme_options',
427
  $wp_customize->add_control(
428
  'tlh_contact_title',
429
  array(
430
+ 'label' => __('Title','clever-fox'),
431
  'section' => 'above_header',
432
  'type' => 'text'
433
  )
437
  $wp_customize->add_setting(
438
  'tlh_contact_sbtitle',
439
  array(
440
+ 'default' => __('Monday to Saturday','clever-fox'),
441
  'sanitize_callback' => 'avril_sanitize_text',
442
  'transport' => $selective_refresh,
443
  'capability' => 'edit_theme_options',
448
  $wp_customize->add_control(
449
  'tlh_contact_sbtitle',
450
  array(
451
+ 'label' => __('Subtitle','clever-fox'),
452
  'section' => 'above_header',
453
  'type' => 'text'
454
  )
inc/avril/features/avril-info.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
- 'title' => esc_html__( 'Info Section', 'avril' ),
11
  'panel' => 'avril_frontpage_sections',
12
  'priority' => 2,
13
  )
@@ -27,7 +27,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
27
  'info_setting_head',
28
  array(
29
  'type' => 'hidden',
30
- 'label' => __('Setting','avril'),
31
  'section' => 'info_setting',
32
  )
33
  );
@@ -45,7 +45,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
45
  $wp_customize->add_control(
46
  'hs_info',
47
  array(
48
- 'label' => esc_html__( 'Hide / Show Section', 'avril' ),
49
  'section' => 'info_setting',
50
  'type' => 'checkbox'
51
  )
@@ -69,7 +69,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
69
  'info_first_settings',
70
  array(
71
  'type' => 'hidden',
72
- 'label' => __('Info First','avril'),
73
  'section' => 'info_setting',
74
  )
75
  );
@@ -88,7 +88,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
88
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
89
  'info_first_icon_setting',
90
  array(
91
- 'label' => __('Icon','avril'),
92
  'section' => 'info_setting',
93
  'iconset' => 'fa',
94
  'settings' => 'info_first_icon_setting',
@@ -100,7 +100,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
100
  $wp_customize->add_setting(
101
  'info_title',
102
  array(
103
- 'default' => __('Opening Hours','avril'),
104
  'capability' => 'edit_theme_options',
105
  'sanitize_callback' => 'sanitize_text_field',
106
  'transport' => $selective_refresh,
@@ -111,7 +111,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
111
  $wp_customize->add_control(
112
  'info_title',
113
  array(
114
- 'label' => __('Title','avril'),
115
  'section' => 'info_setting',
116
  'settings'=> 'info_title',
117
  'type' => 'text',
@@ -122,7 +122,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
122
  $wp_customize->add_setting(
123
  'info_description',
124
  array(
125
- 'default' => __('Monday-Friday: 09:00-22:00','avril'),
126
  'capability' => 'edit_theme_options',
127
  'sanitize_callback' => 'sanitize_text_field',
128
  'transport' => $selective_refresh,
@@ -133,7 +133,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
133
  $wp_customize->add_control(
134
  'info_description',
135
  array(
136
- 'label' => __('Description','avril'),
137
  'section' => 'info_setting',
138
  'settings'=> 'info_description',
139
  'type' => 'text',
@@ -144,7 +144,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
144
  $wp_customize->add_setting(
145
  'info_link',
146
  array(
147
- 'default' => __('#','avril'),
148
  'capability' => 'edit_theme_options',
149
  'sanitize_callback' => 'avril_sanitize_url',
150
  'priority' => 9,
@@ -154,7 +154,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
154
  $wp_customize->add_control(
155
  'info_link',
156
  array(
157
- 'label' => __('Link','avril'),
158
  'section' => 'info_setting',
159
  'type' => 'text',
160
  )
@@ -176,7 +176,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
176
  'info2_settings',
177
  array(
178
  'type' => 'hidden',
179
- 'label' => __('Info Second','avril'),
180
  'section' => 'info_setting',
181
  )
182
  );
@@ -195,7 +195,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
195
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
196
  'info_second_icon_setting',
197
  array(
198
- 'label' => __('Icon','avril'),
199
  'section' => 'info_setting',
200
  'iconset' => 'fa',
201
  'settings' => 'info_second_icon_setting',
@@ -207,7 +207,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
207
  $wp_customize->add_setting(
208
  'info_title2',
209
  array(
210
- 'default' => __('Our Location','avril'),
211
  'capability' => 'edit_theme_options',
212
  'sanitize_callback' => 'sanitize_text_field',
213
  'transport' => $selective_refresh,
@@ -218,7 +218,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
218
  $wp_customize->add_control(
219
  'info_title2',
220
  array(
221
- 'label' => __('Title','avril'),
222
  'section' => 'info_setting',
223
  'settings'=> 'info_title2',
224
  'type' => 'text',
@@ -229,7 +229,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
229
  $wp_customize->add_setting(
230
  'info_description2',
231
  array(
232
- 'default' => __('California Floor, USA 1208','avril'),
233
  'capability' => 'edit_theme_options',
234
  'sanitize_callback' => 'sanitize_text_field',
235
  'transport' => $selective_refresh,
@@ -240,7 +240,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
240
  $wp_customize->add_control(
241
  'info_description2',
242
  array(
243
- 'label' => __('Description','avril'),
244
  'section' => 'info_setting',
245
  'settings'=> 'info_description2',
246
  'type' => 'text',
@@ -251,7 +251,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
251
  $wp_customize->add_setting(
252
  'info_link2',
253
  array(
254
- 'default' => __('#','avril'),
255
  'capability' => 'edit_theme_options',
256
  'sanitize_callback' => 'avril_sanitize_url',
257
  'priority' => 17,
@@ -261,7 +261,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
261
  $wp_customize->add_control(
262
  'info_link2',
263
  array(
264
- 'label' => __('Link','avril'),
265
  'section' => 'info_setting',
266
  'type' => 'text',
267
  )
@@ -283,7 +283,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
283
  'info3_settings',
284
  array(
285
  'type' => 'hidden',
286
- 'label' => __('Info Third','avril'),
287
  'section' => 'info_setting',
288
  )
289
  );
@@ -302,7 +302,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
302
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
303
  'info_third_icon_setting',
304
  array(
305
- 'label' => __('Icon','avril'),
306
  'section' => 'info_setting',
307
  'iconset' => 'fa',
308
  'settings' => 'info_third_icon_setting',
@@ -314,7 +314,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
314
  $wp_customize->add_setting(
315
  'info_title3',
316
  array(
317
- 'default' => __('Booking Now','avril'),
318
  'capability' => 'edit_theme_options',
319
  'sanitize_callback' => 'sanitize_text_field',
320
  'transport' => $selective_refresh,
@@ -325,7 +325,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
325
  $wp_customize->add_control(
326
  'info_title3',
327
  array(
328
- 'label' => __('Title','avril'),
329
  'section' => 'info_setting',
330
  'settings'=> 'info_title3',
331
  'type' => 'text',
@@ -336,7 +336,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
336
  $wp_customize->add_setting(
337
  'info_description3',
338
  array(
339
- 'default' => __('+00-245-152-5500','avril'),
340
  'capability' => 'edit_theme_options',
341
  'sanitize_callback' => 'sanitize_text_field',
342
  'transport' => $selective_refresh,
@@ -347,7 +347,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
347
  $wp_customize->add_control(
348
  'info_description3',
349
  array(
350
- 'label' => __('Description','avril'),
351
  'section' => 'info_setting',
352
  'settings'=> 'info_description3',
353
  'type' => 'text',
@@ -358,7 +358,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
358
  $wp_customize->add_setting(
359
  'info_link3',
360
  array(
361
- 'default' => __('#','avril'),
362
  'capability' => 'edit_theme_options',
363
  'sanitize_callback' => 'avril_sanitize_url',
364
  'priority' => 27,
@@ -368,7 +368,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
368
  $wp_customize->add_control(
369
  'info_link3',
370
  array(
371
- 'label' => __('Link','avril'),
372
  'section' => 'info_setting',
373
  'type' => 'text',
374
  )
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
+ 'title' => esc_html__( 'Info Section', 'clever-fox' ),
11
  'panel' => 'avril_frontpage_sections',
12
  'priority' => 2,
13
  )
27
  'info_setting_head',
28
  array(
29
  'type' => 'hidden',
30
+ 'label' => __('Setting','clever-fox'),
31
  'section' => 'info_setting',
32
  )
33
  );
45
  $wp_customize->add_control(
46
  'hs_info',
47
  array(
48
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
49
  'section' => 'info_setting',
50
  'type' => 'checkbox'
51
  )
69
  'info_first_settings',
70
  array(
71
  'type' => 'hidden',
72
+ 'label' => __('Info First','clever-fox'),
73
  'section' => 'info_setting',
74
  )
75
  );
88
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
89
  'info_first_icon_setting',
90
  array(
91
+ 'label' => __('Icon','clever-fox'),
92
  'section' => 'info_setting',
93
  'iconset' => 'fa',
94
  'settings' => 'info_first_icon_setting',
100
  $wp_customize->add_setting(
101
  'info_title',
102
  array(
103
+ 'default' => __('Opening Hours','clever-fox'),
104
  'capability' => 'edit_theme_options',
105
  'sanitize_callback' => 'sanitize_text_field',
106
  'transport' => $selective_refresh,
111
  $wp_customize->add_control(
112
  'info_title',
113
  array(
114
+ 'label' => __('Title','clever-fox'),
115
  'section' => 'info_setting',
116
  'settings'=> 'info_title',
117
  'type' => 'text',
122
  $wp_customize->add_setting(
123
  'info_description',
124
  array(
125
+ 'default' => __('Monday-Friday: 09:00-22:00','clever-fox'),
126
  'capability' => 'edit_theme_options',
127
  'sanitize_callback' => 'sanitize_text_field',
128
  'transport' => $selective_refresh,
133
  $wp_customize->add_control(
134
  'info_description',
135
  array(
136
+ 'label' => __('Description','clever-fox'),
137
  'section' => 'info_setting',
138
  'settings'=> 'info_description',
139
  'type' => 'text',
144
  $wp_customize->add_setting(
145
  'info_link',
146
  array(
147
+ 'default' => __('#','clever-fox'),
148
  'capability' => 'edit_theme_options',
149
  'sanitize_callback' => 'avril_sanitize_url',
150
  'priority' => 9,
154
  $wp_customize->add_control(
155
  'info_link',
156
  array(
157
+ 'label' => __('Link','clever-fox'),
158
  'section' => 'info_setting',
159
  'type' => 'text',
160
  )
176
  'info2_settings',
177
  array(
178
  'type' => 'hidden',
179
+ 'label' => __('Info Second','clever-fox'),
180
  'section' => 'info_setting',
181
  )
182
  );
195
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
196
  'info_second_icon_setting',
197
  array(
198
+ 'label' => __('Icon','clever-fox'),
199
  'section' => 'info_setting',
200
  'iconset' => 'fa',
201
  'settings' => 'info_second_icon_setting',
207
  $wp_customize->add_setting(
208
  'info_title2',
209
  array(
210
+ 'default' => __('Our Location','clever-fox'),
211
  'capability' => 'edit_theme_options',
212
  'sanitize_callback' => 'sanitize_text_field',
213
  'transport' => $selective_refresh,
218
  $wp_customize->add_control(
219
  'info_title2',
220
  array(
221
+ 'label' => __('Title','clever-fox'),
222
  'section' => 'info_setting',
223
  'settings'=> 'info_title2',
224
  'type' => 'text',
229
  $wp_customize->add_setting(
230
  'info_description2',
231
  array(
232
+ 'default' => __('California Floor, USA 1208','clever-fox'),
233
  'capability' => 'edit_theme_options',
234
  'sanitize_callback' => 'sanitize_text_field',
235
  'transport' => $selective_refresh,
240
  $wp_customize->add_control(
241
  'info_description2',
242
  array(
243
+ 'label' => __('Description','clever-fox'),
244
  'section' => 'info_setting',
245
  'settings'=> 'info_description2',
246
  'type' => 'text',
251
  $wp_customize->add_setting(
252
  'info_link2',
253
  array(
254
+ 'default' => __('#','clever-fox'),
255
  'capability' => 'edit_theme_options',
256
  'sanitize_callback' => 'avril_sanitize_url',
257
  'priority' => 17,
261
  $wp_customize->add_control(
262
  'info_link2',
263
  array(
264
+ 'label' => __('Link','clever-fox'),
265
  'section' => 'info_setting',
266
  'type' => 'text',
267
  )
283
  'info3_settings',
284
  array(
285
  'type' => 'hidden',
286
+ 'label' => __('Info Third','clever-fox'),
287
  'section' => 'info_setting',
288
  )
289
  );
302
  $wp_customize->add_control(new Avril_Icon_Picker_Control($wp_customize,
303
  'info_third_icon_setting',
304
  array(
305
+ 'label' => __('Icon','clever-fox'),
306
  'section' => 'info_setting',
307
  'iconset' => 'fa',
308
  'settings' => 'info_third_icon_setting',
314
  $wp_customize->add_setting(
315
  'info_title3',
316
  array(
317
+ 'default' => __('Booking Now','clever-fox'),
318
  'capability' => 'edit_theme_options',
319
  'sanitize_callback' => 'sanitize_text_field',
320
  'transport' => $selective_refresh,
325
  $wp_customize->add_control(
326
  'info_title3',
327
  array(
328
+ 'label' => __('Title','clever-fox'),
329
  'section' => 'info_setting',
330
  'settings'=> 'info_title3',
331
  'type' => 'text',
336
  $wp_customize->add_setting(
337
  'info_description3',
338
  array(
339
+ 'default' => __('+00-245-152-5500','clever-fox'),
340
  'capability' => 'edit_theme_options',
341
  'sanitize_callback' => 'sanitize_text_field',
342
  'transport' => $selective_refresh,
347
  $wp_customize->add_control(
348
  'info_description3',
349
  array(
350
+ 'label' => __('Description','clever-fox'),
351
  'section' => 'info_setting',
352
  'settings'=> 'info_description3',
353
  'type' => 'text',
358
  $wp_customize->add_setting(
359
  'info_link3',
360
  array(
361
+ 'default' => __('#','clever-fox'),
362
  'capability' => 'edit_theme_options',
363
  'sanitize_callback' => 'avril_sanitize_url',
364
  'priority' => 27,
368
  $wp_customize->add_control(
369
  'info_link3',
370
  array(
371
+ 'label' => __('Link','clever-fox'),
372
  'section' => 'info_setting',
373
  'type' => 'text',
374
  )
inc/avril/features/avril-service.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'service_setting', array(
9
- 'title' => esc_html__( 'Service Section', 'avril' ),
10
  'priority' => 3,
11
  'panel' => 'avril_frontpage_sections',
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'service_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','avril'),
30
  'section' => 'service_setting',
31
  )
32
  );
@@ -44,7 +44,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
44
  $wp_customize->add_control(
45
  'hs_service',
46
  array(
47
- 'label' => esc_html__( 'Hide / Show Section', 'avril' ),
48
  'section' => 'service_setting',
49
  'type' => 'checkbox'
50
  )
@@ -64,7 +64,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
64
  'service_headings',
65
  array(
66
  'type' => 'hidden',
67
- 'label' => __('Header','avril'),
68
  'section' => 'service_setting',
69
  )
70
  );
@@ -73,7 +73,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
  $wp_customize->add_setting(
74
  'service_title',
75
  array(
76
- 'default' => __('Technology from tomorrow','avril'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
  'transport' => $selective_refresh,
@@ -84,7 +84,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
84
  $wp_customize->add_control(
85
  'service_title',
86
  array(
87
- 'label' => __('Title','avril'),
88
  'section' => 'service_setting',
89
  'type' => 'text',
90
  )
@@ -94,7 +94,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
94
  $wp_customize->add_setting(
95
  'service_subtitle',
96
  array(
97
- 'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Services</b> <b>Services</b><b>Services</b></span></span>','avril'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
100
  'transport' => $selective_refresh,
@@ -105,7 +105,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
105
  $wp_customize->add_control(
106
  'service_subtitle',
107
  array(
108
- 'label' => __('Subtitle','avril'),
109
  'section' => 'service_setting',
110
  'type' => 'textarea',
111
  )
@@ -115,7 +115,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
115
  $wp_customize->add_setting(
116
  'service_description',
117
  array(
118
- 'default' => __('Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.','avril'),
119
  'capability' => 'edit_theme_options',
120
  'sanitize_callback' => 'avril_sanitize_text',
121
  'transport' => $selective_refresh,
@@ -126,7 +126,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
126
  $wp_customize->add_control(
127
  'service_description',
128
  array(
129
- 'label' => __('Description','avril'),
130
  'section' => 'service_setting',
131
  'type' => 'textarea',
132
  )
@@ -147,7 +147,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
147
  'service_content_head',
148
  array(
149
  'type' => 'hidden',
150
- 'label' => __('Content','avril'),
151
  'section' => 'service_setting',
152
  )
153
  );
@@ -169,10 +169,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
169
  new Avril_Repeater( $wp_customize,
170
  'service_contents',
171
  array(
172
- 'label' => esc_html__('Service','avril'),
173
  'section' => 'service_setting',
174
- 'add_field_label' => esc_html__( 'Add New Service', 'avril' ),
175
- 'item_name' => esc_html__( 'Service', 'avril' ),
176
  'customizer_repeater_icon_control' => true,
177
  'customizer_repeater_title_control' => true,
178
  'customizer_repeater_text_control' => true,
@@ -187,16 +187,16 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
187
  $theme = wp_get_theme(); // gets the current theme
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
191
 
192
  <?php }elseif ( 'Avail' == $theme->name){ ?>
193
 
194
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
195
 
196
  <?php
197
  }else{
198
  ?>
199
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
200
  <?php
201
  }
202
  }
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'service_setting', array(
9
+ 'title' => esc_html__( 'Service Section', 'clever-fox' ),
10
  'priority' => 3,
11
  'panel' => 'avril_frontpage_sections',
12
  )
26
  'service_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'service_setting',
31
  )
32
  );
44
  $wp_customize->add_control(
45
  'hs_service',
46
  array(
47
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
48
  'section' => 'service_setting',
49
  'type' => 'checkbox'
50
  )
64
  'service_headings',
65
  array(
66
  'type' => 'hidden',
67
+ 'label' => __('Header','clever-fox'),
68
  'section' => 'service_setting',
69
  )
70
  );
73
  $wp_customize->add_setting(
74
  'service_title',
75
  array(
76
+ 'default' => __('Technology from tomorrow','clever-fox'),
77
  'capability' => 'edit_theme_options',
78
  'sanitize_callback' => 'avril_sanitize_html',
79
  'transport' => $selective_refresh,
84
  $wp_customize->add_control(
85
  'service_title',
86
  array(
87
+ 'label' => __('Title','clever-fox'),
88
  'section' => 'service_setting',
89
  'type' => 'text',
90
  )
94
  $wp_customize->add_setting(
95
  'service_subtitle',
96
  array(
97
+ 'default' => __('Outstanding <span class="av-heading animate-7"><span class="av-text-wrapper"><b class="is-show">Services</b> <b>Services</b><b>Services</b></span></span>','clever-fox'),
98
  'capability' => 'edit_theme_options',
99
  'sanitize_callback' => 'avril_sanitize_html',
100
  'transport' => $selective_refresh,
105
  $wp_customize->add_control(
106
  'service_subtitle',
107
  array(
108
+ 'label' => __('Subtitle','clever-fox'),
109
  'section' => 'service_setting',
110
  'type' => 'textarea',
111
  )
115
  $wp_customize->add_setting(
116
  'service_description',
117
  array(
118
+ 'default' => __('Lorem Ipsum is simply dummy of printing and typesetting and industry. Lorem Ipsum been.','clever-fox'),
119
  'capability' => 'edit_theme_options',
120
  'sanitize_callback' => 'avril_sanitize_text',
121
  'transport' => $selective_refresh,
126
  $wp_customize->add_control(
127
  'service_description',
128
  array(
129
+ 'label' => __('Description','clever-fox'),
130
  'section' => 'service_setting',
131
  'type' => 'textarea',
132
  )
147
  'service_content_head',
148
  array(
149
  'type' => 'hidden',
150
+ 'label' => __('Content','clever-fox'),
151
  'section' => 'service_setting',
152
  )
153
  );
169
  new Avril_Repeater( $wp_customize,
170
  'service_contents',
171
  array(
172
+ 'label' => esc_html__('Service','clever-fox'),
173
  'section' => 'service_setting',
174
+ 'add_field_label' => esc_html__( 'Add New Service', 'clever-fox' ),
175
+ 'item_name' => esc_html__( 'Service', 'clever-fox' ),
176
  'customizer_repeater_icon_control' => true,
177
  'customizer_repeater_title_control' => true,
178
  'customizer_repeater_text_control' => true,
187
  $theme = wp_get_theme(); // gets the current theme
188
  if ( 'Aera' == $theme->name){
189
  ?>
190
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/aera-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
191
 
192
  <?php }elseif ( 'Avail' == $theme->name){ ?>
193
 
194
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avail-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
195
 
196
  <?php
197
  }else{
198
  ?>
199
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
200
  <?php
201
  }
202
  }
inc/avril/features/avril-slider.php CHANGED
@@ -3,7 +3,7 @@ function avril_slider_setting( $wp_customize ) {
3
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
  $wp_customize->add_section(
5
  'slider_setting', array(
6
- 'title' => esc_html__( 'Slider Section', 'avril' ),
7
  'panel' => 'avril_frontpage_sections',
8
  'priority' => 1,
9
  )
@@ -23,7 +23,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
23
  'slider_content_head',
24
  array(
25
  'type' => 'hidden',
26
- 'label' => __('Contents','avril'),
27
  'section' => 'slider_setting',
28
  )
29
  );
@@ -44,10 +44,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
44
  new Avril_Repeater( $wp_customize,
45
  'slider',
46
  array(
47
- 'label' => esc_html__('Slide','avril'),
48
  'section' => 'slider_setting',
49
- 'add_field_label' => esc_html__( 'Add New Slider', 'avril' ),
50
- 'item_name' => esc_html__( 'Slider', 'avril' ),
51
 
52
 
53
  'customizer_repeater_icon_control' => false,
@@ -67,7 +67,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
67
  class Avril_slider__section_upgrade extends WP_Customize_Control {
68
  public function render_content() {
69
  ?>
70
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','avril'); ?></a>
71
  <?php
72
  }
73
  }
@@ -102,7 +102,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
102
  $wp_customize->add_control(
103
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'slider_opacity',
104
  array(
105
- 'label' => __( 'opacity', 'avril' ),
106
  'section' => 'slider_setting',
107
  'input_attrs' => array(
108
  'min' => 0,
3
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
  $wp_customize->add_section(
5
  'slider_setting', array(
6
+ 'title' => esc_html__( 'Slider Section', 'clever-fox' ),
7
  'panel' => 'avril_frontpage_sections',
8
  'priority' => 1,
9
  )
23
  'slider_content_head',
24
  array(
25
  'type' => 'hidden',
26
+ 'label' => __('Contents','clever-fox'),
27
  'section' => 'slider_setting',
28
  )
29
  );
44
  new Avril_Repeater( $wp_customize,
45
  'slider',
46
  array(
47
+ 'label' => esc_html__('Slide','clever-fox'),
48
  'section' => 'slider_setting',
49
+ 'add_field_label' => esc_html__( 'Add New Slider', 'clever-fox' ),
50
+ 'item_name' => esc_html__( 'Slider', 'clever-fox' ),
51
 
52
 
53
  'customizer_repeater_icon_control' => false,
67
  class Avril_slider__section_upgrade extends WP_Customize_Control {
68
  public function render_content() {
69
  ?>
70
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/avril-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
71
  <?php
72
  }
73
  }
102
  $wp_customize->add_control(
103
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'slider_opacity',
104
  array(
105
+ 'label' => __( 'opacity', 'clever-fox' ),
106
  'section' => 'slider_setting',
107
  'input_attrs' => array(
108
  'min' => 0,
inc/avril/features/avril-typography.php CHANGED
@@ -5,7 +5,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
5
  $wp_customize->add_panel(
6
  'avril_typography', array(
7
  'priority' => 38,
8
- 'title' => esc_html__( 'Typography', 'avril' ),
9
  )
10
  );
11
 
@@ -16,7 +16,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
16
  'avril_typography',
17
  array(
18
  'priority' => 1,
19
- 'title' => __('Body Typography','avril'),
20
  'panel' => 'avril_typography',
21
  )
22
  );
@@ -35,7 +35,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
35
  $wp_customize->add_control(
36
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_body_font_size',
37
  array(
38
- 'label' => __( 'Size', 'avril' ),
39
  'section' => 'avril_typography',
40
  'priority' => 2,
41
  'input_attrs' => array(
@@ -62,7 +62,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
62
  $wp_customize->add_control(
63
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_body_line_height',
64
  array(
65
- 'label' => __( 'Line Height', 'avril' ),
66
  'section' => 'avril_typography',
67
  'priority' => 3,
68
  'input_attrs' => array(
@@ -86,15 +86,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
86
  $wp_customize->add_control(
87
  new WP_Customize_Control(
88
  $wp_customize, 'avril_body_font_style', array(
89
- 'label' => __( 'Font Style', 'avril' ),
90
  'section' => 'avril_typography',
91
  'type' => 'select',
92
  'priority' => 6,
93
  'choices' => array(
94
- 'inherit' => __( 'Inherit', 'avril' ),
95
- 'normal' => __( 'Normal', 'avril' ),
96
- 'italic' => __( 'Italic', 'avril' ),
97
- 'oblique' => __( 'oblique', 'avril' ),
98
  ),
99
  )
100
  )
@@ -110,15 +110,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
110
  $wp_customize->add_control(
111
  new WP_Customize_Control(
112
  $wp_customize, 'avril_body_text_transform', array(
113
- 'label' => __( 'Transform', 'avril' ),
114
  'section' => 'avril_typography',
115
  'type' => 'select',
116
  'priority' => 7,
117
  'choices' => array(
118
- 'inherit' => __( 'Default', 'avril' ),
119
- 'uppercase' => __( 'Uppercase', 'avril' ),
120
- 'lowercase' => __( 'Lowercase', 'avril' ),
121
- 'capitalize' => __( 'Capitalize', 'avril' ),
122
  ),
123
  )
124
  )
@@ -130,7 +130,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
130
  'avril_headings_typography',
131
  array(
132
  'priority' => 2,
133
- 'title' => __('Headings','avril'),
134
  'panel' => 'avril_typography',
135
  )
136
  );
@@ -152,7 +152,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
152
  'h' . $i . '_typography',
153
  array(
154
  'type' => 'hidden',
155
- 'label' => esc_html('H' . $i .'','avril'),
156
  'section' => 'avril_headings_typography',
157
  )
158
  );
@@ -171,7 +171,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
171
  $wp_customize->add_control(
172
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_h' . $i . '_font_size',
173
  array(
174
- 'label' => __( 'Font Size', 'avril' ),
175
  'section' => 'avril_headings_typography',
176
  'input_attr' => array(
177
  'min' => 1,
@@ -196,7 +196,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
196
  $wp_customize->add_control(
197
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_h' . $i . '_line_height',
198
  array(
199
- 'label' => __( 'Line Height', 'avril' ),
200
  'section' => 'avril_headings_typography',
201
  'input_attrs' => array(
202
  'min' => 0,
@@ -224,14 +224,14 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
224
  $wp_customize->add_control(
225
  new WP_Customize_Control(
226
  $wp_customize, 'avril_h' . $i . '_font_style', array(
227
- 'label' => __( 'Font Style', 'avril' ),
228
  'section' => 'avril_headings_typography',
229
  'type' => 'select',
230
  'choices' => array(
231
- 'inherit' => __( 'Inherit', 'avril' ),
232
- 'normal' => __( 'Normal', 'avril' ),
233
- 'italic' => __( 'Italic', 'avril' ),
234
- 'oblique' => __( 'oblique', 'avril' ),
235
  ),
236
  )
237
  )
@@ -248,14 +248,14 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
248
  $wp_customize->add_control(
249
  new WP_Customize_Control(
250
  $wp_customize, 'avril_h' . $i . '_text_transform', array(
251
- 'label' => __( 'Text Transform', 'avril' ),
252
  'section' => 'avril_headings_typography',
253
  'type' => 'select',
254
  'choices' => array(
255
- 'inherit' => __( 'Default', 'avril' ),
256
- 'uppercase' => __( 'Uppercase', 'avril' ),
257
- 'lowercase' => __( 'Lowercase', 'avril' ),
258
- 'capitalize' => __( 'Capitalize', 'avril' ),
259
  ),
260
  )
261
  )
5
  $wp_customize->add_panel(
6
  'avril_typography', array(
7
  'priority' => 38,
8
+ 'title' => esc_html__( 'Typography', 'clever-fox' ),
9
  )
10
  );
11
 
16
  'avril_typography',
17
  array(
18
  'priority' => 1,
19
+ 'title' => __('Body Typography','clever-fox'),
20
  'panel' => 'avril_typography',
21
  )
22
  );
35
  $wp_customize->add_control(
36
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_body_font_size',
37
  array(
38
+ 'label' => __( 'Size', 'clever-fox' ),
39
  'section' => 'avril_typography',
40
  'priority' => 2,
41
  'input_attrs' => array(
62
  $wp_customize->add_control(
63
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_body_line_height',
64
  array(
65
+ 'label' => __( 'Line Height', 'clever-fox' ),
66
  'section' => 'avril_typography',
67
  'priority' => 3,
68
  'input_attrs' => array(
86
  $wp_customize->add_control(
87
  new WP_Customize_Control(
88
  $wp_customize, 'avril_body_font_style', array(
89
+ 'label' => __( 'Font Style', 'clever-fox' ),
90
  'section' => 'avril_typography',
91
  'type' => 'select',
92
  'priority' => 6,
93
  'choices' => array(
94
+ 'inherit' => __( 'Inherit', 'clever-fox' ),
95
+ 'normal' => __( 'Normal', 'clever-fox' ),
96
+ 'italic' => __( 'Italic', 'clever-fox' ),
97
+ 'oblique' => __( 'oblique', 'clever-fox' ),
98
  ),
99
  )
100
  )
110
  $wp_customize->add_control(
111
  new WP_Customize_Control(
112
  $wp_customize, 'avril_body_text_transform', array(
113
+ 'label' => __( 'Transform', 'clever-fox' ),
114
  'section' => 'avril_typography',
115
  'type' => 'select',
116
  'priority' => 7,
117
  'choices' => array(
118
+ 'inherit' => __( 'Default', 'clever-fox' ),
119
+ 'uppercase' => __( 'Uppercase', 'clever-fox' ),
120
+ 'lowercase' => __( 'Lowercase', 'clever-fox' ),
121
+ 'capitalize' => __( 'Capitalize', 'clever-fox' ),
122
  ),
123
  )
124
  )
130
  'avril_headings_typography',
131
  array(
132
  'priority' => 2,
133
+ 'title' => __('Headings','clever-fox'),
134
  'panel' => 'avril_typography',
135
  )
136
  );
152
  'h' . $i . '_typography',
153
  array(
154
  'type' => 'hidden',
155
+ 'label' => esc_html('H' . $i .'','clever-fox'),
156
  'section' => 'avril_headings_typography',
157
  )
158
  );
171
  $wp_customize->add_control(
172
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_h' . $i . '_font_size',
173
  array(
174
+ 'label' => __( 'Font Size', 'clever-fox' ),
175
  'section' => 'avril_headings_typography',
176
  'input_attr' => array(
177
  'min' => 1,
196
  $wp_customize->add_control(
197
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'avril_h' . $i . '_line_height',
198
  array(
199
+ 'label' => __( 'Line Height', 'clever-fox' ),
200
  'section' => 'avril_headings_typography',
201
  'input_attrs' => array(
202
  'min' => 0,
224
  $wp_customize->add_control(
225
  new WP_Customize_Control(
226
  $wp_customize, 'avril_h' . $i . '_font_style', array(
227
+ 'label' => __( 'Font Style', 'clever-fox' ),
228
  'section' => 'avril_headings_typography',
229
  'type' => 'select',
230
  'choices' => array(
231
+ 'inherit' => __( 'Inherit', 'clever-fox' ),
232
+ 'normal' => __( 'Normal', 'clever-fox' ),
233
+ 'italic' => __( 'Italic', 'clever-fox' ),
234
+ 'oblique' => __( 'oblique', 'clever-fox' ),
235
  ),
236
  )
237
  )
248
  $wp_customize->add_control(
249
  new WP_Customize_Control(
250
  $wp_customize, 'avril_h' . $i . '_text_transform', array(
251
+ 'label' => __( 'Text Transform', 'clever-fox' ),
252
  'section' => 'avril_headings_typography',
253
  'type' => 'select',
254
  'choices' => array(
255
+ 'inherit' => __( 'Default', 'clever-fox' ),
256
+ 'uppercase' => __( 'Uppercase', 'clever-fox' ),
257
+ 'lowercase' => __( 'Lowercase', 'clever-fox' ),
258
+ 'capitalize' => __( 'Capitalize', 'clever-fox' ),
259
  ),
260
  )
261
  )
inc/azwa/features/azwa-header.php CHANGED
@@ -9,7 +9,7 @@ function conceptly_lite_header_setting( $wp_customize ){
9
  'header_contact',
10
  array(
11
  'priority' => 1,
12
- 'title' => __('Top Left Header','conceptly-pro'),
13
  'panel' => 'header_section',
14
  )
15
  );
@@ -28,7 +28,7 @@ function conceptly_lite_header_setting( $wp_customize ){
28
  'hdr_top_phone',
29
  array(
30
  'type' => 'hidden',
31
- 'label' => __('Phone','conceptly'),
32
  'section' => 'header_contact',
33
  )
34
  );
@@ -48,7 +48,7 @@ function conceptly_lite_header_setting( $wp_customize ){
48
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
49
  'hide_show_contact_infot',
50
  array(
51
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
52
  'section' => 'header_contact',
53
  'settings' => 'hide_show_contact_infot',
54
  'type' => 'ios', // light, ios, flat
@@ -61,7 +61,7 @@ function conceptly_lite_header_setting( $wp_customize ){
61
  $wp_customize->add_setting(
62
  'header_phone_icon',
63
  array(
64
- 'default' => __('fa-phone','conceptly-pro'),
65
  'sanitize_callback' => 'conceptly_sanitize_text',
66
  'capability' => 'edit_theme_options',
67
  'priority' => 3,
@@ -71,7 +71,7 @@ function conceptly_lite_header_setting( $wp_customize ){
71
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
72
  'header_phone_icon',
73
  array(
74
- 'label' => __('Phone Icon','conceptly-pro'),
75
  'section' => 'header_contact',
76
  'settings'=> 'header_phone_icon',
77
  'iconset' => 'fa',
@@ -81,7 +81,7 @@ function conceptly_lite_header_setting( $wp_customize ){
81
  $wp_customize->add_setting(
82
  'header_phone_number',
83
  array(
84
- 'default' => __('Call Us: (210) 123-451','conceptly-pro'),
85
  'sanitize_callback' => 'conceptly_sanitize_text',
86
  'capability' => 'edit_theme_options',
87
  'priority' => 4,
@@ -91,7 +91,7 @@ function conceptly_lite_header_setting( $wp_customize ){
91
  $wp_customize->add_control(
92
  'header_phone_number',
93
  array(
94
- 'label' => __('Title','conceptly-pro'),
95
  'section' => 'header_contact',
96
  'settings'=> 'header_phone_number',
97
  'type' => 'text',
@@ -101,7 +101,7 @@ function conceptly_lite_header_setting( $wp_customize ){
101
  $wp_customize->add_setting(
102
  'header_phone_sub',
103
  array(
104
- 'default' => __('+1 231-214-3567','conceptly-pro'),
105
  'sanitize_callback' => 'conceptly_sanitize_text',
106
  'capability' => 'edit_theme_options',
107
  'priority' => 5,
@@ -111,7 +111,7 @@ function conceptly_lite_header_setting( $wp_customize ){
111
  $wp_customize->add_control(
112
  'header_phone_sub',
113
  array(
114
- 'label' => __('Subtitle','conceptly-pro'),
115
  'section' => 'header_contact',
116
  'type' => 'text',
117
  )
@@ -131,7 +131,7 @@ function conceptly_lite_header_setting( $wp_customize ){
131
  'hdr_top_email',
132
  array(
133
  'type' => 'hidden',
134
- 'label' => __('Email','conceptly'),
135
  'section' => 'header_contact',
136
  )
137
  );
@@ -151,7 +151,7 @@ function conceptly_lite_header_setting( $wp_customize ){
151
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
152
  'hide_show_email_infot',
153
  array(
154
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
155
  'section' => 'header_contact',
156
  'settings' => 'hide_show_email_infot',
157
  'type' => 'ios', // light, ios, flat
@@ -162,7 +162,7 @@ function conceptly_lite_header_setting( $wp_customize ){
162
  $wp_customize->add_setting(
163
  'header_email_icon',
164
  array(
165
- 'default' => __('fa-envelope','conceptly-pro'),
166
  'sanitize_callback' => 'conceptly_sanitize_text',
167
  'capability' => 'edit_theme_options',
168
  'priority' => 9,
@@ -172,7 +172,7 @@ function conceptly_lite_header_setting( $wp_customize ){
172
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
173
  'header_email_icon',
174
  array(
175
- 'label' => __('Email Icon','conceptly-pro'),
176
  'section' => 'header_contact',
177
  'settings'=> 'header_email_icon',
178
  'iconset' => 'fa',
@@ -183,7 +183,7 @@ function conceptly_lite_header_setting( $wp_customize ){
183
  $wp_customize->add_setting(
184
  'header_email',
185
  array(
186
- 'default' => __('380 St Kilda Road','conceptly-pro'),
187
  'sanitize_callback' => 'conceptly_sanitize_text',
188
  'capability' => 'edit_theme_options',
189
  'priority' => 10,
@@ -193,7 +193,7 @@ function conceptly_lite_header_setting( $wp_customize ){
193
  $wp_customize->add_control(
194
  'header_email',
195
  array(
196
- 'label' => __('Title','conceptly-pro'),
197
  'section' => 'header_contact',
198
  'settings'=> 'header_email',
199
  'type' => 'text',
@@ -203,7 +203,7 @@ function conceptly_lite_header_setting( $wp_customize ){
203
  $wp_customize->add_setting(
204
  'header_email_sub',
205
  array(
206
- 'default' => __('example@example.com','conceptly-pro'),
207
  'sanitize_callback' => 'conceptly_sanitize_text',
208
  'capability' => 'edit_theme_options',
209
  'priority' => 11,
@@ -213,7 +213,7 @@ function conceptly_lite_header_setting( $wp_customize ){
213
  $wp_customize->add_control(
214
  'header_email_sub',
215
  array(
216
- 'label' => __('Subtitle','conceptly-pro'),
217
  'section' => 'header_contact',
218
  'type' => 'text',
219
  )
@@ -233,7 +233,7 @@ function conceptly_lite_header_setting( $wp_customize ){
233
  'hdr_top_faq',
234
  array(
235
  'type' => 'hidden',
236
- 'label' => __('FAQ','conceptly'),
237
  'section' => 'header_contact',
238
  )
239
  );
@@ -253,7 +253,7 @@ function conceptly_lite_header_setting( $wp_customize ){
253
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
254
  'hide_show_faq',
255
  array(
256
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
257
  'section' => 'header_contact',
258
  'settings' => 'hide_show_faq',
259
  'type' => 'ios', // light, ios, flat
@@ -264,7 +264,7 @@ function conceptly_lite_header_setting( $wp_customize ){
264
  $wp_customize->add_setting(
265
  'header_faq_icon',
266
  array(
267
- 'default' => __('fa-user','conceptly-pro'),
268
  'sanitize_callback' => 'conceptly_sanitize_text',
269
  'capability' => 'edit_theme_options',
270
  'priority' => 15,
@@ -274,7 +274,7 @@ function conceptly_lite_header_setting( $wp_customize ){
274
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
275
  'header_faq_icon',
276
  array(
277
- 'label' => __('FAQ Icon','conceptly-pro'),
278
  'section' => 'header_contact',
279
  'settings'=> 'header_faq_icon',
280
  'iconset' => 'fa',
@@ -284,7 +284,7 @@ function conceptly_lite_header_setting( $wp_customize ){
284
  $wp_customize->add_setting(
285
  'header_faq',
286
  array(
287
- 'default' => __('Ask Your Question','conceptly-pro'),
288
  'sanitize_callback' => 'conceptly_sanitize_text',
289
  'capability' => 'edit_theme_options',
290
  'priority' => 16,
@@ -294,17 +294,17 @@ function conceptly_lite_header_setting( $wp_customize ){
294
  $wp_customize->add_control(
295
  'header_faq',
296
  array(
297
- 'label' => __('Title','conceptly-pro'),
298
  'section' => 'header_contact',
299
  'settings' => 'header_faq',
300
- 'description' => __( '', 'conceptly-pro' ),
301
  'type' => 'text'
302
  )
303
  );
304
  $wp_customize->add_setting(
305
  'header_faq_sub',
306
  array(
307
- 'default' => __('On Azwa','conceptly-pro'),
308
  'sanitize_callback' => 'conceptly_sanitize_text',
309
  'capability' => 'edit_theme_options',
310
  'priority' => 17,
@@ -314,7 +314,7 @@ function conceptly_lite_header_setting( $wp_customize ){
314
  $wp_customize->add_control(
315
  'header_faq_sub',
316
  array(
317
- 'label' => __('Subtitle','conceptly-pro'),
318
  'section' => 'header_contact',
319
  'type' => 'text'
320
  )
@@ -329,7 +329,7 @@ function conceptly_lite_header_setting( $wp_customize ){
329
  'header_setting',
330
  array(
331
  'priority' => 1,
332
- 'title' => __('Top Right Header','conceptly-pro'),
333
  'panel' => 'header_section',
334
  )
335
  );
@@ -348,7 +348,7 @@ function conceptly_lite_header_setting( $wp_customize ){
348
  'hdr_social_setting_head',
349
  array(
350
  'type' => 'hidden',
351
- 'label' => __('Setting','conceptly'),
352
  'section' => 'header_setting',
353
  )
354
  );
@@ -368,7 +368,7 @@ function conceptly_lite_header_setting( $wp_customize ){
368
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
369
  'hide_show_social_icon',
370
  array(
371
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
372
  'section' => 'header_setting',
373
  'settings' => 'hide_show_social_icon',
374
  'type' => 'ios', // light, ios, flat
@@ -389,7 +389,7 @@ function conceptly_lite_header_setting( $wp_customize ){
389
  'hdr_social_content_head',
390
  array(
391
  'type' => 'hidden',
392
- 'label' => __('Social-Icon','conceptly'),
393
  'section' => 'header_setting',
394
  )
395
  );
@@ -409,7 +409,7 @@ function conceptly_lite_header_setting( $wp_customize ){
409
  new Conceptly_Repeater( $wp_customize,
410
  'social_icons',
411
  array(
412
- 'label' => esc_html__('Social Icons','conceptly-pro'),
413
  'section' => 'header_setting',
414
  'customizer_repeater_icon_control' => true,
415
  'customizer_repeater_link_control' => true,
@@ -436,7 +436,7 @@ function conceptly_lite_header_setting( $wp_customize ){
436
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_min_height',
437
  array(
438
  'section' => 'breadcrumb_design',
439
- 'label' => __( 'Min Height','conceptly' ),
440
  'input_attrs' => array(
441
  'min' => 0,
442
  'max' => 500,
@@ -450,7 +450,7 @@ function conceptly_lite_header_setting( $wp_customize ){
450
  $wp_customize->add_setting(
451
  'breadcrumb_align' ,
452
  array(
453
- 'default' => __('left', 'conceptly' ),
454
  'capability' => 'edit_theme_options',
455
  'sanitize_callback' => 'conceptly_sanitize_select'
456
  )
@@ -459,15 +459,15 @@ function conceptly_lite_header_setting( $wp_customize ){
459
  $wp_customize->add_control(
460
  'breadcrumb_align' ,
461
  array(
462
- 'label' => __( 'Alignment', 'conceptly' ),
463
  'section' => 'breadcrumb_design',
464
  'type' => 'select',
465
  'priority' => 10,
466
  'choices' =>
467
  array(
468
- 'left' => __( 'Left', 'conceptly' ),
469
- 'center' => __( 'Center', 'conceptly' ),
470
- 'right' => __( 'Right', 'conceptly' )
471
  )
472
  )
473
  );
@@ -486,7 +486,7 @@ function conceptly_lite_header_setting( $wp_customize ){
486
  array(
487
  'section' => 'breadcrumb_design',
488
  'settings' => 'breadcrumb_opacity',
489
- 'label' => __( 'Background Opacity','conceptly' ),
490
  'input_attrs' => array(
491
  'min' => 0,
492
  'max' => 0.9,
@@ -510,7 +510,7 @@ function conceptly_lite_header_setting( $wp_customize ){
510
  'hdr_btn_setting_head',
511
  array(
512
  'type' => 'hidden',
513
- 'label' => __('Setting','conceptly'),
514
  'section' => 'header_get_button',
515
  'priority' => 1,
516
  )
@@ -529,7 +529,7 @@ function conceptly_lite_header_setting( $wp_customize ){
529
  'hdr_btn_content_head',
530
  array(
531
  'type' => 'hidden',
532
- 'label' => __('Button','conceptly'),
533
  'section' => 'header_get_button',
534
  'priority' => 5,
535
  )
9
  'header_contact',
10
  array(
11
  'priority' => 1,
12
+ 'title' => __('Top Left Header','clever-fox'),
13
  'panel' => 'header_section',
14
  )
15
  );
28
  'hdr_top_phone',
29
  array(
30
  'type' => 'hidden',
31
+ 'label' => __('Phone','clever-fox'),
32
  'section' => 'header_contact',
33
  )
34
  );
48
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
49
  'hide_show_contact_infot',
50
  array(
51
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
52
  'section' => 'header_contact',
53
  'settings' => 'hide_show_contact_infot',
54
  'type' => 'ios', // light, ios, flat
61
  $wp_customize->add_setting(
62
  'header_phone_icon',
63
  array(
64
+ 'default' => __('fa-phone','clever-fox'),
65
  'sanitize_callback' => 'conceptly_sanitize_text',
66
  'capability' => 'edit_theme_options',
67
  'priority' => 3,
71
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
72
  'header_phone_icon',
73
  array(
74
+ 'label' => __('Phone Icon','clever-fox'),
75
  'section' => 'header_contact',
76
  'settings'=> 'header_phone_icon',
77
  'iconset' => 'fa',
81
  $wp_customize->add_setting(
82
  'header_phone_number',
83
  array(
84
+ 'default' => __('Call Us: (210) 123-451','clever-fox'),
85
  'sanitize_callback' => 'conceptly_sanitize_text',
86
  'capability' => 'edit_theme_options',
87
  'priority' => 4,
91
  $wp_customize->add_control(
92
  'header_phone_number',
93
  array(
94
+ 'label' => __('Title','clever-fox'),
95
  'section' => 'header_contact',
96
  'settings'=> 'header_phone_number',
97
  'type' => 'text',
101
  $wp_customize->add_setting(
102
  'header_phone_sub',
103
  array(
104
+ 'default' => __('+1 231-214-3567','clever-fox'),
105
  'sanitize_callback' => 'conceptly_sanitize_text',
106
  'capability' => 'edit_theme_options',
107
  'priority' => 5,
111
  $wp_customize->add_control(
112
  'header_phone_sub',
113
  array(
114
+ 'label' => __('Subtitle','clever-fox'),
115
  'section' => 'header_contact',
116
  'type' => 'text',
117
  )
131
  'hdr_top_email',
132
  array(
133
  'type' => 'hidden',
134
+ 'label' => __('Email','clever-fox'),
135
  'section' => 'header_contact',
136
  )
137
  );
151
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
152
  'hide_show_email_infot',
153
  array(
154
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
155
  'section' => 'header_contact',
156
  'settings' => 'hide_show_email_infot',
157
  'type' => 'ios', // light, ios, flat
162
  $wp_customize->add_setting(
163
  'header_email_icon',
164
  array(
165
+ 'default' => __('fa-envelope','clever-fox'),
166
  'sanitize_callback' => 'conceptly_sanitize_text',
167
  'capability' => 'edit_theme_options',
168
  'priority' => 9,
172
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
173
  'header_email_icon',
174
  array(
175
+ 'label' => __('Email Icon','clever-fox'),
176
  'section' => 'header_contact',
177
  'settings'=> 'header_email_icon',
178
  'iconset' => 'fa',
183
  $wp_customize->add_setting(
184
  'header_email',
185
  array(
186
+ 'default' => __('380 St Kilda Road','clever-fox'),
187
  'sanitize_callback' => 'conceptly_sanitize_text',
188
  'capability' => 'edit_theme_options',
189
  'priority' => 10,
193
  $wp_customize->add_control(
194
  'header_email',
195
  array(
196
+ 'label' => __('Title','clever-fox'),
197
  'section' => 'header_contact',
198
  'settings'=> 'header_email',
199
  'type' => 'text',
203
  $wp_customize->add_setting(
204
  'header_email_sub',
205
  array(
206
+ 'default' => __('example@example.com','clever-fox'),
207
  'sanitize_callback' => 'conceptly_sanitize_text',
208
  'capability' => 'edit_theme_options',
209
  'priority' => 11,
213
  $wp_customize->add_control(
214
  'header_email_sub',
215
  array(
216
+ 'label' => __('Subtitle','clever-fox'),
217
  'section' => 'header_contact',
218
  'type' => 'text',
219
  )
233
  'hdr_top_faq',
234
  array(
235
  'type' => 'hidden',
236
+ 'label' => __('FAQ','clever-fox'),
237
  'section' => 'header_contact',
238
  )
239
  );
253
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
254
  'hide_show_faq',
255
  array(
256
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
257
  'section' => 'header_contact',
258
  'settings' => 'hide_show_faq',
259
  'type' => 'ios', // light, ios, flat
264
  $wp_customize->add_setting(
265
  'header_faq_icon',
266
  array(
267
+ 'default' => __('fa-user','clever-fox'),
268
  'sanitize_callback' => 'conceptly_sanitize_text',
269
  'capability' => 'edit_theme_options',
270
  'priority' => 15,
274
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
275
  'header_faq_icon',
276
  array(
277
+ 'label' => __('FAQ Icon','clever-fox'),
278
  'section' => 'header_contact',
279
  'settings'=> 'header_faq_icon',
280
  'iconset' => 'fa',
284
  $wp_customize->add_setting(
285
  'header_faq',
286
  array(
287
+ 'default' => __('Ask Your Question','clever-fox'),
288
  'sanitize_callback' => 'conceptly_sanitize_text',
289
  'capability' => 'edit_theme_options',
290
  'priority' => 16,
294
  $wp_customize->add_control(
295
  'header_faq',
296
  array(
297
+ 'label' => __('Title','clever-fox'),
298
  'section' => 'header_contact',
299
  'settings' => 'header_faq',
300
+ 'description' => __( '', 'clever-fox' ),
301
  'type' => 'text'
302
  )
303
  );
304
  $wp_customize->add_setting(
305
  'header_faq_sub',
306
  array(
307
+ 'default' => __('On Azwa','clever-fox'),
308
  'sanitize_callback' => 'conceptly_sanitize_text',
309
  'capability' => 'edit_theme_options',
310
  'priority' => 17,
314
  $wp_customize->add_control(
315
  'header_faq_sub',
316
  array(
317
+ 'label' => __('Subtitle','clever-fox'),
318
  'section' => 'header_contact',
319
  'type' => 'text'
320
  )
329
  'header_setting',
330
  array(
331
  'priority' => 1,
332
+ 'title' => __('Top Right Header','clever-fox'),
333
  'panel' => 'header_section',
334
  )
335
  );
348
  'hdr_social_setting_head',
349
  array(
350
  'type' => 'hidden',
351
+ 'label' => __('Setting','clever-fox'),
352
  'section' => 'header_setting',
353
  )
354
  );
368
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
369
  'hide_show_social_icon',
370
  array(
371
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
372
  'section' => 'header_setting',
373
  'settings' => 'hide_show_social_icon',
374
  'type' => 'ios', // light, ios, flat
389
  'hdr_social_content_head',
390
  array(
391
  'type' => 'hidden',
392
+ 'label' => __('Social-Icon','clever-fox'),
393
  'section' => 'header_setting',
394
  )
395
  );
409
  new Conceptly_Repeater( $wp_customize,
410
  'social_icons',
411
  array(
412
+ 'label' => esc_html__('Social Icons','clever-fox'),
413
  'section' => 'header_setting',
414
  'customizer_repeater_icon_control' => true,
415
  'customizer_repeater_link_control' => true,
436
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_min_height',
437
  array(
438
  'section' => 'breadcrumb_design',
439
+ 'label' => __( 'Min Height','clever-fox' ),
440
  'input_attrs' => array(
441
  'min' => 0,
442
  'max' => 500,
450
  $wp_customize->add_setting(
451
  'breadcrumb_align' ,
452
  array(
453
+ 'default' => __('left', 'clever-fox' ),
454
  'capability' => 'edit_theme_options',
455
  'sanitize_callback' => 'conceptly_sanitize_select'
456
  )
459
  $wp_customize->add_control(
460
  'breadcrumb_align' ,
461
  array(
462
+ 'label' => __( 'Alignment', 'clever-fox' ),
463
  'section' => 'breadcrumb_design',
464
  'type' => 'select',
465
  'priority' => 10,
466
  'choices' =>
467
  array(
468
+ 'left' => __( 'Left', 'clever-fox' ),
469
+ 'center' => __( 'Center', 'clever-fox' ),
470
+ 'right' => __( 'Right', 'clever-fox' )
471
  )
472
  )
473
  );
486
  array(
487
  'section' => 'breadcrumb_design',
488
  'settings' => 'breadcrumb_opacity',
489
+ 'label' => __( 'Background Opacity','clever-fox' ),
490
  'input_attrs' => array(
491
  'min' => 0,
492
  'max' => 0.9,
510
  'hdr_btn_setting_head',
511
  array(
512
  'type' => 'hidden',
513
+ 'label' => __('Setting','clever-fox'),
514
  'section' => 'header_get_button',
515
  'priority' => 1,
516
  )
529
  'hdr_btn_content_head',
530
  array(
531
  'type' => 'hidden',
532
+ 'label' => __('Button','clever-fox'),
533
  'section' => 'header_get_button',
534
  'priority' => 5,
535
  )
inc/azwa/features/azwa-slider.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
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
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'slider_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('setting','conceptly'),
30
  'section' => 'slider_setting',
31
  )
32
  );
@@ -36,7 +36,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
36
  $wp_customize->add_setting(
37
  'hide_show_slider' ,
38
  array(
39
- 'default' => esc_html__( '1', 'conceptly-pro' ),
40
  'capability' => 'edit_theme_options',
41
  'sanitize_callback' => 'sanitize_text_field',
42
  'transport' => $selective_refresh,
@@ -47,7 +47,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
47
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
48
  'hide_show_slider',
49
  array(
50
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
51
  'section' => 'slider_setting',
52
  'settings' => 'hide_show_slider',
53
  'type' => 'ios', // light, ios, flat
@@ -68,7 +68,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  'slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
- 'label' => __('Content','conceptly'),
72
  'section' => 'slider_setting',
73
  )
74
  );
@@ -89,10 +89,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
  new Conceptly_Repeater( $wp_customize,
90
  'slider',
91
  array(
92
- 'label' => esc_html__('Slide','conceptly-pro'),
93
  'section' => 'slider_setting',
94
- 'add_field_label' => esc_html__( 'Add New Slider', 'conceptly-pro' ),
95
- 'item_name' => esc_html__( 'Slider', 'conceptly-pro' ),
96
 
97
  'customizer_repeater_icon_control' => false,
98
  'customizer_repeater_title_control' => true,
@@ -114,15 +114,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
114
  $theme = wp_get_theme(); // gets the current theme
115
  if ( 'Ameya' == $theme->name){
116
  ?>
117
- <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>
118
  <?php
119
  }elseif ( 'Azwa' == $theme->name){
120
  ?>
121
- <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>
122
  <?php
123
  }else{
124
  ?>
125
- <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>
126
  <?php
127
  }
128
  }
@@ -165,7 +165,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
165
  array(
166
  'section' => 'slider_setting',
167
  'settings' => 'slider_opacity',
168
- 'label' => __( 'Background Opacity','conceptly-pro' ),
169
  'input_attrs' => array(
170
  'min' => 0,
171
  'max' => 0.9,
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'slider_setting', array(
9
+ 'title' => esc_html__( 'Slider Section', 'clever-fox' ),
10
  'panel' => 'conceptly_frontpage_sections',
11
  'priority' => apply_filters( 'conceptly_section_priority', 1, 'slider_setting' ),
12
  )
26
  'slider_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('setting','clever-fox'),
30
  'section' => 'slider_setting',
31
  )
32
  );
36
  $wp_customize->add_setting(
37
  'hide_show_slider' ,
38
  array(
39
+ 'default' => esc_html__( '1', 'clever-fox' ),
40
  'capability' => 'edit_theme_options',
41
  'sanitize_callback' => 'sanitize_text_field',
42
  'transport' => $selective_refresh,
47
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
48
  'hide_show_slider',
49
  array(
50
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
51
  'section' => 'slider_setting',
52
  'settings' => 'hide_show_slider',
53
  'type' => 'ios', // light, ios, flat
68
  'slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
+ 'label' => __('Content','clever-fox'),
72
  'section' => 'slider_setting',
73
  )
74
  );
89
  new Conceptly_Repeater( $wp_customize,
90
  'slider',
91
  array(
92
+ 'label' => esc_html__('Slide','clever-fox'),
93
  'section' => 'slider_setting',
94
+ 'add_field_label' => esc_html__( 'Add New Slider', 'clever-fox' ),
95
+ 'item_name' => esc_html__( 'Slider', 'clever-fox' ),
96
 
97
  'customizer_repeater_icon_control' => false,
98
  'customizer_repeater_title_control' => true,
114
  $theme = wp_get_theme(); // gets the current theme
115
  if ( 'Ameya' == $theme->name){
116
  ?>
117
+ <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','clever-fox'); ?></a>
118
  <?php
119
  }elseif ( 'Azwa' == $theme->name){
120
  ?>
121
+ <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','clever-fox'); ?></a>
122
  <?php
123
  }else{
124
  ?>
125
+ <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','clever-fox'); ?></a>
126
  <?php
127
  }
128
  }
165
  array(
166
  'section' => 'slider_setting',
167
  'settings' => 'slider_opacity',
168
+ 'label' => __( 'Background Opacity','clever-fox' ),
169
  'input_attrs' => array(
170
  'min' => 0,
171
  'max' => 0.9,
inc/cleverfox-activator.php CHANGED
@@ -94,6 +94,12 @@ class Cleverfox_Activator {
94
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-widget.php';
95
  }
96
 
 
 
 
 
 
 
97
  update_option( 'item_details_page', 'Done' );
98
  }
99
  }
94
  require CLEVERFOX_PLUGIN_DIR . 'inc/fiona-blog/default-widgets/default-widget.php';
95
  }
96
 
97
+ if ( 'MetaSoft' == $theme->name){
98
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-pages/upload-media.php';
99
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-pages/home-page.php';
100
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/default-widgets/default-widget.php';
101
+ }
102
+
103
  update_option( 'item_details_page', 'Done' );
104
  }
105
  }
inc/conceptly/extras.php CHANGED
@@ -8,26 +8,26 @@
8
  'conceptly_get_social_icon_default', json_encode(
9
  array(
10
  array(
11
- 'icon_value' => esc_html__( 'fa-facebook', 'conceptly' ),
12
- 'link' => esc_html__( '#', 'conceptly' ),
13
  'id' => 'customizer_repeater_social_001',
14
 
15
  ),
16
  array(
17
- 'icon_value' => esc_html__( 'fa-linkedin', 'conceptly' ),
18
- 'link' => esc_html__( '#', 'conceptly' ),
19
  'id' => 'customizer_repeater_social_002',
20
 
21
  ),
22
  array(
23
- 'icon_value' => esc_html__( 'fa-twitter', 'conceptly' ),
24
- 'link' => esc_html__( '#', 'conceptly' ),
25
  'id' => 'customizer_repeater_social_003',
26
 
27
  ),
28
  array(
29
- 'icon_value' => esc_html__( 'fa-google-plus', 'conceptly' ),
30
- 'link' => esc_html__( '#', 'conceptly' ),
31
  )
32
  )
33
  )
@@ -86,34 +86,34 @@ function conceptly_get_service_default() {
86
  array(
87
  array(
88
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service02.jpg',
89
- 'icon_value' => esc_html__( 'fa-cubes', 'conceptly' ),
90
- 'title' => esc_html__( 'Explore', 'conceptly' ),
91
- 'subtitle' => esc_html__( ' Customer Assistance ', 'conceptly' ),
92
- 'text' => esc_html__( 'There are many variations of dummy that passages of Lorem Ipsum available but an the majority have suffered that is dummy alteration in some.', 'conceptly' ),
93
- 'text2' => esc_html__( 'Read More ', 'conceptly' ),
94
- 'link' => esc_html__( '#', 'conceptly' ),
95
  'id' => 'customizer_repeater_service_001',
96
 
97
  ),
98
  array(
99
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service003.jpg',
100
- 'icon_value' => esc_html__( 'fa-american-sign-language-interpreting', 'conceptly' ),
101
- 'title' => esc_html__( 'Explore', 'conceptly' ),
102
- 'subtitle' => esc_html__( ' Innovative Ideas', 'conceptly' ),
103
- 'text' => esc_html__( 'There are many variations of dummy that passages of Lorem Ipsum available but an the majority have suffered that is dummy alteration in some.', 'conceptly' ),
104
- 'text2' => esc_html__( 'Read More', 'conceptly' ),
105
- 'link' => esc_html__( '#', 'conceptly' ),
106
  'id' => 'customizer_repeater_service_002',
107
 
108
  ),
109
  array(
110
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service02.jpg',
111
- 'icon_value' => esc_html__( 'fa-laptop', 'conceptly' ),
112
- 'title' => esc_html__( 'Explore', 'conceptly' ),
113
- 'subtitle' => esc_html__( 'Global Presence', 'conceptly' ),
114
- 'text' => esc_html__( 'There are many variations of dummy that passages of Lorem Ipsum available but an the majority have suffered that is dummy alteration in some.', 'conceptly' ),
115
- 'text2' => esc_html__( 'Read More', 'conceptly' ),
116
- 'link' => esc_html__( '#', 'conceptly' ),
117
  'id' => 'customizer_repeater_service_003',
118
 
119
  ),
@@ -131,43 +131,43 @@ function conceptly_get_feature_default() {
131
  'conceptly_get_feature_default', json_encode(
132
  array(
133
  array(
134
- 'title' => esc_html__( 'Business Growth', 'conceptly' ),
135
- 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly' ),
136
- 'icon_value' => esc_html__( 'fa-cubes', 'conceptly' ),
137
  'id' => 'customizer_repeater_features_001',
138
  ),
139
  array(
140
- 'title' => esc_html__( 'Sustainability', 'conceptly' ),
141
- 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly' ),
142
- 'icon_value' => esc_html__( 'fa-cog', 'conceptly' ),
143
  'id' => 'customizer_repeater_features_002',
144
 
145
  ),
146
  array(
147
- 'title' => esc_html__( 'Performance', 'conceptly' ),
148
- 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly' ),
149
- 'icon_value' => esc_html__( 'fa-american-sign-language-interpreting', 'conceptly' ),
150
  'id' => 'customizer_repeater_features_003',
151
 
152
  ),
153
  array(
154
- 'title' => esc_html__( 'Organization', 'conceptly' ),
155
- 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly' ),
156
- 'icon_value' => esc_html__( 'fa-area-chart', 'conceptly' ),
157
  'id' => 'customizer_repeater_features_004',
158
 
159
  ),
160
  array(
161
- 'title' => esc_html__( 'Saving Strategy', 'conceptly' ),
162
- 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly' ),
163
- 'icon_value' => esc_html__( 'fa-coffee', 'conceptly' ),
164
  'id' => 'customizer_repeater_features_005',
165
 
166
  ),
167
  array(
168
- 'title' => esc_html__( 'Retirement Planning', 'conceptly' ),
169
- 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly' ),
170
- 'icon_value' => esc_html__( 'fa-child', 'conceptly' ),
171
  'id' => 'customizer_repeater_features_006',
172
 
173
  ),
@@ -187,24 +187,24 @@ function conceptly_get_feature_default() {
187
  'conceptly_get_sponsers_default', json_encode(
188
  array(
189
  array(
190
- 'link' => esc_html__( '#', 'conceptly' ),
191
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner01.png',
192
  'id' => 'customizer_repeater_sponsers_001',
193
  ),
194
  array(
195
- 'link' => esc_html__( '#', 'conceptly' ),
196
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner02.png',
197
  'id' => 'customizer_repeater_sponsers_002',
198
 
199
  ),
200
  array(
201
- 'link' => esc_html__( '#', 'conceptly' ),
202
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner03.png',
203
  'id' => 'customizer_repeater_sponsers_003',
204
 
205
  ),
206
  array(
207
- 'link' => esc_html__( '#', 'conceptly' ),
208
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner04.png',
209
  'id' => 'customizer_repeater_sponsers_004',
210
 
8
  'conceptly_get_social_icon_default', json_encode(
9
  array(
10
  array(
11
+ 'icon_value' => esc_html__( 'fa-facebook', 'clever-fox' ),
12
+ 'link' => esc_html__( '#', 'clever-fox' ),
13
  'id' => 'customizer_repeater_social_001',
14
 
15
  ),
16
  array(
17
+ 'icon_value' => esc_html__( 'fa-linkedin', 'clever-fox' ),
18
+ 'link' => esc_html__( '#', 'clever-fox' ),
19
  'id' => 'customizer_repeater_social_002',
20
 
21
  ),
22
  array(
23
+ 'icon_value' => esc_html__( 'fa-twitter', 'clever-fox' ),
24
+ 'link' => esc_html__( '#', 'clever-fox' ),
25
  'id' => 'customizer_repeater_social_003',
26
 
27
  ),
28
  array(
29
+ 'icon_value' => esc_html__( 'fa-google-plus', 'clever-fox' ),
30
+ 'link' => esc_html__( '#', 'clever-fox' ),
31
  )
32
  )
33
  )
86
  array(
87
  array(
88
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service02.jpg',
89
+ 'icon_value' => esc_html__( 'fa-cubes', 'clever-fox' ),
90
+ 'title' => esc_html__( 'Explore', 'clever-fox' ),
91
+ 'subtitle' => esc_html__( ' Customer Assistance ', 'clever-fox' ),
92
+ 'text' => esc_html__( 'There are many variations of dummy that passages of Lorem Ipsum available but an the majority have suffered that is dummy alteration in some.', 'clever-fox' ),
93
+ 'text2' => esc_html__( 'Read More ', 'clever-fox' ),
94
+ 'link' => esc_html__( '#', 'clever-fox' ),
95
  'id' => 'customizer_repeater_service_001',
96
 
97
  ),
98
  array(
99
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service003.jpg',
100
+ 'icon_value' => esc_html__( 'fa-american-sign-language-interpreting', 'clever-fox' ),
101
+ 'title' => esc_html__( 'Explore', 'clever-fox' ),
102
+ 'subtitle' => esc_html__( ' Innovative Ideas', 'clever-fox' ),
103
+ 'text' => esc_html__( 'There are many variations of dummy that passages of Lorem Ipsum available but an the majority have suffered that is dummy alteration in some.', 'clever-fox' ),
104
+ 'text2' => esc_html__( 'Read More', 'clever-fox' ),
105
+ 'link' => esc_html__( '#', 'clever-fox' ),
106
  'id' => 'customizer_repeater_service_002',
107
 
108
  ),
109
  array(
110
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service02.jpg',
111
+ 'icon_value' => esc_html__( 'fa-laptop', 'clever-fox' ),
112
+ 'title' => esc_html__( 'Explore', 'clever-fox' ),
113
+ 'subtitle' => esc_html__( 'Global Presence', 'clever-fox' ),
114
+ 'text' => esc_html__( 'There are many variations of dummy that passages of Lorem Ipsum available but an the majority have suffered that is dummy alteration in some.', 'clever-fox' ),
115
+ 'text2' => esc_html__( 'Read More', 'clever-fox' ),
116
+ 'link' => esc_html__( '#', 'clever-fox' ),
117
  'id' => 'customizer_repeater_service_003',
118
 
119
  ),
131
  'conceptly_get_feature_default', json_encode(
132
  array(
133
  array(
134
+ 'title' => esc_html__( 'Business Growth', 'clever-fox' ),
135
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'clever-fox' ),
136
+ 'icon_value' => esc_html__( 'fa-cubes', 'clever-fox' ),
137
  'id' => 'customizer_repeater_features_001',
138
  ),
139
  array(
140
+ 'title' => esc_html__( 'Sustainability', 'clever-fox' ),
141
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'clever-fox' ),
142
+ 'icon_value' => esc_html__( 'fa-cog', 'clever-fox' ),
143
  'id' => 'customizer_repeater_features_002',
144
 
145
  ),
146
  array(
147
+ 'title' => esc_html__( 'Performance', 'clever-fox' ),
148
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'clever-fox' ),
149
+ 'icon_value' => esc_html__( 'fa-american-sign-language-interpreting', 'clever-fox' ),
150
  'id' => 'customizer_repeater_features_003',
151
 
152
  ),
153
  array(
154
+ 'title' => esc_html__( 'Organization', 'clever-fox' ),
155
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'clever-fox' ),
156
+ 'icon_value' => esc_html__( 'fa-area-chart', 'clever-fox' ),
157
  'id' => 'customizer_repeater_features_004',
158
 
159
  ),
160
  array(
161
+ 'title' => esc_html__( 'Saving Strategy', 'clever-fox' ),
162
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'clever-fox' ),
163
+ 'icon_value' => esc_html__( 'fa-coffee', 'clever-fox' ),
164
  'id' => 'customizer_repeater_features_005',
165
 
166
  ),
167
  array(
168
+ 'title' => esc_html__( 'Retirement Planning', 'clever-fox' ),
169
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'clever-fox' ),
170
+ 'icon_value' => esc_html__( 'fa-child', 'clever-fox' ),
171
  'id' => 'customizer_repeater_features_006',
172
 
173
  ),
187
  'conceptly_get_sponsers_default', json_encode(
188
  array(
189
  array(
190
+ 'link' => esc_html__( '#', 'clever-fox' ),
191
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner01.png',
192
  'id' => 'customizer_repeater_sponsers_001',
193
  ),
194
  array(
195
+ 'link' => esc_html__( '#', 'clever-fox' ),
196
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner02.png',
197
  'id' => 'customizer_repeater_sponsers_002',
198
 
199
  ),
200
  array(
201
+ 'link' => esc_html__( '#', 'clever-fox' ),
202
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner03.png',
203
  'id' => 'customizer_repeater_sponsers_003',
204
 
205
  ),
206
  array(
207
+ 'link' => esc_html__( '#', 'clever-fox' ),
208
  'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner04.png',
209
  'id' => 'customizer_repeater_sponsers_004',
210
 
inc/conceptly/features/conceptly-call-to-action.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'call_action_setting', array(
10
- 'title' => esc_html__( 'Call to Action Section', 'conceptly' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  'priority' => apply_filters( 'conceptly_section_priority',65, 'conceptly_call' ),
13
  )
@@ -31,7 +31,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
31
  'cta_setting_head',
32
  array(
33
  'type' => 'hidden',
34
- 'label' => __('Setting','conceptly'),
35
  'section' => 'call_action_setting',
36
  )
37
  );
@@ -50,7 +50,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
50
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
51
  'hide_show_cta',
52
  array(
53
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
54
  'section' => 'call_action_setting',
55
  'settings' => 'hide_show_cta',
56
  'type' => 'ios', // light, ios, flat
@@ -73,7 +73,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
  'cta_content_head',
74
  array(
75
  'type' => 'hidden',
76
- 'label' => __('Content','conceptly'),
77
  'section' => 'call_action_setting',
78
  )
79
  );
@@ -82,7 +82,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
82
  $wp_customize->add_setting(
83
  'call_to_action_title',
84
  array(
85
- 'default' => __('Become a Part of Community !','conceptly'),
86
  'capability' => 'edit_theme_options',
87
  'sanitize_callback' => 'conceptly_sanitize_html',
88
  'transport' => $selective_refresh,
@@ -93,7 +93,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
93
  $wp_customize->add_control(
94
  'call_to_action_title',
95
  array(
96
- 'label' => __('Title','conceptly'),
97
  'section' => 'call_action_setting',
98
  'settings' => 'call_to_action_title',
99
  'type' => 'text',
@@ -104,7 +104,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
104
  $wp_customize->add_setting(
105
  'call_to_action_description',
106
  array(
107
- 'default' => __('Get in touch with us and send some basic info for a quick quote','conceptly'),
108
  'capability' => 'edit_theme_options',
109
  'sanitize_callback' => 'conceptly_sanitize_text',
110
  'transport' => $selective_refresh,
@@ -115,7 +115,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
115
  $wp_customize->add_control(
116
  'call_to_action_description',
117
  array(
118
- 'label' => __('Description','conceptly'),
119
  'section' => 'call_action_setting',
120
  'settings' => 'call_to_action_description',
121
  'type' => 'textarea',
@@ -129,7 +129,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
129
  $wp_customize->add_setting(
130
  'cta_icon',
131
  array(
132
- 'default' => __('fa-shopping-cart','conceptly'),
133
  'sanitize_callback' => 'conceptly_sanitize_text',
134
  'capability' => 'edit_theme_options',
135
  'transport' => $selective_refresh,
@@ -140,7 +140,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
140
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
141
  'cta_icon',
142
  array(
143
- 'label' => __('CTA Button Icon','conceptly'),
144
  'section' => 'call_action_setting',
145
  'settings'=> 'cta_icon',
146
  'iconset' => 'fa',
@@ -150,7 +150,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
150
  $wp_customize->add_setting(
151
  'call_action_button_label',
152
  array(
153
- 'default' => __('Purchase Now','conceptly'),
154
  'capability' => 'edit_theme_options',
155
  'sanitize_callback' => 'conceptly_sanitize_text',
156
  'transport' => $selective_refresh,
@@ -161,7 +161,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
161
  $wp_customize->add_control(
162
  'call_action_button_label',
163
  array(
164
- 'label' => __('Button Text','conceptly'),
165
  'section' => 'call_action_setting',
166
  'settings' => 'call_action_button_label',
167
  'type' => 'text',
@@ -172,7 +172,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
172
  $wp_customize->add_setting(
173
  'call_action_button_link',
174
  array(
175
- 'default' => __('#','conceptly'),
176
  'capability' => 'edit_theme_options',
177
  'sanitize_callback' => 'conceptly_sanitize_url',
178
  'priority' => 10,
@@ -182,7 +182,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
182
  $wp_customize->add_control(
183
  'call_action_button_link',
184
  array(
185
- 'label' => __('Button Link','conceptly'),
186
  'section' => 'call_action_setting',
187
  'settings' => 'call_action_button_link',
188
  'type' => 'text',
@@ -203,7 +203,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
203
  'call_action_button_target',
204
  array(
205
  'type' => 'checkbox',
206
- 'label' => __('Open link in a new tab','conceptly'),
207
  'section' => 'call_action_setting',
208
  'settings' => 'call_action_button_target',
209
  )
@@ -226,7 +226,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
226
  'cta_bg_head',
227
  array(
228
  'type' => 'hidden',
229
- 'label' => __('Bg','conceptly'),
230
  'section' => 'call_action_setting',
231
  )
232
  );
@@ -245,7 +245,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
245
 
246
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'call_action_background_setting' ,
247
  array(
248
- 'label' => __( 'Background Image', 'conceptly' ),
249
  'section' => 'call_action_setting',
250
  'settings' => 'call_action_background_setting',
251
  )
@@ -253,7 +253,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
253
  $wp_customize->add_setting(
254
  'cta_background_position' ,
255
  array(
256
- 'default' => __( 'scroll', 'conceptly' ),
257
  'capability' => 'edit_theme_options',
258
  'sanitize_callback' => 'conceptly_sanitize_select',
259
  'priority' => 17,
@@ -263,14 +263,14 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
263
  $wp_customize->add_control(
264
  'cta_background_position' ,
265
  array(
266
- 'label' => __( 'Image Position', 'conceptly' ),
267
  'section' => 'call_action_setting',
268
  'settings' => 'cta_background_position',
269
  'type' => 'radio',
270
  'choices' =>
271
  array(
272
- 'fixed'=> __( 'Fixed', 'conceptly' ),
273
- 'scroll' => __( 'Scroll', 'conceptly' )
274
  )
275
  )
276
  );
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'call_action_setting', array(
10
+ 'title' => esc_html__( 'Call to Action Section', 'clever-fox' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  'priority' => apply_filters( 'conceptly_section_priority',65, 'conceptly_call' ),
13
  )
31
  'cta_setting_head',
32
  array(
33
  'type' => 'hidden',
34
+ 'label' => __('Setting','clever-fox'),
35
  'section' => 'call_action_setting',
36
  )
37
  );
50
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
51
  'hide_show_cta',
52
  array(
53
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
54
  'section' => 'call_action_setting',
55
  'settings' => 'hide_show_cta',
56
  'type' => 'ios', // light, ios, flat
73
  'cta_content_head',
74
  array(
75
  'type' => 'hidden',
76
+ 'label' => __('Content','clever-fox'),
77
  'section' => 'call_action_setting',
78
  )
79
  );
82
  $wp_customize->add_setting(
83
  'call_to_action_title',
84
  array(
85
+ 'default' => __('Become a Part of Community !','clever-fox'),
86
  'capability' => 'edit_theme_options',
87
  'sanitize_callback' => 'conceptly_sanitize_html',
88
  'transport' => $selective_refresh,
93
  $wp_customize->add_control(
94
  'call_to_action_title',
95
  array(
96
+ 'label' => __('Title','clever-fox'),
97
  'section' => 'call_action_setting',
98
  'settings' => 'call_to_action_title',
99
  'type' => 'text',
104
  $wp_customize->add_setting(
105
  'call_to_action_description',
106
  array(
107
+ 'default' => __('Get in touch with us and send some basic info for a quick quote','clever-fox'),
108
  'capability' => 'edit_theme_options',
109
  'sanitize_callback' => 'conceptly_sanitize_text',
110
  'transport' => $selective_refresh,
115
  $wp_customize->add_control(
116
  'call_to_action_description',
117
  array(
118
+ 'label' => __('Description','clever-fox'),
119
  'section' => 'call_action_setting',
120
  'settings' => 'call_to_action_description',
121
  'type' => 'textarea',
129
  $wp_customize->add_setting(
130
  'cta_icon',
131
  array(
132
+ 'default' => __('fa-shopping-cart','clever-fox'),
133
  'sanitize_callback' => 'conceptly_sanitize_text',
134
  'capability' => 'edit_theme_options',
135
  'transport' => $selective_refresh,
140
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
141
  'cta_icon',
142
  array(
143
+ 'label' => __('CTA Button Icon','clever-fox'),
144
  'section' => 'call_action_setting',
145
  'settings'=> 'cta_icon',
146
  'iconset' => 'fa',
150
  $wp_customize->add_setting(
151
  'call_action_button_label',
152
  array(
153
+ 'default' => __('Purchase Now','clever-fox'),
154
  'capability' => 'edit_theme_options',
155
  'sanitize_callback' => 'conceptly_sanitize_text',
156
  'transport' => $selective_refresh,
161
  $wp_customize->add_control(
162
  'call_action_button_label',
163
  array(
164
+ 'label' => __('Button Text','clever-fox'),
165
  'section' => 'call_action_setting',
166
  'settings' => 'call_action_button_label',
167
  'type' => 'text',
172
  $wp_customize->add_setting(
173
  'call_action_button_link',
174
  array(
175
+ 'default' => __('#','clever-fox'),
176
  'capability' => 'edit_theme_options',
177
  'sanitize_callback' => 'conceptly_sanitize_url',
178
  'priority' => 10,
182
  $wp_customize->add_control(
183
  'call_action_button_link',
184
  array(
185
+ 'label' => __('Button Link','clever-fox'),
186
  'section' => 'call_action_setting',
187
  'settings' => 'call_action_button_link',
188
  'type' => 'text',
203
  'call_action_button_target',
204
  array(
205
  'type' => 'checkbox',
206
+ 'label' => __('Open link in a new tab','clever-fox'),
207
  'section' => 'call_action_setting',
208
  'settings' => 'call_action_button_target',
209
  )
226
  'cta_bg_head',
227
  array(
228
  'type' => 'hidden',
229
+ 'label' => __('Bg','clever-fox'),
230
  'section' => 'call_action_setting',
231
  )
232
  );
245
 
246
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'call_action_background_setting' ,
247
  array(
248
+ 'label' => __( 'Background Image', 'clever-fox' ),
249
  'section' => 'call_action_setting',
250
  'settings' => 'call_action_background_setting',
251
  )
253
  $wp_customize->add_setting(
254
  'cta_background_position' ,
255
  array(
256
+ 'default' => __( 'scroll', 'clever-fox' ),
257
  'capability' => 'edit_theme_options',
258
  'sanitize_callback' => 'conceptly_sanitize_select',
259
  'priority' => 17,
263
  $wp_customize->add_control(
264
  'cta_background_position' ,
265
  array(
266
+ 'label' => __( 'Image Position', 'clever-fox' ),
267
  'section' => 'call_action_setting',
268
  'settings' => 'cta_background_position',
269
  'type' => 'radio',
270
  'choices' =>
271
  array(
272
+ 'fixed'=> __( 'Fixed', 'clever-fox' ),
273
+ 'scroll' => __( 'Scroll', 'clever-fox' )
274
  )
275
  )
276
  );
inc/conceptly/features/conceptly-features.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'features_setting', array(
9
- 'title' => esc_html__( 'Feature Section', 'conceptly' ),
10
  'panel' => 'conceptly_frontpage_sections',
11
  'priority' => apply_filters( 'conceptly_section_priority',30 , 'conceptly_feature' ),
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'feature_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','conceptly'),
30
  'section' => 'features_setting',
31
  )
32
  );
@@ -35,7 +35,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
35
  $wp_customize->add_setting(
36
  'hide_show_feature' ,
37
  array(
38
- 'default' => esc_html__( '1', 'conceptly' ),
39
  'capability' => 'edit_theme_options',
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'transport' => $selective_refresh,
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_feature',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
50
  'section' => 'features_setting',
51
  'settings' => 'hide_show_feature',
52
  'type' => 'ios', // light, ios, flat
@@ -69,7 +69,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
69
  'feature_head',
70
  array(
71
  'type' => 'hidden',
72
- 'label' => __('Header','conceptly'),
73
  'section' => 'features_setting',
74
  )
75
  );
@@ -78,7 +78,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
78
  $wp_customize->add_setting(
79
  'features_title',
80
  array(
81
- 'default' => __('Our Features','conceptly'),
82
  'capability' => 'edit_theme_options',
83
  'sanitize_callback' => 'conceptly_sanitize_html',
84
  'transport' => $selective_refresh,
@@ -89,7 +89,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
  $wp_customize->add_control(
90
  'features_title',
91
  array(
92
- 'label' => __('Title','conceptly'),
93
  'section' => 'features_setting',
94
  'settings' => 'features_title',
95
  'type' => 'text',
@@ -100,7 +100,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
100
  $wp_customize->add_setting(
101
  'features_description',
102
  array(
103
- 'default' => __('There are many variations of passages of Lorem Ipsum available but the majority have suffered alteration in some form by injected humour.','conceptly'),
104
  'capability' => 'edit_theme_options',
105
  'sanitize_callback' => 'conceptly_sanitize_text',
106
  'transport' => $selective_refresh,
@@ -111,7 +111,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
111
  $wp_customize->add_control(
112
  'features_description',
113
  array(
114
- 'label' => __('Description','conceptly'),
115
  'section' => 'features_setting',
116
  'settings' => 'features_description',
117
  'type' => 'textarea',
@@ -134,7 +134,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
134
  'feature_content_head',
135
  array(
136
  'type' => 'hidden',
137
- 'label' => __('Content','conceptly'),
138
  'section' => 'features_setting',
139
  )
140
  );
@@ -154,10 +154,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
154
  new Conceptly_Repeater( $wp_customize,
155
  'feature_content',
156
  array(
157
- 'label' => esc_html__('Feature','conceptly'),
158
  'section' => 'features_setting',
159
- 'add_field_label' => esc_html__( 'Add New Feature', 'conceptly' ),
160
- 'item_name' => esc_html__( 'Feature', 'conceptly' ),
161
  'customizer_repeater_title_control' => true,
162
  'customizer_repeater_text_control' => true,
163
  'customizer_repeater_icon_control' => true,
@@ -171,15 +171,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
171
  $theme = wp_get_theme(); // gets the current theme
172
  if ( 'Ameya' == $theme->name){
173
  ?>
174
- <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
175
  <?php
176
  }elseif ( 'Azwa' == $theme->name){
177
  ?>
178
- <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
179
  <?php
180
  }else{
181
  ?>
182
- <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
183
  <?php
184
  }
185
  }
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'features_setting', array(
9
+ 'title' => esc_html__( 'Feature Section', 'clever-fox' ),
10
  'panel' => 'conceptly_frontpage_sections',
11
  'priority' => apply_filters( 'conceptly_section_priority',30 , 'conceptly_feature' ),
12
  )
26
  'feature_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'features_setting',
31
  )
32
  );
35
  $wp_customize->add_setting(
36
  'hide_show_feature' ,
37
  array(
38
+ 'default' => esc_html__( '1', 'clever-fox' ),
39
  'capability' => 'edit_theme_options',
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'transport' => $selective_refresh,
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_feature',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'features_setting',
51
  'settings' => 'hide_show_feature',
52
  'type' => 'ios', // light, ios, flat
69
  'feature_head',
70
  array(
71
  'type' => 'hidden',
72
+ 'label' => __('Header','clever-fox'),
73
  'section' => 'features_setting',
74
  )
75
  );
78
  $wp_customize->add_setting(
79
  'features_title',
80
  array(
81
+ 'default' => __('Our Features','clever-fox'),
82
  'capability' => 'edit_theme_options',
83
  'sanitize_callback' => 'conceptly_sanitize_html',
84
  'transport' => $selective_refresh,
89
  $wp_customize->add_control(
90
  'features_title',
91
  array(
92
+ 'label' => __('Title','clever-fox'),
93
  'section' => 'features_setting',
94
  'settings' => 'features_title',
95
  'type' => 'text',
100
  $wp_customize->add_setting(
101
  'features_description',
102
  array(
103
+ 'default' => __('There are many variations of passages of Lorem Ipsum available but the majority have suffered alteration in some form by injected humour.','clever-fox'),
104
  'capability' => 'edit_theme_options',
105
  'sanitize_callback' => 'conceptly_sanitize_text',
106
  'transport' => $selective_refresh,
111
  $wp_customize->add_control(
112
  'features_description',
113
  array(
114
+ 'label' => __('Description','clever-fox'),
115
  'section' => 'features_setting',
116
  'settings' => 'features_description',
117
  'type' => 'textarea',
134
  'feature_content_head',
135
  array(
136
  'type' => 'hidden',
137
+ 'label' => __('Content','clever-fox'),
138
  'section' => 'features_setting',
139
  )
140
  );
154
  new Conceptly_Repeater( $wp_customize,
155
  'feature_content',
156
  array(
157
+ 'label' => esc_html__('Feature','clever-fox'),
158
  'section' => 'features_setting',
159
+ 'add_field_label' => esc_html__( 'Add New Feature', 'clever-fox' ),
160
+ 'item_name' => esc_html__( 'Feature', 'clever-fox' ),
161
  'customizer_repeater_title_control' => true,
162
  'customizer_repeater_text_control' => true,
163
  'customizer_repeater_icon_control' => true,
171
  $theme = wp_get_theme(); // gets the current theme
172
  if ( 'Ameya' == $theme->name){
173
  ?>
174
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
175
  <?php
176
  }elseif ( 'Azwa' == $theme->name){
177
  ?>
178
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
179
  <?php
180
  }else{
181
  ?>
182
+ <a class="customizer_feature_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
183
  <?php
184
  }
185
  }
inc/conceptly/features/conceptly-header.php CHANGED
@@ -9,7 +9,7 @@ function conceptly_lite_header_setting( $wp_customize ){
9
  'header_contact',
10
  array(
11
  'priority' => 1,
12
- 'title' => __('Top Left Header','conceptly'),
13
  'panel' => 'header_section',
14
  )
15
  );
@@ -28,7 +28,7 @@ function conceptly_lite_header_setting( $wp_customize ){
28
  'hdr_top_phone',
29
  array(
30
  'type' => 'hidden',
31
- 'label' => __('Phone','conceptly'),
32
  'section' => 'header_contact',
33
  )
34
  );
@@ -48,7 +48,7 @@ function conceptly_lite_header_setting( $wp_customize ){
48
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
49
  'hide_show_contact_infot',
50
  array(
51
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
52
  'section' => 'header_contact',
53
  'settings' => 'hide_show_contact_infot',
54
  'type' => 'ios', // light, ios, flat
@@ -61,7 +61,7 @@ function conceptly_lite_header_setting( $wp_customize ){
61
  $wp_customize->add_setting(
62
  'header_phone_icon',
63
  array(
64
- 'default' => __('fa-phone','conceptly'),
65
  'sanitize_callback' => 'conceptly_sanitize_text',
66
  'capability' => 'edit_theme_options',
67
  'priority' => 3,
@@ -71,7 +71,7 @@ function conceptly_lite_header_setting( $wp_customize ){
71
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
72
  'header_phone_icon',
73
  array(
74
- 'label' => __('Phone Icon','conceptly'),
75
  'section' => 'header_contact',
76
  'settings'=> 'header_phone_icon',
77
  'iconset' => 'fa',
@@ -81,7 +81,7 @@ function conceptly_lite_header_setting( $wp_customize ){
81
  $wp_customize->add_setting(
82
  'header_phone_number',
83
  array(
84
- 'default' => __('+1 514-286-4242','conceptly'),
85
  'sanitize_callback' => 'conceptly_sanitize_text',
86
  'capability' => 'edit_theme_options',
87
  'priority' => 4,
@@ -91,7 +91,7 @@ function conceptly_lite_header_setting( $wp_customize ){
91
  $wp_customize->add_control(
92
  'header_phone_number',
93
  array(
94
- 'label' => __('Phone Number','conceptly'),
95
  'section' => 'header_contact',
96
  'settings'=> 'header_phone_number',
97
  'type' => 'text',
@@ -113,7 +113,7 @@ function conceptly_lite_header_setting( $wp_customize ){
113
  'hdr_top_email',
114
  array(
115
  'type' => 'hidden',
116
- 'label' => __('Email','conceptly'),
117
  'section' => 'header_contact',
118
  )
119
  );
@@ -133,7 +133,7 @@ function conceptly_lite_header_setting( $wp_customize ){
133
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
134
  'hide_show_email_infot',
135
  array(
136
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
137
  'section' => 'header_contact',
138
  'settings' => 'hide_show_email_infot',
139
  'type' => 'ios', // light, ios, flat
@@ -144,7 +144,7 @@ function conceptly_lite_header_setting( $wp_customize ){
144
  $wp_customize->add_setting(
145
  'header_email_icon',
146
  array(
147
- 'default' => __('fa-envelope','conceptly'),
148
  'sanitize_callback' => 'conceptly_sanitize_text',
149
  'capability' => 'edit_theme_options',
150
  'priority' => 9,
@@ -154,7 +154,7 @@ function conceptly_lite_header_setting( $wp_customize ){
154
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
155
  'header_email_icon',
156
  array(
157
- 'label' => __('Email Icon','conceptly'),
158
  'section' => 'header_contact',
159
  'settings'=> 'header_email_icon',
160
  'iconset' => 'fa',
@@ -165,7 +165,7 @@ function conceptly_lite_header_setting( $wp_customize ){
165
  $wp_customize->add_setting(
166
  'header_email',
167
  array(
168
- 'default' => __('example@example.com','conceptly'),
169
  'sanitize_callback' => 'conceptly_sanitize_text',
170
  'capability' => 'edit_theme_options',
171
  'priority' => 10,
@@ -175,7 +175,7 @@ function conceptly_lite_header_setting( $wp_customize ){
175
  $wp_customize->add_control(
176
  'header_email',
177
  array(
178
- 'label' => __('Email','conceptly'),
179
  'section' => 'header_contact',
180
  'settings'=> 'header_email',
181
  'type' => 'text',
@@ -197,7 +197,7 @@ function conceptly_lite_header_setting( $wp_customize ){
197
  'hdr_top_faq',
198
  array(
199
  'type' => 'hidden',
200
- 'label' => __('FAQ','conceptly'),
201
  'section' => 'header_contact',
202
  )
203
  );
@@ -217,7 +217,7 @@ function conceptly_lite_header_setting( $wp_customize ){
217
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
218
  'hide_show_faq',
219
  array(
220
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
221
  'section' => 'header_contact',
222
  'settings' => 'hide_show_faq',
223
  'type' => 'ios', // light, ios, flat
@@ -228,7 +228,7 @@ function conceptly_lite_header_setting( $wp_customize ){
228
  $wp_customize->add_setting(
229
  'header_faq_icon',
230
  array(
231
- 'default' => __('fa-user','conceptly'),
232
  'sanitize_callback' => 'conceptly_sanitize_text',
233
  'capability' => 'edit_theme_options',
234
  'priority' => 15,
@@ -238,7 +238,7 @@ function conceptly_lite_header_setting( $wp_customize ){
238
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
239
  'header_faq_icon',
240
  array(
241
- 'label' => __('FAQ Icon','conceptly'),
242
  'section' => 'header_contact',
243
  'settings'=> 'header_faq_icon',
244
  'iconset' => 'fa',
@@ -248,7 +248,7 @@ function conceptly_lite_header_setting( $wp_customize ){
248
  $wp_customize->add_setting(
249
  'header_faq',
250
  array(
251
- 'default' => __('Ask Your Question','conceptly'),
252
  'sanitize_callback' => 'conceptly_sanitize_text',
253
  'capability' => 'edit_theme_options',
254
  'priority' => 16,
@@ -258,10 +258,10 @@ function conceptly_lite_header_setting( $wp_customize ){
258
  $wp_customize->add_control(
259
  'header_faq',
260
  array(
261
- 'label' => __('Ask Your Question','conceptly'),
262
  'section' => 'header_contact',
263
  'settings' => 'header_faq',
264
- 'description' => __( '', 'conceptly' ),
265
  'type' => 'textarea'
266
  )
267
  );
@@ -275,7 +275,7 @@ function conceptly_lite_header_setting( $wp_customize ){
275
  'header_setting',
276
  array(
277
  'priority' => 1,
278
- 'title' => __('Top Right Header','conceptly'),
279
  'panel' => 'header_section',
280
  )
281
  );
@@ -294,7 +294,7 @@ function conceptly_lite_header_setting( $wp_customize ){
294
  'hdr_social_setting_head',
295
  array(
296
  'type' => 'hidden',
297
- 'label' => __('Setting','conceptly'),
298
  'section' => 'header_setting',
299
  )
300
  );
@@ -314,7 +314,7 @@ function conceptly_lite_header_setting( $wp_customize ){
314
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
315
  'hide_show_social_icon',
316
  array(
317
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
318
  'section' => 'header_setting',
319
  'settings' => 'hide_show_social_icon',
320
  'type' => 'ios', // light, ios, flat
@@ -335,7 +335,7 @@ function conceptly_lite_header_setting( $wp_customize ){
335
  'hdr_social_content_head',
336
  array(
337
  'type' => 'hidden',
338
- 'label' => __('Social-Icon','conceptly'),
339
  'section' => 'header_setting',
340
  )
341
  );
@@ -355,7 +355,7 @@ function conceptly_lite_header_setting( $wp_customize ){
355
  new Conceptly_Repeater( $wp_customize,
356
  'social_icons',
357
  array(
358
- 'label' => esc_html__('Social Icons','conceptly'),
359
  'section' => 'header_setting',
360
  'customizer_repeater_icon_control' => true,
361
  'customizer_repeater_link_control' => true,
@@ -382,7 +382,7 @@ function conceptly_lite_header_setting( $wp_customize ){
382
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_min_height',
383
  array(
384
  'section' => 'breadcrumb_design',
385
- 'label' => __( 'Min Height','conceptly' ),
386
  'input_attrs' => array(
387
  'min' => 0,
388
  'max' => 500,
@@ -396,7 +396,7 @@ function conceptly_lite_header_setting( $wp_customize ){
396
  $wp_customize->add_setting(
397
  'breadcrumb_align' ,
398
  array(
399
- 'default' => __('left', 'conceptly' ),
400
  'capability' => 'edit_theme_options',
401
  'sanitize_callback' => 'conceptly_sanitize_select'
402
  )
@@ -405,15 +405,15 @@ function conceptly_lite_header_setting( $wp_customize ){
405
  $wp_customize->add_control(
406
  'breadcrumb_align' ,
407
  array(
408
- 'label' => __( 'Alignment', 'conceptly' ),
409
  'section' => 'breadcrumb_design',
410
  'type' => 'select',
411
  'priority' => 10,
412
  'choices' =>
413
  array(
414
- 'left' => __( 'Left', 'conceptly' ),
415
- 'center' => __( 'Center', 'conceptly' ),
416
- 'right' => __( 'Right', 'conceptly' )
417
  )
418
  )
419
  );
@@ -432,7 +432,7 @@ function conceptly_lite_header_setting( $wp_customize ){
432
  array(
433
  'section' => 'breadcrumb_design',
434
  'settings' => 'breadcrumb_opacity',
435
- 'label' => __( 'Background Opacity','conceptly' ),
436
  'input_attrs' => array(
437
  'min' => 0,
438
  'max' => 0.9,
@@ -456,7 +456,7 @@ function conceptly_lite_header_setting( $wp_customize ){
456
  'hdr_btn_setting_head',
457
  array(
458
  'type' => 'hidden',
459
- 'label' => __('Setting','conceptly'),
460
  'section' => 'header_get_button',
461
  'priority' => 1,
462
  )
@@ -475,7 +475,7 @@ function conceptly_lite_header_setting( $wp_customize ){
475
  'hdr_btn_content_head',
476
  array(
477
  'type' => 'hidden',
478
- 'label' => __('Button','conceptly'),
479
  'section' => 'header_get_button',
480
  'priority' => 5,
481
  )
9
  'header_contact',
10
  array(
11
  'priority' => 1,
12
+ 'title' => __('Top Left Header','clever-fox'),
13
  'panel' => 'header_section',
14
  )
15
  );
28
  'hdr_top_phone',
29
  array(
30
  'type' => 'hidden',
31
+ 'label' => __('Phone','clever-fox'),
32
  'section' => 'header_contact',
33
  )
34
  );
48
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
49
  'hide_show_contact_infot',
50
  array(
51
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
52
  'section' => 'header_contact',
53
  'settings' => 'hide_show_contact_infot',
54
  'type' => 'ios', // light, ios, flat
61
  $wp_customize->add_setting(
62
  'header_phone_icon',
63
  array(
64
+ 'default' => __('fa-phone','clever-fox'),
65
  'sanitize_callback' => 'conceptly_sanitize_text',
66
  'capability' => 'edit_theme_options',
67
  'priority' => 3,
71
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
72
  'header_phone_icon',
73
  array(
74
+ 'label' => __('Phone Icon','clever-fox'),
75
  'section' => 'header_contact',
76
  'settings'=> 'header_phone_icon',
77
  'iconset' => 'fa',
81
  $wp_customize->add_setting(
82
  'header_phone_number',
83
  array(
84
+ 'default' => __('+1 514-286-4242','clever-fox'),
85
  'sanitize_callback' => 'conceptly_sanitize_text',
86
  'capability' => 'edit_theme_options',
87
  'priority' => 4,
91
  $wp_customize->add_control(
92
  'header_phone_number',
93
  array(
94
+ 'label' => __('Phone Number','clever-fox'),
95
  'section' => 'header_contact',
96
  'settings'=> 'header_phone_number',
97
  'type' => 'text',
113
  'hdr_top_email',
114
  array(
115
  'type' => 'hidden',
116
+ 'label' => __('Email','clever-fox'),
117
  'section' => 'header_contact',
118
  )
119
  );
133
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
134
  'hide_show_email_infot',
135
  array(
136
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
137
  'section' => 'header_contact',
138
  'settings' => 'hide_show_email_infot',
139
  'type' => 'ios', // light, ios, flat
144
  $wp_customize->add_setting(
145
  'header_email_icon',
146
  array(
147
+ 'default' => __('fa-envelope','clever-fox'),
148
  'sanitize_callback' => 'conceptly_sanitize_text',
149
  'capability' => 'edit_theme_options',
150
  'priority' => 9,
154
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
155
  'header_email_icon',
156
  array(
157
+ 'label' => __('Email Icon','clever-fox'),
158
  'section' => 'header_contact',
159
  'settings'=> 'header_email_icon',
160
  'iconset' => 'fa',
165
  $wp_customize->add_setting(
166
  'header_email',
167
  array(
168
+ 'default' => __('example@example.com','clever-fox'),
169
  'sanitize_callback' => 'conceptly_sanitize_text',
170
  'capability' => 'edit_theme_options',
171
  'priority' => 10,
175
  $wp_customize->add_control(
176
  'header_email',
177
  array(
178
+ 'label' => __('Email','clever-fox'),
179
  'section' => 'header_contact',
180
  'settings'=> 'header_email',
181
  'type' => 'text',
197
  'hdr_top_faq',
198
  array(
199
  'type' => 'hidden',
200
+ 'label' => __('FAQ','clever-fox'),
201
  'section' => 'header_contact',
202
  )
203
  );
217
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
218
  'hide_show_faq',
219
  array(
220
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
221
  'section' => 'header_contact',
222
  'settings' => 'hide_show_faq',
223
  'type' => 'ios', // light, ios, flat
228
  $wp_customize->add_setting(
229
  'header_faq_icon',
230
  array(
231
+ 'default' => __('fa-user','clever-fox'),
232
  'sanitize_callback' => 'conceptly_sanitize_text',
233
  'capability' => 'edit_theme_options',
234
  'priority' => 15,
238
  $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
239
  'header_faq_icon',
240
  array(
241
+ 'label' => __('FAQ Icon','clever-fox'),
242
  'section' => 'header_contact',
243
  'settings'=> 'header_faq_icon',
244
  'iconset' => 'fa',
248
  $wp_customize->add_setting(
249
  'header_faq',
250
  array(
251
+ 'default' => __('Ask Your Question','clever-fox'),
252
  'sanitize_callback' => 'conceptly_sanitize_text',
253
  'capability' => 'edit_theme_options',
254
  'priority' => 16,
258
  $wp_customize->add_control(
259
  'header_faq',
260
  array(
261
+ 'label' => __('Ask Your Question','clever-fox'),
262
  'section' => 'header_contact',
263
  'settings' => 'header_faq',
264
+ 'description' => __( '', 'clever-fox' ),
265
  'type' => 'textarea'
266
  )
267
  );
275
  'header_setting',
276
  array(
277
  'priority' => 1,
278
+ 'title' => __('Top Right Header','clever-fox'),
279
  'panel' => 'header_section',
280
  )
281
  );
294
  'hdr_social_setting_head',
295
  array(
296
  'type' => 'hidden',
297
+ 'label' => __('Setting','clever-fox'),
298
  'section' => 'header_setting',
299
  )
300
  );
314
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
315
  'hide_show_social_icon',
316
  array(
317
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
318
  'section' => 'header_setting',
319
  'settings' => 'hide_show_social_icon',
320
  'type' => 'ios', // light, ios, flat
335
  'hdr_social_content_head',
336
  array(
337
  'type' => 'hidden',
338
+ 'label' => __('Social-Icon','clever-fox'),
339
  'section' => 'header_setting',
340
  )
341
  );
355
  new Conceptly_Repeater( $wp_customize,
356
  'social_icons',
357
  array(
358
+ 'label' => esc_html__('Social Icons','clever-fox'),
359
  'section' => 'header_setting',
360
  'customizer_repeater_icon_control' => true,
361
  'customizer_repeater_link_control' => true,
382
  new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'breadcrumb_min_height',
383
  array(
384
  'section' => 'breadcrumb_design',
385
+ 'label' => __( 'Min Height','clever-fox' ),
386
  'input_attrs' => array(
387
  'min' => 0,
388
  'max' => 500,
396
  $wp_customize->add_setting(
397
  'breadcrumb_align' ,
398
  array(
399
+ 'default' => __('left', 'clever-fox' ),
400
  'capability' => 'edit_theme_options',
401
  'sanitize_callback' => 'conceptly_sanitize_select'
402
  )
405
  $wp_customize->add_control(
406
  'breadcrumb_align' ,
407
  array(
408
+ 'label' => __( 'Alignment', 'clever-fox' ),
409
  'section' => 'breadcrumb_design',
410
  'type' => 'select',
411
  'priority' => 10,
412
  'choices' =>
413
  array(
414
+ 'left' => __( 'Left', 'clever-fox' ),
415
+ 'center' => __( 'Center', 'clever-fox' ),
416
+ 'right' => __( 'Right', 'clever-fox' )
417
  )
418
  )
419
  );
432
  array(
433
  'section' => 'breadcrumb_design',
434
  'settings' => 'breadcrumb_opacity',
435
+ 'label' => __( 'Background Opacity','clever-fox' ),
436
  'input_attrs' => array(
437
  'min' => 0,
438
  'max' => 0.9,
456
  'hdr_btn_setting_head',
457
  array(
458
  'type' => 'hidden',
459
+ 'label' => __('Setting','clever-fox'),
460
  'section' => 'header_get_button',
461
  'priority' => 1,
462
  )
475
  'hdr_btn_content_head',
476
  array(
477
  'type' => 'hidden',
478
+ 'label' => __('Button','clever-fox'),
479
  'section' => 'header_get_button',
480
  'priority' => 5,
481
  )
inc/conceptly/features/conceptly-info.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
- 'title' => esc_html__( 'Info Section', 'conceptly' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  'priority' => apply_filters( 'conceptly_section_priority', 10, 'conceptly_info' ),
13
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'info_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','conceptly'),
30
  'section' => 'info_setting',
31
  )
32
  );
@@ -35,7 +35,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
35
  $wp_customize->add_setting(
36
  'hide_show_info' ,
37
  array(
38
- 'default' => esc_html__( '1', 'conceptly' ),
39
  'capability' => 'edit_theme_options',
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'transport' => $selective_refresh,
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_info',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
50
  'section' => 'info_setting',
51
  'settings' => 'hide_show_info',
52
  'type' => 'ios', // light, ios, flat
@@ -69,7 +69,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
69
  'info_first_content_head',
70
  array(
71
  'type' => 'hidden',
72
- 'label' => __('Info First','conceptly'),
73
  'section' => 'info_setting',
74
  )
75
  );
@@ -88,7 +88,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
88
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
89
  'infos_first_icon_setting',
90
  array(
91
- 'label' => __('Info Icon','conceptly'),
92
  'section' => 'info_setting',
93
  'settings'=> 'infos_first_icon_setting',
94
  'iconset' => 'fa',
@@ -99,7 +99,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
99
  $wp_customize->add_setting(
100
  'info_title',
101
  array(
102
- 'default' => __('Email Address','conceptly'),
103
  'capability' => 'edit_theme_options',
104
  'sanitize_callback' => 'sanitize_text_field',
105
  'transport' => $selective_refresh,
@@ -110,7 +110,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
110
  $wp_customize->add_control(
111
  'info_title',
112
  array(
113
- 'label' => __('Title','conceptly'),
114
  'section' => 'info_setting',
115
  'settings'=> 'info_title',
116
  'type' => 'text',
@@ -121,7 +121,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
121
  $wp_customize->add_setting(
122
  'info_description',
123
  array(
124
- 'default' => __('email@example.com','conceptly'),
125
  'capability' => 'edit_theme_options',
126
  'sanitize_callback' => 'sanitize_text_field',
127
  'transport' => $selective_refresh,
@@ -132,7 +132,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
132
  $wp_customize->add_control(
133
  'info_description',
134
  array(
135
- 'label' => __('Description','conceptly'),
136
  'section' => 'info_setting',
137
  'settings'=> 'info_description',
138
  'type' => 'text',
@@ -156,7 +156,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
156
  'info_second_content_head',
157
  array(
158
  'type' => 'hidden',
159
- 'label' => __('Info Second','conceptly'),
160
  'section' => 'info_setting',
161
  )
162
  );
@@ -176,7 +176,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
176
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
177
  'infos_second_icon_setting',
178
  array(
179
- 'label' => __('Info Icon','conceptly'),
180
  'section' => 'info_setting',
181
  'settings'=> 'infos_second_icon_setting',
182
  'iconset' => 'fa',
@@ -187,7 +187,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
187
  $wp_customize->add_setting(
188
  'info_title2',
189
  array(
190
- 'default' => __('Customer Support','conceptly'),
191
  'capability' => 'edit_theme_options',
192
  'sanitize_callback' => 'sanitize_text_field',
193
  'transport' => $selective_refresh,
@@ -198,7 +198,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
198
  $wp_customize->add_control(
199
  'info_title2',
200
  array(
201
- 'label' => __('Title','conceptly'),
202
  'section' => 'info_setting',
203
  'settings'=> 'info_title2',
204
  'type' => 'text',
@@ -209,7 +209,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
209
  $wp_customize->add_setting(
210
  'info_description2',
211
  array(
212
- 'default' => __('70 975 975 70','conceptly'),
213
  'capability' => 'edit_theme_options',
214
  'sanitize_callback' => 'sanitize_text_field',
215
  'transport' => $selective_refresh,
@@ -220,7 +220,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
220
  $wp_customize->add_control(
221
  'info_description2',
222
  array(
223
- 'label' => __('Description','conceptly'),
224
  'section' => 'info_setting',
225
  'settings'=> 'info_description2',
226
  'type' => 'text',
@@ -244,7 +244,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
244
  'info_third_content_head',
245
  array(
246
  'type' => 'hidden',
247
- 'label' => __('Info Third','conceptly'),
248
  'section' => 'info_setting',
249
  )
250
  );
@@ -264,7 +264,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
264
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
265
  'infos_third_icon_setting',
266
  array(
267
- 'label' => __('Info Icon','conceptly'),
268
  'section' => 'info_setting',
269
  'settings'=> 'infos_third_icon_setting',
270
  'iconset' => 'fa',
@@ -275,7 +275,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
275
  $wp_customize->add_setting(
276
  'info_title3',
277
  array(
278
- 'default' => __('Office Address','conceptly'),
279
  'capability' => 'edit_theme_options',
280
  'sanitize_callback' => 'sanitize_text_field',
281
  'transport' => $selective_refresh,
@@ -286,7 +286,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
286
  $wp_customize->add_control(
287
  'info_title3',
288
  array(
289
- 'label' => __('Title','conceptly'),
290
  'section' => 'info_setting',
291
  'settings'=> 'info_title3',
292
  'type' => 'text',
@@ -297,7 +297,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
297
  $wp_customize->add_setting(
298
  'info_description3',
299
  array(
300
- 'default' => __('California Floor, USA 1208','conceptly'),
301
  'capability' => 'edit_theme_options',
302
  'sanitize_callback' => 'sanitize_text_field',
303
  'transport' => $selective_refresh,
@@ -308,7 +308,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
308
  $wp_customize->add_control(
309
  'info_description3',
310
  array(
311
- 'label' => __('Description','conceptly'),
312
  'section' => 'info_setting',
313
  'settings'=> 'info_description3',
314
  'type' => 'text',
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
+ 'title' => esc_html__( 'Info Section', 'clever-fox' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  'priority' => apply_filters( 'conceptly_section_priority', 10, 'conceptly_info' ),
13
  )
26
  'info_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'info_setting',
31
  )
32
  );
35
  $wp_customize->add_setting(
36
  'hide_show_info' ,
37
  array(
38
+ 'default' => esc_html__( '1', 'clever-fox' ),
39
  'capability' => 'edit_theme_options',
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'transport' => $selective_refresh,
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_info',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'info_setting',
51
  'settings' => 'hide_show_info',
52
  'type' => 'ios', // light, ios, flat
69
  'info_first_content_head',
70
  array(
71
  'type' => 'hidden',
72
+ 'label' => __('Info First','clever-fox'),
73
  'section' => 'info_setting',
74
  )
75
  );
88
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
89
  'infos_first_icon_setting',
90
  array(
91
+ 'label' => __('Info Icon','clever-fox'),
92
  'section' => 'info_setting',
93
  'settings'=> 'infos_first_icon_setting',
94
  'iconset' => 'fa',
99
  $wp_customize->add_setting(
100
  'info_title',
101
  array(
102
+ 'default' => __('Email Address','clever-fox'),
103
  'capability' => 'edit_theme_options',
104
  'sanitize_callback' => 'sanitize_text_field',
105
  'transport' => $selective_refresh,
110
  $wp_customize->add_control(
111
  'info_title',
112
  array(
113
+ 'label' => __('Title','clever-fox'),
114
  'section' => 'info_setting',
115
  'settings'=> 'info_title',
116
  'type' => 'text',
121
  $wp_customize->add_setting(
122
  'info_description',
123
  array(
124
+ 'default' => __('email@example.com','clever-fox'),
125
  'capability' => 'edit_theme_options',
126
  'sanitize_callback' => 'sanitize_text_field',
127
  'transport' => $selective_refresh,
132
  $wp_customize->add_control(
133
  'info_description',
134
  array(
135
+ 'label' => __('Description','clever-fox'),
136
  'section' => 'info_setting',
137
  'settings'=> 'info_description',
138
  'type' => 'text',
156
  'info_second_content_head',
157
  array(
158
  'type' => 'hidden',
159
+ 'label' => __('Info Second','clever-fox'),
160
  'section' => 'info_setting',
161
  )
162
  );
176
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
177
  'infos_second_icon_setting',
178
  array(
179
+ 'label' => __('Info Icon','clever-fox'),
180
  'section' => 'info_setting',
181
  'settings'=> 'infos_second_icon_setting',
182
  'iconset' => 'fa',
187
  $wp_customize->add_setting(
188
  'info_title2',
189
  array(
190
+ 'default' => __('Customer Support','clever-fox'),
191
  'capability' => 'edit_theme_options',
192
  'sanitize_callback' => 'sanitize_text_field',
193
  'transport' => $selective_refresh,
198
  $wp_customize->add_control(
199
  'info_title2',
200
  array(
201
+ 'label' => __('Title','clever-fox'),
202
  'section' => 'info_setting',
203
  'settings'=> 'info_title2',
204
  'type' => 'text',
209
  $wp_customize->add_setting(
210
  'info_description2',
211
  array(
212
+ 'default' => __('70 975 975 70','clever-fox'),
213
  'capability' => 'edit_theme_options',
214
  'sanitize_callback' => 'sanitize_text_field',
215
  'transport' => $selective_refresh,
220
  $wp_customize->add_control(
221
  'info_description2',
222
  array(
223
+ 'label' => __('Description','clever-fox'),
224
  'section' => 'info_setting',
225
  'settings'=> 'info_description2',
226
  'type' => 'text',
244
  'info_third_content_head',
245
  array(
246
  'type' => 'hidden',
247
+ 'label' => __('Info Third','clever-fox'),
248
  'section' => 'info_setting',
249
  )
250
  );
264
  $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
265
  'infos_third_icon_setting',
266
  array(
267
+ 'label' => __('Info Icon','clever-fox'),
268
  'section' => 'info_setting',
269
  'settings'=> 'infos_third_icon_setting',
270
  'iconset' => 'fa',
275
  $wp_customize->add_setting(
276
  'info_title3',
277
  array(
278
+ 'default' => __('Office Address','clever-fox'),
279
  'capability' => 'edit_theme_options',
280
  'sanitize_callback' => 'sanitize_text_field',
281
  'transport' => $selective_refresh,
286
  $wp_customize->add_control(
287
  'info_title3',
288
  array(
289
+ 'label' => __('Title','clever-fox'),
290
  'section' => 'info_setting',
291
  'settings'=> 'info_title3',
292
  'type' => 'text',
297
  $wp_customize->add_setting(
298
  'info_description3',
299
  array(
300
+ 'default' => __('California Floor, USA 1208','clever-fox'),
301
  'capability' => 'edit_theme_options',
302
  'sanitize_callback' => 'sanitize_text_field',
303
  'transport' => $selective_refresh,
308
  $wp_customize->add_control(
309
  'info_description3',
310
  array(
311
+ 'label' => __('Description','clever-fox'),
312
  'section' => 'info_setting',
313
  'settings'=> 'info_description3',
314
  'type' => 'text',
inc/conceptly/features/conceptly-navigation.php CHANGED
@@ -16,7 +16,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
16
  'blog_setting_head',
17
  array(
18
  'type' => 'hidden',
19
- 'label' => __('Setting','conceptly'),
20
  'section' => 'blog_setting',
21
  'priority' => 1,
22
  )
@@ -35,7 +35,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
35
  'blog_head',
36
  array(
37
  'type' => 'hidden',
38
- 'label' => __('Header','conceptly'),
39
  'section' => 'blog_setting',
40
  'priority' => 4,
41
  )
@@ -54,7 +54,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
54
  'blog_content_head',
55
  array(
56
  'type' => 'hidden',
57
- 'label' => __('Content','conceptly'),
58
  'section' => 'blog_setting',
59
  'priority' => 9,
60
  )
@@ -74,7 +74,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
74
  'copyright_setting_head',
75
  array(
76
  'type' => 'hidden',
77
- 'label' => __('Setting','conceptly'),
78
  'section' => 'footer_copyright',
79
  'priority' => 1,
80
  )
@@ -93,7 +93,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
93
  'copyright_content_head',
94
  array(
95
  'type' => 'hidden',
96
- 'label' => __('Content','conceptly'),
97
  'section' => 'footer_copyright',
98
  'priority' => 4,
99
  )
@@ -114,7 +114,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
114
  'payment_setting_head',
115
  array(
116
  'type' => 'hidden',
117
- 'label' => __('Setting','conceptly'),
118
  'section' => 'footer_icon',
119
  'priority' => 1,
120
  )
@@ -133,7 +133,7 @@ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
133
  'payment_content_head',
134
  array(
135
  'type' => 'hidden',
136
- 'label' => __('Content','conceptly'),
137
  'section' => 'footer_icon',
138
  'priority' => 4,
139
  )
16
  'blog_setting_head',
17
  array(
18
  'type' => 'hidden',
19
+ 'label' => __('Setting','clever-fox'),
20
  'section' => 'blog_setting',
21
  'priority' => 1,
22
  )
35
  'blog_head',
36
  array(
37
  'type' => 'hidden',
38
+ 'label' => __('Header','clever-fox'),
39
  'section' => 'blog_setting',
40
  'priority' => 4,
41
  )
54
  'blog_content_head',
55
  array(
56
  'type' => 'hidden',
57
+ 'label' => __('Content','clever-fox'),
58
  'section' => 'blog_setting',
59
  'priority' => 9,
60
  )
74
  'copyright_setting_head',
75
  array(
76
  'type' => 'hidden',
77
+ 'label' => __('Setting','clever-fox'),
78
  'section' => 'footer_copyright',
79
  'priority' => 1,
80
  )
93
  'copyright_content_head',
94
  array(
95
  'type' => 'hidden',
96
+ 'label' => __('Content','clever-fox'),
97
  'section' => 'footer_copyright',
98
  'priority' => 4,
99
  )
114
  'payment_setting_head',
115
  array(
116
  'type' => 'hidden',
117
+ 'label' => __('Setting','clever-fox'),
118
  'section' => 'footer_icon',
119
  'priority' => 1,
120
  )
133
  'payment_content_head',
134
  array(
135
  'type' => 'hidden',
136
+ 'label' => __('Content','clever-fox'),
137
  'section' => 'footer_icon',
138
  'priority' => 4,
139
  )
inc/conceptly/features/conceptly-service.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'service_setting', array(
9
- 'title' => esc_html__( 'Service Section', 'conceptly' ),
10
  'priority' => apply_filters( 'conceptly_section_priority', 20, 'conceptly_service' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'service_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','conceptly'),
30
  'section' => 'service_setting',
31
  )
32
  );
@@ -35,7 +35,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
35
  $wp_customize->add_setting(
36
  'hide_show_service' ,
37
  array(
38
- 'default' => esc_html__( '1', 'conceptly' ),
39
  'sanitize_callback' => 'sanitize_text_field',
40
  'capability' => 'edit_theme_options',
41
  'transport' => $selective_refresh,
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_service',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
50
  'section' => 'service_setting',
51
  'settings' => 'hide_show_service',
52
  'type' => 'ios', // light, ios, flat
@@ -69,7 +69,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
69
  'service_head',
70
  array(
71
  'type' => 'hidden',
72
- 'label' => __('Header','conceptly'),
73
  'section' => 'service_setting',
74
  )
75
  );
@@ -78,7 +78,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
78
  $wp_customize->add_setting(
79
  'service_title',
80
  array(
81
- 'default' => __('Our Services','conceptly'),
82
  'capability' => 'edit_theme_options',
83
  'sanitize_callback' => 'conceptly_sanitize_html',
84
  'transport' => $selective_refresh,
@@ -89,7 +89,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
  $wp_customize->add_control(
90
  'service_title',
91
  array(
92
- 'label' => __('Title','conceptly'),
93
  'section' => 'service_setting',
94
  'settings' => 'service_title',
95
  'type' => 'text',
@@ -101,7 +101,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
101
  $wp_customize->add_setting(
102
  'service_description',
103
  array(
104
- 'default' => __('These are the services we provide, these makes us stand apart.','conceptly'),
105
  'capability' => 'edit_theme_options',
106
  'sanitize_callback' => 'conceptly_sanitize_text',
107
  'transport' => $selective_refresh,
@@ -112,7 +112,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
112
  $wp_customize->add_control(
113
  'service_description',
114
  array(
115
- 'label' => __('Description','conceptly'),
116
  'section' => 'service_setting',
117
  'settings' => 'service_description',
118
  'type' => 'textarea',
@@ -135,7 +135,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
135
  'service_content_head',
136
  array(
137
  'type' => 'hidden',
138
- 'label' => __('Content','conceptly'),
139
  'section' => 'service_setting',
140
  )
141
  );
@@ -157,10 +157,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
157
  new Conceptly_Repeater( $wp_customize,
158
  'service_contents',
159
  array(
160
- 'label' => esc_html__('Service','conceptly'),
161
  'section' => 'service_setting',
162
- 'add_field_label' => esc_html__( 'Add New Service', 'conceptly' ),
163
- 'item_name' => esc_html__( 'Service', 'conceptly' ),
164
  'customizer_repeater_icon_control' => true,
165
  'customizer_repeater_title_control' => true,
166
  'customizer_repeater_subtitle_control' => true,
@@ -178,15 +178,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
178
  $theme = wp_get_theme(); // gets the current theme
179
  if ( 'Ameya' == $theme->name){
180
  ?>
181
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
182
  <?php
183
  }elseif ( 'Azwa' == $theme->name){
184
  ?>
185
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
186
  <?php
187
  }else{
188
  ?>
189
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
190
  <?php
191
  }
192
  }
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'service_setting', array(
9
+ 'title' => esc_html__( 'Service Section', 'clever-fox' ),
10
  'priority' => apply_filters( 'conceptly_section_priority', 20, 'conceptly_service' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  )
26
  'service_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'service_setting',
31
  )
32
  );
35
  $wp_customize->add_setting(
36
  'hide_show_service' ,
37
  array(
38
+ 'default' => esc_html__( '1', 'clever-fox' ),
39
  'sanitize_callback' => 'sanitize_text_field',
40
  'capability' => 'edit_theme_options',
41
  'transport' => $selective_refresh,
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_service',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'service_setting',
51
  'settings' => 'hide_show_service',
52
  'type' => 'ios', // light, ios, flat
69
  'service_head',
70
  array(
71
  'type' => 'hidden',
72
+ 'label' => __('Header','clever-fox'),
73
  'section' => 'service_setting',
74
  )
75
  );
78
  $wp_customize->add_setting(
79
  'service_title',
80
  array(
81
+ 'default' => __('Our Services','clever-fox'),
82
  'capability' => 'edit_theme_options',
83
  'sanitize_callback' => 'conceptly_sanitize_html',
84
  'transport' => $selective_refresh,
89
  $wp_customize->add_control(
90
  'service_title',
91
  array(
92
+ 'label' => __('Title','clever-fox'),
93
  'section' => 'service_setting',
94
  'settings' => 'service_title',
95
  'type' => 'text',
101
  $wp_customize->add_setting(
102
  'service_description',
103
  array(
104
+ 'default' => __('These are the services we provide, these makes us stand apart.','clever-fox'),
105
  'capability' => 'edit_theme_options',
106
  'sanitize_callback' => 'conceptly_sanitize_text',
107
  'transport' => $selective_refresh,
112
  $wp_customize->add_control(
113
  'service_description',
114
  array(
115
+ 'label' => __('Description','clever-fox'),
116
  'section' => 'service_setting',
117
  'settings' => 'service_description',
118
  'type' => 'textarea',
135
  'service_content_head',
136
  array(
137
  'type' => 'hidden',
138
+ 'label' => __('Content','clever-fox'),
139
  'section' => 'service_setting',
140
  )
141
  );
157
  new Conceptly_Repeater( $wp_customize,
158
  'service_contents',
159
  array(
160
+ 'label' => esc_html__('Service','clever-fox'),
161
  'section' => 'service_setting',
162
+ 'add_field_label' => esc_html__( 'Add New Service', 'clever-fox' ),
163
+ 'item_name' => esc_html__( 'Service', 'clever-fox' ),
164
  'customizer_repeater_icon_control' => true,
165
  'customizer_repeater_title_control' => true,
166
  'customizer_repeater_subtitle_control' => true,
178
  $theme = wp_get_theme(); // gets the current theme
179
  if ( 'Ameya' == $theme->name){
180
  ?>
181
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
182
  <?php
183
  }elseif ( 'Azwa' == $theme->name){
184
  ?>
185
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
186
  <?php
187
  }else{
188
  ?>
189
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
190
  <?php
191
  }
192
  }
inc/conceptly/features/conceptly-slider.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'slider_setting', array(
9
- 'title' => esc_html__( 'Slider Section', 'conceptly' ),
10
  'panel' => 'conceptly_frontpage_sections',
11
  'priority' => apply_filters( 'conceptly_section_priority', 1, 'slider_setting' ),
12
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'slider_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('setting','conceptly'),
30
  'section' => 'slider_setting',
31
  )
32
  );
@@ -35,7 +35,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
35
  $wp_customize->add_setting(
36
  'hide_show_slider' ,
37
  array(
38
- 'default' => esc_html__( '1', 'conceptly' ),
39
  'capability' => 'edit_theme_options',
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'transport' => $selective_refresh,
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_slider',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
50
  'section' => 'slider_setting',
51
  'settings' => 'hide_show_slider',
52
  'type' => 'ios', // light, ios, flat
@@ -68,7 +68,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  'slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
- 'label' => __('Content','conceptly'),
72
  'section' => 'slider_setting',
73
  )
74
  );
@@ -89,10 +89,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
  new Conceptly_Repeater( $wp_customize,
90
  'slider',
91
  array(
92
- 'label' => esc_html__('Slide','conceptly'),
93
  'section' => 'slider_setting',
94
- 'add_field_label' => esc_html__( 'Add New Slider', 'conceptly' ),
95
- 'item_name' => esc_html__( 'Slider', 'conceptly' ),
96
 
97
  'customizer_repeater_icon_control' => false,
98
  'customizer_repeater_title_control' => true,
@@ -113,15 +113,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
113
  $theme = wp_get_theme(); // gets the current theme
114
  if ( 'Ameya' == $theme->name){
115
  ?>
116
- <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>
117
  <?php
118
  }elseif ( 'Azwa' == $theme->name){
119
  ?>
120
- <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>
121
  <?php
122
  }else{
123
  ?>
124
- <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>
125
  <?php
126
  }
127
  }
@@ -161,7 +161,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
161
  array(
162
  'section' => 'slider_setting',
163
  'settings' => 'slider_opacity',
164
- 'label' => __( 'Background Opacity','conceptly' ),
165
  'input_attrs' => array(
166
  'min' => 0,
167
  'max' => 0.9,
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'slider_setting', array(
9
+ 'title' => esc_html__( 'Slider Section', 'clever-fox' ),
10
  'panel' => 'conceptly_frontpage_sections',
11
  'priority' => apply_filters( 'conceptly_section_priority', 1, 'slider_setting' ),
12
  )
26
  'slider_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('setting','clever-fox'),
30
  'section' => 'slider_setting',
31
  )
32
  );
35
  $wp_customize->add_setting(
36
  'hide_show_slider' ,
37
  array(
38
+ 'default' => esc_html__( '1', 'clever-fox' ),
39
  'capability' => 'edit_theme_options',
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'transport' => $selective_refresh,
46
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_slider',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'slider_setting',
51
  'settings' => 'hide_show_slider',
52
  'type' => 'ios', // light, ios, flat
68
  'slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
+ 'label' => __('Content','clever-fox'),
72
  'section' => 'slider_setting',
73
  )
74
  );
89
  new Conceptly_Repeater( $wp_customize,
90
  'slider',
91
  array(
92
+ 'label' => esc_html__('Slide','clever-fox'),
93
  'section' => 'slider_setting',
94
+ 'add_field_label' => esc_html__( 'Add New Slider', 'clever-fox' ),
95
+ 'item_name' => esc_html__( 'Slider', 'clever-fox' ),
96
 
97
  'customizer_repeater_icon_control' => false,
98
  'customizer_repeater_title_control' => true,
113
  $theme = wp_get_theme(); // gets the current theme
114
  if ( 'Ameya' == $theme->name){
115
  ?>
116
+ <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','clever-fox'); ?></a>
117
  <?php
118
  }elseif ( 'Azwa' == $theme->name){
119
  ?>
120
+ <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','clever-fox'); ?></a>
121
  <?php
122
  }else{
123
  ?>
124
+ <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','clever-fox'); ?></a>
125
  <?php
126
  }
127
  }
161
  array(
162
  'section' => 'slider_setting',
163
  'settings' => 'slider_opacity',
164
+ 'label' => __( 'Background Opacity','clever-fox' ),
165
  'input_attrs' => array(
166
  'min' => 0,
167
  'max' => 0.9,
inc/conceptly/features/conceptly-sponsers.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'sponsers_setting', array(
10
- 'title' => esc_html__( 'Sponsor Section', 'conceptly' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  'priority' => apply_filters( 'conceptly_section_priority', 120, 'conceptly_Sponsers' ),
13
  )
@@ -29,7 +29,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
29
  'sponsor_setting_head',
30
  array(
31
  'type' => 'hidden',
32
- 'label' => __('Setting','conceptly'),
33
  'section' => 'sponsers_setting',
34
  )
35
  );
@@ -38,7 +38,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
38
  $wp_customize->add_setting(
39
  'hide_show_sponser' ,
40
  array(
41
- 'default' => esc_html__( '1', 'conceptly' ),
42
  'capability' => 'edit_theme_options',
43
  'sanitize_callback' => 'sanitize_text_field',
44
  'transport' => $selective_refresh,
@@ -49,7 +49,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
49
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
50
  'hide_show_sponser',
51
  array(
52
- 'label' => esc_html__( 'Hide / Show Section', 'conceptly' ),
53
  'section' => 'sponsers_setting',
54
  'settings' => 'hide_show_sponser',
55
  'type' => 'ios', // light, ios, flat
@@ -72,7 +72,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
72
  'sponsor_content_head',
73
  array(
74
  'type' => 'hidden',
75
- 'label' => __('Content','conceptly'),
76
  'section' => 'sponsers_setting',
77
  )
78
  );
@@ -93,10 +93,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
93
  new Conceptly_Repeater( $wp_customize,
94
  'sponser_contents',
95
  array(
96
- 'label' => esc_html__('Sponsor','conceptly'),
97
  'section' => 'sponsers_setting',
98
- 'add_field_label' => esc_html__( 'Add New Sponsor', 'conceptly' ),
99
- 'item_name' => esc_html__( 'Sponsor', 'conceptly' ),
100
  'customizer_repeater_image_control' => true,
101
  'customizer_repeater_link_control' => true,
102
  )
@@ -108,15 +108,15 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
108
  $theme = wp_get_theme(); // gets the current theme
109
  if ( 'Ameya' == $theme->name){
110
  ?>
111
- <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
112
  <?php
113
  }elseif ( 'Azwa' == $theme->name){
114
  ?>
115
- <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
116
  <?php
117
  }else{
118
  ?>
119
- <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','conceptly'); ?></a>
120
  <?php
121
  }
122
  }
@@ -153,7 +153,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
153
  'sponsor_bg_head',
154
  array(
155
  'type' => 'hidden',
156
- 'label' => __('Background','conceptly'),
157
  'section' => 'sponsers_setting',
158
  )
159
  );
@@ -171,7 +171,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
171
 
172
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'sponsers_background_setting' ,
173
  array(
174
- 'label' => __( 'Background Image', 'conceptly' ),
175
  'section' => 'sponsers_setting',
176
  'settings' => 'sponsers_background_setting',
177
  )
@@ -182,7 +182,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
182
  $wp_customize->add_setting(
183
  'sponsers_background_position' ,
184
  array(
185
- 'default' => __( 'scroll', 'conceptly' ),
186
  'capability' => 'edit_theme_options',
187
  'sanitize_callback' => 'conceptly_sanitize_select',
188
  'priority' => 9,
@@ -192,14 +192,14 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
192
  $wp_customize->add_control(
193
  'sponsers_background_position' ,
194
  array(
195
- 'label' => __( 'Image Position', 'conceptly' ),
196
  'section' => 'sponsers_setting',
197
  'settings' => 'sponsers_background_position',
198
  'type' => 'radio',
199
  'choices' =>
200
  array(
201
- 'fixed'=> __( 'Fixed', 'conceptly' ),
202
- 'scroll' => __( 'Scroll', 'conceptly' )
203
  )
204
  )
205
  );
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'sponsers_setting', array(
10
+ 'title' => esc_html__( 'Sponsor Section', 'clever-fox' ),
11
  'panel' => 'conceptly_frontpage_sections',
12
  'priority' => apply_filters( 'conceptly_section_priority', 120, 'conceptly_Sponsers' ),
13
  )
29
  'sponsor_setting_head',
30
  array(
31
  'type' => 'hidden',
32
+ 'label' => __('Setting','clever-fox'),
33
  'section' => 'sponsers_setting',
34
  )
35
  );
38
  $wp_customize->add_setting(
39
  'hide_show_sponser' ,
40
  array(
41
+ 'default' => esc_html__( '1', 'clever-fox' ),
42
  'capability' => 'edit_theme_options',
43
  'sanitize_callback' => 'sanitize_text_field',
44
  'transport' => $selective_refresh,
49
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
50
  'hide_show_sponser',
51
  array(
52
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
53
  'section' => 'sponsers_setting',
54
  'settings' => 'hide_show_sponser',
55
  'type' => 'ios', // light, ios, flat
72
  'sponsor_content_head',
73
  array(
74
  'type' => 'hidden',
75
+ 'label' => __('Content','clever-fox'),
76
  'section' => 'sponsers_setting',
77
  )
78
  );
93
  new Conceptly_Repeater( $wp_customize,
94
  'sponser_contents',
95
  array(
96
+ 'label' => esc_html__('Sponsor','clever-fox'),
97
  'section' => 'sponsers_setting',
98
+ 'add_field_label' => esc_html__( 'Add New Sponsor', 'clever-fox' ),
99
+ 'item_name' => esc_html__( 'Sponsor', 'clever-fox' ),
100
  'customizer_repeater_image_control' => true,
101
  'customizer_repeater_link_control' => true,
102
  )
108
  $theme = wp_get_theme(); // gets the current theme
109
  if ( 'Ameya' == $theme->name){
110
  ?>
111
+ <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/ameya-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
112
  <?php
113
  }elseif ( 'Azwa' == $theme->name){
114
  ?>
115
+ <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/azwa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
116
  <?php
117
  }else{
118
  ?>
119
+ <a class="customizer_sponsors_upgrade_section up-to-pro" href="https://www.nayrathemes.com/conceptly-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
120
  <?php
121
  }
122
  }
153
  'sponsor_bg_head',
154
  array(
155
  'type' => 'hidden',
156
+ 'label' => __('Background','clever-fox'),
157
  'section' => 'sponsers_setting',
158
  )
159
  );
171
 
172
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'sponsers_background_setting' ,
173
  array(
174
+ 'label' => __( 'Background Image', 'clever-fox' ),
175
  'section' => 'sponsers_setting',
176
  'settings' => 'sponsers_background_setting',
177
  )
182
  $wp_customize->add_setting(
183
  'sponsers_background_position' ,
184
  array(
185
+ 'default' => __( 'scroll', 'clever-fox' ),
186
  'capability' => 'edit_theme_options',
187
  'sanitize_callback' => 'conceptly_sanitize_select',
188
  'priority' => 9,
192
  $wp_customize->add_control(
193
  'sponsers_background_position' ,
194
  array(
195
+ 'label' => __( 'Image Position', 'clever-fox' ),
196
  'section' => 'sponsers_setting',
197
  'settings' => 'sponsers_background_position',
198
  'type' => 'radio',
199
  'choices' =>
200
  array(
201
+ 'fixed'=> __( 'Fixed', 'clever-fox' ),
202
+ 'scroll' => __( 'Scroll', 'clever-fox' )
203
  )
204
  )
205
  );
inc/conceptly/features/conceptly-typography.php CHANGED
@@ -3,7 +3,7 @@
3
  $wp_customize->add_panel( 'conceptly_typography_setting', array(
4
  'priority' => 38,
5
  'capability' => 'edit_theme_options',
6
- 'title' => __('Typography','conceptly'),
7
  ) );
8
 
9
  // Typography Hide/ Show Setting //
@@ -11,7 +11,7 @@ $wp_customize->add_panel( 'conceptly_typography_setting', array(
11
  $wp_customize->add_section(
12
  'typography_setting' ,
13
  array(
14
- 'title' => __('Settings','conceptly'),
15
  'panel' => 'conceptly_typography_setting',
16
  'priority' => 1,
17
  ) );
@@ -27,7 +27,7 @@ $wp_customize->add_section(
27
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
28
  'hide_show_typography',
29
  array(
30
- 'label' => esc_html__( 'Enable Typography', 'conceptly' ),
31
  'section' => 'typography_setting',
32
  'settings' => 'hide_show_typography',
33
  'type' => 'ios', // light, ios, flat
@@ -46,7 +46,7 @@ $font_weight = array('normal'=>'normal', 'italic'=>'Italic','oblique'=>'oblique'
46
  $wp_customize->add_section(
47
  'Body_typography' ,
48
  array(
49
- 'title' => __('Body','conceptly'),
50
  'panel' => 'conceptly_typography_setting',
51
  'priority' => 2,
52
  ) );
@@ -56,14 +56,14 @@ $wp_customize->add_section(
56
  $wp_customize->add_setting(
57
  'body_typography_font_weight',
58
  array(
59
- 'default' => __('normal','conceptly'),
60
  'capability' => 'edit_theme_options',
61
  'sanitize_callback' => 'sanitize_text_field',
62
  )
63
  );
64
  $wp_customize->add_control(
65
  'body_typography_font_weight', array(
66
- 'label' => __('Font Style','conceptly'),
67
  'section' => 'Body_typography',
68
  'setting' => 'body_typography_font_weight',
69
  'choices'=>$font_weight,
@@ -74,7 +74,7 @@ $wp_customize->add_section(
74
  $wp_customize->add_setting(
75
  'body_font_size' ,
76
  array(
77
- 'default' => __( '14','conceptly' ),
78
  'capability' => 'edit_theme_options',
79
  'sanitize_callback' => 'sanitize_text_field',
80
 
@@ -86,7 +86,7 @@ $wp_customize->add_section(
86
  array(
87
  'section' => 'Body_typography',
88
  'settings' => 'body_font_size',
89
- 'label' => __( 'Font Size','conceptly' ),
90
  'input_attrs' => array(
91
  'min' => 10,
92
  'max' => 40,
@@ -110,7 +110,7 @@ $wp_customize->add_section(
110
  array(
111
  'section' => 'Body_typography',
112
  'settings' => 'body_line_height',
113
- 'label' => __( 'Line Height','conceptly' ),
114
  'input_attrs' => array(
115
  'min' => 0,
116
  'max' => 3,
@@ -127,7 +127,7 @@ $wp_customize->add_section(
127
  $wp_customize->add_section(
128
  'H' . $i . '_typography' ,
129
  array(
130
- 'title' => __('H' . $i .'','conceptly'),
131
  'panel' => 'conceptly_typography_setting',
132
  'priority' => 3,
133
  )
@@ -145,7 +145,7 @@ $wp_customize->add_section(
145
  );
146
  $wp_customize->add_control(
147
  'h' . $i . '_font_weight', array(
148
- 'label' => __('Font Style','conceptly'),
149
  'section' => 'H' . $i . '_typography',
150
  'setting' => 'h' . $i . '_font_weight',
151
  'choices'=>$font_weight,
@@ -168,7 +168,7 @@ $wp_customize->add_section(
168
  array(
169
  'section' => 'H' . $i . '_typography',
170
  'settings' => 'h' . $i . '_font_size',
171
- 'label' => __( 'Font Size(px)','conceptly' ),
172
  'input_attrs' => array(
173
  'min' => 1,
174
  'max' => 50,
@@ -193,7 +193,7 @@ $wp_customize->add_section(
193
  array(
194
  'section' => 'H' . $i . '_typography',
195
  'settings' => 'h' . $i . '_line_height',
196
- 'label' => __( 'Line Height','conceptly' ),
197
  'input_attrs' => array(
198
  'min' => 0,
199
  'max' => 3,
@@ -216,7 +216,7 @@ $wp_customize->add_section(
216
  $wp_customize->add_control(
217
  'h' . $i . '_text_transform' ,
218
  array(
219
- 'label' => __( 'Text Transform', 'conceptly' ),
220
  'section' => 'H' . $i . '_typography',
221
  'settings' => 'h' . $i . '_text_transform',
222
  'choices' => $font_transform,
@@ -230,7 +230,7 @@ $wp_customize->add_section(
230
  $wp_customize->add_section(
231
  'menu_typography' ,
232
  array(
233
- 'title' => __('Menus','conceptly'),
234
  'panel' => 'conceptly_typography_setting',
235
  'priority' => 2,
236
  ) );
@@ -249,7 +249,7 @@ $wp_customize->add_section(
249
  $wp_customize->add_control(
250
  'menu_font_weight',
251
  array(
252
- 'label' => __('Font Style','conceptly'),
253
  'section' => 'menu_typography',
254
  'setting' => 'menu_font_weight',
255
  'choices'=>$font_weight,
@@ -272,7 +272,7 @@ $wp_customize->add_section(
272
  array(
273
  'section' => 'menu_typography',
274
  'settings' => 'menu_font_size',
275
- 'label' => __( 'Font Size(px)','conceptly' ),
276
  'input_attrs' => array(
277
  'min' => 1,
278
  'max' => 20,
@@ -297,7 +297,7 @@ $wp_customize->add_section(
297
  array(
298
  'section' => 'menu_typography',
299
  'settings' => 'menu_line_height',
300
- 'label' => __( 'Line Height','conceptly' ),
301
  'input_attrs' => array(
302
  'min' => 0,
303
  'max' => 3,
@@ -320,7 +320,7 @@ $wp_customize->add_section(
320
  $wp_customize->add_control(
321
  'menu_text_transform' ,
322
  array(
323
- 'label' => __( 'Text Transform', 'conceptly' ),
324
  'section' => 'menu_typography',
325
  'settings' => 'menu_text_transform',
326
  'choices' => $font_transform,
@@ -332,7 +332,7 @@ $wp_customize->add_section(
332
  $wp_customize->add_section(
333
  'section_typography' ,
334
  array(
335
- 'title' => __('Sections','conceptly'),
336
  'panel' => 'conceptly_typography_setting',
337
  'priority' => 2,
338
  ) );
@@ -349,7 +349,7 @@ $wp_customize->add_section(
349
  $wp_customize->add_control(
350
  'section_tit_font_weight',
351
  array(
352
- 'label' => __(' Title Font Style','conceptly'),
353
  'section' => 'section_typography',
354
  'setting' => 'section_tit_font_weight',
355
  'choices'=>$font_weight,
@@ -372,7 +372,7 @@ $wp_customize->add_section(
372
  array(
373
  'section' => 'section_typography',
374
  'settings' => 'section_tit_font_size',
375
- 'label' => __( 'Title Font Size(px)','conceptly' ),
376
  'input_attrs' => array(
377
  'min' => 1,
378
  'max' => 100,
@@ -397,7 +397,7 @@ $wp_customize->add_section(
397
  array(
398
  'section' => 'section_typography',
399
  'settings' => 'section_ttl_line_height',
400
- 'label' => __( 'Title Line Height','conceptly' ),
401
  'input_attrs' => array(
402
  'min' => 0,
403
  'max' => 3,
@@ -420,7 +420,7 @@ $wp_customize->add_section(
420
  $wp_customize->add_control(
421
  'sec_ttl_text_transform' ,
422
  array(
423
- 'label' => __( 'Text Transform', 'conceptly' ),
424
  'section' => 'section_typography',
425
  'settings' => 'sec_ttl_text_transform',
426
  'choices' => $font_transform,
@@ -440,7 +440,7 @@ $wp_customize->add_section(
440
  $wp_customize->add_control(
441
  'section_des_font_weight',
442
  array(
443
- 'label' => __('Description Font Style','conceptly'),
444
  'section' => 'section_typography',
445
  'setting' => 'section_des_font_weight',
446
  'choices'=>$font_weight,
@@ -463,7 +463,7 @@ $wp_customize->add_section(
463
  array(
464
  'section' => 'section_typography',
465
  'settings' => 'section_desc_font_size',
466
- 'label' => __( 'Description Font Size(px)','conceptly' ),
467
  'input_attrs' => array(
468
  'min' => 1,
469
  'max' => 50,
@@ -488,7 +488,7 @@ $wp_customize->add_section(
488
  array(
489
  'section' => 'section_typography',
490
  'settings' => 'section_desc_line_height',
491
- 'label' => __( 'Description Line Height','conceptly' ),
492
  'input_attrs' => array(
493
  'min' => 0,
494
  'max' => 3,
@@ -511,7 +511,7 @@ $wp_customize->add_section(
511
  $wp_customize->add_control(
512
  'sec_desc_text_transform' ,
513
  array(
514
- 'label' => __( 'Text Transform', 'conceptly' ),
515
  'section' => 'section_typography',
516
  'settings' => 'sec_desc_text_transform',
517
  'choices' => $font_transform,
3
  $wp_customize->add_panel( 'conceptly_typography_setting', array(
4
  'priority' => 38,
5
  'capability' => 'edit_theme_options',
6
+ 'title' => __('Typography','clever-fox'),
7
  ) );
8
 
9
  // Typography Hide/ Show Setting //
11
  $wp_customize->add_section(
12
  'typography_setting' ,
13
  array(
14
+ 'title' => __('Settings','clever-fox'),
15
  'panel' => 'conceptly_typography_setting',
16
  'priority' => 1,
17
  ) );
27
  $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
28
  'hide_show_typography',
29
  array(
30
+ 'label' => esc_html__( 'Enable Typography', 'clever-fox' ),
31
  'section' => 'typography_setting',
32
  'settings' => 'hide_show_typography',
33
  'type' => 'ios', // light, ios, flat
46
  $wp_customize->add_section(
47
  'Body_typography' ,
48
  array(
49
+ 'title' => __('Body','clever-fox'),
50
  'panel' => 'conceptly_typography_setting',
51
  'priority' => 2,
52
  ) );
56
  $wp_customize->add_setting(
57
  'body_typography_font_weight',
58
  array(
59
+ 'default' => __('normal','clever-fox'),
60
  'capability' => 'edit_theme_options',
61
  'sanitize_callback' => 'sanitize_text_field',
62
  )
63
  );
64
  $wp_customize->add_control(
65
  'body_typography_font_weight', array(
66
+ 'label' => __('Font Style','clever-fox'),
67
  'section' => 'Body_typography',
68
  'setting' => 'body_typography_font_weight',
69
  'choices'=>$font_weight,
74
  $wp_customize->add_setting(
75
  'body_font_size' ,
76
  array(
77
+ 'default' => __( '14','clever-fox' ),
78
  'capability' => 'edit_theme_options',
79
  'sanitize_callback' => 'sanitize_text_field',
80
 
86
  array(
87
  'section' => 'Body_typography',
88
  'settings' => 'body_font_size',
89
+ 'label' => __( 'Font Size','clever-fox' ),
90
  'input_attrs' => array(
91
  'min' => 10,
92
  'max' => 40,
110
  array(
111
  'section' => 'Body_typography',
112
  'settings' => 'body_line_height',
113
+ 'label' => __( 'Line Height','clever-fox' ),
114
  'input_attrs' => array(
115
  'min' => 0,
116
  'max' => 3,
127
  $wp_customize->add_section(
128
  'H' . $i . '_typography' ,
129
  array(
130
+ 'title' => __('H' . $i .'','clever-fox'),
131
  'panel' => 'conceptly_typography_setting',
132
  'priority' => 3,
133
  )
145
  );
146
  $wp_customize->add_control(
147
  'h' . $i . '_font_weight', array(
148
+ 'label' => __('Font Style','clever-fox'),
149
  'section' => 'H' . $i . '_typography',
150
  'setting' => 'h' . $i . '_font_weight',
151
  'choices'=>$font_weight,
168
  array(
169
  'section' => 'H' . $i . '_typography',
170
  'settings' => 'h' . $i . '_font_size',
171
+ 'label' => __( 'Font Size(px)','clever-fox' ),
172
  'input_attrs' => array(
173
  'min' => 1,
174
  'max' => 50,
193
  array(
194
  'section' => 'H' . $i . '_typography',
195
  'settings' => 'h' . $i . '_line_height',
196
+ 'label' => __( 'Line Height','clever-fox' ),
197
  'input_attrs' => array(
198
  'min' => 0,
199
  'max' => 3,
216
  $wp_customize->add_control(
217
  'h' . $i . '_text_transform' ,
218
  array(
219
+ 'label' => __( 'Text Transform', 'clever-fox' ),
220
  'section' => 'H' . $i . '_typography',
221
  'settings' => 'h' . $i . '_text_transform',
222
  'choices' => $font_transform,
230
  $wp_customize->add_section(
231
  'menu_typography' ,
232
  array(
233
+ 'title' => __('Menus','clever-fox'),
234
  'panel' => 'conceptly_typography_setting',
235
  'priority' => 2,
236
  ) );
249
  $wp_customize->add_control(
250
  'menu_font_weight',
251
  array(
252
+ 'label' => __('Font Style','clever-fox'),
253
  'section' => 'menu_typography',
254
  'setting' => 'menu_font_weight',
255
  'choices'=>$font_weight,
272
  array(
273
  'section' => 'menu_typography',
274
  'settings' => 'menu_font_size',
275
+ 'label' => __( 'Font Size(px)','clever-fox' ),
276
  'input_attrs' => array(
277
  'min' => 1,
278
  'max' => 20,
297
  array(
298
  'section' => 'menu_typography',
299
  'settings' => 'menu_line_height',
300
+ 'label' => __( 'Line Height','clever-fox' ),
301
  'input_attrs' => array(
302
  'min' => 0,
303
  'max' => 3,
320
  $wp_customize->add_control(
321
  'menu_text_transform' ,
322
  array(
323
+ 'label' => __( 'Text Transform', 'clever-fox' ),
324
  'section' => 'menu_typography',
325
  'settings' => 'menu_text_transform',
326
  'choices' => $font_transform,
332
  $wp_customize->add_section(
333
  'section_typography' ,
334
  array(
335
+ 'title' => __('Sections','clever-fox'),
336
  'panel' => 'conceptly_typography_setting',
337
  'priority' => 2,
338
  ) );
349
  $wp_customize->add_control(
350
  'section_tit_font_weight',
351
  array(
352
+ 'label' => __(' Title Font Style','clever-fox'),
353
  'section' => 'section_typography',
354
  'setting' => 'section_tit_font_weight',
355
  'choices'=>$font_weight,
372
  array(
373
  'section' => 'section_typography',
374
  'settings' => 'section_tit_font_size',
375
+ 'label' => __( 'Title Font Size(px)','clever-fox' ),
376
  'input_attrs' => array(
377
  'min' => 1,
378
  'max' => 100,
397
  array(
398
  'section' => 'section_typography',
399
  'settings' => 'section_ttl_line_height',
400
+ 'label' => __( 'Title Line Height','clever-fox' ),
401
  'input_attrs' => array(
402
  'min' => 0,
403
  'max' => 3,
420
  $wp_customize->add_control(
421
  'sec_ttl_text_transform' ,
422
  array(
423
+ 'label' => __( 'Text Transform', 'clever-fox' ),
424
  'section' => 'section_typography',
425
  'settings' => 'sec_ttl_text_transform',
426
  'choices' => $font_transform,
440
  $wp_customize->add_control(
441
  'section_des_font_weight',
442
  array(
443
+ 'label' => __('Description Font Style','clever-fox'),
444
  'section' => 'section_typography',
445
  'setting' => 'section_des_font_weight',
446
  'choices'=>$font_weight,
463
  array(
464
  'section' => 'section_typography',
465
  'settings' => 'section_desc_font_size',
466
+ 'label' => __( 'Description Font Size(px)','clever-fox' ),
467
  'input_attrs' => array(
468
  'min' => 1,
469
  'max' => 50,
488
  array(
489
  'section' => 'section_typography',
490
  'settings' => 'section_desc_line_height',
491
+ 'label' => __( 'Description Line Height','clever-fox' ),
492
  'input_attrs' => array(
493
  'min' => 0,
494
  'max' => 3,
511
  $wp_customize->add_control(
512
  'sec_desc_text_transform' ,
513
  array(
514
+ 'label' => __( 'Text Transform', 'clever-fox' ),
515
  'section' => 'section_typography',
516
  'settings' => 'sec_desc_text_transform',
517
  'choices' => $font_transform,
inc/conceptly/images/bg/cta-bg.jpg CHANGED
Binary file
inc/conceptly/images/bg/partner-bg.jpg CHANGED
Binary file
inc/envira/envira.php CHANGED
@@ -3,6 +3,8 @@
3
  * @package Envira
4
  */
5
 
 
 
6
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
@@ -15,8 +17,8 @@ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/typography_style.php';
15
  if ( ! function_exists( 'cleverfox_envira_frontpage_sections' ) ) :
16
  function cleverfox_envira_frontpage_sections() {
17
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
18
- require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-flash.php';
19
- require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-service.php';
20
  require CLEVERFOX_PLUGIN_DIR . 'inc/envira/sections/section-funfact.php';
21
  }
22
  add_action( 'startkit_sections', 'cleverfox_envira_frontpage_sections' );
@@ -24,5 +26,9 @@ endif;
24
 
25
  function cleverfox_envira_enqueue_scripts() {
26
  wp_enqueue_script( 'counterup', CLEVERFOX_PLUGIN_URL .'/inc/assets/js/jquery.counterup.min.js', array('jquery'), false, true);
 
 
 
 
27
  }
28
  add_action( 'wp_enqueue_scripts', 'cleverfox_envira_enqueue_scripts' );
3
  * @package Envira
4
  */
5
 
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/extras.php';
7
+ //require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
9
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
17
  if ( ! function_exists( 'cleverfox_envira_frontpage_sections' ) ) :
18
  function cleverfox_envira_frontpage_sections() {
19
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
20
+ require CLEVERFOX_PLUGIN_DIR . 'inc/envira/sections/section-flash.php';
21
+ require CLEVERFOX_PLUGIN_DIR . 'inc/envira/sections/section-service.php';
22
  require CLEVERFOX_PLUGIN_DIR . 'inc/envira/sections/section-funfact.php';
23
  }
24
  add_action( 'startkit_sections', 'cleverfox_envira_frontpage_sections' );
26
 
27
  function cleverfox_envira_enqueue_scripts() {
28
  wp_enqueue_script( 'counterup', CLEVERFOX_PLUGIN_URL .'/inc/assets/js/jquery.counterup.min.js', array('jquery'), false, true);
29
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
30
+ //wp_enqueue_style('owl-theme-default-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.theme.default.min.css');
31
+ wp_enqueue_style('owl-carousel-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.carousel.min.css');
32
+ wp_enqueue_script( 'owl-carousel', CLEVERFOX_PLUGIN_URL . 'inc/assets/js/owl.carousel.min.js', array('jquery'), false, true);
33
  }
34
  add_action( 'wp_enqueue_scripts', 'cleverfox_envira_enqueue_scripts' );
inc/envira/features/funfact-section.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'Funfact_setting', array(
10
- 'title' => esc_html__( 'Funfact Section', 'startkit-pro' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 30, 'startkit_Funfact' ),
13
  )
@@ -20,7 +20,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
20
  $wp_customize->add_setting(
21
  'hide_show_funfact' ,
22
  array(
23
- 'default' => esc_html__( '1', 'startkit' ),
24
  'capability' => 'edit_theme_options',
25
  'sanitize_callback' => 'sanitize_text_field',
26
  'transport' => $selective_refresh,
@@ -30,7 +30,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
30
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
31
  'hide_show_funfact',
32
  array(
33
- 'label' => esc_html__( 'Hide / Show Section', 'startkit' ),
34
  'section' => 'Funfact_setting',
35
  'settings' => 'hide_show_funfact',
36
  'type' => 'ios', // light, ios, flat
@@ -47,41 +47,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
47
  $wp_customize->add_setting( 'funfact_contents',
48
  array(
49
  'sanitize_callback' => 'startkit_repeater_sanitize',
50
- 'default' => json_encode(
51
- array(
52
- array(
53
- 'title' => esc_html__( '9.1', 'startkit' ),
54
- 'subtitle' => esc_html__( 'B', 'startkit' ),
55
- 'text' => esc_html__( 'Users', 'startkit' ),
56
- 'icon_value' => esc_html__( 'fa fa-users', 'startkit' ),
57
- 'id' => 'customizer_repeater_funfact_001',
58
- ),
59
- array(
60
- 'title' => esc_html__( '8.2', 'startkit' ),
61
- 'subtitle' => esc_html__( 'B', 'startkit' ),
62
- 'text' => esc_html__( 'Downloads', 'startkit' ),
63
- 'icon_value' => esc_html__( 'fal fa-download', 'startkit' ),
64
- 'id' => 'customizer_repeater_funfact_001',
65
-
66
- ),
67
- array(
68
- 'title' => esc_html__( '2.26', 'startkit' ),
69
- 'subtitle' => esc_html__( 'B', 'startkit' ),
70
- 'text' => esc_html__( 'Reviews', 'startkit' ),
71
- 'icon_value' => esc_html__( 'fa fa-star-half-o', 'startkit' ),
72
- 'id' => 'customizer_repeater_funfact_001',
73
-
74
- ),
75
- array(
76
- 'title' => esc_html__( '9.1', 'startkit' ),
77
- 'subtitle' => esc_html__( 'B', 'startkit' ),
78
- 'text' => esc_html__( 'Users', 'startkit' ),
79
- 'icon_value' => esc_html__( 'fa fa-trophy', 'startkit' ),
80
- 'id' => 'customizer_repeater_funfact_001',
81
-
82
- ),
83
- )
84
- )
85
  )
86
  );
87
 
@@ -89,10 +55,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
  new Startkit_Repeater( $wp_customize,
90
  'funfact_contents',
91
  array(
92
- 'label' => esc_html__('Funfact','startkit'),
93
  'section' => 'Funfact_setting',
94
- 'add_field_label' => esc_html__( 'Add New Funfact', 'startkit' ),
95
- 'item_name' => esc_html__( 'Funfact', 'startkit' ),
96
  'priority' => 1,
97
  'customizer_repeater_icon_control' => true,
98
  'customizer_repeater_title_control' => true,
@@ -106,7 +72,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
106
  //Pro feature
107
  class Startkit_funfact__section_upgrade extends WP_Customize_Control {
108
  public function render_content() { ?>
109
- <a class="customizer_funfact_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
110
  <?php
111
  }
112
  }
@@ -141,7 +107,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
141
 
142
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'funfact_background_setting' ,
143
  array(
144
- 'label' => __( 'Background Image', 'startkit' ),
145
  'section' => 'Funfact_setting',
146
  'settings' => 'funfact_background_setting',
147
  )
@@ -149,7 +115,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
149
  $wp_customize->add_setting(
150
  'funfact_background_position' ,
151
  array(
152
- 'default' => __( 'fixed', 'startkit' ),
153
  'capability' => 'edit_theme_options',
154
  'sanitize_callback' => 'startkit_sanitize_select',
155
  )
@@ -158,14 +124,14 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
158
  $wp_customize->add_control(
159
  'funfact_background_position' ,
160
  array(
161
- 'label' => __( 'Image Position', 'startkit' ),
162
  'section' => 'Funfact_setting',
163
  'settings' => 'funfact_background_position',
164
  'type' => 'radio',
165
  'choices' =>
166
  array(
167
- 'fixed'=> __( 'Fixed', 'startkit' ),
168
- 'scroll' => __( 'Scroll', 'startkit' )
169
  )
170
  )
171
  );
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'Funfact_setting', array(
10
+ 'title' => esc_html__( 'Funfact Section', 'clever-fox' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 30, 'startkit_Funfact' ),
13
  )
20
  $wp_customize->add_setting(
21
  'hide_show_funfact' ,
22
  array(
23
+ 'default' => esc_html__( '1', 'clever-fox' ),
24
  'capability' => 'edit_theme_options',
25
  'sanitize_callback' => 'sanitize_text_field',
26
  'transport' => $selective_refresh,
30
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
31
  'hide_show_funfact',
32
  array(
33
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
34
  'section' => 'Funfact_setting',
35
  'settings' => 'hide_show_funfact',
36
  'type' => 'ios', // light, ios, flat
47
  $wp_customize->add_setting( 'funfact_contents',
48
  array(
49
  'sanitize_callback' => 'startkit_repeater_sanitize',
50
+ 'default' => startkit_get_funfact_default(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  )
52
  );
53
 
55
  new Startkit_Repeater( $wp_customize,
56
  'funfact_contents',
57
  array(
58
+ 'label' => esc_html__('Funfact','clever-fox'),
59
  'section' => 'Funfact_setting',
60
+ 'add_field_label' => esc_html__( 'Add New Funfact', 'clever-fox' ),
61
+ 'item_name' => esc_html__( 'Funfact', 'clever-fox' ),
62
  'priority' => 1,
63
  'customizer_repeater_icon_control' => true,
64
  'customizer_repeater_title_control' => true,
72
  //Pro feature
73
  class Startkit_funfact__section_upgrade extends WP_Customize_Control {
74
  public function render_content() { ?>
75
+ <a class="customizer_funfact_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
76
  <?php
77
  }
78
  }
107
 
108
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'funfact_background_setting' ,
109
  array(
110
+ 'label' => __( 'Background Image', 'clever-fox' ),
111
  'section' => 'Funfact_setting',
112
  'settings' => 'funfact_background_setting',
113
  )
115
  $wp_customize->add_setting(
116
  'funfact_background_position' ,
117
  array(
118
+ 'default' => __( 'fixed', 'clever-fox' ),
119
  'capability' => 'edit_theme_options',
120
  'sanitize_callback' => 'startkit_sanitize_select',
121
  )
124
  $wp_customize->add_control(
125
  'funfact_background_position' ,
126
  array(
127
+ 'label' => __( 'Image Position', 'clever-fox' ),
128
  'section' => 'Funfact_setting',
129
  'settings' => 'funfact_background_position',
130
  'type' => 'radio',
131
  'choices' =>
132
  array(
133
+ 'fixed'=> __( 'Fixed', 'clever-fox' ),
134
+ 'scroll' => __( 'Scroll', 'clever-fox' )
135
  )
136
  )
137
  );
inc/envira/sections/section-flash.php ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'startkit_info_plu' ) ) :
3
+
4
+ function startkit_info_plu() {
5
+ $hide_show_info = get_theme_mod('hide_show_info','1');
6
+ $info_icons = get_theme_mod('info_icons','fa-envelope');
7
+ $info_title = get_theme_mod('info_title','Design For Business');
8
+ $info_description = get_theme_mod('info_description','The chunk standard of Lorem Ipsum used it');
9
+ $info_icons2 = get_theme_mod('info_icons2','fa-cart-plus');
10
+ $info_title2 = get_theme_mod('info_title2','Develop For Work');
11
+ $info_description2 = get_theme_mod('info_description2','The chunk standard of Lorem Ipsum used it');
12
+ $info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
13
+ $info_title3 = get_theme_mod('info_title3','Maketing For Blast');
14
+ $info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used it');
15
+ $info_contact_icon = get_theme_mod('info_contact_icon','fa-phone');
16
+ $info_contact_title = get_theme_mod('info_contact_title','Contact Us Today!');
17
+ $info_contact_desc = get_theme_mod('info_contact_desc','+85-852-654');
18
+ ?>
19
+ <!-- Start: Features List
20
+ ============================= -->
21
+ <?php if($hide_show_info == '1') { ?>
22
+ <section id="features-list">
23
+ <div class="container">
24
+ <div class="row">
25
+ <div class="col-lg-9">
26
+ <div class="row featured-row">
27
+ <div class="col-lg-4 col-md-12 p-lg-0 mt-lg-0 mt-4">
28
+ <div class="featured-box wow fadeInUp first" data-wow-delay="0.1s">
29
+ <div class="featured-box-item">
30
+ <div class="icon">
31
+ <i class="fa <?php echo esc_attr( $info_icons ); ?>"></i>
32
+ </div>
33
+ <div class="featured-content">
34
+ <h5 class="title"><?php echo esc_html( $info_title ); ?></h5>
35
+ <p><?php echo wp_kses_post( $info_description ); ?></p>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ <div class="col-lg-4 col-md-12 p-lg-0 mt-lg-0 mt-4">
41
+ <div class="featured-box wow fadeInUp second" data-wow-delay="0.1s">
42
+ <div class="featured-box-item">
43
+ <div class="icon">
44
+ <i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i>
45
+ </div>
46
+ <div class="featured-content">
47
+ <h5 class="title"><?php echo esc_html( $info_title2 ); ?></h5>
48
+ <p><?php echo wp_kses_post( $info_description2 ); ?></p>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="col-lg-4 col-md-12 p-lg-0 mt-lg-0 mt-4">
54
+ <div class="featured-box wow fadeInUp third" data-wow-delay="0.1s">
55
+ <div class="featured-box-item">
56
+ <div class="icon">
57
+ <i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i>
58
+ </div>
59
+ <div class="featured-content">
60
+ <h5 class="title"><?php echo esc_html( $info_title3 ); ?></h5>
61
+ <p><?php echo wp_kses_post( $info_description3 ); ?></p>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ <div class="col-lg-3 mt-lg-0 mt-5">
69
+ <div class="featured-box featured-contact wow fadeInUp fourth" data-wow-delay="0.1s">
70
+ <div class="featured-box-item">
71
+ <div class="icon"><i class="fa <?php echo esc_attr( $info_contact_icon ); ?>"></i></div>
72
+ <div class="featured-content">
73
+ <h4 class="title"><?php echo esc_html( $info_contact_title ); ?></h4>
74
+ <h3><?php echo wp_kses_post( $info_contact_desc ); ?></h3>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </section>
82
+ <?php }
83
+ }
84
+
85
+ endif;
86
+
87
+
88
+ if ( function_exists( 'startkit_info_plu' ) ) {
89
+ $section_priority = apply_filters( 'startkit_section_priority', 12, 'startkit_info_plu' );
90
+ add_action( 'startkit_sections', 'startkit_info_plu', absint( $section_priority ) );
91
+
92
+ }
93
+ ?>
inc/envira/sections/section-funfact.php CHANGED
@@ -1,63 +1,13 @@
1
  <?php
2
- /**
3
- * Get default values for service section.
4
- *
5
- * @since 1.1.0
6
- * @access public
7
- */
8
  if ( ! function_exists( 'startkit_funfact_plu' ) ) :
9
-
10
  function startkit_funfact_plu() {
11
- function startkit_get_funfact_default() {
12
- return apply_filters(
13
- 'startkit_get_funfact_default', json_encode(
14
- array(
15
- array(
16
- 'title' => esc_html__( '9.1', 'startkit-pro' ),
17
- 'subtitle' => esc_html__( 'B', 'startkit-pro' ),
18
- 'text' => esc_html__( 'Users', 'startkit-pro' ),
19
- 'icon_value' => esc_html__( 'fa fa-users', 'startkit-pro' ),
20
- 'id' => 'customizer_repeater_funfact_001',
21
- ),
22
- array(
23
- 'title' => esc_html__( '8.2', 'startkit-pro' ),
24
- 'subtitle' => esc_html__( 'B', 'startkit-pro' ),
25
- 'text' => esc_html__( 'Downloads', 'startkit-pro' ),
26
- 'icon_value' => esc_html__( 'fal fa-download', 'startkit-pro' ),
27
- 'id' => 'customizer_repeater_funfact_001',
28
-
29
- ),
30
- array(
31
- 'title' => esc_html__( '2.26', 'startkit-pro' ),
32
- 'subtitle' => esc_html__( 'B', 'startkit-pro' ),
33
- 'text' => esc_html__( 'Reviews', 'startkit-pro' ),
34
- 'icon_value' => esc_html__( 'fa fa-star-half-o', 'startkit-pro' ),
35
- 'id' => 'customizer_repeater_funfact_001',
36
-
37
- ),
38
- array(
39
- 'title' => esc_html__( '9.1', 'startkit-pro' ),
40
- 'subtitle' => esc_html__( 'B', 'startkit-pro' ),
41
- 'text' => esc_html__( 'Users', 'startkit-pro' ),
42
- 'icon_value' => esc_html__( 'fa fa-trophy', 'startkit-pro' ),
43
- 'id' => 'customizer_repeater_funfact_001',
44
-
45
- ),
46
- )
47
- )
48
- );
49
- }
50
- $default_content = startkit_get_funfact_default();
51
- ?>
52
- <?php
53
  $hide_show_funfact = get_theme_mod('hide_show_funfact','1');
54
- $funfact_contents = get_theme_mod('funfact_contents',$default_content);
55
  $funfact_background_setting = get_theme_mod('funfact_background_setting',CLEVERFOX_PLUGIN_URL . 'inc/envira/images/factbg.jpg');
56
  $funfact_background_position= get_theme_mod('funfact_background_position','fixed');
57
  if($hide_show_funfact == '1') {
58
- ?>
59
- <?php if ( ! empty( $funfact_background_setting ) ) { ?>
60
- <section id="fun-fact" style="background:url('<?php echo esc_url($funfact_background_setting); ?>') no-repeat center / cover <?php echo esc_attr($funfact_background_position); ?>;">
61
  <?php } else { ?>
62
  <section id="fun-fact" class="fun-background">
63
  <?php } ?>
@@ -83,7 +33,12 @@
83
  <div class="col-lg-3 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4 home-fun">
84
  <div class="fact-item">
85
  <?php if ( ! empty( $icon ) ) :?>
 
86
  <i class="fa <?php echo esc_attr( $icon ); ?>"></i>
 
 
 
 
87
  <?php endif; ?>
88
  <?php if ( ! empty( $title ) ) :?>
89
  <div><strong><span class="counter"><?php echo wp_filter_post_kses( $title ); ?></span> <?php echo esc_html($subtitle); ?></strong></div>
1
  <?php
 
 
 
 
 
 
2
  if ( ! function_exists( 'startkit_funfact_plu' ) ) :
 
3
  function startkit_funfact_plu() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  $hide_show_funfact = get_theme_mod('hide_show_funfact','1');
5
+ $funfact_contents = get_theme_mod('funfact_contents',startkit_get_funfact_default());
6
  $funfact_background_setting = get_theme_mod('funfact_background_setting',CLEVERFOX_PLUGIN_URL . 'inc/envira/images/factbg.jpg');
7
  $funfact_background_position= get_theme_mod('funfact_background_position','fixed');
8
  if($hide_show_funfact == '1') {
9
+ if ( ! empty( $funfact_background_setting ) ) { ?>
10
+ <section id="fun-fact" class="startkitrips" style="background:url('<?php echo esc_url($funfact_background_setting); ?>') no-repeat center / cover <?php echo esc_attr($funfact_background_position); ?>;">
 
11
  <?php } else { ?>
12
  <section id="fun-fact" class="fun-background">
13
  <?php } ?>
33
  <div class="col-lg-3 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4 home-fun">
34
  <div class="fact-item">
35
  <?php if ( ! empty( $icon ) ) :?>
36
+ <div class="icon-overly">
37
  <i class="fa <?php echo esc_attr( $icon ); ?>"></i>
38
+ <span class="ripple ripple-1"></span>
39
+ <span class="ripple ripple-2"></span>
40
+ <span class="ripple ripple-3"></span>
41
+ </div>
42
  <?php endif; ?>
43
  <?php if ( ! empty( $title ) ) :?>
44
  <div><strong><span class="counter"><?php echo wp_filter_post_kses( $title ); ?></span> <?php echo esc_html($subtitle); ?></strong></div>
inc/envira/sections/section-service.php ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'startkit_service_plu' ) ) :
3
+ function startkit_service_plu() {
4
+ $hide_show_service = get_theme_mod('hide_show_service','1');
5
+ $service_title = get_theme_mod('service_title','Services');
6
+ $service_subttl = get_theme_mod('service_subttl','<span>Service</span> <h6>Lorem is dummy text.</h6>');
7
+ $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
8
+ $service_contents = get_theme_mod('service_contents',startkit_get_service_default());
9
+ if($hide_show_service == '1') {?>
10
+ <section id="services" class="section-padding">
11
+ <div class="container">
12
+ <?php
13
+ if( ($service_title) || ($service_subttl)!='' || ($service_description)!='' ) { ?>
14
+ <!-- Section Title -->
15
+ <div class="row">
16
+ <div class="col-md-6 offset-md-3 text-center">
17
+ <div class="section-header">
18
+ <?php if ( ! empty( $service_subttl ) ) : ?>
19
+ <div class="subtitle"><?php echo wp_kses_post( $service_subttl ); ?></div>
20
+ <?php endif; ?>
21
+ <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
22
+ <h2>
23
+ <?php echo esc_html($service_title); ?>
24
+ </h2>
25
+ <?php endif; ?>
26
+ <hr class="liner">
27
+ <?php if($service_description) {?>
28
+ <p class="wow fadeInUp" data-wow-delay="0.1s">
29
+ <?php echo esc_html($service_description); ?>
30
+ </p>
31
+ <?php } ?>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <!-- /Section Title -->
36
+ <?php } ?>
37
+ <div class="row text-center servicesss">
38
+ <?php
39
+
40
+ if ( ! empty( $service_contents ) ) {
41
+ $allowed_html = array(
42
+ 'br' => array(),
43
+ 'em' => array(),
44
+ 'strong' => array(),
45
+ 'b' => array(),
46
+ 'i' => array(),
47
+ );
48
+ $service_contents = json_decode( $service_contents );
49
+ foreach ( $service_contents as $i => $service_item ) {
50
+ $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
51
+ $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
52
+ $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
53
+ $text2 = ! empty( $service_item->text2) ? apply_filters( 'startkit_translate_single_string', $service_item->text2,'Learn More' ) : 'Learn More';
54
+ $link = ! empty( $service_item->link ) ? apply_filters( 'startkit_translate_single_string', $service_item->link, 'service section' ) : '';
55
+ //$image = ! empty( $service_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $service_item->image_url, 'service section' ) : '';
56
+ ?>
57
+ <div class="col-lg-4 col-md-6 col-sm-6 col-12 mb-lg-0 mb-5 ">
58
+ <div class="features-envira wow fadeInUp" data-wow-delay="0.4s">
59
+ <?php if ( ! empty( $icon ) ) :?>
60
+ <div class="icon">
61
+ <i class="fa <?php echo esc_attr( $icon ); ?> txt-pink"></i>
62
+ </div>
63
+ <?php endif; ?>
64
+ <?php if ( ! empty( $title ) ) : ?>
65
+ <h5>
66
+ <?php if ( ! empty( $link ) ) : ?>
67
+ <a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a>
68
+ <?php else : ?>
69
+ <?php echo esc_html( $title ); ?>
70
+ <?php endif; ?>
71
+ </h5>
72
+ <?php endif; ?>
73
+ <?php if ( ! empty( $text ) ) : ?>
74
+ <p class="features-desc"><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
75
+ <?php endif; ?>
76
+ </div>
77
+ </div>
78
+ <?php
79
+ } }
80
+ ?>
81
+
82
+ </div>
83
+ </div>
84
+ </section>
85
+ <?php
86
+ }
87
+ }
88
+
89
+ endif;
90
+ if ( function_exists( 'startkit_service_plu' ) ) {
91
+ $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
92
+ add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
93
+
94
+ }
inc/fiona-blog/features/fiona-blog-header.php CHANGED
@@ -289,6 +289,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
289
  )
290
  )
291
  );
 
292
 
293
  }
294
  add_action( 'customize_register', 'fiona_blog_lite_header_settings' );
289
  )
290
  )
291
  );
292
+
293
 
294
  }
295
  add_action( 'customize_register', 'fiona_blog_lite_header_settings' );
inc/fiona-blog/features/fiona-blog-slider.php CHANGED
@@ -27,7 +27,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
27
  'slider_setting_head',
28
  array(
29
  'type' => 'hidden',
30
- 'label' => __('Setting','fiona-blog'),
31
  'section' => 'slider_setting',
32
  )
33
  );
@@ -47,7 +47,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
47
  'slider_hs',
48
  array(
49
  'type' => 'checkbox',
50
- 'label' => __('Hide / Show','fiona-blog'),
51
  'section' => 'slider_setting',
52
  )
53
  );
@@ -114,7 +114,6 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
114
  );
115
  }
116
 
117
-
118
  //Pro feature
119
  class Fiona_slider__section_upgrade extends WP_Customize_Control {
120
  public function render_content() {
@@ -139,7 +138,6 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
139
  )
140
  )
141
  );
142
-
143
  }
144
 
145
  add_action( 'customize_register', 'fiona_blog_slider_setting' );
27
  'slider_setting_head',
28
  array(
29
  'type' => 'hidden',
30
+ 'label' => __('Setting','clever-fox'),
31
  'section' => 'slider_setting',
32
  )
33
  );
47
  'slider_hs',
48
  array(
49
  'type' => 'checkbox',
50
+ 'label' => __('Hide / Show','clever-fox'),
51
  'section' => 'slider_setting',
52
  )
53
  );
114
  );
115
  }
116
 
 
117
  //Pro feature
118
  class Fiona_slider__section_upgrade extends WP_Customize_Control {
119
  public function render_content() {
138
  )
139
  )
140
  );
 
141
  }
142
 
143
  add_action( 'customize_register', 'fiona_blog_slider_setting' );
inc/fiona-blog/features/fiona-blog-weekend-top.php CHANGED
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'section7_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','fiona-blog'),
30
  'section' => 'section7_setting',
31
  )
32
  );
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  'section7_hs',
47
  array(
48
  'type' => 'checkbox',
49
- 'label' => __('Hide / Show','fiona-blog'),
50
  'section' => 'section7_setting',
51
  )
52
  );
26
  'section7_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'section7_setting',
31
  )
32
  );
46
  'section7_hs',
47
  array(
48
  'type' => 'checkbox',
49
+ 'label' => __('Hide / Show','clever-fox'),
50
  'section' => 'section7_setting',
51
  )
52
  );
inc/fiona-blog/sections/section-weekend-top.php CHANGED
@@ -22,15 +22,14 @@
22
  <?php endif; ?>
23
  <div class="av-columns-area wow fadeInUp">
24
  <?php
25
- $fiona_blog_blog_args = array( 'post_type' => 'post', 'category_name' => $section7_category_id,'posts_per_page' => $section7_display_num,'post__not_in'=>get_option("sticky_posts"));
26
- query_posts( $fiona_blog_blog_args );
27
  $fiona_blog_wp_query = new WP_Query($fiona_blog_blog_args);
28
  if($fiona_blog_wp_query)
29
  {
30
  while($fiona_blog_wp_query->have_posts()):$fiona_blog_wp_query->the_post();
31
  $post_id = get_the_ID();
32
- $post_number= $fiona_blog_wp_query->current_post + 1;
33
  $format = get_post_format() ? : 'standard';
 
34
  ?>
35
  <div class="av-column-6 mb-6">
36
  <article id="post-<?php the_ID(); ?>" <?php post_class('post-weekend'); ?>>
@@ -42,7 +41,7 @@
42
  <span class="post-format">
43
  <div class="post-shape">
44
  <div class="post-icon">
45
- <?php echo $post_number ?>
46
  </div>
47
  </div>
48
  </span>
@@ -63,7 +62,7 @@
63
  <span class="post-format">
64
  <div class="post-shape">
65
  <div class="post-icon">
66
- <?php echo $post_number ?>
67
  </div>
68
  </div>
69
  </span>
@@ -86,7 +85,7 @@
86
  ?>
87
  </article>
88
  </div>
89
- <?php endwhile; } ?>
90
  </div>
91
  </div>
92
  <?php
22
  <?php endif; ?>
23
  <div class="av-columns-area wow fadeInUp">
24
  <?php
25
+ $fiona_blog_blog_args = array( 'post_type' => 'post', 'orderby' => 'date', 'order' => 'ASC','category_name' => $section7_category_id,'posts_per_page' => $section7_display_num,'post__not_in'=>get_option("sticky_posts"));
 
26
  $fiona_blog_wp_query = new WP_Query($fiona_blog_blog_args);
27
  if($fiona_blog_wp_query)
28
  {
29
  while($fiona_blog_wp_query->have_posts()):$fiona_blog_wp_query->the_post();
30
  $post_id = get_the_ID();
 
31
  $format = get_post_format() ? : 'standard';
32
+ $post_number= $fiona_blog_wp_query->current_post + 1;
33
  ?>
34
  <div class="av-column-6 mb-6">
35
  <article id="post-<?php the_ID(); ?>" <?php post_class('post-weekend'); ?>>
41
  <span class="post-format">
42
  <div class="post-shape">
43
  <div class="post-icon">
44
+ <?php echo $post_number; ?>
45
  </div>
46
  </div>
47
  </span>
62
  <span class="post-format">
63
  <div class="post-shape">
64
  <div class="post-icon">
65
+ <?php echo $post_number; ?>
66
  </div>
67
  </div>
68
  </span>
85
  ?>
86
  </article>
87
  </div>
88
+ <?php endwhile; } wp_reset_postdata(); ?>
89
  </div>
90
  </div>
91
  <?php
inc/fiona-blog/widgets/class-post-slider-widget.php CHANGED
@@ -63,7 +63,7 @@ class fiona_blog_post_categories_widget extends WP_Widget{
63
 
64
  /*the_content(
65
  sprintf(
66
- __( 'Read More', 'avril-pro' ),
67
  '<span class="screen-reader-text"> '.get_the_title().'</span>'
68
  )
69
  );*/
63
 
64
  /*the_content(
65
  sprintf(
66
+ __( 'Read More', 'clever-fox' ),
67
  '<span class="screen-reader-text"> '.get_the_title().'</span>'
68
  )
69
  );*/
inc/hantus/features/navigation.php CHANGED
@@ -16,7 +16,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
16
  'hdr_search_setting_head',
17
  array(
18
  'type' => 'hidden',
19
- 'label' => __('Setting','hantus'),
20
  'section' => 'header_contact_cart',
21
  'priority' => 1,
22
  )
@@ -35,7 +35,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
35
  'hdr_search_head',
36
  array(
37
  'type' => 'hidden',
38
- 'label' => __('Search','hantus'),
39
  'section' => 'header_contact_cart',
40
  'priority' => 3,
41
  )
@@ -54,7 +54,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
54
  'menu_contact_setting_head',
55
  array(
56
  'type' => 'hidden',
57
- 'label' => __('Setting','hantus'),
58
  'section' => 'header_menu_contact',
59
  'priority' => 1,
60
  )
@@ -73,7 +73,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
73
  'menu_contact_head',
74
  array(
75
  'type' => 'hidden',
76
- 'label' => __('Content','hantus'),
77
  'section' => 'header_menu_contact',
78
  'priority' => 3,
79
  )
@@ -92,7 +92,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
92
  'blog_setting_head',
93
  array(
94
  'type' => 'hidden',
95
- 'label' => __('Setting','hantus'),
96
  'section' => 'blog_setting',
97
  'priority' => 1,
98
  )
@@ -111,7 +111,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
111
  'blog_head',
112
  array(
113
  'type' => 'hidden',
114
- 'label' => __('Header','hantus'),
115
  'section' => 'blog_setting',
116
  'priority' => 5,
117
  )
@@ -131,7 +131,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
131
  'blog_content_head',
132
  array(
133
  'type' => 'hidden',
134
- 'label' => __('Content','hantus'),
135
  'section' => 'blog_setting',
136
  'priority' => 9,
137
  )
@@ -151,7 +151,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
151
  'copyright_setting_head',
152
  array(
153
  'type' => 'hidden',
154
- 'label' => __('Setting','hantus'),
155
  'section' => 'footer_copyright',
156
  'priority' => 1,
157
  )
@@ -170,7 +170,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
170
  'copyright_content_head',
171
  array(
172
  'type' => 'hidden',
173
- 'label' => __('Content','hantus'),
174
  'section' => 'footer_copyright',
175
  'priority' => 5,
176
  )
@@ -190,7 +190,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
190
  'footer_payment_setting_head',
191
  array(
192
  'type' => 'hidden',
193
- 'label' => __('Setting','hantus'),
194
  'section' => 'footer_icon',
195
  'priority' => 1,
196
  )
@@ -209,7 +209,7 @@ function hantus_slider_manager_customize_register( $wp_customize ) {
209
  'footer_payment_content_head',
210
  array(
211
  'type' => 'hidden',
212
- 'label' => __('Content','hantus'),
213
  'section' => 'footer_icon',
214
  'priority' => 5,
215
  )
16
  'hdr_search_setting_head',
17
  array(
18
  'type' => 'hidden',
19
+ 'label' => __('Setting','clever-fox'),
20
  'section' => 'header_contact_cart',
21
  'priority' => 1,
22
  )
35
  'hdr_search_head',
36
  array(
37
  'type' => 'hidden',
38
+ 'label' => __('Search','clever-fox'),
39
  'section' => 'header_contact_cart',
40
  'priority' => 3,
41
  )
54
  'menu_contact_setting_head',
55
  array(
56
  'type' => 'hidden',
57
+ 'label' => __('Setting','clever-fox'),
58
  'section' => 'header_menu_contact',
59
  'priority' => 1,
60
  )
73
  'menu_contact_head',
74
  array(
75
  'type' => 'hidden',
76
+ 'label' => __('Content','clever-fox'),
77
  'section' => 'header_menu_contact',
78
  'priority' => 3,
79
  )
92
  'blog_setting_head',
93
  array(
94
  'type' => 'hidden',
95
+ 'label' => __('Setting','clever-fox'),
96
  'section' => 'blog_setting',
97
  'priority' => 1,
98
  )
111
  'blog_head',
112
  array(
113
  'type' => 'hidden',
114
+ 'label' => __('Header','clever-fox'),
115
  'section' => 'blog_setting',
116
  'priority' => 5,
117
  )
131
  'blog_content_head',
132
  array(
133
  'type' => 'hidden',
134
+ 'label' => __('Content','clever-fox'),
135
  'section' => 'blog_setting',
136
  'priority' => 9,
137
  )
151
  'copyright_setting_head',
152
  array(
153
  'type' => 'hidden',
154
+ 'label' => __('Setting','clever-fox'),
155
  'section' => 'footer_copyright',
156
  'priority' => 1,
157
  )
170
  'copyright_content_head',
171
  array(
172
  'type' => 'hidden',
173
+ 'label' => __('Content','clever-fox'),
174
  'section' => 'footer_copyright',
175
  'priority' => 5,
176
  )
190
  'footer_payment_setting_head',
191
  array(
192
  'type' => 'hidden',
193
+ 'label' => __('Setting','clever-fox'),
194
  'section' => 'footer_icon',
195
  'priority' => 1,
196
  )
209
  'footer_payment_content_head',
210
  array(
211
  'type' => 'hidden',
212
+ 'label' => __('Content','clever-fox'),
213
  'section' => 'footer_icon',
214
  'priority' => 5,
215
  )
inc/hantus/features/section-info.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
- 'title' => esc_html__( 'Info Section', 'hantus' ),
11
  'panel' => 'hantus_frontpage_sections',
12
  'priority' => apply_filters( 'hantus_section_priority', 12, 'hantus_info' ),
13
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'hnts_info_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','hantus'),
30
  'section' => 'info_setting',
31
  'priority' => 1,
32
  )
@@ -37,7 +37,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
37
  $wp_customize->add_setting(
38
  'hide_show_info' ,
39
  array(
40
- 'default' => esc_html__( '1', 'hantus' ),
41
  'capability' => 'edit_theme_options',
42
  'sanitize_callback' => 'sanitize_text_field',
43
  'transport' => $selective_refresh,
@@ -47,7 +47,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
47
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
48
  'hide_show_info',
49
  array(
50
- 'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
51
  'section' => 'info_setting',
52
  'settings' => 'hide_show_info',
53
  'type' => 'ios', // light, ios, flat
@@ -71,7 +71,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
71
  'hnts_info_first_head',
72
  array(
73
  'type' => 'hidden',
74
- 'label' => __('Info First','hantus'),
75
  'section' => 'info_setting',
76
  'priority' => 5,
77
  )
@@ -89,7 +89,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
 
90
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_first_img_setting' ,
91
  array(
92
- 'label' => __( 'Image', 'hantus' ),
93
  'section' => 'info_setting',
94
  'settings' => 'info_first_img_setting',
95
  'priority' => 6,
@@ -100,7 +100,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
100
  $wp_customize->add_setting(
101
  'info_title',
102
  array(
103
- 'default' => __('Opening Time','hantus'),
104
  'capability' => 'edit_theme_options',
105
  'sanitize_callback' => 'sanitize_text_field',
106
  'transport' => $selective_refresh,
@@ -110,7 +110,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
110
  $wp_customize->add_control(
111
  'info_title',
112
  array(
113
- 'label' => __('Title','hantus'),
114
  'section' => 'info_setting',
115
  'settings'=> 'info_title',
116
  'type' => 'text',
@@ -122,7 +122,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
122
  $wp_customize->add_setting(
123
  'info_description',
124
  array(
125
- 'default' => __('Mon - Sat: 10h00 - 18h00','hantus'),
126
  'capability' => 'edit_theme_options',
127
  'sanitize_callback' => 'sanitize_text_field',
128
  'transport' => $selective_refresh,
@@ -132,7 +132,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
132
  $wp_customize->add_control(
133
  'info_description',
134
  array(
135
- 'label' => __('Description','hantus'),
136
  'section' => 'info_setting',
137
  'settings'=> 'info_description',
138
  'type' => 'text',
@@ -144,7 +144,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
144
  $wp_customize->add_setting(
145
  'info_btn',
146
  array(
147
- 'default' => __('Read More','hantus'),
148
  'capability' => 'edit_theme_options',
149
  'sanitize_callback' => 'sanitize_text_field'
150
  )
@@ -153,7 +153,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
153
  $wp_customize->add_control(
154
  'info_btn',
155
  array(
156
- 'label' => __('Button Label','hantus'),
157
  'section' => 'info_setting',
158
  'type' => 'text',
159
  'priority' => 9,
@@ -164,7 +164,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
164
  $wp_customize->add_setting(
165
  'info_link',
166
  array(
167
- 'default' => __('#','hantus'),
168
  'capability' => 'edit_theme_options',
169
  'sanitize_callback' => 'hantus_sanitize_url',
170
  )
@@ -173,7 +173,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
173
  $wp_customize->add_control(
174
  'info_link',
175
  array(
176
- 'label' => __('Button Link','hantus'),
177
  'section' => 'info_setting',
178
  'type' => 'text',
179
  'priority' => 10,
@@ -196,7 +196,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
196
  'hnts_info_second_head',
197
  array(
198
  'type' => 'hidden',
199
- 'label' => __('Info Second','hantus'),
200
  'section' => 'info_setting',
201
  'priority' => 15,
202
  )
@@ -214,7 +214,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
214
 
215
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_second_img_setting' ,
216
  array(
217
- 'label' => __( 'Image', 'hantus' ),
218
  'section' => 'info_setting',
219
  'settings' => 'info_second_img_setting',
220
  'priority' => 16,
@@ -224,7 +224,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
224
  $wp_customize->add_setting(
225
  'info_title2',
226
  array(
227
- 'default' => __('Address','hantus'),
228
  'capability' => 'edit_theme_options',
229
  'sanitize_callback' => 'sanitize_text_field',
230
  'transport' => $selective_refresh,
@@ -234,7 +234,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
234
  $wp_customize->add_control(
235
  'info_title2',
236
  array(
237
- 'label' => __('Title','hantus'),
238
  'section' => 'info_setting',
239
  'settings'=> 'info_title2',
240
  'type' => 'text',
@@ -246,7 +246,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
246
  $wp_customize->add_setting(
247
  'info_description2',
248
  array(
249
- 'default' => __('40 Baria Sreet, NY USA','hantus'),
250
  'capability' => 'edit_theme_options',
251
  'sanitize_callback' => 'sanitize_text_field',
252
  'transport' => $selective_refresh,
@@ -256,7 +256,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
256
  $wp_customize->add_control(
257
  'info_description2',
258
  array(
259
- 'label' => __('Description','hantus'),
260
  'section' => 'info_setting',
261
  'settings'=> 'info_description2',
262
  'type' => 'text',
@@ -268,7 +268,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
268
  $wp_customize->add_setting(
269
  'info_btn2',
270
  array(
271
- 'default' => __('Read More','hantus'),
272
  'capability' => 'edit_theme_options',
273
  'sanitize_callback' => 'sanitize_text_field'
274
  )
@@ -277,7 +277,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
277
  $wp_customize->add_control(
278
  'info_btn2',
279
  array(
280
- 'label' => __('Button Label','hantus'),
281
  'section' => 'info_setting',
282
  'type' => 'text',
283
  'priority' => 19,
@@ -288,7 +288,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
288
  $wp_customize->add_setting(
289
  'info_link2',
290
  array(
291
- 'default' => __('#','hantus'),
292
  'capability' => 'edit_theme_options',
293
  'sanitize_callback' => 'hantus_sanitize_url',
294
  )
@@ -297,7 +297,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
297
  $wp_customize->add_control(
298
  'info_link2',
299
  array(
300
- 'label' => __('Button Link','hantus'),
301
  'section' => 'info_setting',
302
  'type' => 'text',
303
  'priority' => 20,
@@ -321,7 +321,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
321
  'hnts_info_third_head',
322
  array(
323
  'type' => 'hidden',
324
- 'label' => __('Info Third','hantus'),
325
  'section' => 'info_setting',
326
  'priority' => 25,
327
  )
@@ -339,7 +339,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
339
 
340
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_third_img_setting' ,
341
  array(
342
- 'label' => __( 'Image', 'hantus' ),
343
  'section' => 'info_setting',
344
  'settings' => 'info_third_img_setting',
345
  'priority' => 26,
@@ -349,7 +349,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
349
  $wp_customize->add_setting(
350
  'info_title3',
351
  array(
352
- 'default' => __('Telephone','hantus'),
353
  'capability' => 'edit_theme_options',
354
  'sanitize_callback' => 'sanitize_text_field',
355
  'transport' => $selective_refresh,
@@ -359,7 +359,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
359
  $wp_customize->add_control(
360
  'info_title3',
361
  array(
362
- 'label' => __('Title','hantus'),
363
  'section' => 'info_setting',
364
  'settings'=> 'info_title3',
365
  'type' => 'text',
@@ -371,7 +371,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
371
  $wp_customize->add_setting(
372
  'info_description3',
373
  array(
374
- 'default' => __('+12 345 678 9101','hantus'),
375
  'capability' => 'edit_theme_options',
376
  'sanitize_callback' => 'sanitize_text_field',
377
  'transport' => $selective_refresh,
@@ -381,7 +381,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
381
  $wp_customize->add_control(
382
  'info_description3',
383
  array(
384
- 'label' => __('Description','hantus'),
385
  'section' => 'info_setting',
386
  'settings'=> 'info_description3',
387
  'type' => 'text',
@@ -393,7 +393,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
393
  $wp_customize->add_setting(
394
  'info_btn3',
395
  array(
396
- 'default' => __('Read More','hantus'),
397
  'capability' => 'edit_theme_options',
398
  'sanitize_callback' => 'sanitize_text_field'
399
  )
@@ -402,7 +402,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
402
  $wp_customize->add_control(
403
  'info_btn3',
404
  array(
405
- 'label' => __('Button Label','hantus'),
406
  'section' => 'info_setting',
407
  'type' => 'text',
408
  'priority' => 29,
@@ -413,7 +413,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
413
  $wp_customize->add_setting(
414
  'info_link3',
415
  array(
416
- 'default' => __('#','hantus'),
417
  'capability' => 'edit_theme_options',
418
  'sanitize_callback' => 'hantus_sanitize_url',
419
  )
@@ -422,7 +422,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
422
  $wp_customize->add_control(
423
  'info_link3',
424
  array(
425
- 'label' => __('Button Link','hantus'),
426
  'section' => 'info_setting',
427
  'type' => 'text',
428
  'priority' => 30,
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
+ 'title' => esc_html__( 'Info Section', 'clever-fox' ),
11
  'panel' => 'hantus_frontpage_sections',
12
  'priority' => apply_filters( 'hantus_section_priority', 12, 'hantus_info' ),
13
  )
26
  'hnts_info_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'info_setting',
31
  'priority' => 1,
32
  )
37
  $wp_customize->add_setting(
38
  'hide_show_info' ,
39
  array(
40
+ 'default' => esc_html__( '1', 'clever-fox' ),
41
  'capability' => 'edit_theme_options',
42
  'sanitize_callback' => 'sanitize_text_field',
43
  'transport' => $selective_refresh,
47
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
48
  'hide_show_info',
49
  array(
50
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
51
  'section' => 'info_setting',
52
  'settings' => 'hide_show_info',
53
  'type' => 'ios', // light, ios, flat
71
  'hnts_info_first_head',
72
  array(
73
  'type' => 'hidden',
74
+ 'label' => __('Info First','clever-fox'),
75
  'section' => 'info_setting',
76
  'priority' => 5,
77
  )
89
 
90
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_first_img_setting' ,
91
  array(
92
+ 'label' => __( 'Image', 'clever-fox' ),
93
  'section' => 'info_setting',
94
  'settings' => 'info_first_img_setting',
95
  'priority' => 6,
100
  $wp_customize->add_setting(
101
  'info_title',
102
  array(
103
+ 'default' => __('Opening Time','clever-fox'),
104
  'capability' => 'edit_theme_options',
105
  'sanitize_callback' => 'sanitize_text_field',
106
  'transport' => $selective_refresh,
110
  $wp_customize->add_control(
111
  'info_title',
112
  array(
113
+ 'label' => __('Title','clever-fox'),
114
  'section' => 'info_setting',
115
  'settings'=> 'info_title',
116
  'type' => 'text',
122
  $wp_customize->add_setting(
123
  'info_description',
124
  array(
125
+ 'default' => __('Mon - Sat: 10h00 - 18h00','clever-fox'),
126
  'capability' => 'edit_theme_options',
127
  'sanitize_callback' => 'sanitize_text_field',
128
  'transport' => $selective_refresh,
132
  $wp_customize->add_control(
133
  'info_description',
134
  array(
135
+ 'label' => __('Description','clever-fox'),
136
  'section' => 'info_setting',
137
  'settings'=> 'info_description',
138
  'type' => 'text',
144
  $wp_customize->add_setting(
145
  'info_btn',
146
  array(
147
+ 'default' => __('Read More','clever-fox'),
148
  'capability' => 'edit_theme_options',
149
  'sanitize_callback' => 'sanitize_text_field'
150
  )
153
  $wp_customize->add_control(
154
  'info_btn',
155
  array(
156
+ 'label' => __('Button Label','clever-fox'),
157
  'section' => 'info_setting',
158
  'type' => 'text',
159
  'priority' => 9,
164
  $wp_customize->add_setting(
165
  'info_link',
166
  array(
167
+ 'default' => __('#','clever-fox'),
168
  'capability' => 'edit_theme_options',
169
  'sanitize_callback' => 'hantus_sanitize_url',
170
  )
173
  $wp_customize->add_control(
174
  'info_link',
175
  array(
176
+ 'label' => __('Button Link','clever-fox'),
177
  'section' => 'info_setting',
178
  'type' => 'text',
179
  'priority' => 10,
196
  'hnts_info_second_head',
197
  array(
198
  'type' => 'hidden',
199
+ 'label' => __('Info Second','clever-fox'),
200
  'section' => 'info_setting',
201
  'priority' => 15,
202
  )
214
 
215
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_second_img_setting' ,
216
  array(
217
+ 'label' => __( 'Image', 'clever-fox' ),
218
  'section' => 'info_setting',
219
  'settings' => 'info_second_img_setting',
220
  'priority' => 16,
224
  $wp_customize->add_setting(
225
  'info_title2',
226
  array(
227
+ 'default' => __('Address','clever-fox'),
228
  'capability' => 'edit_theme_options',
229
  'sanitize_callback' => 'sanitize_text_field',
230
  'transport' => $selective_refresh,
234
  $wp_customize->add_control(
235
  'info_title2',
236
  array(
237
+ 'label' => __('Title','clever-fox'),
238
  'section' => 'info_setting',
239
  'settings'=> 'info_title2',
240
  'type' => 'text',
246
  $wp_customize->add_setting(
247
  'info_description2',
248
  array(
249
+ 'default' => __('40 Baria Sreet, NY USA','clever-fox'),
250
  'capability' => 'edit_theme_options',
251
  'sanitize_callback' => 'sanitize_text_field',
252
  'transport' => $selective_refresh,
256
  $wp_customize->add_control(
257
  'info_description2',
258
  array(
259
+ 'label' => __('Description','clever-fox'),
260
  'section' => 'info_setting',
261
  'settings'=> 'info_description2',
262
  'type' => 'text',
268
  $wp_customize->add_setting(
269
  'info_btn2',
270
  array(
271
+ 'default' => __('Read More','clever-fox'),
272
  'capability' => 'edit_theme_options',
273
  'sanitize_callback' => 'sanitize_text_field'
274
  )
277
  $wp_customize->add_control(
278
  'info_btn2',
279
  array(
280
+ 'label' => __('Button Label','clever-fox'),
281
  'section' => 'info_setting',
282
  'type' => 'text',
283
  'priority' => 19,
288
  $wp_customize->add_setting(
289
  'info_link2',
290
  array(
291
+ 'default' => __('#','clever-fox'),
292
  'capability' => 'edit_theme_options',
293
  'sanitize_callback' => 'hantus_sanitize_url',
294
  )
297
  $wp_customize->add_control(
298
  'info_link2',
299
  array(
300
+ 'label' => __('Button Link','clever-fox'),
301
  'section' => 'info_setting',
302
  'type' => 'text',
303
  'priority' => 20,
321
  'hnts_info_third_head',
322
  array(
323
  'type' => 'hidden',
324
+ 'label' => __('Info Third','clever-fox'),
325
  'section' => 'info_setting',
326
  'priority' => 25,
327
  )
339
 
340
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_third_img_setting' ,
341
  array(
342
+ 'label' => __( 'Image', 'clever-fox' ),
343
  'section' => 'info_setting',
344
  'settings' => 'info_third_img_setting',
345
  'priority' => 26,
349
  $wp_customize->add_setting(
350
  'info_title3',
351
  array(
352
+ 'default' => __('Telephone','clever-fox'),
353
  'capability' => 'edit_theme_options',
354
  'sanitize_callback' => 'sanitize_text_field',
355
  'transport' => $selective_refresh,
359
  $wp_customize->add_control(
360
  'info_title3',
361
  array(
362
+ 'label' => __('Title','clever-fox'),
363
  'section' => 'info_setting',
364
  'settings'=> 'info_title3',
365
  'type' => 'text',
371
  $wp_customize->add_setting(
372
  'info_description3',
373
  array(
374
+ 'default' => __('+12 345 678 9101','clever-fox'),
375
  'capability' => 'edit_theme_options',
376
  'sanitize_callback' => 'sanitize_text_field',
377
  'transport' => $selective_refresh,
381
  $wp_customize->add_control(
382
  'info_description3',
383
  array(
384
+ 'label' => __('Description','clever-fox'),
385
  'section' => 'info_setting',
386
  'settings'=> 'info_description3',
387
  'type' => 'text',
393
  $wp_customize->add_setting(
394
  'info_btn3',
395
  array(
396
+ 'default' => __('Read More','clever-fox'),
397
  'capability' => 'edit_theme_options',
398
  'sanitize_callback' => 'sanitize_text_field'
399
  )
402
  $wp_customize->add_control(
403
  'info_btn3',
404
  array(
405
+ 'label' => __('Button Label','clever-fox'),
406
  'section' => 'info_setting',
407
  'type' => 'text',
408
  'priority' => 29,
413
  $wp_customize->add_setting(
414
  'info_link3',
415
  array(
416
+ 'default' => __('#','clever-fox'),
417
  'capability' => 'edit_theme_options',
418
  'sanitize_callback' => 'hantus_sanitize_url',
419
  )
422
  $wp_customize->add_control(
423
  'info_link3',
424
  array(
425
+ 'label' => __('Button Link','clever-fox'),
426
  'section' => 'info_setting',
427
  'type' => 'text',
428
  'priority' => 30,
inc/hantus/features/section-service.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'service_setting', array(
9
- 'title' => esc_html__( 'Service Section', 'hantus' ),
10
  'priority' => apply_filters( 'hantus_section_priority', 25, 'hantus_service' ),
11
  'panel' => 'hantus_frontpage_sections',
12
  )
@@ -25,7 +25,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
25
  'service_setting_head',
26
  array(
27
  'type' => 'hidden',
28
- 'label' => __('Setting','hantus'),
29
  'section' => 'service_setting',
30
  'priority' => 1,
31
  )
@@ -36,7 +36,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
36
  $wp_customize->add_setting(
37
  'hide_show_service' ,
38
  array(
39
- 'default' => esc_html__( '1', 'hantus' ),
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'capability' => 'edit_theme_options',
42
  'transport' => $selective_refresh,
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_service',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
50
  'section' => 'service_setting',
51
  'settings' => 'hide_show_service',
52
  'type' => 'ios', // light, ios, flat
@@ -70,7 +70,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
70
  'service_head',
71
  array(
72
  'type' => 'hidden',
73
- 'label' => __('Header','hantus'),
74
  'section' => 'service_setting',
75
  'priority' => 5,
76
  )
@@ -80,7 +80,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
80
  $wp_customize->add_setting(
81
  'service_title',
82
  array(
83
- 'default' => __('Our Services','hantus'),
84
  'capability' => 'edit_theme_options',
85
  'sanitize_callback' => 'hantus_sanitize_html',
86
  'transport' => $selective_refresh,
@@ -90,7 +90,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
90
  $wp_customize->add_control(
91
  'service_title',
92
  array(
93
- 'label' => __('Title','hantus'),
94
  'section' => 'service_setting',
95
  'settings' => 'service_title',
96
  'type' => 'text',
@@ -102,7 +102,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
102
  $wp_customize->add_setting(
103
  'service_description',
104
  array(
105
- 'default' => __('These are the services we provide, these makes us stand apart.','hantus'),
106
  'capability' => 'edit_theme_options',
107
  'sanitize_callback' => 'hantus_sanitize_text',
108
  'transport' => $selective_refresh,
@@ -112,7 +112,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
112
  $wp_customize->add_control(
113
  'service_description',
114
  array(
115
- 'label' => __('Description','hantus'),
116
  'section' => 'service_setting',
117
  'settings' => 'service_description',
118
  'type' => 'textarea',
@@ -135,7 +135,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
135
  'service_content_head',
136
  array(
137
  'type' => 'hidden',
138
- 'label' => __('Content','hantus'),
139
  'section' => 'service_setting',
140
  'priority' => 11,
141
  )
@@ -153,41 +153,41 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
153
  array(
154
  array(
155
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service01.png',
156
- 'title' => esc_html__( 'Oil Massage', 'hantus' ),
157
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
158
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
159
- 'text2' => esc_html__( 'Book now', 'hantus' ),
160
- 'link' => esc_html__( '#', 'hantus' ),
161
  'id' => 'customizer_repeater_service_001',
162
 
163
  ),
164
  array(
165
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service02.png',
166
- 'title' => esc_html__( 'Skin Care', 'hantus' ),
167
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
168
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
169
- 'text2' => esc_html__( 'Book now', 'hantus' ),
170
- 'link' => esc_html__( '#', 'hantus' ),
171
  'id' => 'customizer_repeater_service_002',
172
 
173
  ),
174
  array(
175
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
176
- 'title' => esc_html__( 'Natural Care', 'hantus' ),
177
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
178
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
179
- 'text2' => esc_html__( 'Book now', 'hantus' ),
180
- 'link' => esc_html__( '#', 'hantus' ),
181
  'id' => 'customizer_repeater_service_003',
182
 
183
  ),
184
  array(
185
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service04.png',
186
- 'title' => esc_html__( 'Nails Design', 'hantus' ),
187
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
188
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
189
- 'text2' => esc_html__( 'Book now', 'hantus' ),
190
- 'link' => esc_html__( '#', 'hantus' ),
191
  'id' => 'customizer_repeater_service_004',
192
 
193
  ),
@@ -200,10 +200,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
200
  new hantus_Repeater( $wp_customize,
201
  'service_contents',
202
  array(
203
- 'label' => esc_html__('Service','hantus'),
204
  'section' => 'service_setting',
205
- 'add_field_label' => esc_html__( 'Add New Service', 'hantus' ),
206
- 'item_name' => esc_html__( 'Service', 'hantus' ),
207
  'priority' => 12,
208
  'customizer_repeater_image_control' => true,
209
  'customizer_repeater_title_control' => true,
@@ -221,11 +221,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
221
  $theme = wp_get_theme(); // gets the current theme
222
  if ( 'Thai Spa' == $theme->name){
223
  ?>
224
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
225
  <?php
226
  }else{
227
  ?>
228
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
229
  <?php
230
  }
231
  }
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'service_setting', array(
9
+ 'title' => esc_html__( 'Service Section', 'clever-fox' ),
10
  'priority' => apply_filters( 'hantus_section_priority', 25, 'hantus_service' ),
11
  'panel' => 'hantus_frontpage_sections',
12
  )
25
  'service_setting_head',
26
  array(
27
  'type' => 'hidden',
28
+ 'label' => __('Setting','clever-fox'),
29
  'section' => 'service_setting',
30
  'priority' => 1,
31
  )
36
  $wp_customize->add_setting(
37
  'hide_show_service' ,
38
  array(
39
+ 'default' => esc_html__( '1', 'clever-fox' ),
40
  'sanitize_callback' => 'sanitize_text_field',
41
  'capability' => 'edit_theme_options',
42
  'transport' => $selective_refresh,
46
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_service',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'service_setting',
51
  'settings' => 'hide_show_service',
52
  'type' => 'ios', // light, ios, flat
70
  'service_head',
71
  array(
72
  'type' => 'hidden',
73
+ 'label' => __('Header','clever-fox'),
74
  'section' => 'service_setting',
75
  'priority' => 5,
76
  )
80
  $wp_customize->add_setting(
81
  'service_title',
82
  array(
83
+ 'default' => __('Our Services','clever-fox'),
84
  'capability' => 'edit_theme_options',
85
  'sanitize_callback' => 'hantus_sanitize_html',
86
  'transport' => $selective_refresh,
90
  $wp_customize->add_control(
91
  'service_title',
92
  array(
93
+ 'label' => __('Title','clever-fox'),
94
  'section' => 'service_setting',
95
  'settings' => 'service_title',
96
  'type' => 'text',
102
  $wp_customize->add_setting(
103
  'service_description',
104
  array(
105
+ 'default' => __('These are the services we provide, these makes us stand apart.','clever-fox'),
106
  'capability' => 'edit_theme_options',
107
  'sanitize_callback' => 'hantus_sanitize_text',
108
  'transport' => $selective_refresh,
112
  $wp_customize->add_control(
113
  'service_description',
114
  array(
115
+ 'label' => __('Description','clever-fox'),
116
  'section' => 'service_setting',
117
  'settings' => 'service_description',
118
  'type' => 'textarea',
135
  'service_content_head',
136
  array(
137
  'type' => 'hidden',
138
+ 'label' => __('Content','clever-fox'),
139
  'section' => 'service_setting',
140
  'priority' => 11,
141
  )
153
  array(
154
  array(
155
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service01.png',
156
+ 'title' => esc_html__( 'Oil Massage', 'clever-fox' ),
157
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
158
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
159
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
160
+ 'link' => esc_html__( '#', 'clever-fox' ),
161
  'id' => 'customizer_repeater_service_001',
162
 
163
  ),
164
  array(
165
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service02.png',
166
+ 'title' => esc_html__( 'Skin Care', 'clever-fox' ),
167
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
168
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
169
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
170
+ 'link' => esc_html__( '#', 'clever-fox' ),
171
  'id' => 'customizer_repeater_service_002',
172
 
173
  ),
174
  array(
175
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
176
+ 'title' => esc_html__( 'Natural Care', 'clever-fox' ),
177
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
178
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
179
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
180
+ 'link' => esc_html__( '#', 'clever-fox' ),
181
  'id' => 'customizer_repeater_service_003',
182
 
183
  ),
184
  array(
185
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service04.png',
186
+ 'title' => esc_html__( 'Nails Design', 'clever-fox' ),
187
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
188
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
189
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
190
+ 'link' => esc_html__( '#', 'clever-fox' ),
191
  'id' => 'customizer_repeater_service_004',
192
 
193
  ),
200
  new hantus_Repeater( $wp_customize,
201
  'service_contents',
202
  array(
203
+ 'label' => esc_html__('Service','clever-fox'),
204
  'section' => 'service_setting',
205
+ 'add_field_label' => esc_html__( 'Add New Service', 'clever-fox' ),
206
+ 'item_name' => esc_html__( 'Service', 'clever-fox' ),
207
  'priority' => 12,
208
  'customizer_repeater_image_control' => true,
209
  'customizer_repeater_title_control' => true,
221
  $theme = wp_get_theme(); // gets the current theme
222
  if ( 'Thai Spa' == $theme->name){
223
  ?>
224
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
225
  <?php
226
  }else{
227
  ?>
228
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
229
  <?php
230
  }
231
  }
inc/hantus/features/section-slider.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'slider_setting', array(
10
- 'title' => esc_html__( 'Slider Section', 'hantus' ),
11
  'panel' => 'hantus_frontpage_sections',
12
  'priority' => apply_filters( 'hantus_section_priority', 1, 'slider_setting' ),
13
  )
@@ -26,7 +26,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
26
  'hantus_slider_setting_head',
27
  array(
28
  'type' => 'hidden',
29
- 'label' => __('Setting','hantus'),
30
  'section' => 'slider_setting',
31
  'priority' => 1,
32
  )
@@ -45,7 +45,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
45
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
46
  'hide_show_slider',
47
  array(
48
- 'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
49
  'section' => 'slider_setting',
50
  'settings' => 'hide_show_slider',
51
  'type' => 'ios', // light, ios, flat
@@ -68,7 +68,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  'hantus_slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
- 'label' => __('Content','hantus'),
72
  'section' => 'slider_setting',
73
  'priority' => 5,
74
  )
@@ -91,10 +91,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
91
  new Hantus_Repeater( $wp_customize,
92
  'slider',
93
  array(
94
- 'label' => esc_html__('Slide','hantus'),
95
  'section' => 'slider_setting',
96
- 'add_field_label' => esc_html__( 'Add New Slider', 'hantus' ),
97
- 'item_name' => esc_html__( 'Slider', 'hantus' ),
98
  'priority' => 6,
99
 
100
  'customizer_repeater_title_control' => true,
@@ -115,12 +115,12 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
115
  $theme = wp_get_theme(); // gets the current theme
116
  if ( 'Thai Spa' == $theme->name){
117
  ?>
118
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
119
 
120
  <?php
121
  }else{
122
  ?>
123
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
124
  <?php
125
  }
126
  }
@@ -155,7 +155,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
155
  array(
156
  'section' => 'slider_setting',
157
  'settings' => 'slider_opacity',
158
- 'label' => __( 'Background Opacity','hantus' ),
159
  'priority' => 8,
160
  'input_attrs' => array(
161
  'min' => 0,
@@ -179,7 +179,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
179
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
180
  'slider_overlay_enable',
181
  array(
182
- 'label' => esc_html__( 'Overlay Enable', 'hantus' ),
183
  'section' => 'slider_setting',
184
  'type' => 'ios', // light, ios, flat
185
  'priority' => 9,
@@ -201,7 +201,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
201
  ($wp_customize,
202
  'slide_overlay_color',
203
  array(
204
- 'label' => __( 'Overlay Color', 'hantus' ),
205
  'section' => 'slider_setting',
206
  'priority' => 10,
207
  )
@@ -222,7 +222,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
222
  ($wp_customize,
223
  'slide_title_color',
224
  array(
225
- 'label' => __( 'Title Color', 'hantus' ),
226
  'section' => 'slider_setting',
227
  'priority' => 11,
228
  )
@@ -242,7 +242,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
242
  ($wp_customize,
243
  'slide_sbtitle_color',
244
  array(
245
- 'label' => __( 'Subtitle Color', 'hantus' ),
246
  'section' => 'slider_setting',
247
  'priority' => 12,
248
  )
@@ -263,7 +263,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
263
  ($wp_customize,
264
  'slide_desc_color',
265
  array(
266
- 'label' => __( 'Description Color', 'hantus' ),
267
  'section' => 'slider_setting',
268
  'priority' => 13,
269
  )
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'slider_setting', array(
10
+ 'title' => esc_html__( 'Slider Section', 'clever-fox' ),
11
  'panel' => 'hantus_frontpage_sections',
12
  'priority' => apply_filters( 'hantus_section_priority', 1, 'slider_setting' ),
13
  )
26
  'hantus_slider_setting_head',
27
  array(
28
  'type' => 'hidden',
29
+ 'label' => __('Setting','clever-fox'),
30
  'section' => 'slider_setting',
31
  'priority' => 1,
32
  )
45
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
46
  'hide_show_slider',
47
  array(
48
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
49
  'section' => 'slider_setting',
50
  'settings' => 'hide_show_slider',
51
  'type' => 'ios', // light, ios, flat
68
  'hantus_slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
+ 'label' => __('Content','clever-fox'),
72
  'section' => 'slider_setting',
73
  'priority' => 5,
74
  )
91
  new Hantus_Repeater( $wp_customize,
92
  'slider',
93
  array(
94
+ 'label' => esc_html__('Slide','clever-fox'),
95
  'section' => 'slider_setting',
96
+ 'add_field_label' => esc_html__( 'Add New Slider', 'clever-fox' ),
97
+ 'item_name' => esc_html__( 'Slider', 'clever-fox' ),
98
  'priority' => 6,
99
 
100
  'customizer_repeater_title_control' => true,
115
  $theme = wp_get_theme(); // gets the current theme
116
  if ( 'Thai Spa' == $theme->name){
117
  ?>
118
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
119
 
120
  <?php
121
  }else{
122
  ?>
123
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
124
  <?php
125
  }
126
  }
155
  array(
156
  'section' => 'slider_setting',
157
  'settings' => 'slider_opacity',
158
+ 'label' => __( 'Background Opacity','clever-fox' ),
159
  'priority' => 8,
160
  'input_attrs' => array(
161
  'min' => 0,
179
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
180
  'slider_overlay_enable',
181
  array(
182
+ 'label' => esc_html__( 'Overlay Enable', 'clever-fox' ),
183
  'section' => 'slider_setting',
184
  'type' => 'ios', // light, ios, flat
185
  'priority' => 9,
201
  ($wp_customize,
202
  'slide_overlay_color',
203
  array(
204
+ 'label' => __( 'Overlay Color', 'clever-fox' ),
205
  'section' => 'slider_setting',
206
  'priority' => 10,
207
  )
222
  ($wp_customize,
223
  'slide_title_color',
224
  array(
225
+ 'label' => __( 'Title Color', 'clever-fox' ),
226
  'section' => 'slider_setting',
227
  'priority' => 11,
228
  )
242
  ($wp_customize,
243
  'slide_sbtitle_color',
244
  array(
245
+ 'label' => __( 'Subtitle Color', 'clever-fox' ),
246
  'section' => 'slider_setting',
247
  'priority' => 12,
248
  )
263
  ($wp_customize,
264
  'slide_desc_color',
265
  array(
266
+ 'label' => __( 'Description Color', 'clever-fox' ),
267
  'section' => 'slider_setting',
268
  'priority' => 13,
269
  )
inc/hantus/features/section-testimonial.php CHANGED
@@ -6,7 +6,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'testimonial_setting', array(
9
- 'title' => esc_html__( 'Testimonial Section', 'hantus' ),
10
  'panel' => 'hantus_frontpage_sections',
11
  'priority' => apply_filters( 'hantus_section_priority', 37, 'hantus_Testimonial' ),
12
  )
@@ -28,7 +28,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
28
  'testimonial_setting_head',
29
  array(
30
  'type' => 'hidden',
31
- 'label' => __('Setting','hantus'),
32
  'section' => 'testimonial_setting',
33
  'priority' => 1,
34
  )
@@ -38,7 +38,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
38
  $wp_customize->add_setting(
39
  'hide_show_testimonial' ,
40
  array(
41
- 'default' => esc_html__( '1', 'hantus' ),
42
  'capability' => 'edit_theme_options',
43
  'sanitize_callback' => 'sanitize_text_field',
44
  'transport' => $selective_refresh,
@@ -48,7 +48,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
48
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
49
  'hide_show_testimonial',
50
  array(
51
- 'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
52
  'section' => 'testimonial_setting',
53
  'settings' => 'hide_show_testimonial',
54
  'type' => 'ios', // light, ios, flat
@@ -74,7 +74,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
74
  'testimonial_content_head',
75
  array(
76
  'type' => 'hidden',
77
- 'label' => __('Content','hantus'),
78
  'section' => 'testimonial_setting',
79
  'priority' => 5,
80
  )
@@ -89,23 +89,23 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
89
  'default' => json_encode(
90
  array(
91
  array(
92
- 'title' => esc_html__( 'Eric Matision', 'hantus' ),
93
- 'designation' => esc_html__( 'Forest Hills. NY', 'hantus' ),
94
- 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'hantus' ),
95
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
96
  'id' => 'customizer_repeater_testimonial_001',
97
  ),
98
  array(
99
- 'title' => esc_html__( 'Jennifer Lopez', 'hantus' ),
100
- 'designation' => esc_html__( 'Forest Hills. NY', 'hantus' ),
101
- 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'hantus' ),
102
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
103
  'id' => 'customizer_repeater_testimonial_002',
104
  ),
105
  array(
106
- 'title' => esc_html__( 'Betty Ross', 'hantus' ),
107
- 'designation' => esc_html__( 'Developer', 'hantus' ),
108
- 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'hantus' ),
109
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
110
  'id' => 'customizer_repeater_testimonial_003',
111
  ),
@@ -118,10 +118,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
118
  new hantus_Repeater( $wp_customize,
119
  'testimonial_contents',
120
  array(
121
- 'label' => esc_html__('Testimonial','hantus'),
122
  'section' => 'testimonial_setting',
123
- 'add_field_label' => esc_html__( 'Add New Testimonial', 'hantus' ),
124
- 'item_name' => esc_html__( 'Testimonial', 'hantus' ),
125
  'priority' => 6,
126
  'customizer_repeater_image_control' => true,
127
  'customizer_repeater_title_control' => true,
@@ -137,11 +137,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
137
  $theme = wp_get_theme(); // gets the current theme
138
  if ( 'Thai Spa' == $theme->name){
139
  ?>
140
- <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
141
  <?php
142
  }else{
143
  ?>
144
- <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
145
  <?php
146
  }
147
  }
@@ -178,7 +178,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
178
  'testimonial_bg_head',
179
  array(
180
  'type' => 'hidden',
181
- 'label' => __('Background','hantus'),
182
  'section' => 'testimonial_setting',
183
  'priority' => 8,
184
  )
@@ -196,7 +196,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
196
 
197
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'testimonial_background_setting' ,
198
  array(
199
- 'label' => __( 'Background Image', 'hantus' ),
200
  'section' => 'testimonial_setting',
201
  'settings' => 'testimonial_background_setting',
202
  'priority' => 9,
6
  =========================================*/
7
  $wp_customize->add_section(
8
  'testimonial_setting', array(
9
+ 'title' => esc_html__( 'Testimonial Section', 'clever-fox' ),
10
  'panel' => 'hantus_frontpage_sections',
11
  'priority' => apply_filters( 'hantus_section_priority', 37, 'hantus_Testimonial' ),
12
  )
28
  'testimonial_setting_head',
29
  array(
30
  'type' => 'hidden',
31
+ 'label' => __('Setting','clever-fox'),
32
  'section' => 'testimonial_setting',
33
  'priority' => 1,
34
  )
38
  $wp_customize->add_setting(
39
  'hide_show_testimonial' ,
40
  array(
41
+ 'default' => esc_html__( '1', 'clever-fox' ),
42
  'capability' => 'edit_theme_options',
43
  'sanitize_callback' => 'sanitize_text_field',
44
  'transport' => $selective_refresh,
48
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
49
  'hide_show_testimonial',
50
  array(
51
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
52
  'section' => 'testimonial_setting',
53
  'settings' => 'hide_show_testimonial',
54
  'type' => 'ios', // light, ios, flat
74
  'testimonial_content_head',
75
  array(
76
  'type' => 'hidden',
77
+ 'label' => __('Content','clever-fox'),
78
  'section' => 'testimonial_setting',
79
  'priority' => 5,
80
  )
89
  'default' => json_encode(
90
  array(
91
  array(
92
+ 'title' => esc_html__( 'Eric Matision', 'clever-fox' ),
93
+ 'designation' => esc_html__( 'Forest Hills. NY', 'clever-fox' ),
94
+ 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'clever-fox' ),
95
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
96
  'id' => 'customizer_repeater_testimonial_001',
97
  ),
98
  array(
99
+ 'title' => esc_html__( 'Jennifer Lopez', 'clever-fox' ),
100
+ 'designation' => esc_html__( 'Forest Hills. NY', 'clever-fox' ),
101
+ 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'clever-fox' ),
102
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
103
  'id' => 'customizer_repeater_testimonial_002',
104
  ),
105
  array(
106
+ 'title' => esc_html__( 'Betty Ross', 'clever-fox' ),
107
+ 'designation' => esc_html__( 'Developer', 'clever-fox' ),
108
+ 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'clever-fox' ),
109
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
110
  'id' => 'customizer_repeater_testimonial_003',
111
  ),
118
  new hantus_Repeater( $wp_customize,
119
  'testimonial_contents',
120
  array(
121
+ 'label' => esc_html__('Testimonial','clever-fox'),
122
  'section' => 'testimonial_setting',
123
+ 'add_field_label' => esc_html__( 'Add New Testimonial', 'clever-fox' ),
124
+ 'item_name' => esc_html__( 'Testimonial', 'clever-fox' ),
125
  'priority' => 6,
126
  'customizer_repeater_image_control' => true,
127
  'customizer_repeater_title_control' => true,
137
  $theme = wp_get_theme(); // gets the current theme
138
  if ( 'Thai Spa' == $theme->name){
139
  ?>
140
+ <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
141
  <?php
142
  }else{
143
  ?>
144
+ <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/hantus-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
145
  <?php
146
  }
147
  }
178
  'testimonial_bg_head',
179
  array(
180
  'type' => 'hidden',
181
+ 'label' => __('Background','clever-fox'),
182
  'section' => 'testimonial_setting',
183
  'priority' => 8,
184
  )
196
 
197
  $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'testimonial_background_setting' ,
198
  array(
199
+ 'label' => __( 'Background Image', 'clever-fox' ),
200
  'section' => 'testimonial_setting',
201
  'settings' => 'testimonial_background_setting',
202
  'priority' => 9,
inc/hantus/features/section-typography.php CHANGED
@@ -3,7 +3,7 @@
3
  $wp_customize->add_panel( 'hantus_typography_setting', array(
4
  'priority' => 38,
5
  'capability' => 'edit_theme_options',
6
- 'title' => __('Typography','hantus'),
7
  ) );
8
 
9
  // Typography Hide/ Show Setting //
@@ -11,7 +11,7 @@ $wp_customize->add_panel( 'hantus_typography_setting', array(
11
  $wp_customize->add_section(
12
  'typography_setting' ,
13
  array(
14
- 'title' => __('Settings','hantus'),
15
  'panel' => 'hantus_typography_setting',
16
  'priority' => 1,
17
  ) );
@@ -29,7 +29,7 @@ $wp_customize->add_section(
29
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
30
  'hide_show_typography',
31
  array(
32
- 'label' => esc_html__( 'Enable Typography', 'hantus' ),
33
  'section' => 'typography_setting',
34
  'settings' => 'hide_show_typography',
35
  'type' => 'ios', // light, ios, flat
@@ -48,7 +48,7 @@ $font_weight = array('normal'=>'normal', 'italic'=>'Italic','oblique'=>'oblique'
48
  $wp_customize->add_section(
49
  'Body_typography' ,
50
  array(
51
- 'title' => __('Body','hantus'),
52
  'panel' => 'hantus_typography_setting',
53
  'priority' => 2,
54
  ) );
@@ -58,14 +58,14 @@ $wp_customize->add_section(
58
  $wp_customize->add_setting(
59
  'body_typography_font_weight',
60
  array(
61
- 'default' => __('normal','hantus'),
62
  'capability' => 'edit_theme_options',
63
  'sanitize_callback' => 'sanitize_text_field',
64
  )
65
  );
66
  $wp_customize->add_control(
67
  'body_typography_font_weight', array(
68
- 'label' => __('Font Style','hantus'),
69
  'section' => 'Body_typography',
70
  'setting' => 'body_typography_font_weight',
71
  'choices'=>$font_weight,
@@ -76,7 +76,7 @@ $wp_customize->add_section(
76
  $wp_customize->add_setting(
77
  'body_font_size' ,
78
  array(
79
- 'default' => __( '14','hantus' ),
80
  'capability' => 'edit_theme_options',
81
  'sanitize_callback' => 'sanitize_text_field',
82
 
@@ -88,7 +88,7 @@ $wp_customize->add_section(
88
  array(
89
  'section' => 'Body_typography',
90
  'settings' => 'body_font_size',
91
- 'label' => __( 'Font Size','hantus' ),
92
  'input_attrs' => array(
93
  'min' => 10,
94
  'max' => 40,
@@ -112,7 +112,7 @@ $wp_customize->add_section(
112
  array(
113
  'section' => 'Body_typography',
114
  'settings' => 'body_line_height',
115
- 'label' => __( 'Line Height','hantus' ),
116
  'input_attrs' => array(
117
  'min' => 0,
118
  'max' => 3,
@@ -129,7 +129,7 @@ $wp_customize->add_section(
129
  $wp_customize->add_section(
130
  'H' . $i . '_typography' ,
131
  array(
132
- 'title' => __('H' . $i .'','hantus'),
133
  'panel' => 'hantus_typography_setting',
134
  'priority' => 3,
135
  )
@@ -147,7 +147,7 @@ $wp_customize->add_section(
147
  );
148
  $wp_customize->add_control(
149
  'h' . $i . '_font_weight', array(
150
- 'label' => __('Font Style','hantus'),
151
  'section' => 'H' . $i . '_typography',
152
  'setting' => 'h' . $i . '_font_weight',
153
  'choices'=>$font_weight,
@@ -170,7 +170,7 @@ $wp_customize->add_section(
170
  array(
171
  'section' => 'H' . $i . '_typography',
172
  'settings' => 'h' . $i . '_font_size',
173
- 'label' => __( 'Font Size(px)','hantus' ),
174
  'input_attrs' => array(
175
  'min' => 1,
176
  'max' => 50,
@@ -195,7 +195,7 @@ $wp_customize->add_section(
195
  array(
196
  'section' => 'H' . $i . '_typography',
197
  'settings' => 'h' . $i . '_line_height',
198
- 'label' => __( 'Line Height','hantus' ),
199
  'input_attrs' => array(
200
  'min' => 0,
201
  'max' => 3,
@@ -218,7 +218,7 @@ $wp_customize->add_section(
218
  $wp_customize->add_control(
219
  'h' . $i . '_text_transform' ,
220
  array(
221
- 'label' => __( 'Text Transform', 'hantus' ),
222
  'section' => 'H' . $i . '_typography',
223
  'settings' => 'h' . $i . '_text_transform',
224
  'choices' => $font_transform,
@@ -232,7 +232,7 @@ $wp_customize->add_section(
232
  $wp_customize->add_section(
233
  'menu_typography' ,
234
  array(
235
- 'title' => __('Menus','hantus'),
236
  'panel' => 'hantus_typography_setting',
237
  'priority' => 2,
238
  ) );
@@ -251,7 +251,7 @@ $wp_customize->add_section(
251
  $wp_customize->add_control(
252
  'menu_font_weight',
253
  array(
254
- 'label' => __('Font Style','hantus'),
255
  'section' => 'menu_typography',
256
  'setting' => 'menu_font_weight',
257
  'choices'=>$font_weight,
@@ -274,7 +274,7 @@ $wp_customize->add_section(
274
  array(
275
  'section' => 'menu_typography',
276
  'settings' => 'menu_font_size',
277
- 'label' => __( 'Font Size(px)','hantus' ),
278
  'input_attrs' => array(
279
  'min' => 1,
280
  'max' => 20,
@@ -299,7 +299,7 @@ $wp_customize->add_section(
299
  array(
300
  'section' => 'menu_typography',
301
  'settings' => 'menu_line_height',
302
- 'label' => __( 'Line Height','hantus' ),
303
  'input_attrs' => array(
304
  'min' => 0,
305
  'max' => 3,
@@ -322,7 +322,7 @@ $wp_customize->add_section(
322
  $wp_customize->add_control(
323
  'menu_text_transform' ,
324
  array(
325
- 'label' => __( 'Text Transform', 'hantus' ),
326
  'section' => 'menu_typography',
327
  'settings' => 'menu_text_transform',
328
  'choices' => $font_transform,
@@ -334,7 +334,7 @@ $wp_customize->add_section(
334
  $wp_customize->add_section(
335
  'section_typography' ,
336
  array(
337
- 'title' => __('Sections','hantus'),
338
  'panel' => 'hantus_typography_setting',
339
  'priority' => 2,
340
  ) );
@@ -351,7 +351,7 @@ $wp_customize->add_section(
351
  $wp_customize->add_control(
352
  'section_tit_font_weight',
353
  array(
354
- 'label' => __(' Title Font Style','hantus'),
355
  'section' => 'section_typography',
356
  'setting' => 'section_tit_font_weight',
357
  'choices'=>$font_weight,
@@ -374,7 +374,7 @@ $wp_customize->add_section(
374
  array(
375
  'section' => 'section_typography',
376
  'settings' => 'section_tit_font_size',
377
- 'label' => __( 'Title Font Size(px)','hantus' ),
378
  'input_attrs' => array(
379
  'min' => 1,
380
  'max' => 100,
@@ -399,7 +399,7 @@ $wp_customize->add_section(
399
  array(
400
  'section' => 'section_typography',
401
  'settings' => 'section_ttl_line_height',
402
- 'label' => __( 'Title Line Height','hantus' ),
403
  'input_attrs' => array(
404
  'min' => 0,
405
  'max' => 3,
@@ -422,7 +422,7 @@ $wp_customize->add_section(
422
  $wp_customize->add_control(
423
  'sec_ttl_text_transform' ,
424
  array(
425
- 'label' => __( 'Text Transform', 'hantus' ),
426
  'section' => 'section_typography',
427
  'settings' => 'sec_ttl_text_transform',
428
  'choices' => $font_transform,
@@ -442,7 +442,7 @@ $wp_customize->add_section(
442
  $wp_customize->add_control(
443
  'section_des_font_weight',
444
  array(
445
- 'label' => __('Description Font Style','hantus'),
446
  'section' => 'section_typography',
447
  'setting' => 'section_des_font_weight',
448
  'choices'=>$font_weight,
@@ -465,7 +465,7 @@ $wp_customize->add_section(
465
  array(
466
  'section' => 'section_typography',
467
  'settings' => 'section_desc_font_size',
468
- 'label' => __( 'Description Font Size(px)','hantus' ),
469
  'input_attrs' => array(
470
  'min' => 1,
471
  'max' => 50,
@@ -490,7 +490,7 @@ $wp_customize->add_section(
490
  array(
491
  'section' => 'section_typography',
492
  'settings' => 'section_desc_line_height',
493
- 'label' => __( 'Description Line Height','hantus' ),
494
  'input_attrs' => array(
495
  'min' => 0,
496
  'max' => 3,
@@ -513,7 +513,7 @@ $wp_customize->add_section(
513
  $wp_customize->add_control(
514
  'sec_desc_text_transform' ,
515
  array(
516
- 'label' => __( 'Text Transform', 'hantus' ),
517
  'section' => 'section_typography',
518
  'settings' => 'sec_desc_text_transform',
519
  'choices' => $font_transform,
3
  $wp_customize->add_panel( 'hantus_typography_setting', array(
4
  'priority' => 38,
5
  'capability' => 'edit_theme_options',
6
+ 'title' => __('Typography','clever-fox'),
7
  ) );
8
 
9
  // Typography Hide/ Show Setting //
11
  $wp_customize->add_section(
12
  'typography_setting' ,
13
  array(
14
+ 'title' => __('Settings','clever-fox'),
15
  'panel' => 'hantus_typography_setting',
16
  'priority' => 1,
17
  ) );
29
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
30
  'hide_show_typography',
31
  array(
32
+ 'label' => esc_html__( 'Enable Typography', 'clever-fox' ),
33
  'section' => 'typography_setting',
34
  'settings' => 'hide_show_typography',
35
  'type' => 'ios', // light, ios, flat
48
  $wp_customize->add_section(
49
  'Body_typography' ,
50
  array(
51
+ 'title' => __('Body','clever-fox'),
52
  'panel' => 'hantus_typography_setting',
53
  'priority' => 2,
54
  ) );
58
  $wp_customize->add_setting(
59
  'body_typography_font_weight',
60
  array(
61
+ 'default' => __('normal','clever-fox'),
62
  'capability' => 'edit_theme_options',
63
  'sanitize_callback' => 'sanitize_text_field',
64
  )
65
  );
66
  $wp_customize->add_control(
67
  'body_typography_font_weight', array(
68
+ 'label' => __('Font Style','clever-fox'),
69
  'section' => 'Body_typography',
70
  'setting' => 'body_typography_font_weight',
71
  'choices'=>$font_weight,
76
  $wp_customize->add_setting(
77
  'body_font_size' ,
78
  array(
79
+ 'default' => __( '14','clever-fox' ),
80
  'capability' => 'edit_theme_options',
81
  'sanitize_callback' => 'sanitize_text_field',
82
 
88
  array(
89
  'section' => 'Body_typography',
90
  'settings' => 'body_font_size',
91
+ 'label' => __( 'Font Size','clever-fox' ),
92
  'input_attrs' => array(
93
  'min' => 10,
94
  'max' => 40,
112
  array(
113
  'section' => 'Body_typography',
114
  'settings' => 'body_line_height',
115
+ 'label' => __( 'Line Height','clever-fox' ),
116
  'input_attrs' => array(
117
  'min' => 0,
118
  'max' => 3,
129
  $wp_customize->add_section(
130
  'H' . $i . '_typography' ,
131
  array(
132
+ 'title' => __('H' . $i .'','clever-fox'),
133
  'panel' => 'hantus_typography_setting',
134
  'priority' => 3,
135
  )
147
  );
148
  $wp_customize->add_control(
149
  'h' . $i . '_font_weight', array(
150
+ 'label' => __('Font Style','clever-fox'),
151
  'section' => 'H' . $i . '_typography',
152
  'setting' => 'h' . $i . '_font_weight',
153
  'choices'=>$font_weight,
170
  array(
171
  'section' => 'H' . $i . '_typography',
172
  'settings' => 'h' . $i . '_font_size',
173
+ 'label' => __( 'Font Size(px)','clever-fox' ),
174
  'input_attrs' => array(
175
  'min' => 1,
176
  'max' => 50,
195
  array(
196
  'section' => 'H' . $i . '_typography',
197
  'settings' => 'h' . $i . '_line_height',
198
+ 'label' => __( 'Line Height','clever-fox' ),
199
  'input_attrs' => array(
200
  'min' => 0,
201
  'max' => 3,
218
  $wp_customize->add_control(
219
  'h' . $i . '_text_transform' ,
220
  array(
221
+ 'label' => __( 'Text Transform', 'clever-fox' ),
222
  'section' => 'H' . $i . '_typography',
223
  'settings' => 'h' . $i . '_text_transform',
224
  'choices' => $font_transform,
232
  $wp_customize->add_section(
233
  'menu_typography' ,
234
  array(
235
+ 'title' => __('Menus','clever-fox'),
236
  'panel' => 'hantus_typography_setting',
237
  'priority' => 2,
238
  ) );
251
  $wp_customize->add_control(
252
  'menu_font_weight',
253
  array(
254
+ 'label' => __('Font Style','clever-fox'),
255
  'section' => 'menu_typography',
256
  'setting' => 'menu_font_weight',
257
  'choices'=>$font_weight,
274
  array(
275
  'section' => 'menu_typography',
276
  'settings' => 'menu_font_size',
277
+ 'label' => __( 'Font Size(px)','clever-fox' ),
278
  'input_attrs' => array(
279
  'min' => 1,
280
  'max' => 20,
299
  array(
300
  'section' => 'menu_typography',
301
  'settings' => 'menu_line_height',
302
+ 'label' => __( 'Line Height','clever-fox' ),
303
  'input_attrs' => array(
304
  'min' => 0,
305
  'max' => 3,
322
  $wp_customize->add_control(
323
  'menu_text_transform' ,
324
  array(
325
+ 'label' => __( 'Text Transform', 'clever-fox' ),
326
  'section' => 'menu_typography',
327
  'settings' => 'menu_text_transform',
328
  'choices' => $font_transform,
334
  $wp_customize->add_section(
335
  'section_typography' ,
336
  array(
337
+ 'title' => __('Sections','clever-fox'),
338
  'panel' => 'hantus_typography_setting',
339
  'priority' => 2,
340
  ) );
351
  $wp_customize->add_control(
352
  'section_tit_font_weight',
353
  array(
354
+ 'label' => __(' Title Font Style','clever-fox'),
355
  'section' => 'section_typography',
356
  'setting' => 'section_tit_font_weight',
357
  'choices'=>$font_weight,
374
  array(
375
  'section' => 'section_typography',
376
  'settings' => 'section_tit_font_size',
377
+ 'label' => __( 'Title Font Size(px)','clever-fox' ),
378
  'input_attrs' => array(
379
  'min' => 1,
380
  'max' => 100,
399
  array(
400
  'section' => 'section_typography',
401
  'settings' => 'section_ttl_line_height',
402
+ 'label' => __( 'Title Line Height','clever-fox' ),
403
  'input_attrs' => array(
404
  'min' => 0,
405
  'max' => 3,
422
  $wp_customize->add_control(
423
  'sec_ttl_text_transform' ,
424
  array(
425
+ 'label' => __( 'Text Transform', 'clever-fox' ),
426
  'section' => 'section_typography',
427
  'settings' => 'sec_ttl_text_transform',
428
  'choices' => $font_transform,
442
  $wp_customize->add_control(
443
  'section_des_font_weight',
444
  array(
445
+ 'label' => __('Description Font Style','clever-fox'),
446
  'section' => 'section_typography',
447
  'setting' => 'section_des_font_weight',
448
  'choices'=>$font_weight,
465
  array(
466
  'section' => 'section_typography',
467
  'settings' => 'section_desc_font_size',
468
+ 'label' => __( 'Description Font Size(px)','clever-fox' ),
469
  'input_attrs' => array(
470
  'min' => 1,
471
  'max' => 50,
490
  array(
491
  'section' => 'section_typography',
492
  'settings' => 'section_desc_line_height',
493
+ 'label' => __( 'Description Line Height','clever-fox' ),
494
  'input_attrs' => array(
495
  'min' => 0,
496
  'max' => 3,
513
  $wp_customize->add_control(
514
  'sec_desc_text_transform' ,
515
  array(
516
+ 'label' => __( 'Text Transform', 'clever-fox' ),
517
  'section' => 'section_typography',
518
  'settings' => 'sec_desc_text_transform',
519
  'choices' => $font_transform,
inc/hantus/sections/section-service.php CHANGED
@@ -7,41 +7,41 @@ if ( ! function_exists( 'hantus_lite_service' ) ) :
7
  array(
8
  array(
9
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service01.png',
10
- 'title' => esc_html__( 'Oil Massage', 'hantus' ),
11
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
12
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
13
- 'text2' => esc_html__( 'Book now', 'hantus' ),
14
- 'link' => esc_html__( '#', 'hantus' ),
15
  'id' => 'customizer_repeater_service_001',
16
 
17
  ),
18
  array(
19
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service02.png',
20
- 'title' => esc_html__( 'Skin Care', 'hantus' ),
21
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
22
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
23
- 'text2' => esc_html__( 'Book now', 'hantus' ),
24
- 'link' => esc_html__( '#', 'hantus' ),
25
  'id' => 'customizer_repeater_service_002',
26
 
27
  ),
28
  array(
29
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
30
- 'title' => esc_html__( 'Natural Care', 'hantus' ),
31
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
32
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
33
- 'text2' => esc_html__( 'Book now', 'hantus' ),
34
- 'link' => esc_html__( '#', 'hantus' ),
35
  'id' => 'customizer_repeater_service_003',
36
 
37
  ),
38
  array(
39
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service04.png',
40
- 'title' => esc_html__( 'Nails Design', 'hantus' ),
41
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
42
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
43
- 'text2' => esc_html__( 'Book now', 'hantus' ),
44
- 'link' => esc_html__( '#', 'hantus' ),
45
  'id' => 'customizer_repeater_service_004',
46
 
47
  ),
7
  array(
8
  array(
9
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service01.png',
10
+ 'title' => esc_html__( 'Oil Massage', 'clever-fox' ),
11
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
12
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
13
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
14
+ 'link' => esc_html__( '#', 'clever-fox' ),
15
  'id' => 'customizer_repeater_service_001',
16
 
17
  ),
18
  array(
19
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service02.png',
20
+ 'title' => esc_html__( 'Skin Care', 'clever-fox' ),
21
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
22
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
23
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
24
+ 'link' => esc_html__( '#', 'clever-fox' ),
25
  'id' => 'customizer_repeater_service_002',
26
 
27
  ),
28
  array(
29
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
30
+ 'title' => esc_html__( 'Natural Care', 'clever-fox' ),
31
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
32
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
33
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
34
+ 'link' => esc_html__( '#', 'clever-fox' ),
35
  'id' => 'customizer_repeater_service_003',
36
 
37
  ),
38
  array(
39
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service04.png',
40
+ 'title' => esc_html__( 'Nails Design', 'clever-fox' ),
41
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
42
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
43
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
44
+ 'link' => esc_html__( '#', 'clever-fox' ),
45
  'id' => 'customizer_repeater_service_004',
46
 
47
  ),
inc/hantus/sections/section-testimonial.php CHANGED
@@ -6,23 +6,23 @@
6
  'hantus_get_testimonial_default', json_encode(
7
  array(
8
  array(
9
- 'title' => esc_html__( 'Eric Matision', 'hantus' ),
10
- 'designation' => esc_html__( 'Forest Hills. NY', 'hantus' ),
11
- 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'hantus' ),
12
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
13
  'id' => 'customizer_repeater_testimonial_001',
14
  ),
15
  array(
16
- 'title' => esc_html__( 'Jennifer Lopez', 'hantus' ),
17
- 'designation' => esc_html__( 'Forest Hills. NY', 'hantus' ),
18
- 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'hantus' ),
19
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
20
  'id' => 'customizer_repeater_testimonial_002',
21
  ),
22
  array(
23
- 'title' => esc_html__( 'Betty Ross', 'hantus' ),
24
- 'designation' => esc_html__( 'Developer', 'hantus' ),
25
- 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'hantus' ),
26
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
27
  'id' => 'customizer_repeater_testimonial_003',
28
  ),
6
  'hantus_get_testimonial_default', json_encode(
7
  array(
8
  array(
9
+ 'title' => esc_html__( 'Eric Matision', 'clever-fox' ),
10
+ 'designation' => esc_html__( 'Forest Hills. NY', 'clever-fox' ),
11
+ 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'clever-fox' ),
12
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
13
  'id' => 'customizer_repeater_testimonial_001',
14
  ),
15
  array(
16
+ 'title' => esc_html__( 'Jennifer Lopez', 'clever-fox' ),
17
+ 'designation' => esc_html__( 'Forest Hills. NY', 'clever-fox' ),
18
+ 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'clever-fox' ),
19
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
20
  'id' => 'customizer_repeater_testimonial_002',
21
  ),
22
  array(
23
+ 'title' => esc_html__( 'Betty Ross', 'clever-fox' ),
24
+ 'designation' => esc_html__( 'Developer', 'clever-fox' ),
25
+ 'text' => esc_html__( 'I am very impressed by the efficiency of your service and your excellent returns policy. It is so pleasant to deal with such a customer focussed website.', 'clever-fox' ),
26
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/testimonial/testimonial01.png',
27
  'id' => 'customizer_repeater_testimonial_003',
28
  ),
inc/metasoft/default-pages/home-page.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ //post status and options
3
+ $post = array(
4
+ 'comment_status' => 'closed',
5
+ 'ping_status' => 'closed' ,
6
+ 'post_author' => 1,
7
+ 'post_date' => date('Y-m-d H:i:s'),
8
+ 'post_name' => 'Home',
9
+ 'post_status' => 'publish' ,
10
+ 'post_title' => 'Home',
11
+ 'post_type' => 'page',
12
+ );
13
+ //insert page and save the id
14
+ $newvalue = wp_insert_post( $post, false );
15
+ if ( $newvalue && ! is_wp_error( $newvalue ) ){
16
+ update_post_meta( $newvalue, '_wp_page_template', 'templates/template-homepage.php' );
17
+
18
+ // Use a static front page
19
+ $page = get_page_by_title('Home');
20
+ update_option( 'show_on_front', 'page' );
21
+ update_option( 'page_on_front', $page->ID );
22
+
23
+ }
inc/metasoft/default-pages/upload-media.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $file = CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/logo.png';
3
+ $ImagePath = CLEVERFOX_PLUGIN_URL .'inc/metasoft/images';
4
+
5
+ $images = array(
6
+ $ImagePath. '/logo.png',
7
+ );
8
+ $parent_post_id = null;
9
+ foreach($images as $name) {
10
+ $filename = basename($name);
11
+ $upload_file = wp_upload_bits($filename, null, file_get_contents($name));
12
+ if (!$upload_file['error']) {
13
+ $wp_filetype = wp_check_filetype($filename, null );
14
+ $attachment = array(
15
+ 'post_mime_type' => $wp_filetype['type'],
16
+ 'post_parent' => $parent_post_id,
17
+ 'post_title' => preg_replace('/\.[^.]+$/', '', $filename),
18
+ 'post_excerpt' => 'metasoft caption',
19
+ 'post_status' => 'inherit'
20
+ );
21
+ $ImageId[] = $attachment_id = wp_insert_attachment( $attachment, $upload_file['file'], $parent_post_id );
22
+
23
+ if (!is_wp_error($attachment_id)) {
24
+ require_once(ABSPATH . "wp-admin" . '/includes/image.php');
25
+ $attachment_data = wp_generate_attachment_metadata( $attachment_id, $upload_file['file'] );
26
+ wp_update_attachment_metadata( $attachment_id, $attachment_data );
27
+ }
28
+ }
29
+
30
+ }
31
+
32
+ update_option( 'metasoft_media_id', $ImageId );
inc/metasoft/default-widgets/default-widget.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $activate = array(
3
+ 'metasoft-sidebar-primary' => array(
4
+ 'search-1',
5
+ 'recent-posts-1',
6
+ 'archives-1',
7
+ ),
8
+ 'metasoft-footer-widget-area' => array(
9
+ 'text-1',
10
+ 'categories-1',
11
+ 'archives-1',
12
+ 'search-1',
13
+ )
14
+ );
15
+ /* the default titles will appear */
16
+ update_option('widget_text', array(
17
+ 1 => array('title' => '',
18
+ 'text'=>'<div class="logo"><a href="javascript:void(0);"><img src="'.CLEVERFOX_PLUGIN_URL.'inc/metasoft/images/footer-logo.png" alt="Metrico "></a></div><p>Etiam magna arcu, ullamcorper ut pulvinar et, ornare sit amet ligula. Aliquam vitae bibendum lorem. Cras id dui lectus. Pellentesque nec felis tristique urna lacinia sollicitudin ac ac ex. Maecenas mattis faucibus condimentum. Curabitur imperdiet felis at est.</p><div class="theme-link"><a href="javascript:void(0);" class="read-link">Read More</a></div>'),
19
+ 2 => array('title' => 'Recent Posts'),
20
+ 3 => array('title' => 'Categories'),
21
+ ));
22
+ update_option('widget_categories', array(
23
+ 1 => array('title' => 'Categories'),
24
+ 2 => array('title' => 'Categories')));
25
+
26
+ update_option('widget_archives', array(
27
+ 1 => array('title' => 'Archives'),
28
+ 2 => array('title' => 'Archives')));
29
+
30
+ update_option('widget_search', array(
31
+ 1 => array('title' => 'Search'),
32
+ 2 => array('title' => 'Search')));
33
+
34
+ update_option('sidebars_widgets', $activate);
35
+ $MediaId = get_option('metasoft_media_id');
36
+ set_theme_mod( 'custom_logo', $MediaId[0] );
inc/metasoft/dynamic-style.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( ! function_exists( 'cleverfox_metasoft_dynamic_styles' ) ):
3
+ function cleverfox_metasoft_dynamic_styles() {
4
+ $output_css = '';
5
+
6
+
7
+ /**
8
+ * Logo Width
9
+ */
10
+ $logo_width = get_theme_mod('logo_width','140');
11
+ if($logo_width !== '') {
12
+ $output_css .=".logo img, .mobile-logo img {
13
+ max-width: " .esc_attr($logo_width). "px;
14
+ }\n";
15
+ }
16
+
17
+ /**
18
+ * Typography Body
19
+ */
20
+ $metasoft_body_text_transform = get_theme_mod('metasoft_body_text_transform','inherit');
21
+ $metasoft_body_font_style = get_theme_mod('metasoft_body_font_style','inherit');
22
+ $metasoft_body_font_size = get_theme_mod('metasoft_body_font_size','15');
23
+ $metasoft_body_line_height = get_theme_mod('metasoft_body_line_height','1.5');
24
+
25
+ $output_css .=" body{
26
+ font-size: " .esc_attr($metasoft_body_font_size). "px;
27
+ line-height: " .esc_attr($metasoft_body_line_height). ";
28
+ text-transform: " .esc_attr($metasoft_body_text_transform). ";
29
+ font-style: " .esc_attr($metasoft_body_font_style). ";
30
+ }\n";
31
+
32
+ /**
33
+ * Typography Heading
34
+ */
35
+ for ( $i = 1; $i <= 6; $i++ ) {
36
+ $metasoft_heading_text_transform = get_theme_mod('metasoft_h' . $i . '_text_transform','inherit');
37
+ $metasoft_heading_font_style = get_theme_mod('metasoft_h' . $i . '_font_style','inherit');
38
+ $metasoft_heading_font_size = get_theme_mod('metasoft_h' . $i . '_font_size');
39
+ $metasoft_heading_line_height = get_theme_mod('metasoft_h' . $i . '_line_height');
40
+
41
+ $output_css .=" h" . $i . "{
42
+ font-size: " .esc_attr($metasoft_heading_font_size). "px;
43
+ line-height: " .esc_attr($metasoft_heading_line_height). ";
44
+ text-transform: " .esc_attr($metasoft_heading_text_transform). ";
45
+ font-style: " .esc_attr($metasoft_heading_font_style). ";
46
+ }\n";
47
+ }
48
+
49
+
50
+ /**
51
+ * Slider
52
+ */
53
+ $slider_opacity = get_theme_mod('slider_opacity','0.6');
54
+ $output_css .=".theme-slider:after {
55
+ opacity: " .esc_attr($slider_opacity). ";
56
+ }\n";
57
+
58
+ wp_add_inline_style( 'metasoft-style', $output_css );
59
+ }
60
+ endif;
61
+ add_action( 'wp_enqueue_scripts', 'cleverfox_metasoft_dynamic_styles' );
inc/metasoft/extras.php ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ *
4
+ * Social Icon
5
+ */
6
+ function metasoft_get_social_icon_default() {
7
+ return apply_filters(
8
+ 'metasoft_get_social_icon_default', json_encode(
9
+ array(
10
+ array(
11
+ 'icon_value' => esc_html__( 'fa-facebook', 'metasoft-pro' ),
12
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
13
+ 'id' => 'customizer_repeater_header_social_001',
14
+ ),
15
+ array(
16
+ 'icon_value' => esc_html__( 'fa-google-plus', 'metasoft-pro' ),
17
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
18
+ 'id' => 'customizer_repeater_header_social_002',
19
+ ),
20
+ array(
21
+ 'icon_value' => esc_html__( 'fa-twitter', 'metasoft-pro' ),
22
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
23
+ 'id' => 'customizer_repeater_header_social_003',
24
+ ),
25
+ array(
26
+ 'icon_value' => esc_html__( 'fa-linkedin', 'metasoft-pro' ),
27
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
28
+ 'id' => 'customizer_repeater_header_social_004',
29
+ ),
30
+ )
31
+ )
32
+ );
33
+ }
34
+
35
+ /*
36
+ *
37
+ * Slider Default
38
+ */
39
+ function metasoft_get_slider_default() {
40
+ return apply_filters(
41
+ 'metasoft_get_slider_default', json_encode(
42
+ array(
43
+ array(
44
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/slider/slider01.jpg',
45
+ 'title' => esc_html__( '25 Years', 'metasoft-pro' ),
46
+ 'subtitle' => esc_html__( 'Experience in the Finance Industry', 'metasoft-pro' ),
47
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ase ger et fringilla orci. Maecenas convallis nisl et massa enie are', 'metasoft-pro' ),
48
+ 'text2' => esc_html__( 'Get Started', 'metasoft-pro' ),
49
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
50
+ "slide_align" => "left",
51
+ 'id' => 'customizer_repeater_slider_001',
52
+ ),
53
+ array(
54
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/slider/slider02.jpg',
55
+ 'title' => esc_html__( '25 Years', 'metasoft-pro' ),
56
+ 'subtitle' => esc_html__( 'Experience in the Finance Industry', 'metasoft-pro' ),
57
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ase ger et fringilla orci. Maecenas convallis nisl et massa enie are', 'metasoft-pro' ),
58
+ 'text2' => esc_html__( 'Get Started', 'metasoft-pro' ),
59
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
60
+ "slide_align" => "center",
61
+ 'id' => 'customizer_repeater_slider_002',
62
+ ),
63
+ array(
64
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/slider/slider03.jpg',
65
+ 'title' => esc_html__( '25 Years', 'metasoft-pro' ),
66
+ 'subtitle' => esc_html__( 'Experience in the Finance Industry', 'metasoft-pro' ),
67
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ase ger et fringilla orci. Maecenas convallis nisl et massa enie are', 'metasoft-pro' ),
68
+ 'text2' => esc_html__( 'Get Started', 'metasoft-pro' ),
69
+ 'link' => esc_html__( '#', 'metasoft-pro' ),
70
+ "slide_align" => "right",
71
+ 'id' => 'customizer_repeater_slider_003',
72
+
73
+ ),
74
+ )
75
+ )
76
+ );
77
+ }
78
+
79
+ /*
80
+ *
81
+ * Info Default
82
+ */
83
+ function metasoft_get_info_default() {
84
+ return apply_filters(
85
+ 'metasoft_get_info_default', json_encode(
86
+ array(
87
+ array(
88
+ 'title' => esc_html__( 'Consulting', 'metasoft-pro' ),
89
+ 'text' => esc_html__( 'Do eiusmod tempor incididunt ut labore et dolore magna', 'metasoft-pro' ),
90
+ 'text2' => esc_html__( 'Read More', 'metasoft-pro' ),
91
+ 'icon_value' => 'fa-comments',
92
+ 'id' => 'customizer_repeater_info_001',
93
+
94
+ ),
95
+ array(
96
+ 'title' => esc_html__( 'Architecture', 'metasoft-pro' ),
97
+ 'text' => esc_html__( 'Do eiusmod tempor incididunt ut labore et dolore magna', 'metasoft-pro' ),
98
+ 'text2' => esc_html__( 'Read More', 'metasoft-pro' ),
99
+ 'icon_value' => 'fa-comments',
100
+ 'id' => 'customizer_repeater_info_002',
101
+ ),
102
+ array(
103
+ 'title' => esc_html__( 'Green buildings', 'metasoft-pro' ),
104
+ 'text' => esc_html__( 'Do eiusmod tempor incididunt ut labore et dolore magna', 'metasoft-pro' ),
105
+ 'text2' => esc_html__( 'Read More', 'metasoft-pro' ),
106
+ 'icon_value' => 'fa-comments',
107
+ 'id' => 'customizer_repeater_info_003',
108
+ ),
109
+ array(
110
+ 'title' => esc_html__( 'Flat share', 'metasoft-pro' ),
111
+ 'text' => esc_html__( 'Do eiusmod tempor incididunt ut labore et dolore magna', 'metasoft-pro' ),
112
+ 'text2' => esc_html__( 'Read More', 'metasoft-pro' ),
113
+ 'icon_value' => 'fa-comments',
114
+ 'id' => 'customizer_repeater_info_004',
115
+ ),
116
+ )
117
+ )
118
+ );
119
+ }
120
+
121
+ /*
122
+ *
123
+ * Service Default
124
+ */
125
+ function metasoft_get_service_default() {
126
+ return apply_filters(
127
+ 'metasoft_get_service_default', json_encode(
128
+ array(
129
+ array(
130
+ 'title' => esc_html__( 'Professional Consulting', 'metasoft-pro' ),
131
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam quos aperiam ipsam modi dolor suscipit asperiores perspiciatis.', 'metasoft-pro' ),
132
+ 'icon_value' => 'fa-folder-open-o',
133
+ 'id' => 'customizer_repeater_service_001',
134
+
135
+ ),
136
+ array(
137
+ 'title' => esc_html__( 'Valuable Ideas', 'metasoft-pro' ),
138
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam quos aperiam ipsam modi dolor suscipit asperiores perspiciatis.', 'metasoft-pro' ),
139
+ 'icon_value' => 'fa-columns',
140
+ 'id' => 'customizer_repeater_service_002',
141
+ ),
142
+ array(
143
+ 'title' => esc_html__( 'Budget Friendly', 'metasoft-pro' ),
144
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam quos aperiam ipsam modi dolor suscipit asperiores perspiciatis.', 'metasoft-pro' ),
145
+ 'icon_value' => 'fa-graduation-cap ',
146
+ 'id' => 'customizer_repeater_service_003',
147
+ ),
148
+ )
149
+ )
150
+ );
151
+ }
152
+
153
+
154
+
155
+ /*
156
+ *
157
+ * Expertise Default
158
+ */
159
+ function metasoft_get_expertise_default() {
160
+ return apply_filters(
161
+ 'metasoft_get_expertise_default', json_encode(
162
+ array(
163
+ array(
164
+ 'title' => esc_html__( 'Strategy & Growth', 'metasoft-pro' ),
165
+ 'text' => esc_html__( 'Defining your business goal and steps to achieve them.', 'metasoft-pro' ),
166
+ 'icon_value' => 'fa-sun-o',
167
+ 'id' => 'customizer_repeater_expertise_001',
168
+ ),
169
+ array(
170
+ 'title' => esc_html__( 'Global Expansion', 'metasoft-pro' ),
171
+ 'text' => esc_html__( 'Defining your business goal and steps to achieve them.', 'metasoft-pro' ),
172
+ 'icon_value' => 'fa-sun-o',
173
+ 'id' => 'customizer_repeater_expertise_002',
174
+ ),
175
+ array(
176
+ 'title' => esc_html__( 'Customer Strategy', 'metasoft-pro' ),
177
+ 'text' => esc_html__( 'Defining your business goal and steps to achieve them.', 'metasoft-pro' ),
178
+ 'icon_value' => 'fa-sun-o',
179
+ 'id' => 'customizer_repeater_expertise_003',
180
+ ),
181
+ array(
182
+ 'title' => esc_html__( 'Tax Consulting', 'metasoft-pro' ),
183
+ 'text' => esc_html__( 'Defining your business goal and steps to achieve them.', 'metasoft-pro' ),
184
+ 'icon_value' => 'fa-sun-o',
185
+ 'id' => 'customizer_repeater_expertise_004',
186
+ ),
187
+ array(
188
+ 'title' => esc_html__( 'Currencies', 'metasoft-pro' ),
189
+ 'text' => esc_html__( 'Defining your business goal and steps to achieve them.', 'metasoft-pro' ),
190
+ 'icon_value' => 'fa-sun-o',
191
+ 'id' => 'customizer_repeater_expertise_005',
192
+ ),
193
+ array(
194
+ 'title' => esc_html__( 'Commodities', 'metasoft-pro' ),
195
+ 'text' => esc_html__( 'Defining your business goal and steps to achieve them.', 'metasoft-pro' ),
196
+ 'icon_value' => 'fa-sun-o',
197
+ 'id' => 'customizer_repeater_expertise_006',
198
+ ),
199
+ )
200
+ )
201
+ );
202
+ }
inc/metasoft/features/metasoft-expertise.php ADDED
@@ -0,0 +1,402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function metasoft_expertise_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Expertise Section
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'expertise_setting', array(
9
+ 'title' => esc_html__( 'Expertise Section', 'clever-fox' ),
10
+ 'priority' => 7,
11
+ 'panel' => 'metasoft_frontpage_sections',
12
+ )
13
+ );
14
+
15
+ // Expertise Header Section //
16
+ $wp_customize->add_setting(
17
+ 'expertise_headings'
18
+ ,array(
19
+ 'capability' => 'edit_theme_options',
20
+ 'sanitize_callback' => 'metasoft_sanitize_text',
21
+ 'priority' => 3,
22
+ )
23
+ );
24
+
25
+ $wp_customize->add_control(
26
+ 'expertise_headings',
27
+ array(
28
+ 'type' => 'hidden',
29
+ 'label' => __('Header','clever-fox'),
30
+ 'section' => 'expertise_setting',
31
+ )
32
+ );
33
+
34
+ // Expertise Title //
35
+ $wp_customize->add_setting(
36
+ 'expertise_title',
37
+ array(
38
+ 'default' => __('Our <span class="text-primary">Core Expertise</span>','clever-fox'),
39
+ 'capability' => 'edit_theme_options',
40
+ 'sanitize_callback' => 'metasoft_sanitize_html',
41
+ 'transport' => $selective_refresh,
42
+ 'priority' => 4,
43
+ )
44
+ );
45
+
46
+ $wp_customize->add_control(
47
+ 'expertise_title',
48
+ array(
49
+ 'label' => __('Title','clever-fox'),
50
+ 'section' => 'expertise_setting',
51
+ 'type' => 'text',
52
+ )
53
+ );
54
+
55
+ // Expertise Description //
56
+ $wp_customize->add_setting(
57
+ 'expertise_description',
58
+ array(
59
+ 'default' => __('Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.','clever-fox'),
60
+ 'capability' => 'edit_theme_options',
61
+ 'sanitize_callback' => 'metasoft_sanitize_text',
62
+ 'transport' => $selective_refresh,
63
+ 'priority' => 6,
64
+ )
65
+ );
66
+
67
+ $wp_customize->add_control(
68
+ 'expertise_description',
69
+ array(
70
+ 'label' => __('Description','clever-fox'),
71
+ 'section' => 'expertise_setting',
72
+ 'type' => 'textarea',
73
+ )
74
+ );
75
+
76
+ // Expertise content Section //
77
+
78
+ $wp_customize->add_setting(
79
+ 'expertise_content_head'
80
+ ,array(
81
+ 'capability' => 'edit_theme_options',
82
+ 'sanitize_callback' => 'metasoft_sanitize_text',
83
+ 'priority' => 7,
84
+ )
85
+ );
86
+
87
+ $wp_customize->add_control(
88
+ 'expertise_content_head',
89
+ array(
90
+ 'type' => 'hidden',
91
+ 'label' => __('Expertise','clever-fox'),
92
+ 'section' => 'expertise_setting',
93
+ )
94
+ );
95
+
96
+
97
+ $wp_customize->add_setting(
98
+ 'expertise_hs'
99
+ ,array(
100
+ 'default' => '1',
101
+ 'capability' => 'edit_theme_options',
102
+ 'sanitize_callback' => 'metasoft_sanitize_text',
103
+ 'priority' => 7,
104
+ )
105
+ );
106
+
107
+ $wp_customize->add_control(
108
+ 'expertise_hs',
109
+ array(
110
+ 'type' => 'checkbox',
111
+ 'label' => __('Hide / Show','clever-fox'),
112
+ 'section' => 'expertise_setting',
113
+ )
114
+ );
115
+
116
+ /**
117
+ * Customizer Repeater for add expertise
118
+ */
119
+
120
+ $wp_customize->add_setting( 'expertise_contents',
121
+ array(
122
+ 'sanitize_callback' => 'metasoft_repeater_sanitize',
123
+ 'transport' => $selective_refresh,
124
+ 'priority' => 8,
125
+ 'default' => metasoft_get_expertise_default()
126
+ )
127
+ );
128
+
129
+ $wp_customize->add_control(
130
+ new MetaSoft_Repeater( $wp_customize,
131
+ 'expertise_contents',
132
+ array(
133
+ 'label' => esc_html__('Expertise','clever-fox'),
134
+ 'section' => 'expertise_setting',
135
+ 'add_field_label' => esc_html__( 'Add New Expertise', 'clever-fox' ),
136
+ 'item_name' => esc_html__( 'Expertise', 'clever-fox' ),
137
+ 'customizer_repeater_icon_control' => true,
138
+ 'customizer_repeater_title_control' => true,
139
+ 'customizer_repeater_text_control' => true,
140
+ )
141
+ )
142
+ );
143
+
144
+ //Pro feature
145
+ class Metasoft_expertise__section_upgrade extends WP_Customize_Control {
146
+ public function render_content() {
147
+ ?>
148
+ <span class="customizer_expertise_upgrade_section up-to-pro" style="display: none;"></span>
149
+ <?php
150
+ }
151
+ }
152
+
153
+ $wp_customize->add_setting( 'metasoft_expertise_upgrade_to_pro', array(
154
+ 'capability' => 'edit_theme_options',
155
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
156
+ 'priority' => 5,
157
+ ));
158
+ $wp_customize->add_control(
159
+ new Metasoft_expertise__section_upgrade(
160
+ $wp_customize,
161
+ 'metasoft_expertise_upgrade_to_pro',
162
+ array(
163
+ 'section' => 'expertise_setting',
164
+ )
165
+ )
166
+ );
167
+
168
+ // Success content Section //
169
+
170
+ $wp_customize->add_setting(
171
+ 'success_content_head'
172
+ ,array(
173
+ 'capability' => 'edit_theme_options',
174
+ 'sanitize_callback' => 'metasoft_sanitize_text',
175
+ 'priority' => 9,
176
+ )
177
+ );
178
+
179
+ $wp_customize->add_control(
180
+ 'success_content_head',
181
+ array(
182
+ 'type' => 'hidden',
183
+ 'label' => __('Success Info','clever-fox'),
184
+ 'section' => 'expertise_setting',
185
+ )
186
+ );
187
+
188
+
189
+ $wp_customize->add_setting(
190
+ 'expt_success_hs'
191
+ ,array(
192
+ 'default' => '1',
193
+ 'capability' => 'edit_theme_options',
194
+ 'sanitize_callback' => 'metasoft_sanitize_text',
195
+ 'priority' => 10,
196
+ )
197
+ );
198
+
199
+ $wp_customize->add_control(
200
+ 'expt_success_hs',
201
+ array(
202
+ 'type' => 'checkbox',
203
+ 'label' => __('Hide / Show','clever-fox'),
204
+ 'section' => 'expertise_setting',
205
+ )
206
+ );
207
+
208
+ // Image
209
+ $wp_customize->add_setting(
210
+ 'expt_success_img' ,
211
+ array(
212
+ 'default' => CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/thumbsup.png',
213
+ 'capability' => 'edit_theme_options',
214
+ 'sanitize_callback' => 'metasoft_sanitize_url',
215
+ 'priority' => 10,
216
+ )
217
+ );
218
+
219
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'expt_success_img' ,
220
+ array(
221
+ 'label' => esc_html__( 'Image', 'clever-fox'),
222
+ 'section' => 'expertise_setting',
223
+ )
224
+ ));
225
+
226
+
227
+ // Title
228
+ $wp_customize->add_setting(
229
+ 'expt_success_ttl'
230
+ ,array(
231
+ 'default' => __('We deliver success to our traders','clever-fox'),
232
+ 'capability' => 'edit_theme_options',
233
+ 'sanitize_callback' => 'metasoft_sanitize_html',
234
+ 'transport' => $selective_refresh,
235
+ 'priority' => 11,
236
+ )
237
+ );
238
+
239
+ $wp_customize->add_control(
240
+ 'expt_success_ttl',
241
+ array(
242
+ 'type' => 'text',
243
+ 'label' => __('Title','clever-fox'),
244
+ 'section' => 'expertise_setting',
245
+ )
246
+ );
247
+
248
+ // Description
249
+ $wp_customize->add_setting(
250
+ 'expt_success_desc'
251
+ ,array(
252
+ 'default' => __('Need guidance in creating and managing successful investment portfolio?','clever-fox'),
253
+ 'capability' => 'edit_theme_options',
254
+ 'sanitize_callback' => 'metasoft_sanitize_html',
255
+ 'transport' => $selective_refresh,
256
+ 'priority' => 11,
257
+ )
258
+ );
259
+
260
+ $wp_customize->add_control(
261
+ 'expt_success_desc',
262
+ array(
263
+ 'type' => 'textarea',
264
+ 'label' => __('Description','clever-fox'),
265
+ 'section' => 'expertise_setting',
266
+ )
267
+ );
268
+
269
+
270
+ // Button icon //
271
+ $wp_customize->add_setting(
272
+ 'expt_success_btn_icon',
273
+ array(
274
+ 'default' => 'fa-angle-right',
275
+ 'sanitize_callback' => 'sanitize_text_field',
276
+ 'capability' => 'edit_theme_options',
277
+ 'priority' => 12,
278
+ )
279
+ );
280
+
281
+ $wp_customize->add_control(new MetaSoft_Icon_Picker_Control($wp_customize,
282
+ 'expt_success_btn_icon',
283
+ array(
284
+ 'label' => __('Button Icon','clever-fox'),
285
+ 'section' => 'expertise_setting',
286
+ 'iconset' => 'fa',
287
+
288
+ ))
289
+ );
290
+
291
+ // Button Label //
292
+ $wp_customize->add_setting(
293
+ 'expt_success_btn_lbl',
294
+ array(
295
+ 'default' => __('Contact Us','clever-fox'),
296
+ 'capability' => 'edit_theme_options',
297
+ 'sanitize_callback' => 'metasoft_sanitize_html',
298
+ 'priority' => 13,
299
+ )
300
+ );
301
+
302
+ $wp_customize->add_control(
303
+ 'expt_success_btn_lbl',
304
+ array(
305
+ 'label' => __('Button Label','clever-fox'),
306
+ 'section' => 'expertise_setting',
307
+ 'type' => 'text',
308
+ )
309
+ );
310
+
311
+ // Button URL //
312
+ $wp_customize->add_setting(
313
+ 'expt_success_btn_url',
314
+ array(
315
+ 'capability' => 'edit_theme_options',
316
+ 'sanitize_callback' => 'metasoft_sanitize_url',
317
+ 'priority' => 14,
318
+ )
319
+ );
320
+
321
+ $wp_customize->add_control(
322
+ 'expt_success_btn_url',
323
+ array(
324
+ 'label' => __('Button URL','clever-fox'),
325
+ 'section' => 'expertise_setting',
326
+ 'type' => 'text',
327
+ )
328
+ );
329
+ }
330
+
331
+ add_action( 'customize_register', 'metasoft_expertise_setting' );
332
+
333
+ // expertise selective refresh
334
+ function metasoft_home_expertise_section_partials( $wp_customize ){
335
+ // expertise title
336
+ $wp_customize->selective_refresh->add_partial( 'expertise_title', array(
337
+ 'selector' => '.expertise-home .heading-seprator h1',
338
+ 'settings' => 'expertise_title',
339
+ 'render_callback' => 'metasoft_expertise_title_render_callback',
340
+ ) );
341
+
342
+ // expertise description
343
+ $wp_customize->selective_refresh->add_partial( 'expertise_description', array(
344
+ 'selector' => '.expertise-home .heading-seprator p',
345
+ 'settings' => 'expertise_description',
346
+ 'render_callback' => 'metasoft_expertise_desc_render_callback',
347
+ ) );
348
+ // expertise content
349
+ $wp_customize->selective_refresh->add_partial( 'expertise_contents', array(
350
+ 'selector' => '.expertise-home .expertise-content'
351
+ ) );
352
+
353
+ // expt_success_ttl
354
+ $wp_customize->selective_refresh->add_partial( 'expt_success_ttl', array(
355
+ 'selector' => '.expertise-home .success-info h5',
356
+ 'settings' => 'expt_success_ttl',
357
+ 'render_callback' => 'metasoft_expt_success_ttl_render_callback',
358
+ ) );
359
+
360
+ // expt_success_desc
361
+ $wp_customize->selective_refresh->add_partial( 'expt_success_desc', array(
362
+ 'selector' => '.expertise-home .success-info p',
363
+ 'settings' => 'expt_success_desc',
364
+ 'render_callback' => 'metasoft_expt_success_desc_render_callback',
365
+ ) );
366
+
367
+ // expt_success_btn_lbl
368
+ $wp_customize->selective_refresh->add_partial( 'expt_success_btn_lbl', array(
369
+ 'selector' => '.expertise-home .success-info a',
370
+ 'settings' => 'expt_success_btn_lbl',
371
+ 'render_callback' => 'metasoft_expt_success_btn_lbl_render_callback',
372
+ ) );
373
+
374
+ }
375
+
376
+ add_action( 'customize_register', 'metasoft_home_expertise_section_partials' );
377
+
378
+ // expertise title
379
+ function metasoft_expertise_title_render_callback() {
380
+ return get_theme_mod( 'expertise_title' );
381
+ }
382
+
383
+ // expertise description
384
+ function metasoft_expertise_desc_render_callback() {
385
+ return get_theme_mod( 'expertise_description' );
386
+ }
387
+
388
+
389
+ // expertise expt_success_ttl
390
+ function metasoft_expt_success_ttl_render_callback() {
391
+ return get_theme_mod( 'expt_success_ttl' );
392
+ }
393
+
394
+ // expt_success_desc
395
+ function metasoft_expt_success_desc_render_callback() {
396
+ return get_theme_mod( 'expt_success_desc' );
397
+ }
398
+
399
+ // expt_success_btn_lbl
400
+ function metasoft_expt_success_btn_lbl_render_callback() {
401
+ return get_theme_mod( 'expt_success_btn_lbl' );
402
+ }
inc/metasoft/features/metasoft-header.php ADDED
@@ -0,0 +1,611 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function metasoft_lite_header_settings( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Header Settings Panel
6
+ =========================================*/
7
+ $wp_customize->add_panel(
8
+ 'header_section',
9
+ array(
10
+ 'priority' => 2,
11
+ 'capability' => 'edit_theme_options',
12
+ 'title' => __('Header', 'clever-fox'),
13
+ )
14
+ );
15
+
16
+ /*=========================================
17
+ MetaSoft Site Identity
18
+ =========================================*/
19
+ $wp_customize->add_section(
20
+ 'title_tagline',
21
+ array(
22
+ 'priority' => 1,
23
+ 'title' => __('Site Identity','clever-fox'),
24
+ 'panel' => 'header_section',
25
+ )
26
+ );
27
+
28
+ // Logo Width //
29
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
30
+ $wp_customize->add_setting(
31
+ 'logo_width',
32
+ array(
33
+ 'default' => '140',
34
+ 'capability' => 'edit_theme_options',
35
+ 'sanitize_callback' => 'metasoft_sanitize_range_value',
36
+ 'transport' => 'postMessage',
37
+ )
38
+ );
39
+ $wp_customize->add_control(
40
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'logo_width',
41
+ array(
42
+ 'label' => __( 'Logo Width', 'clever-fox' ),
43
+ 'section' => 'title_tagline',
44
+ 'input_attrs' => array(
45
+ 'min' => 0,
46
+ 'max' => 500,
47
+ 'step' => 1,
48
+ //'suffix' => 'px', //optional suffix
49
+ ),
50
+ ) )
51
+ );
52
+ }
53
+ /*=========================================
54
+ Above Header Section
55
+ =========================================*/
56
+ $wp_customize->add_section(
57
+ 'above_header',
58
+ array(
59
+ 'priority' => 2,
60
+ 'title' => __('Above Header','clever-fox'),
61
+ 'panel' => 'header_section',
62
+ )
63
+ );
64
+
65
+ // Setting Head
66
+ $wp_customize->add_setting(
67
+ 'hdr_top_setting_head'
68
+ ,array(
69
+ 'capability' => 'edit_theme_options',
70
+ 'sanitize_callback' => 'metasoft_sanitize_text',
71
+ 'priority' => 1,
72
+ )
73
+ );
74
+
75
+ $wp_customize->add_control(
76
+ 'hdr_top_setting_head',
77
+ array(
78
+ 'type' => 'hidden',
79
+ 'label' => __('Setting','clever-fox'),
80
+ 'section' => 'above_header',
81
+ )
82
+ );
83
+
84
+ // Setting Head
85
+ $wp_customize->add_setting(
86
+ 'hdr_top_hs'
87
+ ,array(
88
+ 'default' => '1',
89
+ 'capability' => 'edit_theme_options',
90
+ 'sanitize_callback' => 'metasoft_sanitize_text',
91
+ 'priority' => 1,
92
+ )
93
+ );
94
+
95
+ $wp_customize->add_control(
96
+ 'hdr_top_hs',
97
+ array(
98
+ 'type' => 'checkbox',
99
+ 'label' => __('Hide / Show','clever-fox'),
100
+ 'section' => 'above_header',
101
+ )
102
+ );
103
+
104
+ // Links
105
+ $wp_customize->add_setting(
106
+ 'hdr_top_contact_links'
107
+ ,array(
108
+ 'capability' => 'edit_theme_options',
109
+ 'sanitize_callback' => 'metasoft_sanitize_text',
110
+ 'priority' => 5,
111
+ )
112
+ );
113
+
114
+ $wp_customize->add_control(
115
+ 'hdr_top_contact_links',
116
+ array(
117
+ 'type' => 'hidden',
118
+ 'label' => __('Links','clever-fox'),
119
+ 'section' => 'above_header',
120
+ )
121
+ );
122
+
123
+ // Setting Head
124
+ $wp_customize->add_setting(
125
+ 'abv_hdr_link_hs'
126
+ ,array(
127
+ 'default' => '1',
128
+ 'capability' => 'edit_theme_options',
129
+ 'sanitize_callback' => 'metasoft_sanitize_text',
130
+ 'priority' => 1,
131
+ )
132
+ );
133
+
134
+ $wp_customize->add_control(
135
+ 'abv_hdr_link_hs',
136
+ array(
137
+ 'type' => 'checkbox',
138
+ 'label' => __('Hide / Show','clever-fox'),
139
+ 'section' => 'above_header',
140
+ )
141
+ );
142
+
143
+ // Label 1 //
144
+ $wp_customize->add_setting(
145
+ 'abv_hdr_lbl1',
146
+ array(
147
+ 'default' => __('careers','clever-fox'),
148
+ 'sanitize_callback' => 'metasoft_sanitize_text',
149
+ 'transport' => $selective_refresh,
150
+ 'capability' => 'edit_theme_options',
151
+ 'priority' => 1,
152
+ )
153
+ );
154
+
155
+ $wp_customize->add_control(
156
+ 'abv_hdr_lbl1',
157
+ array(
158
+ 'label' => __('Label 1','clever-fox'),
159
+ 'section' => 'above_header',
160
+ 'type' => 'text'
161
+ )
162
+ );
163
+
164
+ // Link 1 //
165
+ $wp_customize->add_setting(
166
+ 'abv_hdr_url1',
167
+ array(
168
+ 'sanitize_callback' => 'metasoft_sanitize_url',
169
+ 'transport' => $selective_refresh,
170
+ 'capability' => 'edit_theme_options',
171
+ 'priority' => 2,
172
+ )
173
+ );
174
+
175
+ $wp_customize->add_control(
176
+ 'abv_hdr_url1',
177
+ array(
178
+ 'label' => __('Link 1','clever-fox'),
179
+ 'section' => 'above_header',
180
+ 'type' => 'text'
181
+ )
182
+ );
183
+
184
+
185
+
186
+ // Label 2 //
187
+ $wp_customize->add_setting(
188
+ 'abv_hdr_lbl2',
189
+ array(
190
+ 'default' => __('help desk','clever-fox'),
191
+ 'sanitize_callback' => 'metasoft_sanitize_text',
192
+ 'transport' => $selective_refresh,
193
+ 'capability' => 'edit_theme_options',
194
+ 'priority' => 3,
195
+ )
196
+ );
197
+
198
+ $wp_customize->add_control(
199
+ 'abv_hdr_lbl2',
200
+ array(
201
+ 'label' => __('Label 2','clever-fox'),
202
+ 'section' => 'above_header',
203
+ 'type' => 'text'
204
+ )
205
+ );
206
+
207
+ // Link 2 //
208
+ $wp_customize->add_setting(
209
+ 'abv_hdr_url2',
210
+ array(
211
+ 'sanitize_callback' => 'metasoft_sanitize_url',
212
+ 'transport' => $selective_refresh,
213
+ 'capability' => 'edit_theme_options',
214
+ 'priority' => 4,
215
+ )
216
+ );
217
+
218
+ $wp_customize->add_control(
219
+ 'abv_hdr_url2',
220
+ array(
221
+ 'label' => __('Link 2','clever-fox'),
222
+ 'section' => 'above_header',
223
+ 'type' => 'text'
224
+ )
225
+ );
226
+
227
+
228
+ // Label 3 //
229
+ $wp_customize->add_setting(
230
+ 'abv_hdr_lbl3',
231
+ array(
232
+ 'default' => __('login','clever-fox'),
233
+ 'sanitize_callback' => 'metasoft_sanitize_text',
234
+ 'transport' => $selective_refresh,
235
+ 'capability' => 'edit_theme_options',
236
+ 'priority' => 5,
237
+ )
238
+ );
239
+
240
+ $wp_customize->add_control(
241
+ 'abv_hdr_lbl3',
242
+ array(
243
+ 'label' => __('Label 3','clever-fox'),
244
+ 'section' => 'above_header',
245
+ 'type' => 'text'
246
+ )
247
+ );
248
+
249
+ // Link 3 //
250
+ $wp_customize->add_setting(
251
+ 'abv_hdr_url3',
252
+ array(
253
+ 'sanitize_callback' => 'metasoft_sanitize_url',
254
+ 'transport' => $selective_refresh,
255
+ 'capability' => 'edit_theme_options',
256
+ 'priority' => 4,
257
+ )
258
+ );
259
+
260
+ $wp_customize->add_control(
261
+ 'abv_hdr_url3',
262
+ array(
263
+ 'label' => __('Link 3','clever-fox'),
264
+ 'section' => 'above_header',
265
+ 'type' => 'text'
266
+ )
267
+ );
268
+
269
+ // Social
270
+ $wp_customize->add_setting(
271
+ 'hdr_top_contact_social'
272
+ ,array(
273
+ 'capability' => 'edit_theme_options',
274
+ 'sanitize_callback' => 'metasoft_sanitize_text',
275
+ 'priority' => 5,
276
+ )
277
+ );
278
+
279
+ $wp_customize->add_control(
280
+ 'hdr_top_contact_social',
281
+ array(
282
+ 'type' => 'hidden',
283
+ 'label' => __('Social Icons','clever-fox'),
284
+ 'section' => 'above_header',
285
+ )
286
+ );
287
+
288
+ $wp_customize->add_setting(
289
+ 'hide_show_social_icon' ,
290
+ array(
291
+ 'default' => '1',
292
+ 'capability' => 'edit_theme_options',
293
+ 'sanitize_callback' => 'metasoft_sanitize_checkbox',
294
+ 'transport' => $selective_refresh,
295
+ 'priority' => 6,
296
+ )
297
+ );
298
+
299
+ $wp_customize->add_control(
300
+ 'hide_show_social_icon',
301
+ array(
302
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
303
+ 'section' => 'above_header',
304
+ 'type' => 'checkbox'
305
+ )
306
+ );
307
+
308
+ /**
309
+ * Customizer Repeater
310
+ */
311
+ $wp_customize->add_setting( 'social_icons',
312
+ array(
313
+ 'sanitize_callback' => 'metasoft_repeater_sanitize',
314
+ 'priority' => 7,
315
+ 'default' => metasoft_get_social_icon_default()
316
+ )
317
+ );
318
+
319
+ $wp_customize->add_control(
320
+ new METASOFT_Repeater( $wp_customize,
321
+ 'social_icons',
322
+ array(
323
+ 'label' => esc_html__('Social','clever-fox'),
324
+ 'section' => 'above_header',
325
+ 'add_field_label' => esc_html__( 'Add New Social', 'clever-fox' ),
326
+ 'item_name' => esc_html__( 'Social', 'clever-fox' ),
327
+ 'customizer_repeater_icon_control' => true,
328
+ 'customizer_repeater_link_control' => true,
329
+ )
330
+ )
331
+ );
332
+
333
+
334
+ //Pro feature
335
+ class Metasoft_social__section_upgrade extends WP_Customize_Control {
336
+ public function render_content() {
337
+ ?>
338
+ <span class="customizer_social_upgrade_section up-to-pro" style="display: none;"></span>
339
+ <?php
340
+ }
341
+ }
342
+
343
+ $wp_customize->add_setting( 'metasoft_social_upgrade_to_pro', array(
344
+ 'capability' => 'edit_theme_options',
345
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
346
+ 'priority' => 7,
347
+ ));
348
+ $wp_customize->add_control(
349
+ new Metasoft_social__section_upgrade(
350
+ $wp_customize,
351
+ 'metasoft_social_upgrade_to_pro',
352
+ array(
353
+ 'section' => 'above_header',
354
+ )
355
+ )
356
+ );
357
+
358
+ // Contact
359
+ $wp_customize->add_setting(
360
+ 'hdr_top_contact'
361
+ ,array(
362
+ 'capability' => 'edit_theme_options',
363
+ 'sanitize_callback' => 'metasoft_sanitize_text',
364
+ 'priority' => 5,
365
+ )
366
+ );
367
+
368
+ $wp_customize->add_control(
369
+ 'hdr_top_contact',
370
+ array(
371
+ 'type' => 'hidden',
372
+ 'label' => __('Contact','clever-fox'),
373
+ 'section' => 'above_header',
374
+ )
375
+ );
376
+ $wp_customize->add_setting(
377
+ 'hide_show_cntct_details' ,
378
+ array(
379
+ 'default' => '1',
380
+ 'capability' => 'edit_theme_options',
381
+ 'sanitize_callback' => 'metasoft_sanitize_checkbox',
382
+ 'transport' => $selective_refresh,
383
+ 'priority' => 6,
384
+ )
385
+ );
386
+
387
+ $wp_customize->add_control(
388
+ 'hide_show_cntct_details',
389
+ array(
390
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
391
+ 'section' => 'above_header',
392
+ 'type' => 'checkbox'
393
+ )
394
+ );
395
+
396
+ // icon //
397
+ $wp_customize->add_setting(
398
+ 'tlh_contct_icon',
399
+ array(
400
+ 'default' => 'fa-clock-o',
401
+ 'sanitize_callback' => 'sanitize_text_field',
402
+ 'capability' => 'edit_theme_options',
403
+ )
404
+ );
405
+
406
+ $wp_customize->add_control(new MetaSoft_Icon_Picker_Control($wp_customize,
407
+ 'tlh_contct_icon',
408
+ array(
409
+ 'label' => __('Icon','clever-fox'),
410
+ 'section' => 'above_header',
411
+ 'iconset' => 'fa',
412
+
413
+ ))
414
+ );
415
+ // Mobile title //
416
+ $wp_customize->add_setting(
417
+ 'tlh_contact_title',
418
+ array(
419
+ 'default' => __('Mon to Fri 9:00am to 6:00pm','clever-fox'),
420
+ 'sanitize_callback' => 'metasoft_sanitize_text',
421
+ 'transport' => $selective_refresh,
422
+ 'capability' => 'edit_theme_options',
423
+ 'priority' => 7,
424
+ )
425
+ );
426
+
427
+ $wp_customize->add_control(
428
+ 'tlh_contact_title',
429
+ array(
430
+ 'label' => __('Title','clever-fox'),
431
+ 'section' => 'above_header',
432
+ 'type' => 'text'
433
+ )
434
+ );
435
+
436
+ // Email
437
+ $wp_customize->add_setting(
438
+ 'hdr_top_email'
439
+ ,array(
440
+ 'capability' => 'edit_theme_options',
441
+ 'sanitize_callback' => 'metasoft_sanitize_text',
442
+ 'priority' => 9,
443
+ )
444
+ );
445
+
446
+ $wp_customize->add_control(
447
+ 'hdr_top_email',
448
+ array(
449
+ 'type' => 'hidden',
450
+ 'label' => __('Email','clever-fox'),
451
+ 'section' => 'above_header',
452
+ )
453
+ );
454
+ $wp_customize->add_setting(
455
+ 'hide_show_email_details' ,
456
+ array(
457
+ 'default' => '1',
458
+ 'capability' => 'edit_theme_options',
459
+ 'sanitize_callback' => 'metasoft_sanitize_checkbox',
460
+ 'transport' => $selective_refresh,
461
+ 'priority' => 10,
462
+ )
463
+ );
464
+
465
+ $wp_customize->add_control(
466
+ 'hide_show_email_details',
467
+ array(
468
+ 'label' => esc_html__( 'Hide/Show', 'clever-fox' ),
469
+ 'section' => 'above_header',
470
+ 'type' => 'checkbox'
471
+ )
472
+ );
473
+
474
+ // icon //
475
+ $wp_customize->add_setting(
476
+ 'tlh_email_icon',
477
+ array(
478
+ 'default' => 'fa-envelope-o',
479
+ 'sanitize_callback' => 'sanitize_text_field',
480
+ 'capability' => 'edit_theme_options',
481
+ )
482
+ );
483
+
484
+ $wp_customize->add_control(new MetaSoft_Icon_Picker_Control($wp_customize,
485
+ 'tlh_email_icon',
486
+ array(
487
+ 'label' => __('Icon','clever-fox'),
488
+ 'section' => 'above_header',
489
+ 'iconset' => 'fa',
490
+
491
+ ))
492
+ );
493
+ // Mobile title //
494
+ $wp_customize->add_setting(
495
+ 'tlh_email_title',
496
+ array(
497
+ 'default' => __('email@companyname.com','clever-fox'),
498
+ 'sanitize_callback' => 'metasoft_sanitize_text',
499
+ 'capability' => 'edit_theme_options',
500
+ 'transport' => $selective_refresh,
501
+ 'priority' => 11,
502
+ )
503
+ );
504
+
505
+ $wp_customize->add_control(
506
+ 'tlh_email_title',
507
+ array(
508
+ 'label' => __('Title','clever-fox'),
509
+ 'section' => 'above_header',
510
+ 'type' => 'text'
511
+ )
512
+ );
513
+ }
514
+ add_action( 'customize_register', 'metasoft_lite_header_settings' );
515
+
516
+ // Header selective refresh
517
+ function metasoft_lite_header_partials( $wp_customize ){
518
+
519
+ // hide show Social
520
+ $wp_customize->selective_refresh->add_partial(
521
+ 'hide_show_social_icon', array(
522
+ 'selector' => '#above-header .widget_social_widget',
523
+ 'container_inclusive' => true,
524
+ 'render_callback' => 'header_top_right',
525
+ 'fallback_refresh' => true,
526
+ )
527
+ );
528
+ // hide_show_cntct_details
529
+ $wp_customize->selective_refresh->add_partial(
530
+ 'hide_show_cntct_details', array(
531
+ 'selector' => '#above-header .wgt-1',
532
+ 'container_inclusive' => true,
533
+ 'render_callback' => 'header_top_right',
534
+ 'fallback_refresh' => true,
535
+ )
536
+ );
537
+ // hide_show_email_details
538
+ $wp_customize->selective_refresh->add_partial(
539
+ 'hide_show_email_details', array(
540
+ 'selector' => '#above-header .wgt-2',
541
+ 'container_inclusive' => true,
542
+ 'render_callback' => 'header_top_right',
543
+ 'fallback_refresh' => true,
544
+ )
545
+ );
546
+
547
+ // abv_hdr_lbl1
548
+ $wp_customize->selective_refresh->add_partial( 'abv_hdr_lbl1', array(
549
+ 'selector' => '#above-header li.link1 a',
550
+ 'settings' => 'abv_hdr_lbl1',
551
+ 'render_callback' => 'metasoft_abv_hdr_lbl1_render_callback',
552
+ ) );
553
+
554
+ // abv_hdr_lbl2
555
+ $wp_customize->selective_refresh->add_partial( 'abv_hdr_lbl2', array(
556
+ 'selector' => '#above-header li.link2 a',
557
+ 'settings' => 'abv_hdr_lbl2',
558
+ 'render_callback' => 'metasoft_abv_hdr_lbl2_render_callback',
559
+ ) );
560
+
561
+
562
+ // abv_hdr_lbl3
563
+ $wp_customize->selective_refresh->add_partial( 'abv_hdr_lbl3', array(
564
+ 'selector' => '#above-header li.link3 a',
565
+ 'settings' => 'abv_hdr_lbl3',
566
+ 'render_callback' => 'metasoft_abv_hdr_lbl3_render_callback',
567
+ ) );
568
+
569
+
570
+ // tlh_email_title
571
+ $wp_customize->selective_refresh->add_partial( 'tlh_email_title', array(
572
+ 'selector' => '#above-header .wgt-2 .text',
573
+ 'settings' => 'tlh_email_title',
574
+ 'render_callback' => 'metasoft_tlh_email_title_render_callback',
575
+ ) );
576
+
577
+
578
+ // tlh_contact_title
579
+ $wp_customize->selective_refresh->add_partial( 'tlh_contact_title', array(
580
+ 'selector' => '#above-header .wgt-1 .text',
581
+ 'settings' => 'tlh_contact_title',
582
+ 'render_callback' => 'metasoft_tlh_contact_title_render_callback',
583
+ ) );
584
+
585
+ }
586
+
587
+ add_action( 'customize_register', 'metasoft_lite_header_partials' );
588
+
589
+ // abv_hdr_lbl1
590
+ function metasoft_abv_hdr_lbl1_render_callback() {
591
+ return get_theme_mod( 'abv_hdr_lbl1' );
592
+ }
593
+ // abv_hdr_lbl2
594
+ function metasoft_abv_hdr_lbl2_render_callback() {
595
+ return get_theme_mod( 'abv_hdr_lbl2' );
596
+ }
597
+ // abv_hdr_lbl3
598
+ function metasoft_abv_hdr_lbl3_render_callback() {
599
+ return get_theme_mod( 'abv_hdr_lbl3' );
600
+ }
601
+
602
+ // tlh_email_title
603
+ function metasoft_tlh_email_title_render_callback() {
604
+ return get_theme_mod( 'tlh_email_title' );
605
+ }
606
+
607
+
608
+ // tlh_contact_title
609
+ function metasoft_tlh_contact_title_render_callback() {
610
+ return get_theme_mod( 'tlh_contact_title' );
611
+ }
inc/metasoft/features/metasoft-info.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function metasoft_info_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Info
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'info_setting', array(
9
+ 'title' => esc_html__( 'Info Section', 'clever-fox' ),
10
+ 'panel' => 'metasoft_frontpage_sections',
11
+ 'priority' => 2,
12
+ )
13
+ );
14
+
15
+ /*=========================================
16
+ Info contents
17
+ =========================================*/
18
+ $wp_customize->add_setting(
19
+ 'info_content_head'
20
+ ,array(
21
+ 'capability' => 'edit_theme_options',
22
+ 'sanitize_callback' => 'metasoft_sanitize_text',
23
+ 'priority' => 3,
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_control(
28
+ 'info_content_head',
29
+ array(
30
+ 'type' => 'hidden',
31
+ 'label' => __('Contents','clever-fox'),
32
+ 'section' => 'info_setting',
33
+ )
34
+ );
35
+
36
+ /**
37
+ * Customizer Repeater for add Info
38
+ */
39
+
40
+ $wp_customize->add_setting( 'info_contents',
41
+ array(
42
+ 'sanitize_callback' => 'metasoft_repeater_sanitize',
43
+ 'transport' => $selective_refresh,
44
+ 'priority' => 4,
45
+ 'default' => metasoft_get_info_default()
46
+ )
47
+ );
48
+
49
+ $wp_customize->add_control(
50
+ new MetaSoft_Repeater( $wp_customize,
51
+ 'info_contents',
52
+ array(
53
+ 'label' => esc_html__('Info','clever-fox'),
54
+ 'section' => 'info_setting',
55
+ 'add_field_label' => esc_html__( 'Add New Info', 'clever-fox' ),
56
+ 'item_name' => esc_html__( 'Info', 'clever-fox' ),
57
+ 'customizer_repeater_icon_control' => true,
58
+ 'customizer_repeater_title_control' => true,
59
+ 'customizer_repeater_text_control' => true,
60
+ 'customizer_repeater_text2_control' => true,
61
+ 'customizer_repeater_link_control' => true,
62
+ )
63
+ )
64
+ );
65
+
66
+
67
+ //Pro feature
68
+ class Metasoft_info__section_upgrade extends WP_Customize_Control {
69
+ public function render_content() {
70
+ ?>
71
+ <span class="customizer_info_upgrade_section up-to-pro" style="display: none;"></span>
72
+ <?php
73
+ }
74
+ }
75
+
76
+ $wp_customize->add_setting( 'metasoft_info_upgrade_to_pro', array(
77
+ 'capability' => 'edit_theme_options',
78
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
79
+ 'priority' => 5,
80
+ ));
81
+ $wp_customize->add_control(
82
+ new Metasoft_info__section_upgrade(
83
+ $wp_customize,
84
+ 'metasoft_info_upgrade_to_pro',
85
+ array(
86
+ 'section' => 'info_setting',
87
+ )
88
+ )
89
+ );
90
+
91
+ }
92
+ add_action( 'customize_register', 'metasoft_info_setting' );
93
+
94
+ /**
95
+ * Add selective refresh for Front page section section controls.
96
+ */
97
+ function metasoft_home_info_section_partials( $wp_customize ){
98
+ $wp_customize->selective_refresh->add_partial( 'info_contents', array(
99
+ 'selector' => '.info-section .row',
100
+ ) );
101
+ }
102
+ add_action( 'customize_register', 'metasoft_home_info_section_partials' );
inc/metasoft/features/metasoft-service.php ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function metasoft_service_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Service Section
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'service_setting', array(
9
+ 'title' => esc_html__( 'Service Section', 'clever-fox' ),
10
+ 'priority' => 3,
11
+ 'panel' => 'metasoft_frontpage_sections',
12
+ )
13
+ );
14
+
15
+ // Service Header Section //
16
+ $wp_customize->add_setting(
17
+ 'service_headings'
18
+ ,array(
19
+ 'capability' => 'edit_theme_options',
20
+ 'sanitize_callback' => 'metasoft_sanitize_text',
21
+ 'priority' => 3,
22
+ )
23
+ );
24
+
25
+ $wp_customize->add_control(
26
+ 'service_headings',
27
+ array(
28
+ 'type' => 'hidden',
29
+ 'label' => __('Header','clever-fox'),
30
+ 'section' => 'service_setting',
31
+ )
32
+ );
33
+
34
+ // Service Title //
35
+ $wp_customize->add_setting(
36
+ 'service_title',
37
+ array(
38
+ 'default' => __('Quality <span class="text-primary">Services</span>','clever-fox'),
39
+ 'capability' => 'edit_theme_options',
40
+ 'sanitize_callback' => 'metasoft_sanitize_html',
41
+ 'transport' => $selective_refresh,
42
+ 'priority' => 4,
43
+ )
44
+ );
45
+
46
+ $wp_customize->add_control(
47
+ 'service_title',
48
+ array(
49
+ 'label' => __('Title','clever-fox'),
50
+ 'section' => 'service_setting',
51
+ 'type' => 'text',
52
+ )
53
+ );
54
+
55
+ // Service Description //
56
+ $wp_customize->add_setting(
57
+ 'service_description',
58
+ array(
59
+ 'default' => __('Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.','clever-fox'),
60
+ 'capability' => 'edit_theme_options',
61
+ 'sanitize_callback' => 'metasoft_sanitize_text',
62
+ 'transport' => $selective_refresh,
63
+ 'priority' => 6,
64
+ )
65
+ );
66
+
67
+ $wp_customize->add_control(
68
+ 'service_description',
69
+ array(
70
+ 'label' => __('Description','clever-fox'),
71
+ 'section' => 'service_setting',
72
+ 'type' => 'textarea',
73
+ )
74
+ );
75
+
76
+ // Service content Section //
77
+
78
+ $wp_customize->add_setting(
79
+ 'service_content_head'
80
+ ,array(
81
+ 'capability' => 'edit_theme_options',
82
+ 'sanitize_callback' => 'metasoft_sanitize_text',
83
+ 'priority' => 7,
84
+ )
85
+ );
86
+
87
+ $wp_customize->add_control(
88
+ 'service_content_head',
89
+ array(
90
+ 'type' => 'hidden',
91
+ 'label' => __('Content','clever-fox'),
92
+ 'section' => 'service_setting',
93
+ )
94
+ );
95
+
96
+ /**
97
+ * Customizer Repeater for add service
98
+ */
99
+
100
+ $wp_customize->add_setting( 'service_contents',
101
+ array(
102
+ 'sanitize_callback' => 'metasoft_repeater_sanitize',
103
+ 'transport' => $selective_refresh,
104
+ 'priority' => 8,
105
+ 'default' => metasoft_get_service_default()
106
+ )
107
+ );
108
+
109
+ $wp_customize->add_control(
110
+ new MetaSoft_Repeater( $wp_customize,
111
+ 'service_contents',
112
+ array(
113
+ 'label' => esc_html__('Service','clever-fox'),
114
+ 'section' => 'service_setting',
115
+ 'add_field_label' => esc_html__( 'Add New Service', 'clever-fox' ),
116
+ 'item_name' => esc_html__( 'Service', 'clever-fox' ),
117
+ 'customizer_repeater_icon_control' => true,
118
+ 'customizer_repeater_title_control' => true,
119
+ 'customizer_repeater_text_control' => true,
120
+ 'customizer_repeater_link_control' => true,
121
+ )
122
+ )
123
+ );
124
+
125
+ //Pro feature
126
+ class Metasoft_service__section_upgrade extends WP_Customize_Control {
127
+ public function render_content() {
128
+ ?>
129
+ <span class="customizer_service_upgrade_section up-to-pro" style="display: none;"></span>
130
+ <?php
131
+ }
132
+ }
133
+
134
+ $wp_customize->add_setting( 'metasoft_service_upgrade_to_pro', array(
135
+ 'capability' => 'edit_theme_options',
136
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
137
+ 'priority' => 5,
138
+ ));
139
+ $wp_customize->add_control(
140
+ new Metasoft_service__section_upgrade(
141
+ $wp_customize,
142
+ 'metasoft_service_upgrade_to_pro',
143
+ array(
144
+ 'section' => 'service_setting',
145
+ )
146
+ )
147
+ );
148
+
149
+ }
150
+
151
+ add_action( 'customize_register', 'metasoft_service_setting' );
152
+
153
+ // service selective refresh
154
+ function metasoft_home_service_section_partials( $wp_customize ){
155
+ // service title
156
+ $wp_customize->selective_refresh->add_partial( 'service_title', array(
157
+ 'selector' => '.service-home .heading-seprator h1',
158
+ 'settings' => 'service_title',
159
+ 'render_callback' => 'metasoft_service_title_render_callback',
160
+ ) );
161
+
162
+
163
+ // service description
164
+ $wp_customize->selective_refresh->add_partial( 'service_description', array(
165
+ 'selector' => '.service-home .heading-seprator p',
166
+ 'settings' => 'service_description',
167
+ 'render_callback' => 'metasoft_service_desc_render_callback',
168
+ ) );
169
+ // service content
170
+ $wp_customize->selective_refresh->add_partial( 'service_contents', array(
171
+ 'selector' => '.service-home .services-carousel'
172
+ ) );
173
+
174
+ }
175
+
176
+ add_action( 'customize_register', 'metasoft_home_service_section_partials' );
177
+
178
+ // service title
179
+ function metasoft_service_title_render_callback() {
180
+ return get_theme_mod( 'service_title' );
181
+ }
182
+
183
+ // service description
184
+ function metasoft_service_desc_render_callback() {
185
+ return get_theme_mod( 'service_description' );
186
+ }
inc/metasoft/features/metasoft-slider.php ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function metasoft_slider_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Slider Section Panel
6
+ =========================================*/
7
+
8
+ $wp_customize->add_section(
9
+ 'slider_setting', array(
10
+ 'title' => esc_html__( 'Slider Section', 'clever-fox' ),
11
+ 'panel' => 'metasoft_frontpage_sections',
12
+ 'priority' => 1,
13
+ )
14
+ );
15
+
16
+ // slider Contents
17
+ $wp_customize->add_setting(
18
+ 'slider_content_head'
19
+ ,array(
20
+ 'capability' => 'edit_theme_options',
21
+ 'sanitize_callback' => 'metasoft_sanitize_text',
22
+ 'priority' => 4,
23
+ )
24
+ );
25
+
26
+ $wp_customize->add_control(
27
+ 'slider_content_head',
28
+ array(
29
+ 'type' => 'hidden',
30
+ 'label' => __('Contents','clever-fox'),
31
+ 'section' => 'slider_setting',
32
+ )
33
+ );
34
+
35
+ /**
36
+ * Customizer Repeater for add slides
37
+ */
38
+
39
+ $wp_customize->add_setting( 'slider',
40
+ array(
41
+ 'sanitize_callback' => 'metasoft_repeater_sanitize',
42
+ 'priority' => 5,
43
+ 'default' => metasoft_get_slider_default()
44
+ )
45
+ );
46
+
47
+ $wp_customize->add_control(
48
+ new MetaSoft_Repeater( $wp_customize,
49
+ 'slider',
50
+ array(
51
+ 'label' => esc_html__('Slide','clever-fox'),
52
+ 'section' => 'slider_setting',
53
+ 'add_field_label' => esc_html__( 'Add New Slider', 'clever-fox' ),
54
+ 'item_name' => esc_html__( 'Slider', 'clever-fox' ),
55
+
56
+ 'customizer_repeater_title_control' => true,
57
+ 'customizer_repeater_subtitle_control' => true,
58
+ 'customizer_repeater_text_control' => true,
59
+ 'customizer_repeater_text2_control'=> true,
60
+ 'customizer_repeater_link_control' => true,
61
+ 'customizer_repeater_slide_align' => true,
62
+ 'customizer_repeater_image_control' => true,
63
+ )
64
+ )
65
+ );
66
+
67
+
68
+ //Pro feature
69
+ class Metasoft_slider__section_upgrade extends WP_Customize_Control {
70
+ public function render_content() {
71
+ ?>
72
+ <span class="customizer_slider_upgrade_section up-to-pro" style="display: none;"></span>
73
+ <?php
74
+ }
75
+ }
76
+
77
+ $wp_customize->add_setting( 'metasoft_slider_upgrade_to_pro', array(
78
+ 'capability' => 'edit_theme_options',
79
+ 'sanitize_callback' => 'wp_filter_nohtml_kses',
80
+ 'priority' => 5,
81
+ ));
82
+ $wp_customize->add_control(
83
+ new Metasoft_slider__section_upgrade(
84
+ $wp_customize,
85
+ 'metasoft_slider_upgrade_to_pro',
86
+ array(
87
+ 'section' => 'slider_setting',
88
+ )
89
+ )
90
+ );
91
+
92
+ // slider opacity
93
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
94
+ $wp_customize->add_setting(
95
+ 'slider_opacity',
96
+ array(
97
+ 'default' => '0.6',
98
+ 'capability' => 'edit_theme_options',
99
+ //'sanitize_callback' => 'metasoft_sanitize_range_value',
100
+ 'priority' => 7,
101
+ )
102
+ );
103
+ $wp_customize->add_control(
104
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'slider_opacity',
105
+ array(
106
+ 'label' => __( 'opacity', 'clever-fox' ),
107
+ 'section' => 'slider_setting',
108
+ 'input_attrs' => array(
109
+ 'min' => 0,
110
+ 'max' => 0.9,
111
+ 'step' => 0.1,
112
+ //'suffix' => 'px', //optional suffix
113
+ ),
114
+ ) )
115
+ );
116
+ }
117
+ }
118
+
119
+ add_action( 'customize_register', 'metasoft_slider_setting' );
inc/metasoft/features/metasoft-typography.php ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function metasoft_typography( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+
5
+ $wp_customize->add_panel(
6
+ 'metasoft_typography', array(
7
+ 'priority' => 38,
8
+ 'title' => esc_html__( 'Typography', 'clever-fox' ),
9
+ )
10
+ );
11
+
12
+ /*=========================================
13
+ Metasoft Typography
14
+ =========================================*/
15
+ $wp_customize->add_section(
16
+ 'metasoft_typography',
17
+ array(
18
+ 'priority' => 1,
19
+ 'title' => __('Body Typography','clever-fox'),
20
+ 'panel' => 'metasoft_typography',
21
+ )
22
+ );
23
+
24
+ // Body Font Size //
25
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
26
+ $wp_customize->add_setting(
27
+ 'metasoft_body_font_size',
28
+ array(
29
+ 'default' => '15',
30
+ 'capability' => 'edit_theme_options',
31
+ 'sanitize_callback' => 'metasoft_sanitize_range_value',
32
+ 'transport' => 'postMessage',
33
+ )
34
+ );
35
+ $wp_customize->add_control(
36
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'metasoft_body_font_size',
37
+ array(
38
+ 'label' => __( 'Size', 'clever-fox' ),
39
+ 'section' => 'metasoft_typography',
40
+ 'priority' => 2,
41
+ 'input_attrs' => array(
42
+ 'min' => 0,
43
+ 'max' => 50,
44
+ 'step' => 1,
45
+ //'suffix' => 'px', //optional suffix
46
+ ),
47
+ ) )
48
+ );
49
+ }
50
+
51
+ // Body Font Size //
52
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
53
+ $wp_customize->add_setting(
54
+ 'metasoft_body_line_height',
55
+ array(
56
+ 'default' => '1.5',
57
+ 'capability' => 'edit_theme_options',
58
+ 'sanitize_callback' => 'metasoft_sanitize_range_value',
59
+ 'transport' => 'postMessage',
60
+ )
61
+ );
62
+ $wp_customize->add_control(
63
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'metasoft_body_line_height',
64
+ array(
65
+ 'label' => __( 'Line Height', 'clever-fox' ),
66
+ 'section' => 'metasoft_typography',
67
+ 'priority' => 3,
68
+ 'input_attrs' => array(
69
+ 'min' => 0,
70
+ 'max' => 4,
71
+ 'step' => 0.1,
72
+ //'suffix' => 'px', //optional suffix
73
+ ),
74
+ ) )
75
+ );
76
+ }
77
+
78
+ // Body Font style //
79
+ $wp_customize->add_setting( 'metasoft_body_font_style', array(
80
+ 'capability' => 'edit_theme_options',
81
+ 'default' => 'inherit',
82
+ 'transport' => 'postMessage',
83
+ 'sanitize_callback' => 'metasoft_sanitize_select',
84
+ ) );
85
+
86
+ $wp_customize->add_control(
87
+ new WP_Customize_Control(
88
+ $wp_customize, 'metasoft_body_font_style', array(
89
+ 'label' => __( 'Font Style', 'clever-fox' ),
90
+ 'section' => 'metasoft_typography',
91
+ 'type' => 'select',
92
+ 'priority' => 6,
93
+ 'choices' => array(
94
+ 'inherit' => __( 'Inherit', 'clever-fox' ),
95
+ 'normal' => __( 'Normal', 'clever-fox' ),
96
+ 'italic' => __( 'Italic', 'clever-fox' ),
97
+ 'oblique' => __( 'oblique', 'clever-fox' ),
98
+ ),
99
+ )
100
+ )
101
+ );
102
+ // Body Text Transform //
103
+ $wp_customize->add_setting( 'metasoft_body_text_transform', array(
104
+ 'capability' => 'edit_theme_options',
105
+ 'default' => 'inherit',
106
+ 'transport' => 'postMessage',
107
+ 'sanitize_callback' => 'metasoft_sanitize_select',
108
+ ) );
109
+
110
+ $wp_customize->add_control(
111
+ new WP_Customize_Control(
112
+ $wp_customize, 'metasoft_body_text_transform', array(
113
+ 'label' => __( 'Transform', 'clever-fox' ),
114
+ 'section' => 'metasoft_typography',
115
+ 'type' => 'select',
116
+ 'priority' => 7,
117
+ 'choices' => array(
118
+ 'inherit' => __( 'Default', 'clever-fox' ),
119
+ 'uppercase' => __( 'Uppercase', 'clever-fox' ),
120
+ 'lowercase' => __( 'Lowercase', 'clever-fox' ),
121
+ 'capitalize' => __( 'Capitalize', 'clever-fox' ),
122
+ ),
123
+ )
124
+ )
125
+ );
126
+ /*=========================================
127
+ Metasoft Typography Headings
128
+ =========================================*/
129
+ $wp_customize->add_section(
130
+ 'metasoft_headings_typography',
131
+ array(
132
+ 'priority' => 2,
133
+ 'title' => __('Headings','clever-fox'),
134
+ 'panel' => 'metasoft_typography',
135
+ )
136
+ );
137
+
138
+ /*=========================================
139
+ Metasoft Typography H1
140
+ =========================================*/
141
+ for ( $i = 1; $i <= 6; $i++ ) {
142
+ if($i == '1'){$j=36;}elseif($i == '2'){$j=32;}elseif($i == '3'){$j=28;}elseif($i == '4'){$j=24;}elseif($i == '5'){$j=20;}else{$j=16;}
143
+ $wp_customize->add_setting(
144
+ 'h' . $i . '_typography'
145
+ ,array(
146
+ 'capability' => 'edit_theme_options',
147
+ 'sanitize_callback' => 'metasoft_sanitize_text',
148
+ )
149
+ );
150
+
151
+ $wp_customize->add_control(
152
+ 'h' . $i . '_typography',
153
+ array(
154
+ 'type' => 'hidden',
155
+ 'label' => esc_html('H' . $i .'','clever-fox'),
156
+ 'section' => 'metasoft_headings_typography',
157
+ )
158
+ );
159
+
160
+ // Heading Font Size //
161
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
162
+ $wp_customize->add_setting(
163
+ 'metasoft_h' . $i . '_font_size',
164
+ array(
165
+ 'default' => $j,
166
+ 'capability' => 'edit_theme_options',
167
+ 'sanitize_callback' => 'metasoft_sanitize_range_value',
168
+ 'transport' => 'postMessage'
169
+ )
170
+ );
171
+ $wp_customize->add_control(
172
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'metasoft_h' . $i . '_font_size',
173
+ array(
174
+ 'label' => __( 'Font Size', 'clever-fox' ),
175
+ 'section' => 'metasoft_headings_typography',
176
+ 'input_attr' => array(
177
+ 'min' => 1,
178
+ 'max' => 100,
179
+ 'step' => 1,
180
+ )
181
+ ) )
182
+ );
183
+ }
184
+
185
+ // Heading Font Size //
186
+ if ( class_exists( 'Cleverfox_Customizer_Range_Slider_Control' ) ) {
187
+ $wp_customize->add_setting(
188
+ 'metasoft_h' . $i . '_line_height',
189
+ array(
190
+ 'default' => '1.2',
191
+ 'capability' => 'edit_theme_options',
192
+ 'sanitize_callback' => 'metasoft_sanitize_range_value',
193
+ 'transport' => 'postMessage',
194
+ )
195
+ );
196
+ $wp_customize->add_control(
197
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'metasoft_h' . $i . '_line_height',
198
+ array(
199
+ 'label' => __( 'Line Height', 'clever-fox' ),
200
+ 'section' => 'metasoft_headings_typography',
201
+ 'input_attrs' => array(
202
+ 'min' => 0,
203
+ 'max' => 4,
204
+ 'step' => 0.1,
205
+ //'suffix' => 'px', //optional suffix
206
+ ),
207
+ 'input_attr' => array(
208
+ 'min' => 0,
209
+ 'max' => 3,
210
+ 'step' => 0.1,
211
+ )
212
+ ) )
213
+ );
214
+ }
215
+
216
+ // Heading Font style //
217
+ $wp_customize->add_setting( 'metasoft_h' . $i . '_font_style', array(
218
+ 'capability' => 'edit_theme_options',
219
+ 'default' => 'inherit',
220
+ 'transport' => 'postMessage',
221
+ 'sanitize_callback' => 'metasoft_sanitize_select',
222
+ ) );
223
+
224
+ $wp_customize->add_control(
225
+ new WP_Customize_Control(
226
+ $wp_customize, 'metasoft_h' . $i . '_font_style', array(
227
+ 'label' => __( 'Font Style', 'clever-fox' ),
228
+ 'section' => 'metasoft_headings_typography',
229
+ 'type' => 'select',
230
+ 'choices' => array(
231
+ 'inherit' => __( 'Inherit', 'clever-fox' ),
232
+ 'normal' => __( 'Normal', 'clever-fox' ),
233
+ 'italic' => __( 'Italic', 'clever-fox' ),
234
+ 'oblique' => __( 'oblique', 'clever-fox' ),
235
+ ),
236
+ )
237
+ )
238
+ );
239
+
240
+ // Heading Text Transform //
241
+ $wp_customize->add_setting( 'metasoft_h' . $i . '_text_transform', array(
242
+ 'capability' => 'edit_theme_options',
243
+ 'default' => 'inherit',
244
+ 'transport' => 'postMessage',
245
+ 'sanitize_callback' => 'metasoft_sanitize_select',
246
+ ) );
247
+
248
+ $wp_customize->add_control(
249
+ new WP_Customize_Control(
250
+ $wp_customize, 'metasoft_h' . $i . '_text_transform', array(
251
+ 'label' => __( 'Text Transform', 'clever-fox' ),
252
+ 'section' => 'metasoft_headings_typography',
253
+ 'type' => 'select',
254
+ 'choices' => array(
255
+ 'inherit' => __( 'Default', 'clever-fox' ),
256
+ 'uppercase' => __( 'Uppercase', 'clever-fox' ),
257
+ 'lowercase' => __( 'Lowercase', 'clever-fox' ),
258
+ 'capitalize' => __( 'Capitalize', 'clever-fox' ),
259
+ ),
260
+ )
261
+ )
262
+ );
263
+ }
264
+ }
265
+ add_action( 'customize_register', 'metasoft_typography' );
inc/metasoft/images/footer-logo.png ADDED
Binary file
inc/metasoft/images/logo.png ADDED
Binary file
inc/metasoft/images/slider/slider01.jpg ADDED
Binary file
inc/metasoft/images/slider/slider02.jpg ADDED
Binary file
inc/metasoft/images/slider/slider03.jpg ADDED
Binary file
inc/metasoft/images/thumbsup.png ADDED
Binary file
inc/metasoft/metasoft.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Metasoft
4
+ */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/extras.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/dynamic-style.php';
8
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/above-header.php';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-header.php';
10
+ // require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-cta.php';
11
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-expertise.php';
12
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-info.php';
13
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-service.php';
14
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-slider.php';
15
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/features/metasoft-typography.php';
16
+
17
+ if ( ! function_exists( 'cleverfox_metasoft_frontpage_sections' ) ) :
18
+ function cleverfox_metasoft_frontpage_sections() {
19
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-slider.php';
20
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-info.php';
21
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-service.php';
22
+ require CLEVERFOX_PLUGIN_DIR . 'inc/metasoft/sections/section-expertise.php';
23
+ }
24
+ add_action( 'metasoft_sections', 'cleverfox_metasoft_frontpage_sections' );
25
+ endif;
26
+
27
+ function cleverfox_metasoft_enqueue_scripts() {
28
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
29
+ }
30
+ add_action( 'wp_enqueue_scripts', 'cleverfox_metasoft_enqueue_scripts' );
inc/metasoft/sections/above-header.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'metasoft_above_header' ) ) :
3
+ function metasoft_above_header() {
4
+ $hdr_top_hs = get_theme_mod('hdr_top_hs','1');
5
+ if($hdr_top_hs == '1') { ?>
6
+ <div id="above-header" class="above-header d-lg-block d-none wow fadeInDown">
7
+ <div class="header-widget d-flex align-items-center">
8
+ <div class="container">
9
+ <div class="row">
10
+ <?php
11
+ $abv_hdr_link_hs = get_theme_mod('abv_hdr_link_hs','1');
12
+ $abv_hdr_lbl1 = get_theme_mod( 'abv_hdr_lbl1','careers');
13
+ $abv_hdr_url1 = get_theme_mod( 'abv_hdr_url1');
14
+ $abv_hdr_lbl2 = get_theme_mod( 'abv_hdr_lbl2','help desk');
15
+ $abv_hdr_url2 = get_theme_mod( 'abv_hdr_url2');
16
+ $abv_hdr_lbl3 = get_theme_mod( 'abv_hdr_lbl3','login');
17
+ $abv_hdr_url3 = get_theme_mod( 'abv_hdr_url3');
18
+ $hide_show_social_icon = get_theme_mod( 'hide_show_social_icon','1');
19
+ $social_icons = get_theme_mod( 'social_icons',metasoft_get_social_icon_default());
20
+ ?>
21
+ <div class="col-lg-6 col-12 mb-lg-0 mb-4">
22
+ <div id="header-above-left" class="widget-left text-lg-left text-center">
23
+ <?php if($abv_hdr_link_hs == '1') { ?>
24
+ <div class="widget widget_help_desk">
25
+ <ul>
26
+ <?php if(!empty($abv_hdr_lbl1)): ?>
27
+ <li class="link1"><a href="<?php echo esc_html($abv_hdr_url1); ?>"><?php echo esc_html($abv_hdr_lbl1); ?></a></li>
28
+ <?php endif; ?>
29
+
30
+ <?php if(!empty($abv_hdr_lbl2)): ?>
31
+ <li class="link2"><a href="<?php echo esc_html($abv_hdr_url2); ?>"><?php echo esc_html($abv_hdr_lbl2); ?></a></li>
32
+ <?php endif; ?>
33
+
34
+ <?php if(!empty($abv_hdr_lbl3)): ?>
35
+ <li class="link3"><a href="<?php echo esc_html($abv_hdr_url3); ?>"><?php echo esc_html($abv_hdr_lbl3); ?></a></li>
36
+ <?php endif; ?>
37
+ </ul>
38
+ </div>
39
+ <?php } ?>
40
+ <?php if($hide_show_social_icon == '1') { ?>
41
+ <div class="widget widget_social_widget">
42
+ <ul>
43
+ <?php
44
+ $social_icons = json_decode($social_icons);
45
+ if( $social_icons!='' )
46
+ {
47
+ foreach($social_icons as $social_item){
48
+ $social_icon = ! empty( $social_item->icon_value ) ? apply_filters( 'metasoft_translate_single_string', $social_item->icon_value, 'Header section' ) : '';
49
+ $social_link = ! empty( $social_item->link ) ? apply_filters( 'metasoft_translate_single_string', $social_item->link, 'Header section' ) : '';
50
+ ?>
51
+ <li><a href="<?php echo esc_url( $social_link ); ?>" class="linkedin"><i class="fa <?php echo esc_attr( $social_icon ); ?>"></i></a></li>
52
+ <?php }} ?>
53
+ </ul>
54
+ </div>
55
+ <?php } ?>
56
+ </div>
57
+ </div>
58
+ <div class="col-lg-6 col-12 mb-lg-0 mb-4">
59
+ <div id="header-above-right" class="widget-right justify-content-lg-end justify-content-center text-lg-right text-center">
60
+ <?php
61
+ $hide_show_cntct_details = get_theme_mod( 'hide_show_cntct_details','1');
62
+ $tlh_contct_icon = get_theme_mod( 'tlh_contct_icon','fa-clock-o');
63
+ $tlh_contact_title = get_theme_mod( 'tlh_contact_title','Mon to Fri 9:00am to 6:00pm');
64
+ ?>
65
+ <?php if($hide_show_cntct_details == '1') { ?>
66
+ <aside class="widget widget-contact wgt-1">
67
+ <div class="contact-area">
68
+ <div class="contact-icon">
69
+ <div class="contact-corn"><i class="fa <?php echo esc_attr($tlh_contct_icon); ?>"></i></div>
70
+ </div>
71
+ <div class="contact-info">
72
+ <p class="text"><?php echo esc_html($tlh_contact_title); ?></p>
73
+ </div>
74
+ </div>
75
+ </aside>
76
+ <?php } ?>
77
+
78
+ <?php
79
+ $hide_show_email_details = get_theme_mod( 'hide_show_email_details','1');
80
+ $tlh_email_icon = get_theme_mod( 'tlh_email_icon','fa-envelope-o');
81
+ $tlh_email_title = get_theme_mod( 'tlh_email_title','email@companyname.com');
82
+ ?>
83
+ <?php if($hide_show_email_details == '1') { ?>
84
+ <aside class="widget widget-contact wgt-2">
85
+ <div class="contact-area">
86
+ <div class="contact-icon">
87
+ <div class="contact-corn"><i class="fa <?php echo esc_attr($tlh_email_icon); ?>"></i></div>
88
+ </div>
89
+ <div class="contact-info">
90
+ <p class="text"><?php echo esc_html($tlh_email_title); ?></p>
91
+ </div>
92
+ </div>
93
+ </aside>
94
+ <?php } ?>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ <?php }
102
+ } endif;
103
+ add_action('metasoft_above_header', 'metasoft_above_header');
inc/metasoft/sections/section-expertise.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'metasoft_lite_expertise' ) ) :
3
+ function metasoft_lite_expertise() {
4
+ $expertise_title = get_theme_mod('expertise_title','Our <span class="text-primary">Core Expertise</span>');
5
+ $expertise_description = get_theme_mod('expertise_description','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.');
6
+ $expertise_hs = get_theme_mod('expertise_hs','1');
7
+ $expt_success_hs = get_theme_mod('expt_success_hs','1');
8
+ ?>
9
+ <!-- Our Core Expertise Start -->
10
+ <section id="expertise-wrapper" class="expertise-wrapper bs-py-default expertise-home">
11
+ <div class="container">
12
+ <?php if ( ! empty( $expertise_title ) || ! empty( $expertise_description )) : ?>
13
+ <div class="row">
14
+ <div class="col-lg-7 col-12 mx-lg-auto mb-5 text-center">
15
+ <div class="heading-seprator wow fadeInUp">
16
+ <?php if ( ! empty( $expertise_title ) ) : ?>
17
+ <h1><?php echo wp_kses_post($expertise_title); ?></h1>
18
+ <?php endif; ?>
19
+
20
+ <?php if ( ! empty( $expertise_description ) ) : ?>
21
+ <p><?php echo esc_html($expertise_description); ?></p>
22
+ <?php endif; ?>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <?php endif; ?>
27
+ <div class="row g-4">
28
+ <?php if($expt_success_hs !=='1'): ?>
29
+ <div class="col-md-12 col-lg-12">
30
+ <?php else: ?>
31
+ <div class="col-md-12 col-lg-8">
32
+ <?php endif; ?>
33
+ <?php
34
+ $expertise_contents = get_theme_mod('expertise_contents',metasoft_get_expertise_default());
35
+ if($expertise_hs =='1'): ?>
36
+ <div class="row g-4 expertise-content">
37
+ <?php
38
+ if ( ! empty( $expertise_contents ) ) {
39
+ $expertise_contents = json_decode( $expertise_contents );
40
+ foreach ( $expertise_contents as $expertise_item ) {
41
+ $title = ! empty( $expertise_item->title ) ? apply_filters( 'metasoft_translate_single_string', $expertise_item->title, 'Expertise section' ) : '';
42
+ $text = ! empty( $expertise_item->text ) ? apply_filters( 'metasoft_translate_single_string', $expertise_item->text, 'Expertise section' ) : '';
43
+ $icon = ! empty( $expertise_item->icon_value ) ? apply_filters( 'metasoft_translate_single_string', $expertise_item->icon_value, 'Expertise section' ) : '';
44
+ ?>
45
+ <div class="col-sm-6 ?>">
46
+ <div class="expertise-item">
47
+ <div class="expertise-icon">
48
+ <?php if ( ! empty( $icon ) ) {?>
49
+ <span class="icon"><i class="fa <?php echo esc_attr( $icon ); ?>"></i></span>
50
+ <?php } ?>
51
+ </div>
52
+ <div class="expertise-card">
53
+ <?php if(!empty($title)): ?>
54
+ <h5><a href="javascript:void(0);"><?php echo esc_html($title); ?></a></h5>
55
+ <?php endif; ?>
56
+ <?php if(!empty($text)): ?>
57
+ <p><?php echo esc_html($text); ?></p>
58
+ <?php endif; ?>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ <?php } } ?>
63
+ </div>
64
+ <?php endif; ?>
65
+ </div>
66
+ <?php if($expertise_hs !=='1'): ?>
67
+ <div class="col-md-6 col-lg-12">
68
+ <?php else: ?>
69
+ <div class="col-md-6 col-lg-4">
70
+ <?php endif; ?>
71
+ <?php
72
+ $expt_success_img = get_theme_mod('expt_success_img',CLEVERFOX_PLUGIN_URL .'inc/metasoft/images/thumbsup.png');
73
+ $expt_success_ttl = get_theme_mod('expt_success_ttl','We deliver success to our traders');
74
+ $expt_success_desc = get_theme_mod('expt_success_desc','Need guidance in creating and managing successful investment portfolio?');
75
+ $expt_success_btn_icon = get_theme_mod('expt_success_btn_icon','fa-angle-right');
76
+ $expt_success_btn_lbl = get_theme_mod('expt_success_btn_lbl','Contact Us');
77
+ $expt_success_btn_url = get_theme_mod('expt_success_btn_url');
78
+ if($expt_success_hs =='1'): ?>
79
+ <div class="success-info">
80
+ <div class="success-inner">
81
+ <?php if(!empty($expt_success_img)): ?>
82
+ <img src="<?php echo esc_url($expt_success_img); ?>" alt="">
83
+ <?php endif; ?>
84
+
85
+ <?php if(!empty($expt_success_ttl)): ?>
86
+ <h5><?php echo esc_html($expt_success_ttl); ?></h5>
87
+ <?php endif; ?>
88
+
89
+ <?php if(!empty($expt_success_desc)): ?>
90
+ <p><?php echo esc_html($expt_success_desc); ?></p>
91
+ <?php endif; ?>
92
+
93
+ <?php if(!empty($expt_success_btn_lbl) || !empty($expt_success_btn_icon)): ?>
94
+ <a href="<?php echo esc_url($expt_success_btn_url); ?>" class="btn btn-border-primary btn-like-icon"><?php echo esc_html($expt_success_btn_lbl); ?> <span class="bticn"><i class="fa <?php echo esc_attr($expt_success_btn_icon); ?>"></i></span></a>
95
+ <?php endif; ?>
96
+
97
+ </div>
98
+ </div>
99
+ <?php endif; ?>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </section>
104
+ <?php
105
+ }
106
+ endif;
107
+ if ( function_exists( 'metasoft_lite_expertise' ) ) {
108
+ $section_priority = apply_filters( 'metasoft_section_priority', 14, 'metasoft_lite_expertise' );
109
+ add_action( 'metasoft_sections', 'metasoft_lite_expertise', absint( $section_priority ) );
110
+ }
111
+ ?>
112
+ <!-- Our Core Expertise End -->
113
+
inc/metasoft/sections/section-info.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'metasoft_lite_info' ) ) :
3
+ function metasoft_lite_info() {
4
+ $info_contents = get_theme_mod('info_contents',metasoft_get_info_default());
5
+ ?>
6
+ <!-- Info Section -->
7
+ <section id="info-section" class="info-section">
8
+ <div class="container">
9
+ <div class="row g-lg-4 g-5 wow fadeInUp">
10
+ <?php
11
+ if ( ! empty( $info_contents ) ) {
12
+ $info_contents = json_decode( $info_contents );
13
+ foreach ( $info_contents as $info_item ) {
14
+ $title = ! empty( $info_item->title ) ? apply_filters( 'metasoft_translate_single_string', $info_item->title, 'slider section' ) : '';
15
+ $text = ! empty( $info_item->text ) ? apply_filters( 'metasoft_translate_single_string', $info_item->text, 'slider section' ) : '';
16
+ $button = ! empty( $info_item->text2) ? apply_filters( 'metasoft_translate_single_string', $info_item->text2,'slider section' ) : '';
17
+ $link = ! empty( $info_item->link ) ? apply_filters( 'metasoft_translate_single_string', $info_item->link, 'slider section' ) : '';
18
+ $icon = ! empty( $info_item->icon_value ) ? apply_filters( 'metasoft_translate_single_string', $info_item->icon_value, 'slider section' ) : '';
19
+ ?>
20
+ <div class="col-lg-3 col-sm-6">
21
+ <div class="info-box">
22
+ <div class="info-box-icon">
23
+ <?php if ( ! empty( $icon ) ) {?>
24
+ <i class="fa <?php echo esc_attr( $icon ); ?>"></i>
25
+ <?php } ?>
26
+ </div>
27
+
28
+ <?php if ( ! empty( $title ) ) {?>
29
+ <h5><?php echo esc_html( $title ); ?></h5>
30
+ <?php } ?>
31
+
32
+ <?php if ( ! empty( $text ) ) {?>
33
+ <p><?php echo esc_html( $text ); ?></p>
34
+ <?php } ?>
35
+
36
+ <?php if ( ! empty( $button ) ) {?>
37
+ <div class="theme-link"><a href="<?php echo esc_url( $link ); ?>" class="read-link"><?php echo esc_html( $button ); ?></a></div>
38
+ <?php } ?>
39
+ </div>
40
+ </div>
41
+ <?php } } ?>
42
+ </div>
43
+ </div>
44
+ </section>
45
+ <?php
46
+ }
47
+ endif;
48
+ if ( function_exists( 'metasoft_lite_info' ) ) {
49
+ $section_priority = apply_filters( 'metasoft_section_priority', 12, 'metasoft_lite_info' );
50
+ add_action( 'metasoft_sections', 'metasoft_lite_info', absint( $section_priority ) );
51
+ }
52
+ ?>
53
+ <!-- Info Section -->
inc/metasoft/sections/section-service.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'metasoft_lite_service' ) ) :
3
+ function metasoft_lite_service() {
4
+ $service_title = get_theme_mod('service_title','Quality <span class="text-primary">Services</span>');
5
+ $service_description = get_theme_mod('service_description','Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.');
6
+ $service_contents = get_theme_mod('service_contents',metasoft_get_service_default());
7
+ ?>
8
+ <!-- Quality Services -->
9
+ <section id="services-wrapper" class="services-wrapper bs-py-default service-home">
10
+ <div class="container">
11
+ <div class="row">
12
+ <div class="col-lg-7 col-12 mx-lg-auto mb-5 text-center">
13
+ <div class="heading-seprator wow fadeInUp">
14
+ <?php if ( ! empty( $service_title ) ) : ?>
15
+ <h1><?php echo wp_kses_post($service_title); ?></h1>
16
+ <?php endif; ?>
17
+
18
+ <?php if ( ! empty( $service_description ) ) : ?>
19
+ <p><?php echo esc_html($service_description); ?></p>
20
+ <?php endif; ?>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ <div class="row wow fadeInUp">
25
+ <div class="col-12">
26
+ <div class="services-carousel owl-carousel owl-theme">
27
+ <?php
28
+ if ( ! empty( $service_contents ) ) {
29
+ $service_contents = json_decode( $service_contents );
30
+ foreach ( $service_contents as $service_item ) {
31
+ $title = ! empty( $service_item->title ) ? apply_filters( 'metasoft_translate_single_string', $service_item->title, 'Service section' ) : '';
32
+ $text = ! empty( $service_item->text ) ? apply_filters( 'metasoft_translate_single_string', $service_item->text, 'Service section' ) : '';
33
+ $link = ! empty( $service_item->link ) ? apply_filters( 'metasoft_translate_single_string', $service_item->link, 'Service section' ) : '';
34
+ $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'metasoft_translate_single_string', $service_item->icon_value, 'Service section' ) : '';
35
+ ?>
36
+ <div class="single-seriveces">
37
+ <div class="services-icons yellow">
38
+ <?php if ( ! empty( $icon ) ) {?>
39
+ <i class="fa <?php echo esc_attr( $icon ); ?>"></i>
40
+ <?php } ?>
41
+ </div>
42
+ <?php if ( ! empty( $title ) ) {?>
43
+ <h5><a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a></h5>
44
+ <?php } ?>
45
+
46
+ <?php if ( ! empty( $text ) ) {?>
47
+ <p><?php echo esc_html( $text ); ?></p>
48
+ <?php } ?>
49
+ </div>
50
+ <?php } } ?>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </section>
56
+ <?php
57
+ }
58
+ endif;
59
+ if ( function_exists( 'metasoft_lite_service' ) ) {
60
+ $section_priority = apply_filters( 'metasoft_section_priority', 13, 'metasoft_lite_service' );
61
+ add_action( 'metasoft_sections', 'metasoft_lite_service', absint( $section_priority ) );
62
+ }
63
+ ?>
64
+ <!-- Quality Services End -->
65
+
inc/metasoft/sections/section-slider.php ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--===// Start: Slider
2
+ =================================-->
3
+ <?php
4
+ if ( ! function_exists( 'metasoft_lite_slider' ) ) :
5
+ function metasoft_lite_slider() {
6
+ $slider = get_theme_mod('slider',metasoft_get_slider_default());
7
+ ?>
8
+ <!-- Slider Start -->
9
+ <section id="slider-wrapper" class="slider-wrapper">
10
+ <div class="main-slider owl-carousel owl-theme">
11
+ <?php
12
+ if ( ! empty( $slider ) ) {
13
+ $slider = json_decode( $slider );
14
+ foreach ( $slider as $slide_item ) {
15
+ $metasoft_slide_title = ! empty( $slide_item->title ) ? apply_filters( 'metasoft_translate_single_string', $slide_item->title, 'slider section' ) : '';
16
+ $subtitle = ! empty( $slide_item->subtitle ) ? apply_filters( 'metasoft_translate_single_string', $slide_item->subtitle, 'slider section' ) : '';
17
+ $text = ! empty( $slide_item->text ) ? apply_filters( 'metasoft_translate_single_string', $slide_item->text, 'slider section' ) : '';
18
+ $button = ! empty( $slide_item->text2) ? apply_filters( 'metasoft_translate_single_string', $slide_item->text2,'slider section' ) : '';
19
+ $metasoft_slide_link = ! empty( $slide_item->link ) ? apply_filters( 'metasoft_translate_single_string', $slide_item->link, 'slider section' ) : '';
20
+ $image = ! empty( $slide_item->image_url ) ? apply_filters( 'metasoft_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
21
+ $align = ! empty( $slide_item->slide_align ) ? apply_filters( 'metasoft_translate_single_string', $slide_item->slide_align, 'slider section' ) : '';
22
+ ?>
23
+ <div class="item">
24
+ <?php if ( ! empty( $image ) ) : ?>
25
+ <img src="<?php echo esc_url( $image ); ?>" alt="">
26
+ <?php endif; ?>
27
+ <div class="theme-slider">
28
+ <div class="theme-table">
29
+ <div class="theme-table-cell">
30
+ <div class="container">
31
+ <div class="theme-content text-<?php echo esc_attr($align); ?>">
32
+ <div class="theme-slider-card">
33
+
34
+ <?php if ( ! empty( $metasoft_slide_title ) || ! empty( $subtitle )) : ?>
35
+ <h1><?php echo esc_html( $metasoft_slide_title ); ?> <span class="text-primary"><?php echo esc_html( $subtitle ); ?></span></h1>
36
+ <?php endif; ?>
37
+
38
+ <?php if ( ! empty( $text ) ) : ?>
39
+ <p><?php echo esc_html( $text ); ?></p>
40
+ <?php endif; ?>
41
+
42
+ </div>
43
+
44
+ <?php if ( ! empty( $button ) ) : ?>
45
+ <a href="<?php echo esc_url( $metasoft_slide_link ); ?>" class="btn btn-secondary btn-like-icon"><?php echo esc_html( $button ); ?> <span class="bticn"><i class="fa fa-angle-right"></i></span></a>
46
+ <?php endif; ?>
47
+
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <?php } } ?>
55
+ </div>
56
+ </section>
57
+ <?php
58
+ }
59
+ endif;
60
+ if ( function_exists( 'metasoft_lite_slider' ) ) {
61
+ $section_priority = apply_filters( 'metasoft_section_priority', 11, 'metasoft_lite_slider' );
62
+ add_action( 'metasoft_sections', 'metasoft_lite_slider', absint( $section_priority ) );
63
+ }
64
+ ?>
65
+ <!-- Slider End -->
66
+
inc/startbiz/features/startbiz-header.php ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function startbiz_lite_header_settings( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ // Header Contact Info //
5
+ $wp_customize->add_section(
6
+ 'hdr_nav_ct_info',
7
+ array(
8
+ 'priority' => 4,
9
+ 'title' => esc_html__('Contact Info','clever-fox'),
10
+ 'panel' => 'header_section',
11
+ )
12
+ );
13
+
14
+
15
+ // hide/show
16
+ $wp_customize->add_setting(
17
+ 'hs_hdr_nav_ct_info' ,
18
+ array(
19
+ 'default' => esc_html__('1','clever-fox'),
20
+ 'capability' => 'edit_theme_options',
21
+ 'sanitize_callback' => 'startkit_sanitize_checkbox',
22
+ )
23
+ );
24
+
25
+ $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
26
+ 'hs_hdr_nav_ct_info',
27
+ array(
28
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
29
+ 'section' => 'hdr_nav_ct_info',
30
+ 'type' => 'ios', // light, ios, flat
31
+ 'priority' => 2,
32
+ )
33
+ ));
34
+
35
+ // icon
36
+ $wp_customize->add_setting(
37
+ 'hdr_nav_ct_info_icon',
38
+ array(
39
+ 'default' => 'fa-phone',
40
+ 'sanitize_callback' => 'startkit_sanitize_text',
41
+ 'capability' => 'edit_theme_options',
42
+ )
43
+ );
44
+
45
+ $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
46
+ 'hdr_nav_ct_info_icon',
47
+ array(
48
+ 'label' => esc_html__('Icon','clever-fox'),
49
+ 'section' => 'hdr_nav_ct_info',
50
+ 'iconset' => 'fa',
51
+ 'priority' => 3,
52
+ ))
53
+ );
54
+ // Title
55
+ $wp_customize->add_setting(
56
+ 'hdr_nav_ct_info_ttl',
57
+ array(
58
+ 'default' => esc_html__('CALL FOR EMRGENCY','clever-fox'),
59
+ 'sanitize_callback' => 'startkit_sanitize_text',
60
+ 'capability' => 'edit_theme_options',
61
+ 'transport' => $selective_refresh,
62
+ )
63
+ );
64
+
65
+ $wp_customize->add_control(
66
+ 'hdr_nav_ct_info_ttl',
67
+ array(
68
+ 'label' => esc_html__('Title','clever-fox'),
69
+ 'section' => 'hdr_nav_ct_info',
70
+ 'type' => 'text',
71
+ 'priority' => 4,
72
+ )
73
+ );
74
+
75
+ // Subtitle
76
+ $wp_customize->add_setting(
77
+ 'hdr_nav_ct_info_subttl',
78
+ array(
79
+ 'default' => esc_html__('+1-900-242-23-23','clever-fox'),
80
+ 'sanitize_callback' => 'startkit_sanitize_text',
81
+ 'capability' => 'edit_theme_options',
82
+ 'transport' => $selective_refresh,
83
+ )
84
+ );
85
+
86
+ $wp_customize->add_control(
87
+ 'hdr_nav_ct_info_subttl',
88
+ array(
89
+ 'label' => esc_html__('Subtitle','clever-fox'),
90
+ 'section' => 'hdr_nav_ct_info',
91
+ 'type' => 'text',
92
+ 'priority' => 5,
93
+ )
94
+ );
95
+
96
+
97
+ // Link
98
+ $wp_customize->add_setting(
99
+ 'hdr_nav_ct_info_url',
100
+ array(
101
+ 'sanitize_callback' => 'startkit_sanitize_url',
102
+ 'capability' => 'edit_theme_options',
103
+ )
104
+ );
105
+
106
+ $wp_customize->add_control(
107
+ 'hdr_nav_ct_info_url',
108
+ array(
109
+ 'label' => esc_html__('Link','clever-fox'),
110
+ 'section' => 'hdr_nav_ct_info',
111
+ 'type' => 'text',
112
+ 'priority' => 5,
113
+ )
114
+ );
115
+
116
+ }
117
+ add_action( 'customize_register', 'startbiz_lite_header_settings' );
118
+
119
+ // Header selective refresh
120
+ function startbiz_lite_header_partials( $wp_customize ){
121
+ // hdr_nav_ct_info_ttl
122
+ $wp_customize->selective_refresh->add_partial( 'hdr_nav_ct_info_ttl', array(
123
+ 'selector' => '.navbar-area .emergency-call .text',
124
+ 'settings' => 'hdr_nav_ct_info_ttl',
125
+ 'render_callback' => 'startbiz_hdr_nav_ct_info_ttl_render_callback',
126
+ ) );
127
+
128
+ // hdr_nav_ct_info_subttl
129
+ $wp_customize->selective_refresh->add_partial( 'hdr_nav_ct_info_subttl', array(
130
+ 'selector' => '.navbar-area .emergency-call .title',
131
+ 'settings' => 'hdr_nav_ct_info_subttl',
132
+ 'render_callback' => 'startbiz_hdr_nav_ct_info_subttl_render_callback',
133
+ ) );
134
+ }
135
+
136
+ add_action( 'customize_register', 'startbiz_lite_header_partials' );
137
+
138
+ // hdr_nav_ct_info_ttl
139
+ function startbiz_hdr_nav_ct_info_ttl_render_callback() {
140
+ return get_theme_mod( 'hdr_nav_ct_info_ttl' );
141
+ }
142
+
143
+ // hdr_nav_ct_info_subttl
144
+ function startbiz_hdr_nav_ct_info_subttl_render_callback() {
145
+ return get_theme_mod( 'hdr_nav_ct_info_subttl' );
146
+ }
inc/startbiz/sections/contact-info.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'startbiz_contact_info' ) ) :
3
+
4
+ function startbiz_contact_info() {
5
+ $hs_hdr_nav_ct_info = get_theme_mod('hs_hdr_nav_ct_info','1');
6
+ $hdr_nav_ct_info_icon = get_theme_mod('hdr_nav_ct_info_icon','fa-phone');
7
+ $hdr_nav_ct_info_ttl = get_theme_mod('hdr_nav_ct_info_ttl','CALL FOR EMRGENCY');
8
+ $hdr_nav_ct_info_subttl = get_theme_mod('hdr_nav_ct_info_subttl','+1-900-242-23-23');
9
+ $hdr_nav_ct_info_url = get_theme_mod('hdr_nav_ct_info_url');
10
+ if($hs_hdr_nav_ct_info =='1'){
11
+ ?>
12
+ <div class="emergency-call">
13
+ <div class="contact-area">
14
+ <a href="<?php echo esc_url($hdr_nav_ct_info_url); ?>" class="contact-info">
15
+ <?php if ( ! empty($hdr_nav_ct_info_ttl) ) : ?>
16
+ <span class="text"><?php echo esc_html($hdr_nav_ct_info_ttl); ?></span>
17
+ <?php endif; ?>
18
+
19
+ <?php if ( ! empty($hdr_nav_ct_info_subttl) ) : ?>
20
+ <span class="title"><?php echo esc_html($hdr_nav_ct_info_subttl); ?></span>
21
+ <?php endif; ?>
22
+ </a>
23
+
24
+ <?php if ( ! empty($hdr_nav_ct_info_icon) ) : ?>
25
+ <div class="contact-icon">
26
+ <i class="fa <?php echo esc_attr($hdr_nav_ct_info_icon); ?>"></i>
27
+ </div>
28
+ <?php endif; ?>
29
+ </div>
30
+ </div>
31
+ <?php
32
+ }}
33
+ add_action('startbiz_contact_info','startbiz_contact_info');
34
+ endif;
inc/startbiz/sections/section-flash.php CHANGED
@@ -4,12 +4,15 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
4
  function startkit_info_plu() {
5
  $hide_show_info = get_theme_mod('hide_show_info','1');
6
  $info_icons = get_theme_mod('info_icons','fa-envelope');
 
7
  $info_title = get_theme_mod('info_title','Design For Business');
8
  $info_description = get_theme_mod('info_description','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
9
  $info_icons2 = get_theme_mod('info_icons2','fa-cart-plus');
 
10
  $info_title2 = get_theme_mod('info_title2','Develop For Work');
11
  $info_description2 = get_theme_mod('info_description2','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
12
  $info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
 
13
  $info_title3 = get_theme_mod('info_title3','Maketing For Blast');
14
  $info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
15
  ?>
@@ -19,25 +22,106 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
19
  <section id="features-list">
20
  <div class="container">
21
  <div class="row text-lg-left text-md-center">
22
- <div class="col-md-4 mb-lg-0 mb-3">
23
- <div class="features-list-item first wow fadeInUp" data-wow-delay="0.1s">
24
- <span class="icon"><i class="fa <?php echo esc_attr( $info_icons ); ?>"></i></span>
25
- <h4><?php echo esc_html( $info_title ); ?></h4>
26
- <p class="small"><?php echo wp_kses_post( $info_description ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  </div>
28
  </div>
29
- <div class="col-md-4 mb-md-0 mb-3">
30
- <div class="features-list-item second wow fadeInUp" data-wow-delay="0.2s">
31
- <span class="icon"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i></span>
32
- <h4><?php echo esc_html( $info_title2 ); ?></h4>
33
- <p class="small"><?php echo wp_kses_post( $info_description2 ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  </div>
35
  </div>
36
- <div class="col-md-4">
37
- <div class="features-list-item third wow fadeInUp" data-wow-delay="0.3s">
38
- <span class="icon"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i></span>
39
- <h4><?php echo esc_html( $info_title3 ); ?></h4>
40
- <p class="small"><?php echo wp_kses_post( $info_description3 ); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  </div>
42
  </div>
43
  </div>
4
  function startkit_info_plu() {
5
  $hide_show_info = get_theme_mod('hide_show_info','1');
6
  $info_icons = get_theme_mod('info_icons','fa-envelope');
7
+ $info_image = get_theme_mod('info_image',CLEVERFOX_PLUGIN_URL .'inc/startkit/images/info/info-01.jpg');
8
  $info_title = get_theme_mod('info_title','Design For Business');
9
  $info_description = get_theme_mod('info_description','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
10
  $info_icons2 = get_theme_mod('info_icons2','fa-cart-plus');
11
+ $info_image2 = get_theme_mod('info_image2',CLEVERFOX_PLUGIN_URL .'inc/startkit/images/info/info-02.jpg');
12
  $info_title2 = get_theme_mod('info_title2','Develop For Work');
13
  $info_description2 = get_theme_mod('info_description2','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
14
  $info_icons3 = get_theme_mod('info_icons3','fa-life-saver');
15
+ $info_image3 = get_theme_mod('info_image3',CLEVERFOX_PLUGIN_URL .'inc/startkit/images/info/info-03.jpg');
16
  $info_title3 = get_theme_mod('info_title3','Maketing For Blast');
17
  $info_description3 = get_theme_mod('info_description3','The chunk standard of Lorem Ipsum used since the 900s is reproduced below');
18
  ?>
22
  <section id="features-list">
23
  <div class="container">
24
  <div class="row text-lg-left text-md-center">
25
+ <div class="col-lg-4 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4">
26
+ <div class="featured-item-inner first wow fadeInUp" data-wow-delay="0.1s">
27
+ <div class="features-item-over">
28
+ <div class="item--featured">
29
+ <?php if(!empty($info_image)){ ?>
30
+ <img src="<?php echo esc_url($info_image); ?>" width="600" height="352" alt="update-service-01" title="update-info">
31
+ <?php } ?>
32
+ <div class="item--holder">
33
+ <div class="item--holder-inner">
34
+ <div class="item--icon">
35
+ <i class="fa <?php echo esc_attr( $info_icons ); ?>"></i>
36
+ </div>
37
+ <div class="item--primary">
38
+ <h3 class="item--title"><?php echo esc_html( $info_title ); ?></h3>
39
+ <div class="item--content"><?php echo wp_kses_post( $info_description ); ?></div>
40
+ <!--div class="item-readmore">
41
+ <a href="#" tabindex="0"><span>Read More</span></a>
42
+ </div-->
43
+ </div>
44
+ </div>
45
+ <div class="item-overlay"><span></span></div>
46
+ </div>
47
+ </div>
48
+ <div class="item--meta">
49
+ <div class="item--icon">
50
+ <i class="fa <?php echo esc_attr( $info_icons ); ?>"></i>
51
+ </div>
52
+ <h3 class="item--title">
53
+ <a href="javaScript:void(0)" tabindex="0"><?php echo esc_html( $info_title ); ?></a>
54
+ </h3>
55
+ </div>
56
+ </div>
57
  </div>
58
  </div>
59
+ <div class="col-lg-4 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4">
60
+ <div class="featured-item-inner second wow fadeInUp" data-wow-delay="0.1s">
61
+ <div class="features-item-over">
62
+ <div class="item--featured">
63
+ <?php if(!empty($info_image2)){ ?>
64
+ <img src="<?php echo esc_url($info_image2); ?>" width="600" height="352" alt="update-service-01" title="update-info">
65
+ <?php } ?>
66
+ <div class="item--holder">
67
+ <div class="item--holder-inner">
68
+ <div class="item--icon">
69
+ <i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i>
70
+ </div>
71
+ <div class="item--primary">
72
+ <h3 class="item--title"><?php echo esc_html( $info_title2 ); ?></h3>
73
+ <div class="item--content"><?php echo wp_kses_post( $info_description2 ); ?></div>
74
+ <!--div class="item-readmore">
75
+ <a href="#" tabindex="0"><span>Read More</span></a>
76
+ </div-->
77
+ </div>
78
+ </div>
79
+ <div class="item-overlay"><span></span></div>
80
+ </div>
81
+ </div>
82
+ <div class="item--meta">
83
+ <div class="item--icon">
84
+ <i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i>
85
+ </div>
86
+ <h3 class="item--title">
87
+ <a href="javaScript:void(0)" tabindex="0"><?php echo esc_html( $info_title2 ); ?></a>
88
+ </h3>
89
+ </div>
90
+ </div>
91
  </div>
92
  </div>
93
+ <div class="col-lg-4 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4">
94
+ <div class="featured-item-inner third wow fadeInUp" data-wow-delay="0.1s">
95
+ <div class="features-item-over">
96
+ <div class="item--featured">
97
+ <?php if(!empty($info_image3)){ ?>
98
+ <img src="<?php echo esc_url($info_image3); ?>" width="600" height="352" alt="update-service-01" title="update-info">
99
+ <?php } ?>
100
+ <div class="item--holder">
101
+ <div class="item--holder-inner">
102
+ <div class="item--icon">
103
+ <i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i>
104
+ </div>
105
+ <div class="item--primary">
106
+ <h3 class="item--title"><?php echo esc_html( $info_title3 ); ?></h3>
107
+ <div class="item--content"><?php echo wp_kses_post( $info_description3 ); ?></div>
108
+ <!--div class="item-readmore">
109
+ <a href="#" tabindex="0"><span>Read More</span></a>
110
+ </div-->
111
+ </div>
112
+ </div>
113
+ <div class="item-overlay"><span></span></div>
114
+ </div>
115
+ </div>
116
+ <div class="item--meta">
117
+ <div class="item--icon">
118
+ <i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i>
119
+ </div>
120
+ <h3 class="item--title">
121
+ <a href="javaScript:void(0)" tabindex="0"><?php echo esc_html( $info_title3 ); ?></a>
122
+ </h3>
123
+ </div>
124
+ </div>
125
  </div>
126
  </div>
127
  </div>
inc/startbiz/sections/section-service.php CHANGED
@@ -1,79 +1,30 @@
1
  <?php
2
- /**
3
- * Get default values for service section.
4
- *
5
- * @since 1.1.0
6
- * @access public
7
- */
8
  if ( ! function_exists( 'startkit_service_plu' ) ) :
9
-
10
  function startkit_service_plu() {
11
-
12
- function startkit_get_service_default() {
13
- return apply_filters(
14
- 'startkit_get_service_default', json_encode(
15
- array(
16
- array(
17
- 'title' => esc_html__( 'Idea Provide', 'startkit' ),
18
- 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'startkit' ),
19
- 'icon_value' => esc_html__( 'fa-lightbulb-o', 'startkit' ),
20
- 'id' => 'customizer_repeater_service_001',
21
-
22
- ),
23
- array(
24
- 'title' => esc_html__( 'People Research', 'startkit' ),
25
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
26
- 'icon_value' => esc_html__( 'fa-users', 'startkit' ),
27
- 'id' => 'customizer_repeater_service_002',
28
-
29
- ),
30
- array(
31
- 'title' => esc_html__( 'Business Develop', 'startkit' ),
32
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
33
- 'icon_value' => esc_html__( 'fa-briefcase', 'startkit' ),
34
- 'id' => 'customizer_repeater_service_003',
35
-
36
- ),
37
- array(
38
- 'title' => esc_html__( 'Marketing', 'startkit' ),
39
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
40
- 'icon_value' => esc_html__( 'fa-user-md', 'startkit' ),
41
- 'id' => 'customizer_repeater_service_004',
42
-
43
- ),
44
- )
45
- )
46
- );
47
- }
48
-
49
- ?>
50
- <?php
51
- $default_content = startkit_get_service_default();
52
  $hide_show_service = get_theme_mod('hide_show_service','1');
53
  $service_title = get_theme_mod('service_title','Services');
 
54
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
55
- $service_contents = get_theme_mod('service_contents',$default_content);
56
- ?>
57
- <?php if($hide_show_service == '1') {?>
58
  <section id="services" class="section-padding">
59
  <div class="container">
60
  <?php
61
-
62
-
63
- if( ($service_title) || ($service_description)!='' ) { ?>
64
  <!-- Section Title -->
65
-
66
  <div class="row">
67
  <div class="col-md-6 offset-md-3 text-center">
68
  <div class="section-header">
 
 
 
69
  <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
70
  <h2>
71
  <?php echo esc_html($service_title); ?>
72
  </h2>
73
  <?php endif; ?>
74
-
75
- <?php if($service_description) {?>
76
-
77
  <p class="wow fadeInUp" data-wow-delay="0.1s">
78
  <?php echo esc_html($service_description); ?>
79
  </p>
@@ -99,19 +50,34 @@
99
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
100
  $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
101
  $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
 
 
 
102
  ?>
103
- <div class="col-lg-3 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4 ">
104
- <div class="servicepage-item service_3 wow fadeInUp" data-wow-delay="0.4s">
105
- <div class="service-icon">
106
- <?php if ( ! empty( $icon ) ) :?>
107
- <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  <?php endif; ?>
109
  </div>
110
- <?php if ( ! empty( $title ) ) : ?>
111
- <h4><?php echo esc_html( $title ); ?></h4>
112
- <?php endif; ?>
113
- <?php if ( ! empty( $text ) ) : ?>
114
- <p><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
115
  <?php endif; ?>
116
  </div>
117
  </div>
1
  <?php
 
 
 
 
 
 
2
  if ( ! function_exists( 'startkit_service_plu' ) ) :
 
3
  function startkit_service_plu() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  $hide_show_service = get_theme_mod('hide_show_service','1');
5
  $service_title = get_theme_mod('service_title','Services');
6
+ $service_subttl = get_theme_mod('service_subttl','<span>Service</span> <h6>Lorem is dummy text.</h6>');
7
  $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
8
+ $service_contents = get_theme_mod('service_contents',startkit_get_service_default());
9
+ if($hide_show_service == '1') {?>
 
10
  <section id="services" class="section-padding">
11
  <div class="container">
12
  <?php
13
+ if( ($service_title) || ($service_subttl)!='' || ($service_description)!='' ) { ?>
 
 
14
  <!-- Section Title -->
 
15
  <div class="row">
16
  <div class="col-md-6 offset-md-3 text-center">
17
  <div class="section-header">
18
+ <?php if ( ! empty( $service_subttl ) ) : ?>
19
+ <div class="subtitle"><?php echo wp_kses_post( $service_subttl ); ?></div>
20
+ <?php endif; ?>
21
  <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
22
  <h2>
23
  <?php echo esc_html($service_title); ?>
24
  </h2>
25
  <?php endif; ?>
26
+ <hr class="liner">
27
+ <?php if($service_description) { ?>
 
28
  <p class="wow fadeInUp" data-wow-delay="0.1s">
29
  <?php echo esc_html($service_description); ?>
30
  </p>
50
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
51
  $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
52
  $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
53
+ $text2 = ! empty( $service_item->text2) ? apply_filters( 'startkit_translate_single_string', $service_item->text2,'service section' ) : '';
54
+ $link = ! empty( $service_item->link ) ? apply_filters( 'startkit_translate_single_string', $service_item->link, 'service section' ) : '';
55
+ $image = ! empty( $service_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $service_item->image_url, 'service section' ) : '';
56
  ?>
57
+ <div class="col-lg-4 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4">
58
+ <div class="features-startbiz wow fadeInUp" data-wow-delay="0.4s">
59
+ <div class="features-contented">
60
+ <div class="features-icon">
61
+ <?php if ( ! empty( $icon ) ) :?>
62
+ <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
63
+ <?php endif; ?>
64
+ </div>
65
+ <?php if ( ! empty( $title ) ) : ?>
66
+ <h5><a href="#"><?php echo esc_html( $title ); ?></a></h5>
67
+ <?php endif; ?>
68
+ <?php if ( ! empty( $text ) ) : ?>
69
+ <p class="features-desc"><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
70
+ <?php endif; ?>
71
+
72
+ <?php if ( ! empty( $text2 ) ) : ?>
73
+ <a href="<?php echo esc_url( $link ); ?>" class="features-link">
74
+ <span><?php echo esc_html( $text2 ); ?></span>
75
+ <i class="fa fa-arrow-right "></i>
76
+ </a>
77
  <?php endif; ?>
78
  </div>
79
+ <?php if(!empty($image)): ?>
80
+ <div class="features-overlay" style="background-image: url(<?php echo esc_url($image); ?>); background-size: cover; background-position: center center;"></div>
 
 
 
81
  <?php endif; ?>
82
  </div>
83
  </div>
inc/startbiz/sections/section-slider.php DELETED
@@ -1,89 +0,0 @@
1
- <?php
2
- /**
3
- * Slider section for the homepage.
4
- */
5
- if ( ! function_exists( 'start_startkit_slider' ) ) :
6
-
7
- function start_startkit_slider() {
8
-
9
- function startkit_get_slider_default() {
10
- return apply_filters(
11
- 'startkit_get_slider_default', json_encode(
12
- array(
13
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
14
- "link" => "#",
15
- "title" => "Strengths of Successful Businesses",
16
- "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
17
- "text2" => "Explore More",
18
- "id" => "customizer_repeater_00071" ),
19
- )
20
- )
21
- );
22
- }
23
- $default_content = startkit_get_slider_default();
24
- $slider = get_theme_mod('slider',$default_content);
25
- $slider_opacity = get_theme_mod('slider_opacity','0.3');
26
- $hide_show_slider = get_theme_mod('hide_show_slider','1');
27
-
28
- if($hide_show_slider == '1') {
29
- ?>
30
- <div class="row" id="lite-slite">
31
- <div class="col-md-12">
32
- <div class="header-slider">
33
- <?php
34
- if ( ! empty( $slider ) ) {
35
- $allowed_html = array(
36
- 'br' => array(),
37
- 'em' => array(),
38
- 'strong' => array(),
39
- 'b' => array(),
40
- 'i' => array(),
41
- );
42
- $slider = json_decode( $slider );
43
- foreach ( $slider as $slide_item ) {
44
- $title = ! empty( $slide_item->title ) ? apply_filters( 'startkit_translate_single_string', $slide_item->title, 'slider section' ) : '';
45
- $text = ! empty( $slide_item->text ) ? apply_filters( 'startkit_translate_single_string', $slide_item->text, 'slider section' ) : '';
46
- $button = ! empty( $slide_item->text2) ? apply_filters( 'startkit_translate_single_string', $slide_item->text2,'slider section' ) : '';
47
- $link = ! empty( $slide_item->link ) ? apply_filters( 'startkit_translate_single_string', $slide_item->link, 'slider section' ) : '';
48
- $image = ! empty( $slide_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
49
- ?>
50
- <div class="header-single-slider">
51
- <figure>
52
- <?php if ( ! empty( $image ) ) : ?>
53
- <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
54
- <?php endif; ?>
55
- <div class="content" style="background: rgba(35, 48, 73,<?php echo $slider_opacity; ?>);">
56
- <div class="slide-table">
57
- <div class="slide-table-cell">
58
- <div class="container">
59
- <div class="slide-content slide-center slide-bg-line delay-0 fadeIn animated" >
60
- <?php if ( ! empty( $title ) ) : ?>
61
- <h1 class="fadeInDown delay-1 animated"><?php echo esc_html( $title ); ?></h1>
62
- <?php endif; ?>
63
- <?php if ( ! empty( $text ) ) : ?>
64
- <p class="fadeInDown delay-2 animated"><?php echo esc_html( $text ); ?></p>
65
- <?php endif; ?>
66
- <?php if ( ! empty( $button ) ) : ?>
67
- <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn fadeInDown delay-2 animated"><?php echo esc_html( $button ); ?><i class="icofont icofont-long-arrow-right"></i></a>
68
- <?php endif; ?>
69
- </div>
70
- </div>
71
- </div>
72
- </div>
73
- </div>
74
- </figure>
75
- </div>
76
- <?php }} ?>
77
- </div>
78
- </div>
79
- </div>
80
- <?php } ?>
81
- </header>
82
- <?php
83
- }
84
- endif;
85
- if ( function_exists( 'start_startkit_slider' ) ) {
86
- $section_priority = apply_filters( 'startkit_section_priority', 11, 'start_startkit_slider' );
87
- add_action( 'startkit_sections', 'start_startkit_slider', absint( $section_priority ) );
88
-
89
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/startbiz/startbiz.php CHANGED
@@ -2,7 +2,10 @@
2
  /**
3
  * @package StartBiz
4
  */
5
-
 
 
 
6
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
@@ -14,10 +17,18 @@ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/typography_style.php';
14
 
15
  if ( ! function_exists( 'cleverfox_startbiz_frontpage_sections' ) ) :
16
  function cleverfox_startbiz_frontpage_sections() {
17
- require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/sections/section-slider.php';
18
  require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/sections/section-flash.php';
19
  require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/sections/section-service.php';
20
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-testimonial.php';
21
  }
22
  add_action( 'startkit_sections', 'cleverfox_startbiz_frontpage_sections' );
23
  endif;
 
 
 
 
 
 
 
 
2
  /**
3
  * @package StartBiz
4
  */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/sections/contact-info.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/extras.php';
8
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/features/startbiz-header.php';
9
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
10
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
11
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
17
 
18
  if ( ! function_exists( 'cleverfox_startbiz_frontpage_sections' ) ) :
19
  function cleverfox_startbiz_frontpage_sections() {
20
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
21
  require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/sections/section-flash.php';
22
  require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/sections/section-service.php';
23
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-testimonial.php';
24
  }
25
  add_action( 'startkit_sections', 'cleverfox_startbiz_frontpage_sections' );
26
  endif;
27
+
28
+ function cleverfox_startbiz_enqueue_scripts() {
29
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
30
+ //wp_enqueue_style('owl-theme-default-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.theme.default.min.css');
31
+ wp_enqueue_style('owl-carousel-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.carousel.min.css');
32
+ wp_enqueue_script( 'owl-carousel', CLEVERFOX_PLUGIN_URL . 'inc/assets/js/owl.carousel.min.js', array('jquery'), false, true);
33
+ }
34
+ add_action( 'wp_enqueue_scripts', 'cleverfox_startbiz_enqueue_scripts' );
inc/startkit/extras.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ *
4
+ * Slider
5
+ */
6
+ if ( ! function_exists( 'startkit_get_slider_default' ) ) :
7
+ function startkit_get_slider_default() {
8
+ return apply_filters(
9
+ 'startkit_get_slider_default', json_encode(
10
+ array(
11
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
12
+ "link" => "#",
13
+ "title" => "Strengths Successful",
14
+ "subtitle" => "lorem ipsum text.",
15
+ "text" => "Randomised words.",
16
+ "text2" => "Explore More",
17
+ "slide_align" => "left",
18
+ "id" => "customizer_repeater_00071" ),
19
+
20
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider01.jpg',
21
+ "link" => "#",
22
+ "title" => "Successful Businesses",
23
+ "subtitle" => "lorem ipsum text.",
24
+ "text" => "Randomised words.",
25
+ "text2" => "Explore More",
26
+ "slide_align" => "center",
27
+ "id" => "customizer_repeater_00072" ),
28
+
29
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider03.jpg',
30
+ "link" => "#",
31
+ "title" => "Strengths Businesses",
32
+ "subtitle" => "lorem ipsum text.",
33
+ "text" => "Randomised words.",
34
+ "text2" => "Explore More",
35
+ "slide_align" => "right",
36
+ "id" => "customizer_repeater_00073" ),
37
+ )
38
+ )
39
+ );
40
+ }
41
+ endif;
42
+
43
+
44
+ /*
45
+ *
46
+ * Service
47
+ */
48
+ if ( ! function_exists( 'startkit_get_service_default' ) ) :
49
+ function startkit_get_service_default() {
50
+ return apply_filters(
51
+ 'startkit_get_service_default', json_encode(
52
+ array(
53
+ array(
54
+ "image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
55
+ 'title' => esc_html__( 'Idea Provide', 'clever-fox' ),
56
+ 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'clever-fox' ),
57
+ "text2" => "Learn More",
58
+ 'icon_value' => esc_html__( 'fa-lightbulb-o', 'clever-fox' ),
59
+ 'id' => 'customizer_repeater_service_001',
60
+
61
+ ),
62
+ array(
63
+ "image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider01.jpg',
64
+ 'title' => esc_html__( 'People Research', 'clever-fox' ),
65
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'clever-fox' ),
66
+ "text2" => "Learn More",
67
+ 'icon_value' => esc_html__( 'fa-users', 'clever-fox' ),
68
+ 'id' => 'customizer_repeater_service_002',
69
+
70
+ ),
71
+ array(
72
+ "image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
73
+ 'title' => esc_html__( 'Business Develop', 'clever-fox' ),
74
+ 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'clever-fox' ),
75
+ "text2" => "Learn More",
76
+ 'icon_value' => esc_html__( 'fa-briefcase', 'clever-fox' ),
77
+ 'id' => 'customizer_repeater_service_003',
78
+
79
+ ),
80
+ )
81
+ )
82
+ );
83
+ }
84
+ endif;
85
+
86
+
87
+ /*
88
+ *
89
+ * Testimonial
90
+ */
91
+ if ( ! function_exists( 'startkit_get_testimonial_default' ) ) :
92
+ function startkit_get_testimonial_default() {
93
+ return apply_filters(
94
+ 'startkit_get_testimonial_default', json_encode(
95
+ array(
96
+ array(
97
+ 'title' => esc_html__( 'Naiomi Watson', 'clever-fox' ),
98
+ 'subtitle' => esc_html__( 'Lead Designer', 'clever-fox' ),
99
+ 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'clever-fox' ),
100
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial01.png',
101
+ 'id' => 'customizer_repeater_testimonial_001',
102
+ ),
103
+ array(
104
+ 'title' => esc_html__( 'Pins kumara', 'clever-fox' ),
105
+ 'subtitle' => esc_html__( 'Lead Interaction Designer', 'clever-fox' ),
106
+ 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'clever-fox' ),
107
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial02.png',
108
+ 'id' => 'customizer_repeater_testimonial_001',
109
+
110
+ ),
111
+ array(
112
+ 'title' => esc_html__( 'Mairala Thare', 'clever-fox' ),
113
+ 'subtitle' => esc_html__( 'Lead Interaction Designer', 'clever-fox' ),
114
+ 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'clever-fox' ),
115
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial03.png',
116
+ 'id' => 'customizer_repeater_testimonial_001',
117
+
118
+ ),
119
+ )
120
+
121
+ )
122
+ );
123
+ }
124
+ endif;
125
+
126
+
127
+
128
+ /*
129
+ *
130
+ * Funfact
131
+ */
132
+ if ( ! function_exists( 'startkit_get_funfact_default' ) ) :
133
+ function startkit_get_funfact_default() {
134
+ return apply_filters(
135
+ 'startkit_get_funfact_default', json_encode(
136
+ array(
137
+ array(
138
+ 'title' => esc_html__( '9.1', 'clever-fox' ),
139
+ 'subtitle' => esc_html__( 'B', 'clever-fox' ),
140
+ 'text' => esc_html__( 'Users', 'clever-fox' ),
141
+ 'icon_value' => esc_html__( 'fa fa-users', 'clever-fox' ),
142
+ 'id' => 'customizer_repeater_funfact_001',
143
+ ),
144
+ array(
145
+ 'title' => esc_html__( '8.2', 'clever-fox' ),
146
+ 'subtitle' => esc_html__( 'B', 'clever-fox' ),
147
+ 'text' => esc_html__( 'Downloads', 'clever-fox' ),
148
+ 'icon_value' => esc_html__( 'fal fa-download', 'clever-fox' ),
149
+ 'id' => 'customizer_repeater_funfact_001',
150
+
151
+ ),
152
+ array(
153
+ 'title' => esc_html__( '2.26', 'clever-fox' ),
154
+ 'subtitle' => esc_html__( 'B', 'clever-fox' ),
155
+ 'text' => esc_html__( 'Reviews', 'clever-fox' ),
156
+ 'icon_value' => esc_html__( 'fa fa-star-half-o', 'clever-fox' ),
157
+ 'id' => 'customizer_repeater_funfact_001',
158
+
159
+ ),
160
+ array(
161
+ 'title' => esc_html__( '9.1', 'clever-fox' ),
162
+ 'subtitle' => esc_html__( 'B', 'clever-fox' ),
163
+ 'text' => esc_html__( 'Users', 'clever-fox' ),
164
+ 'icon_value' => esc_html__( 'fa fa-trophy', 'clever-fox' ),
165
+ 'id' => 'customizer_repeater_funfact_001',
166
+
167
+ ),
168
+ )
169
+ )
170
+ );
171
+ }
172
+ endif;
inc/startkit/features/navigation.php CHANGED
@@ -16,31 +16,12 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
16
  'hdr_search_setting_head',
17
  array(
18
  'type' => 'hidden',
19
- 'label' => __('Setting','startkit'),
20
  'section' => 'header_contact_cart',
21
  'priority' => 1,
22
  )
23
  );
24
-
25
- // Content Head
26
- $wp_customize->add_setting(
27
- 'hdr_search_content_head'
28
- ,array(
29
- 'capability' => 'edit_theme_options',
30
- 'sanitize_callback' => 'startkit_sanitize_text',
31
- )
32
- );
33
 
34
- $wp_customize->add_control(
35
- 'hdr_search_content_head',
36
- array(
37
- 'type' => 'hidden',
38
- 'label' => __('Search','startkit'),
39
- 'section' => 'header_contact_cart',
40
- 'priority' => 3,
41
- )
42
- );
43
-
44
  // Setting Head
45
  $wp_customize->add_setting(
46
  'hdr_bknow_setting_head'
@@ -54,7 +35,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
54
  'hdr_bknow_setting_head',
55
  array(
56
  'type' => 'hidden',
57
- 'label' => __('Setting','startkit'),
58
  'section' => 'header_booknow',
59
  'priority' => 1,
60
  )
@@ -73,7 +54,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
73
  'hdr_bknow_content_head',
74
  array(
75
  'type' => 'hidden',
76
- 'label' => __('Content','startkit'),
77
  'section' => 'header_booknow',
78
  'priority' => 5,
79
  )
@@ -92,7 +73,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
92
  'blog_setting_head',
93
  array(
94
  'type' => 'hidden',
95
- 'label' => __('Setting','startkit'),
96
  'section' => 'blog_setting',
97
  'priority' => 1,
98
  )
@@ -111,7 +92,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
111
  'blog_head',
112
  array(
113
  'type' => 'hidden',
114
- 'label' => __('Header','startkit'),
115
  'section' => 'blog_setting',
116
  'priority' => 5,
117
  )
@@ -130,7 +111,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
130
  'blog_content_head',
131
  array(
132
  'type' => 'hidden',
133
- 'label' => __('Content','startkit'),
134
  'section' => 'blog_setting',
135
  'priority' => 8,
136
  )
@@ -149,7 +130,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
149
  'copyright_setting_head',
150
  array(
151
  'type' => 'hidden',
152
- 'label' => __('Setting','startkit'),
153
  'section' => 'footer_copyright',
154
  'priority' => 1,
155
  )
@@ -168,7 +149,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
168
  'copyright_content_head',
169
  array(
170
  'type' => 'hidden',
171
- 'label' => __('Content','startkit'),
172
  'section' => 'footer_copyright',
173
  'priority' => 5,
174
  )
@@ -188,7 +169,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
188
  'footer_payment_setting_head',
189
  array(
190
  'type' => 'hidden',
191
- 'label' => __('Setting','startkit'),
192
  'section' => 'footer_icon',
193
  'priority' => 1,
194
  )
@@ -207,7 +188,7 @@ function startkit_slider_manager_customize_register( $wp_customize ) {
207
  'footer_payment_content_head',
208
  array(
209
  'type' => 'hidden',
210
- 'label' => __('Content','startkit'),
211
  'section' => 'footer_icon',
212
  'priority' => 5,
213
  )
16
  'hdr_search_setting_head',
17
  array(
18
  'type' => 'hidden',
19
+ 'label' => __('Setting','clever-fox'),
20
  'section' => 'header_contact_cart',
21
  'priority' => 1,
22
  )
23
  );
 
 
 
 
 
 
 
 
 
24
 
 
 
 
 
 
 
 
 
 
 
25
  // Setting Head
26
  $wp_customize->add_setting(
27
  'hdr_bknow_setting_head'
35
  'hdr_bknow_setting_head',
36
  array(
37
  'type' => 'hidden',
38
+ 'label' => __('Setting','clever-fox'),
39
  'section' => 'header_booknow',
40
  'priority' => 1,
41
  )
54
  'hdr_bknow_content_head',
55
  array(
56
  'type' => 'hidden',
57
+ 'label' => __('Content','clever-fox'),
58
  'section' => 'header_booknow',
59
  'priority' => 5,
60
  )
73
  'blog_setting_head',
74
  array(
75
  'type' => 'hidden',
76
+ 'label' => __('Setting','clever-fox'),
77
  'section' => 'blog_setting',
78
  'priority' => 1,
79
  )
92
  'blog_head',
93
  array(
94
  'type' => 'hidden',
95
+ 'label' => __('Header','clever-fox'),
96
  'section' => 'blog_setting',
97
  'priority' => 5,
98
  )
111
  'blog_content_head',
112
  array(
113
  'type' => 'hidden',
114
+ 'label' => __('Content','clever-fox'),
115
  'section' => 'blog_setting',
116
  'priority' => 8,
117
  )
130
  'copyright_setting_head',
131
  array(
132
  'type' => 'hidden',
133
+ 'label' => __('Setting','clever-fox'),
134
  'section' => 'footer_copyright',
135
  'priority' => 1,
136
  )
149
  'copyright_content_head',
150
  array(
151
  'type' => 'hidden',
152
+ 'label' => __('Content','clever-fox'),
153
  'section' => 'footer_copyright',
154
  'priority' => 5,
155
  )
169
  'footer_payment_setting_head',
170
  array(
171
  'type' => 'hidden',
172
+ 'label' => __('Setting','clever-fox'),
173
  'section' => 'footer_icon',
174
  'priority' => 1,
175
  )
188
  'footer_payment_content_head',
189
  array(
190
  'type' => 'hidden',
191
+ 'label' => __('Content','clever-fox'),
192
  'section' => 'footer_icon',
193
  'priority' => 5,
194
  )
inc/startkit/features/section-info.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
- 'title' => esc_html__( 'Info Section', 'startkit' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 10, 'startkit_info' ),
13
  )
@@ -27,7 +27,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
27
  'info_setting_head',
28
  array(
29
  'type' => 'hidden',
30
- 'label' => __('Setting','startkit'),
31
  'section' => 'info_setting',
32
  )
33
  );
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_info',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'startkit' ),
50
  'section' => 'info_setting',
51
  'settings' => 'hide_show_info',
52
  'type' => 'ios', // light, ios, flat
@@ -70,7 +70,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
70
  'info_first_head',
71
  array(
72
  'type' => 'hidden',
73
- 'label' => __('Info First','startkit'),
74
  'section' => 'info_setting',
75
  )
76
  );
@@ -80,7 +80,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
80
  $wp_customize->add_setting(
81
  'info_icons',
82
  array(
83
- 'default' => __('fa-envelope','startkit'),
84
  'capability' => 'edit_theme_options',
85
  'priority' => 2,
86
  )
@@ -88,18 +88,40 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
88
  $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
89
  'info_icons',
90
  array(
91
- 'label' => __('Icon','startkit'),
92
  'section' => 'info_setting',
93
  'settings'=> 'info_icons',
94
  'iconset' => 'fa',
95
  ))
96
  );
97
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  // info title //
99
  $wp_customize->add_setting(
100
  'info_title',
101
  array(
102
- 'default' => __('Design For Business','startkit'),
103
  'capability' => 'edit_theme_options',
104
  'sanitize_callback' => 'startkit_sanitize_html',
105
  'transport' => $selective_refresh,
@@ -109,7 +131,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
109
  $wp_customize->add_control(
110
  'info_title',
111
  array(
112
- 'label' => __('Title','startkit'),
113
  'section' => 'info_setting',
114
  'settings'=> 'info_title',
115
  'type' => 'text',
@@ -119,7 +141,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
119
  $wp_customize->add_setting(
120
  'info_description',
121
  array(
122
- 'default' => __('The chunk standard of Lorem Ipsum used since the 900s is reproduced below','startkit'),
123
  'capability' => 'edit_theme_options',
124
  'sanitize_callback' => 'startkit_sanitize_html',
125
  'transport' => $selective_refresh,
@@ -129,7 +151,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
129
  $wp_customize->add_control(
130
  'info_description',
131
  array(
132
- 'label' => __('Description','startkit'),
133
  'section' => 'info_setting',
134
  'settings'=> 'info_description',
135
  'type' => 'textarea',
@@ -153,7 +175,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
153
  'info_second_head',
154
  array(
155
  'type' => 'hidden',
156
- 'label' => __('Info Second','startkit'),
157
  'section' => 'info_setting',
158
  )
159
  );
@@ -163,7 +185,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
163
  $wp_customize->add_setting(
164
  'info_icons2',
165
  array(
166
- 'default' => __('fa-cart-plus','startkit'),
167
  'capability' => 'edit_theme_options',
168
  'priority' => 9,
169
  )
@@ -172,18 +194,40 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
172
  $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
173
  'info_icons2',
174
  array(
175
- 'label' => __('Icon','startkit'),
176
  'section' => 'info_setting',
177
  'settings'=> 'info_icons2',
178
  'iconset' => 'fa',
179
  ))
180
  );
181
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  // info title //
183
  $wp_customize->add_setting(
184
  'info_title2',
185
  array(
186
- 'default' => __('Develop For Work','startkit'),
187
  'capability' => 'edit_theme_options',
188
  'sanitize_callback' => 'startkit_sanitize_html',
189
  'transport' => $selective_refresh,
@@ -194,7 +238,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
194
  $wp_customize->add_control(
195
  'info_title2',
196
  array(
197
- 'label' => __('Title','startkit'),
198
  'section' => 'info_setting',
199
  'settings'=> 'info_title2',
200
  'type' => 'text',
@@ -205,7 +249,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
205
  $wp_customize->add_setting(
206
  'info_description2',
207
  array(
208
- 'default' => __('The chunk standard of Lorem Ipsum used since the 900s is reproduced below','startkit'),
209
  'capability' => 'edit_theme_options',
210
  'sanitize_callback' => 'startkit_sanitize_html',
211
  'transport' => $selective_refresh,
@@ -216,7 +260,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
216
  $wp_customize->add_control(
217
  'info_description2',
218
  array(
219
- 'label' => __('Description','startkit'),
220
  'section' => 'info_setting',
221
  'settings'=> 'info_description2',
222
  'type' => 'textarea',
@@ -239,7 +283,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
239
  'info_third_head',
240
  array(
241
  'type' => 'hidden',
242
- 'label' => __('Info Third','startkit'),
243
  'section' => 'info_setting',
244
  )
245
  );
@@ -249,7 +293,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
249
  $wp_customize->add_setting(
250
  'info_icons3',
251
  array(
252
- 'default' => __('fa-life-saver','startkit'),
253
  'capability' => 'edit_theme_options',
254
  'priority' => 16,
255
  )
@@ -257,18 +301,40 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
257
  $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
258
  'info_icons3',
259
  array(
260
- 'label' => __('Icon','startkit'),
261
  'section' => 'info_setting',
262
  'settings'=> 'info_icons3',
263
  'iconset' => 'fa',
264
  ))
265
  );
266
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
  // info title //
268
  $wp_customize->add_setting(
269
  'info_title3',
270
  array(
271
- 'default' => __('Maketing For Blast','startkit'),
272
  'capability' => 'edit_theme_options',
273
  'sanitize_callback' => 'startkit_sanitize_html',
274
  'transport' => $selective_refresh,
@@ -278,7 +344,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
278
  $wp_customize->add_control(
279
  'info_title3',
280
  array(
281
- 'label' => __('Title','startkit'),
282
  'section' => 'info_setting',
283
  'settings'=> 'info_title3',
284
  'type' => 'text',
@@ -289,7 +355,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
289
  $wp_customize->add_setting(
290
  'info_description3',
291
  array(
292
- 'default' => __('The chunk standard of Lorem Ipsum used since the 900s is reproduced below','startkit'),
293
  'capability' => 'edit_theme_options',
294
  'sanitize_callback' => 'startkit_sanitize_html',
295
  'transport' => $selective_refresh,
@@ -299,12 +365,98 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
299
  $wp_customize->add_control(
300
  'info_description3',
301
  array(
302
- 'label' => __('Description','startkit'),
303
  'section' => 'info_setting',
304
  'settings'=> 'info_description3',
305
  'type' => 'textarea',
306
  )
307
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
  }
309
  add_action( 'customize_register', 'startkit_info_setting' );
310
  endif;
@@ -377,6 +529,28 @@ function startkit_home_info_section_partials( $wp_customize ){
377
 
378
  ) );
379
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
380
  }
381
  add_action( 'customize_register', 'startkit_home_info_section_partials' );
382
  // info first
@@ -414,4 +588,16 @@ function info_third_icon_render_callback() {
414
 
415
  function info_third_description_render_callback() {
416
  return get_theme_mod( 'info_description3' );
 
 
 
 
 
 
 
 
 
 
 
 
417
  }
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'info_setting', array(
10
+ 'title' => esc_html__( 'Info Section', 'clever-fox' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 10, 'startkit_info' ),
13
  )
27
  'info_setting_head',
28
  array(
29
  'type' => 'hidden',
30
+ 'label' => __('Setting','clever-fox'),
31
  'section' => 'info_setting',
32
  )
33
  );
46
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_info',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'info_setting',
51
  'settings' => 'hide_show_info',
52
  'type' => 'ios', // light, ios, flat
70
  'info_first_head',
71
  array(
72
  'type' => 'hidden',
73
+ 'label' => __('Info First','clever-fox'),
74
  'section' => 'info_setting',
75
  )
76
  );
80
  $wp_customize->add_setting(
81
  'info_icons',
82
  array(
83
+ 'default' => __('fa-envelope','clever-fox'),
84
  'capability' => 'edit_theme_options',
85
  'priority' => 2,
86
  )
88
  $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
89
  'info_icons',
90
  array(
91
+ 'label' => __('Icon','clever-fox'),
92
  'section' => 'info_setting',
93
  'settings'=> 'info_icons',
94
  'iconset' => 'fa',
95
  ))
96
  );
97
  }
98
+
99
+ $theme = wp_get_theme(); // gets the current theme
100
+ if ( 'StartBiz' == $theme->name){
101
+ // Image //
102
+ $wp_customize->add_setting(
103
+ 'info_image' ,
104
+ array(
105
+ 'default' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/info/info-01.jpg',
106
+ 'capability' => 'edit_theme_options',
107
+ 'sanitize_callback' => 'startkit_sanitize_url',
108
+ 'priority' => 2,
109
+ )
110
+ );
111
+
112
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_image' ,
113
+ array(
114
+ 'label' => __( 'Image', 'clever-fox' ),
115
+ 'section' => 'info_setting',
116
+ )
117
+ ));
118
+ }
119
+
120
  // info title //
121
  $wp_customize->add_setting(
122
  'info_title',
123
  array(
124
+ 'default' => __('Design For Business','clever-fox'),
125
  'capability' => 'edit_theme_options',
126
  'sanitize_callback' => 'startkit_sanitize_html',
127
  'transport' => $selective_refresh,
131
  $wp_customize->add_control(
132
  'info_title',
133
  array(
134
+ 'label' => __('Title','clever-fox'),
135
  'section' => 'info_setting',
136
  'settings'=> 'info_title',
137
  'type' => 'text',
141
  $wp_customize->add_setting(
142
  'info_description',
143
  array(
144
+ 'default' => __('The chunk standard of Lorem Ipsum used since the 900s is reproduced below','clever-fox'),
145
  'capability' => 'edit_theme_options',
146
  'sanitize_callback' => 'startkit_sanitize_html',
147
  'transport' => $selective_refresh,
151
  $wp_customize->add_control(
152
  'info_description',
153
  array(
154
+ 'label' => __('Description','clever-fox'),
155
  'section' => 'info_setting',
156
  'settings'=> 'info_description',
157
  'type' => 'textarea',
175
  'info_second_head',
176
  array(
177
  'type' => 'hidden',
178
+ 'label' => __('Info Second','clever-fox'),
179
  'section' => 'info_setting',
180
  )
181
  );
185
  $wp_customize->add_setting(
186
  'info_icons2',
187
  array(
188
+ 'default' => __('fa-cart-plus','clever-fox'),
189
  'capability' => 'edit_theme_options',
190
  'priority' => 9,
191
  )
194
  $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
195
  'info_icons2',
196
  array(
197
+ 'label' => __('Icon','clever-fox'),
198
  'section' => 'info_setting',
199
  'settings'=> 'info_icons2',
200
  'iconset' => 'fa',
201
  ))
202
  );
203
  }
204
+
205
+ $theme = wp_get_theme(); // gets the current theme
206
+ if ( 'StartBiz' == $theme->name){
207
+ // Image //
208
+ $wp_customize->add_setting(
209
+ 'info_image2' ,
210
+ array(
211
+ 'default' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/info/info-02.jpg',
212
+ 'capability' => 'edit_theme_options',
213
+ 'sanitize_callback' => 'startkit_sanitize_url',
214
+ 'priority' => 9,
215
+ )
216
+ );
217
+
218
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_image2' ,
219
+ array(
220
+ 'label' => __( 'Image', 'clever-fox' ),
221
+ 'section' => 'info_setting',
222
+ )
223
+ ));
224
+ }
225
+
226
  // info title //
227
  $wp_customize->add_setting(
228
  'info_title2',
229
  array(
230
+ 'default' => __('Develop For Work','clever-fox'),
231
  'capability' => 'edit_theme_options',
232
  'sanitize_callback' => 'startkit_sanitize_html',
233
  'transport' => $selective_refresh,
238
  $wp_customize->add_control(
239
  'info_title2',
240
  array(
241
+ 'label' => __('Title','clever-fox'),
242
  'section' => 'info_setting',
243
  'settings'=> 'info_title2',
244
  'type' => 'text',
249
  $wp_customize->add_setting(
250
  'info_description2',
251
  array(
252
+ 'default' => __('The chunk standard of Lorem Ipsum used since the 900s is reproduced below','clever-fox'),
253
  'capability' => 'edit_theme_options',
254
  'sanitize_callback' => 'startkit_sanitize_html',
255
  'transport' => $selective_refresh,
260
  $wp_customize->add_control(
261
  'info_description2',
262
  array(
263
+ 'label' => __('Description','clever-fox'),
264
  'section' => 'info_setting',
265
  'settings'=> 'info_description2',
266
  'type' => 'textarea',
283
  'info_third_head',
284
  array(
285
  'type' => 'hidden',
286
+ 'label' => __('Info Third','clever-fox'),
287
  'section' => 'info_setting',
288
  )
289
  );
293
  $wp_customize->add_setting(
294
  'info_icons3',
295
  array(
296
+ 'default' => __('fa-life-saver','clever-fox'),
297
  'capability' => 'edit_theme_options',
298
  'priority' => 16,
299
  )
301
  $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
302
  'info_icons3',
303
  array(
304
+ 'label' => __('Icon','clever-fox'),
305
  'section' => 'info_setting',
306
  'settings'=> 'info_icons3',
307
  'iconset' => 'fa',
308
  ))
309
  );
310
  }
311
+
312
+ $theme = wp_get_theme(); // gets the current theme
313
+ if ( 'StartBiz' == $theme->name){
314
+ // Image //
315
+ $wp_customize->add_setting(
316
+ 'info_image3' ,
317
+ array(
318
+ 'default' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/info/info-03.jpg',
319
+ 'capability' => 'edit_theme_options',
320
+ 'sanitize_callback' => 'startkit_sanitize_url',
321
+ 'priority' => 2,
322
+ )
323
+ );
324
+
325
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'info_image3' ,
326
+ array(
327
+ 'label' => __( 'Image', 'clever-fox' ),
328
+ 'section' => 'info_setting',
329
+ )
330
+ ));
331
+ }
332
+
333
  // info title //
334
  $wp_customize->add_setting(
335
  'info_title3',
336
  array(
337
+ 'default' => __('Maketing For Blast','clever-fox'),
338
  'capability' => 'edit_theme_options',
339
  'sanitize_callback' => 'startkit_sanitize_html',
340
  'transport' => $selective_refresh,
344
  $wp_customize->add_control(
345
  'info_title3',
346
  array(
347
+ 'label' => __('Title','clever-fox'),
348
  'section' => 'info_setting',
349
  'settings'=> 'info_title3',
350
  'type' => 'text',
355
  $wp_customize->add_setting(
356
  'info_description3',
357
  array(
358
+ 'default' => __('The chunk standard of Lorem Ipsum used since the 900s is reproduced below','clever-fox'),
359
  'capability' => 'edit_theme_options',
360
  'sanitize_callback' => 'startkit_sanitize_html',
361
  'transport' => $selective_refresh,
365
  $wp_customize->add_control(
366
  'info_description3',
367
  array(
368
+ 'label' => __('Description','clever-fox'),
369
  'section' => 'info_setting',
370
  'settings'=> 'info_description3',
371
  'type' => 'textarea',
372
  )
373
  );
374
+ /*=========================================
375
+ Info contents Section Fourth
376
+ =========================================*/
377
+
378
+ $theme = wp_get_theme(); // gets the current theme
379
+ if ( 'Envira' == $theme->name){
380
+
381
+ // Info Fourth Head
382
+ $wp_customize->add_setting(
383
+ 'info_fourth_head'
384
+ ,array(
385
+ 'capability' => 'edit_theme_options',
386
+ 'sanitize_callback' => 'startkit_sanitize_text',
387
+ 'priority' => 21,
388
+ )
389
+ );
390
+
391
+ $wp_customize->add_control(
392
+ 'info_fourth_head',
393
+ array(
394
+ 'type' => 'hidden',
395
+ 'label' => __('Info Fourth','clever-fox'),
396
+ 'section' => 'info_setting',
397
+ )
398
+ );
399
+
400
+ // info icon //
401
+ if ( class_exists( 'Startkit_Customizer_Icon_Picker_Control' ) ) {
402
+ $wp_customize->add_setting(
403
+ 'info_contact_icon',
404
+ array(
405
+ 'default' => 'fa-phone',
406
+ 'capability' => 'edit_theme_options',
407
+ 'priority' => 22,
408
+ )
409
+ );
410
+ $wp_customize->add_control(new Startkit_Customizer_Icon_Picker_Control($wp_customize,
411
+ 'info_contact_icon',
412
+ array(
413
+ 'label' => __('Icon','clever-fox'),
414
+ 'section' => 'info_setting',
415
+ 'iconset' => 'fa',
416
+ ))
417
+ );
418
+ }
419
+
420
+ // info title //
421
+ $wp_customize->add_setting(
422
+ 'info_contact_title',
423
+ array(
424
+ 'default' => __('Contact Us Today!','clever-fox'),
425
+ 'capability' => 'edit_theme_options',
426
+ 'sanitize_callback' => 'startkit_sanitize_html',
427
+ 'transport' => $selective_refresh,
428
+ 'priority' => 23,
429
+ )
430
+ );
431
+ $wp_customize->add_control(
432
+ 'info_contact_title',
433
+ array(
434
+ 'label' => __('Title','clever-fox'),
435
+ 'section' => 'info_setting',
436
+ 'type' => 'text',
437
+ )
438
+ );
439
+
440
+ // info Description //
441
+ $wp_customize->add_setting(
442
+ 'info_contact_desc',
443
+ array(
444
+ 'default' => __('+85-852-654','clever-fox'),
445
+ 'capability' => 'edit_theme_options',
446
+ 'sanitize_callback' => 'startkit_sanitize_html',
447
+ 'transport' => $selective_refresh,
448
+ 'priority' => 24,
449
+ )
450
+ );
451
+ $wp_customize->add_control(
452
+ 'info_contact_desc',
453
+ array(
454
+ 'label' => __('Description','clever-fox'),
455
+ 'section' => 'info_setting',
456
+ 'type' => 'textarea',
457
+ )
458
+ );
459
+ }
460
  }
461
  add_action( 'customize_register', 'startkit_info_setting' );
462
  endif;
529
 
530
  ) );
531
 
532
+
533
+ // info Fourth
534
+ $wp_customize->selective_refresh->add_partial( 'info_contact_title', array(
535
+ 'selector' => '#features-list .fourth h4',
536
+ 'settings' => 'info_contact_title',
537
+ 'render_callback' => 'startkit_info_contact_title_render_callback',
538
+
539
+ ) );
540
+
541
+ $wp_customize->selective_refresh->add_partial( 'info_contact_icon', array(
542
+ 'selector' => '#features-list .fourth .icon',
543
+ 'settings' => 'info_contact_icon',
544
+ 'render_callback' => 'startkit_info_contact_icon_render_callback',
545
+ ) );
546
+
547
+ $wp_customize->selective_refresh->add_partial( 'info_contact_desc', array(
548
+ 'selector' => '#features-list .fourth h3',
549
+ 'settings' => 'info_contact_desc',
550
+ 'render_callback' => 'startkit_info_contact_desc_render_callback',
551
+
552
+ ) );
553
+
554
  }
555
  add_action( 'customize_register', 'startkit_home_info_section_partials' );
556
  // info first
588
 
589
  function info_third_description_render_callback() {
590
  return get_theme_mod( 'info_description3' );
591
+ }
592
+
593
+ // info Fourth
594
+ function startkit_info_contact_title_render_callback() {
595
+ return get_theme_mod( 'info_contact_title' );
596
+ }
597
+ function startkit_info_contact_icon_render_callback() {
598
+ return get_theme_mod( 'info_contact_icon' );
599
+ }
600
+
601
+ function startkit_info_contact_desc_render_callback() {
602
+ return get_theme_mod( 'info_contact_desc' );
603
  }
inc/startkit/features/section-service.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'service_setting', array(
10
- 'title' => esc_html__( 'Service Section', 'startkit' ),
11
  'priority' => apply_filters( 'startkit_section_priority', 26, 'startkit_pricing' ),
12
  'panel' => 'startkit_frontpage_sections',
13
  )
@@ -27,7 +27,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
27
  'service_setting_head',
28
  array(
29
  'type' => 'hidden',
30
- 'label' => __('Setting','startkit'),
31
  'section' => 'service_setting',
32
  )
33
  );
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_service',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'startkit' ),
50
  'section' => 'service_setting',
51
  'settings' => 'hide_show_service',
52
  'type' => 'ios', // light, ios, flat
@@ -68,7 +68,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  'service_head',
69
  array(
70
  'type' => 'hidden',
71
- 'label' => __('Header','startkit'),
72
  'section' => 'service_setting',
73
  )
74
  );
@@ -77,7 +77,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
77
  $wp_customize->add_setting(
78
  'service_title',
79
  array(
80
- 'default' => __('Services','startkit'),
81
  'capability' => 'edit_theme_options',
82
  'sanitize_callback' => 'startkit_sanitize_html',
83
  'transport' => $selective_refresh,
@@ -87,18 +87,39 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
87
  $wp_customize->add_control(
88
  'service_title',
89
  array(
90
- 'label' => __('Title','startkit'),
91
  'section' => 'service_setting',
92
  'settings' => 'service_title',
93
  'type' => 'text',
94
  )
95
  );
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  // Service Description //
98
  $wp_customize->add_setting(
99
  'service_description',
100
  array(
101
- 'default' => __('Publishing packages and web page editors now use Lorem Ipsum as their default model text','startkit'),
102
  'capability' => 'edit_theme_options',
103
  'sanitize_callback' => 'startkit_sanitize_html',
104
  'transport' => $selective_refresh,
@@ -108,7 +129,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
108
  $wp_customize->add_control(
109
  'service_description',
110
  array(
111
- 'label' => __('Description','startkit'),
112
  'section' => 'service_setting',
113
  'settings' => 'service_description',
114
  'type' => 'textarea',
@@ -131,7 +152,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
131
  'service_content_head',
132
  array(
133
  'type' => 'hidden',
134
- 'label' => __('Content','startkit'),
135
  'section' => 'service_setting',
136
  )
137
  );
@@ -144,62 +165,48 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
144
  array(
145
  'sanitize_callback' => 'startkit_repeater_sanitize',
146
  'priority' => 12,
147
- 'default' => json_encode(
148
- array(
149
- array(
150
- 'title' => esc_html__( 'Idea Provide', 'startkit' ),
151
- 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'startkit' ),
152
- 'icon_value' => esc_html__( 'fa-lightbulb-o', 'startkit' ),
153
- 'choice' => 'customizer_repeater_icon',
154
- 'id' => 'customizer_repeater_service_001',
155
-
156
- ),
157
- array(
158
- 'title' => esc_html__( 'People Research', 'startkit' ),
159
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
160
- 'icon_value' => esc_html__( 'fa-users', 'startkit' ),
161
- 'choice' => 'customizer_repeater_icon',
162
- 'id' => 'customizer_repeater_service_002',
163
-
164
- ),
165
- array(
166
- 'title' => esc_html__( 'Business Develop', 'startkit' ),
167
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
168
- 'icon_value' => esc_html__( 'fa-briefcase', 'startkit' ),
169
- 'choice' => 'customizer_repeater_icon',
170
- 'id' => 'customizer_repeater_service_003',
171
-
172
- ),
173
- array(
174
- 'title' => esc_html__( 'Marketing', 'startkit' ),
175
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
176
- 'icon_value' => esc_html__( 'fa-user-md', 'startkit' ),
177
- 'choice' => 'customizer_repeater_icon',
178
- 'id' => 'customizer_repeater_service_004',
179
-
180
- ),
181
- )
182
- )
183
  )
184
  );
185
 
186
- $wp_customize->add_control(
187
- new Startkit_Repeater( $wp_customize,
188
- 'service_contents',
189
- array(
190
- 'label' => esc_html__('Service','startkit'),
191
- 'section' => 'service_setting',
192
- 'add_field_label' => esc_html__( 'Add New Service', 'startkit' ),
193
- 'item_name' => esc_html__( 'Service', 'startkit' ),
194
- 'customizer_repeater_icon_control' => true,
195
- 'customizer_repeater_title_control' => true,
196
- 'customizer_repeater_text_control' => true,
197
- 'customizer_repeater_checkbox_control' => false,
198
- )
199
- )
200
- );
201
-
202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  }
204
  //Pro feature
205
  class Startkit_services__section_upgrade extends WP_Customize_Control {
@@ -207,13 +214,13 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
207
  $theme = wp_get_theme(); // gets the current theme
208
  if ( 'StartKit' == $theme->name){
209
  ?>
210
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
211
  <?php }elseif( 'StartBiz' == $theme->name){ ?>
212
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startbiz-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
213
  <?php }elseif( 'Arowana' == $theme->name){ ?>
214
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arowana-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
215
  <?php }else{ ?>
216
- <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
217
  <?php } ?>
218
  <?php
219
  }
@@ -247,8 +254,15 @@ function startkit_home_service_section_partials( $wp_customize ){
247
  'selector' => '#services .section-header h2',
248
  'settings' => 'service_title',
249
  'render_callback' => 'home_section_service_title_render_callback',
 
250
 
 
 
 
 
 
251
  ) );
 
252
  // service description
253
  $wp_customize->selective_refresh->add_partial( 'service_description', array(
254
  'selector' => '#services .section-header p',
@@ -269,6 +283,12 @@ add_action( 'customize_register', 'startkit_home_service_section_partials' );
269
  function home_section_service_title_render_callback() {
270
  return get_theme_mod( 'service_title' );
271
  }
 
 
 
 
 
 
272
  // service description
273
  function home_section_service_desc_render_callback() {
274
  return get_theme_mod( 'service_description' );
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'service_setting', array(
10
+ 'title' => esc_html__( 'Service Section', 'clever-fox' ),
11
  'priority' => apply_filters( 'startkit_section_priority', 26, 'startkit_pricing' ),
12
  'panel' => 'startkit_frontpage_sections',
13
  )
27
  'service_setting_head',
28
  array(
29
  'type' => 'hidden',
30
+ 'label' => __('Setting','clever-fox'),
31
  'section' => 'service_setting',
32
  )
33
  );
46
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_service',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'service_setting',
51
  'settings' => 'hide_show_service',
52
  'type' => 'ios', // light, ios, flat
68
  'service_head',
69
  array(
70
  'type' => 'hidden',
71
+ 'label' => __('Header','clever-fox'),
72
  'section' => 'service_setting',
73
  )
74
  );
77
  $wp_customize->add_setting(
78
  'service_title',
79
  array(
80
+ 'default' => __('Services','clever-fox'),
81
  'capability' => 'edit_theme_options',
82
  'sanitize_callback' => 'startkit_sanitize_html',
83
  'transport' => $selective_refresh,
87
  $wp_customize->add_control(
88
  'service_title',
89
  array(
90
+ 'label' => __('Title','clever-fox'),
91
  'section' => 'service_setting',
92
  'settings' => 'service_title',
93
  'type' => 'text',
94
  )
95
  );
96
 
97
+ // Service Subtitle //
98
+ $wp_customize->add_setting(
99
+ 'service_subttl',
100
+ array(
101
+ 'default' => '<span>Service</span> <h6>Lorem is dummy text.</h6>',
102
+ 'capability' => 'edit_theme_options',
103
+ 'sanitize_callback' => 'startkit_sanitize_html',
104
+ 'transport' => $selective_refresh,
105
+ 'priority' => 6,
106
+ )
107
+ );
108
+
109
+ $wp_customize->add_control(
110
+ 'service_subttl',
111
+ array(
112
+ 'label' => __('Subtitle','clever-fox'),
113
+ 'section' => 'service_setting',
114
+ 'type' => 'textarea',
115
+ )
116
+ );
117
+
118
  // Service Description //
119
  $wp_customize->add_setting(
120
  'service_description',
121
  array(
122
+ 'default' => __('Publishing packages and web page editors now use Lorem Ipsum as their default model text','clever-fox'),
123
  'capability' => 'edit_theme_options',
124
  'sanitize_callback' => 'startkit_sanitize_html',
125
  'transport' => $selective_refresh,
129
  $wp_customize->add_control(
130
  'service_description',
131
  array(
132
+ 'label' => __('Description','clever-fox'),
133
  'section' => 'service_setting',
134
  'settings' => 'service_description',
135
  'type' => 'textarea',
152
  'service_content_head',
153
  array(
154
  'type' => 'hidden',
155
+ 'label' => __('Content','clever-fox'),
156
  'section' => 'service_setting',
157
  )
158
  );
165
  array(
166
  'sanitize_callback' => 'startkit_repeater_sanitize',
167
  'priority' => 12,
168
+ 'default' => startkit_get_service_default(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  )
170
  );
171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
 
173
+ $theme = wp_get_theme(); // gets the current theme
174
+ if ( 'StartKit' == $theme->name || 'StartBiz' == $theme->name){
175
+ $wp_customize->add_control(
176
+ new Startkit_Repeater( $wp_customize,
177
+ 'service_contents',
178
+ array(
179
+ 'label' => esc_html__('Service','clever-fox'),
180
+ 'section' => 'service_setting',
181
+ 'add_field_label' => esc_html__( 'Add New Service', 'clever-fox' ),
182
+ 'item_name' => esc_html__( 'Service', 'clever-fox' ),
183
+ 'customizer_repeater_icon_control' => true,
184
+ 'customizer_repeater_title_control' => true,
185
+ 'customizer_repeater_text_control' => true,
186
+ 'customizer_repeater_text2_control' => true,
187
+ 'customizer_repeater_link_control' => true,
188
+ 'customizer_repeater_image_control' => true,
189
+ )
190
+ )
191
+ );
192
+ }else{
193
+ $wp_customize->add_control(
194
+ new Startkit_Repeater( $wp_customize,
195
+ 'service_contents',
196
+ array(
197
+ 'label' => esc_html__('Service','clever-fox'),
198
+ 'section' => 'service_setting',
199
+ 'add_field_label' => esc_html__( 'Add New Service', 'clever-fox' ),
200
+ 'item_name' => esc_html__( 'Service', 'clever-fox' ),
201
+ 'customizer_repeater_icon_control' => true,
202
+ 'customizer_repeater_title_control' => true,
203
+ 'customizer_repeater_text_control' => true,
204
+ 'customizer_repeater_text2_control' => true,
205
+ 'customizer_repeater_link_control' => true,
206
+ )
207
+ )
208
+ );
209
+ }
210
  }
211
  //Pro feature
212
  class Startkit_services__section_upgrade extends WP_Customize_Control {
214
  $theme = wp_get_theme(); // gets the current theme
215
  if ( 'StartKit' == $theme->name){
216
  ?>
217
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
218
  <?php }elseif( 'StartBiz' == $theme->name){ ?>
219
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startbiz-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
220
  <?php }elseif( 'Arowana' == $theme->name){ ?>
221
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arowana-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
222
  <?php }else{ ?>
223
+ <a class="customizer_service_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
224
  <?php } ?>
225
  <?php
226
  }
254
  'selector' => '#services .section-header h2',
255
  'settings' => 'service_title',
256
  'render_callback' => 'home_section_service_title_render_callback',
257
+ ) );
258
 
259
+ // service_subttl
260
+ $wp_customize->selective_refresh->add_partial( 'service_subttl', array(
261
+ 'selector' => '#services .section-header .subtitle',
262
+ 'settings' => 'service_subttl',
263
+ 'render_callback' => 'home_service_subttl_render_callback',
264
  ) );
265
+
266
  // service description
267
  $wp_customize->selective_refresh->add_partial( 'service_description', array(
268
  'selector' => '#services .section-header p',
283
  function home_section_service_title_render_callback() {
284
  return get_theme_mod( 'service_title' );
285
  }
286
+
287
+ // service_subttl
288
+ function home_service_subttl_render_callback() {
289
+ return get_theme_mod( 'service_subttl' );
290
+ }
291
+
292
  // service description
293
  function home_section_service_desc_render_callback() {
294
  return get_theme_mod( 'service_description' );
inc/startkit/features/section-slider.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'slider_setting', array(
10
- 'title' => esc_html__( 'Slider Section', 'startkit' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 1, 'slider_setting' ),
13
  )
@@ -27,7 +27,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
27
  'slider_setting_head',
28
  array(
29
  'type' => 'hidden',
30
- 'label' => __('Setting','startkit'),
31
  'section' => 'slider_setting',
32
  )
33
  );
@@ -46,7 +46,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
46
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_slider',
48
  array(
49
- 'label' => esc_html__( 'Hide / Show Section', 'startkit' ),
50
  'section' => 'slider_setting',
51
  'settings' => 'hide_show_slider',
52
  'type' => 'ios', // light, ios, flat
@@ -68,7 +68,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
68
  'slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
- 'label' => __('Content','startkit'),
72
  'section' => 'slider_setting',
73
  )
74
  );
@@ -81,16 +81,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
81
  array(
82
  'sanitize_callback' => 'startkit_repeater_sanitize',
83
  'priority' => 6,
84
- 'default' => json_encode(
85
- array(
86
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
87
- "link" => "#",
88
- "title" => "Strengths of Successful Businesses",
89
- "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
90
- "text2" => "Explore More",
91
- "id" => "customizer_repeater_00071" ),
92
- )
93
- )
94
  )
95
  );
96
 
@@ -98,17 +89,19 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
98
  new Startkit_Repeater( $wp_customize,
99
  'slider',
100
  array(
101
- 'label' => esc_html__('Slide','startkit'),
102
  'section' => 'slider_setting',
103
- 'add_field_label' => esc_html__( 'Add New Slider', 'startkit' ),
104
- 'item_name' => esc_html__( 'Slider', 'startkit' ),
105
 
106
  'customizer_repeater_title_control' => true,
 
107
  'customizer_repeater_text_control' => true,
108
  'customizer_repeater_text2_control'=> true,
109
  'customizer_repeater_link_control' => true,
110
  'customizer_repeater_slide_align' => true,
111
  'customizer_repeater_image_control' => true,
 
112
  )
113
  )
114
  );
@@ -120,13 +113,13 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
120
  $theme = wp_get_theme(); // gets the current theme
121
  if ( 'StartKit' == $theme->name){
122
  ?>
123
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
124
  <?php }elseif( 'StartBiz' == $theme->name){ ?>
125
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startbiz-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
126
  <?php }elseif( 'Arowana' == $theme->name){ ?>
127
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arowana-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
128
  <?php }else{ ?>
129
- <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
130
  <?php } ?>
131
  <?php
132
  }
@@ -163,7 +156,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
163
  array(
164
  'section' => 'slider_setting',
165
  'settings' => 'slider_opacity',
166
- 'label' => __( 'Background Opacity','startkit' ),
167
  'input_attrs' => array(
168
  'min' => 0,
169
  'max' => 0.9,
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'slider_setting', array(
10
+ 'title' => esc_html__( 'Slider Section', 'clever-fox' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 1, 'slider_setting' ),
13
  )
27
  'slider_setting_head',
28
  array(
29
  'type' => 'hidden',
30
+ 'label' => __('Setting','clever-fox'),
31
  'section' => 'slider_setting',
32
  )
33
  );
46
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
47
  'hide_show_slider',
48
  array(
49
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
50
  'section' => 'slider_setting',
51
  'settings' => 'hide_show_slider',
52
  'type' => 'ios', // light, ios, flat
68
  'slider_content_head',
69
  array(
70
  'type' => 'hidden',
71
+ 'label' => __('Content','clever-fox'),
72
  'section' => 'slider_setting',
73
  )
74
  );
81
  array(
82
  'sanitize_callback' => 'startkit_repeater_sanitize',
83
  'priority' => 6,
84
+ 'default' => startkit_get_slider_default(),
 
 
 
 
 
 
 
 
 
85
  )
86
  );
87
 
89
  new Startkit_Repeater( $wp_customize,
90
  'slider',
91
  array(
92
+ 'label' => esc_html__('Slide','clever-fox'),
93
  'section' => 'slider_setting',
94
+ 'add_field_label' => esc_html__( 'Add New Slider', 'clever-fox' ),
95
+ 'item_name' => esc_html__( 'Slider', 'clever-fox' ),
96
 
97
  'customizer_repeater_title_control' => true,
98
+ 'customizer_repeater_subtitle_control' => true,
99
  'customizer_repeater_text_control' => true,
100
  'customizer_repeater_text2_control'=> true,
101
  'customizer_repeater_link_control' => true,
102
  'customizer_repeater_slide_align' => true,
103
  'customizer_repeater_image_control' => true,
104
+ 'customizer_repeater_image2_control' => true,
105
  )
106
  )
107
  );
113
  $theme = wp_get_theme(); // gets the current theme
114
  if ( 'StartKit' == $theme->name){
115
  ?>
116
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
117
  <?php }elseif( 'StartBiz' == $theme->name){ ?>
118
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startbiz-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
119
  <?php }elseif( 'Arowana' == $theme->name){ ?>
120
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arowana-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
121
  <?php }else{ ?>
122
+ <a class="customizer_slider_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
123
  <?php } ?>
124
  <?php
125
  }
156
  array(
157
  'section' => 'slider_setting',
158
  'settings' => 'slider_opacity',
159
+ 'label' => __( 'Background Opacity','clever-fox' ),
160
  'input_attrs' => array(
161
  'min' => 0,
162
  'max' => 0.9,
inc/startkit/features/section-testimonial.php CHANGED
@@ -7,7 +7,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'testimonial_setting', array(
10
- 'title' => esc_html__( 'Testimonial Section', 'startkit' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 32, 'startkit_Testimonial' ),
13
  )
@@ -30,7 +30,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
30
  'testimonial_setting_head',
31
  array(
32
  'type' => 'hidden',
33
- 'label' => __('Setting','startkit'),
34
  'section' => 'testimonial_setting',
35
  )
36
  );
@@ -47,7 +47,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
47
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
48
  'hide_show_testimonial',
49
  array(
50
- 'label' => esc_html__( 'Hide / Show Section', 'startkit' ),
51
  'section' => 'testimonial_setting',
52
  'settings' => 'hide_show_testimonial',
53
  'type' => 'ios', // light, ios, flat
@@ -73,7 +73,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
73
  'testimonial_head',
74
  array(
75
  'type' => 'hidden',
76
- 'label' => __('Header','startkit'),
77
  'section' => 'testimonial_setting',
78
  )
79
  );
@@ -82,7 +82,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
82
  $wp_customize->add_setting(
83
  'testimonial_title',
84
  array(
85
- 'default' => __('Testimonial','startkit'),
86
  'capability' => 'edit_theme_options',
87
  'sanitize_callback' => 'startkit_sanitize_html',
88
  'transport' => $selective_refresh,
@@ -92,17 +92,39 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
92
  $wp_customize->add_control(
93
  'testimonial_title',
94
  array(
95
- 'label' => __('Title','startkit'),
96
  'section' => 'testimonial_setting',
97
  'settings' => 'testimonial_title',
98
  'type' => 'text',
99
  )
100
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  // Testimonial Description //
102
  $wp_customize->add_setting(
103
  'testimonial_description',
104
  array(
105
- 'default' => __('Publishing packages and web page editors now use Lorem Ipsum as their default model text','startkit'),
106
  'capability' => 'edit_theme_options',
107
  'sanitize_callback' => 'startkit_sanitize_html',
108
  'transport' => $selective_refresh,
@@ -112,7 +134,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
112
  $wp_customize->add_control(
113
  'testimonial_description',
114
  array(
115
- 'label' => __('Description','startkit'),
116
  'section' => 'testimonial_setting',
117
  'settings' => 'testimonial_description',
118
  'type' => 'textarea',
@@ -134,7 +156,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
134
  'testimonial_content_head',
135
  array(
136
  'type' => 'hidden',
137
- 'label' => __('Content','startkit'),
138
  'section' => 'testimonial_setting',
139
  )
140
  );
@@ -147,43 +169,17 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
147
  array(
148
  'sanitize_callback' => 'startkit_repeater_sanitize',
149
  'priority' => 12,
150
- 'default' => json_encode(
151
- array(
152
- array(
153
- 'title' => esc_html__( 'Naiomi Watson', 'startkit' ),
154
- 'subtitle' => esc_html__( 'Lead Interaction Designer', 'startkit' ),
155
- 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'startkit' ),
156
- 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial01.png',
157
- 'id' => 'customizer_repeater_testimonial_001',
158
- ),
159
- array(
160
- 'title' => esc_html__( 'Pins kumara', 'startkit' ),
161
- 'subtitle' => esc_html__( 'Lead Interaction Designer', 'startkit' ),
162
- 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'startkit' ),
163
- 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial02.png',
164
- 'id' => 'customizer_repeater_testimonial_001',
165
-
166
- ),
167
- array(
168
- 'title' => esc_html__( 'Mairala Thare', 'startkit' ),
169
- 'subtitle' => esc_html__( 'Lead Interaction Designer', 'startkit' ),
170
- 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'startkit' ),
171
- 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial03.png',
172
- 'id' => 'customizer_repeater_testimonial_001',
173
-
174
- ),
175
- )
176
- )
177
  )
178
  );
179
  $wp_customize->add_control(
180
  new Startkit_Repeater( $wp_customize,
181
  'testimonial_contents',
182
  array(
183
- 'label' => esc_html__('Testimonial','startkit'),
184
  'section' => 'testimonial_setting',
185
- 'add_field_label' => esc_html__( 'Add New Testimonial', 'startkit' ),
186
- 'item_name' => esc_html__( 'Testimonial', 'startkit' ),
187
  'customizer_repeater_image_control' => true,
188
  'customizer_repeater_title_control' => true,
189
  'customizer_repeater_subtitle_control' => true,
@@ -201,13 +197,13 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
201
  $theme = wp_get_theme(); // gets the current theme
202
  if ( 'StartKit' == $theme->name){
203
  ?>
204
- <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
205
  <?php }elseif( 'StartBiz' == $theme->name){ ?>
206
- <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startbiz-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
207
  <?php }elseif( 'Arowana' == $theme->name){ ?>
208
- <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arowana-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
209
  <?php }else{ ?>
210
- <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','startkit'); ?></a>
211
  <?php } ?>
212
  <?php
213
  }
@@ -243,6 +239,14 @@ function startkit_home_testimonial_section_partials( $wp_customize ){
243
  'settings' => 'testimonial_title',
244
  'render_callback' => 'home_section_testimonial_title_render_callback',
245
  ) );
 
 
 
 
 
 
 
 
246
  // description
247
  $wp_customize->selective_refresh->add_partial( 'testimonial_description', array(
248
  'selector' => '#testimonial .section-header p',
@@ -260,6 +264,12 @@ add_action( 'customize_register', 'startkit_home_testimonial_section_partials' )
260
  function home_section_testimonial_title_render_callback() {
261
  return get_theme_mod( 'testimonial_title' );
262
  }
 
 
 
 
 
 
263
  // description
264
  function home_section_testimonial_desc_render_callback() {
265
  return get_theme_mod( 'testimonial_description' );
7
  =========================================*/
8
  $wp_customize->add_section(
9
  'testimonial_setting', array(
10
+ 'title' => esc_html__( 'Testimonial Section', 'clever-fox' ),
11
  'panel' => 'startkit_frontpage_sections',
12
  'priority' => apply_filters( 'startkit_section_priority', 32, 'startkit_Testimonial' ),
13
  )
30
  'testimonial_setting_head',
31
  array(
32
  'type' => 'hidden',
33
+ 'label' => __('Setting','clever-fox'),
34
  'section' => 'testimonial_setting',
35
  )
36
  );
47
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
48
  'hide_show_testimonial',
49
  array(
50
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
51
  'section' => 'testimonial_setting',
52
  'settings' => 'hide_show_testimonial',
53
  'type' => 'ios', // light, ios, flat
73
  'testimonial_head',
74
  array(
75
  'type' => 'hidden',
76
+ 'label' => __('Header','clever-fox'),
77
  'section' => 'testimonial_setting',
78
  )
79
  );
82
  $wp_customize->add_setting(
83
  'testimonial_title',
84
  array(
85
+ 'default' => __('Testimonial','clever-fox'),
86
  'capability' => 'edit_theme_options',
87
  'sanitize_callback' => 'startkit_sanitize_html',
88
  'transport' => $selective_refresh,
92
  $wp_customize->add_control(
93
  'testimonial_title',
94
  array(
95
+ 'label' => __('Title','clever-fox'),
96
  'section' => 'testimonial_setting',
97
  'settings' => 'testimonial_title',
98
  'type' => 'text',
99
  )
100
  );
101
+
102
+ // Testimonial Subtitle //
103
+ $wp_customize->add_setting(
104
+ 'testimonial_subttl',
105
+ array(
106
+ 'default' => '<span>Testimonial</span> <h6>Lorem is dummy text.</h6>',
107
+ 'capability' => 'edit_theme_options',
108
+ 'sanitize_callback' => 'startkit_sanitize_html',
109
+ 'transport' => $selective_refresh,
110
+ 'priority' => 6,
111
+ )
112
+ );
113
+
114
+ $wp_customize->add_control(
115
+ 'testimonial_subttl',
116
+ array(
117
+ 'label' => __('Subtitle','clever-fox'),
118
+ 'section' => 'testimonial_setting',
119
+ 'type' => 'textarea',
120
+ )
121
+ );
122
+
123
  // Testimonial Description //
124
  $wp_customize->add_setting(
125
  'testimonial_description',
126
  array(
127
+ 'default' => __('Publishing packages and web page editors now use Lorem Ipsum as their default model text','clever-fox'),
128
  'capability' => 'edit_theme_options',
129
  'sanitize_callback' => 'startkit_sanitize_html',
130
  'transport' => $selective_refresh,
134
  $wp_customize->add_control(
135
  'testimonial_description',
136
  array(
137
+ 'label' => __('Description','clever-fox'),
138
  'section' => 'testimonial_setting',
139
  'settings' => 'testimonial_description',
140
  'type' => 'textarea',
156
  'testimonial_content_head',
157
  array(
158
  'type' => 'hidden',
159
+ 'label' => __('Content','clever-fox'),
160
  'section' => 'testimonial_setting',
161
  )
162
  );
169
  array(
170
  'sanitize_callback' => 'startkit_repeater_sanitize',
171
  'priority' => 12,
172
+ 'default' => startkit_get_testimonial_default(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  )
174
  );
175
  $wp_customize->add_control(
176
  new Startkit_Repeater( $wp_customize,
177
  'testimonial_contents',
178
  array(
179
+ 'label' => esc_html__('Testimonial','clever-fox'),
180
  'section' => 'testimonial_setting',
181
+ 'add_field_label' => esc_html__( 'Add New Testimonial', 'clever-fox' ),
182
+ 'item_name' => esc_html__( 'Testimonial', 'clever-fox' ),
183
  'customizer_repeater_image_control' => true,
184
  'customizer_repeater_title_control' => true,
185
  'customizer_repeater_subtitle_control' => true,
197
  $theme = wp_get_theme(); // gets the current theme
198
  if ( 'StartKit' == $theme->name){
199
  ?>
200
+ <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
201
  <?php }elseif( 'StartBiz' == $theme->name){ ?>
202
+ <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startbiz-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
203
  <?php }elseif( 'Arowana' == $theme->name){ ?>
204
+ <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/arowana-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
205
  <?php }else{ ?>
206
+ <a class="customizer_testimonial_upgrade_section up-to-pro" href="https://www.nayrathemes.com/startkit-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
207
  <?php } ?>
208
  <?php
209
  }
239
  'settings' => 'testimonial_title',
240
  'render_callback' => 'home_section_testimonial_title_render_callback',
241
  ) );
242
+
243
+ // testimonial_subttl
244
+ $wp_customize->selective_refresh->add_partial( 'testimonial_subttl', array(
245
+ 'selector' => '#testimonial .section-header .subtitle',
246
+ 'settings' => 'testimonial_subttl',
247
+ 'render_callback' => 'home_testimonial_subttl_render_callback',
248
+ ) );
249
+
250
  // description
251
  $wp_customize->selective_refresh->add_partial( 'testimonial_description', array(
252
  'selector' => '#testimonial .section-header p',
264
  function home_section_testimonial_title_render_callback() {
265
  return get_theme_mod( 'testimonial_title' );
266
  }
267
+
268
+ // testimonial_subttl
269
+ function home_testimonial_subttl_render_callback() {
270
+ return get_theme_mod( 'testimonial_subttl' );
271
+ }
272
+
273
  // description
274
  function home_section_testimonial_desc_render_callback() {
275
  return get_theme_mod( 'testimonial_description' );
inc/startkit/features/section-typography.php CHANGED
@@ -4,7 +4,7 @@ if ( ! function_exists( 'startkit_typography_customizer' ) ) :
4
  $wp_customize->add_panel( 'startkit_typography_setting', array(
5
  'priority' => 25,
6
  'capability' => 'edit_theme_options',
7
- 'title' => __('Typography','startkit'),
8
  ) );
9
 
10
 
@@ -14,7 +14,7 @@ $wp_customize->add_panel( 'startkit_typography_setting', array(
14
  $wp_customize->add_section(
15
  'typography_setting' ,
16
  array(
17
- 'title' => __('Settings','startkit'),
18
  'panel' => 'startkit_typography_setting',
19
  'priority' => 1,
20
  ) );
@@ -30,7 +30,7 @@ $wp_customize->add_section(
30
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
31
  'hide_show_typography',
32
  array(
33
- 'label' => esc_html__( 'Enable Typography', 'startkit' ),
34
  'section' => 'typography_setting',
35
  'settings' => 'hide_show_typography',
36
  'type' => 'ios', // light, ios, flat
@@ -49,7 +49,7 @@ $font_weight = array('normal'=>'normal', 'italic'=>'Italic','oblique'=>'oblique'
49
  $wp_customize->add_section(
50
  'Body_typography' ,
51
  array(
52
- 'title' => __('Body','startkit'),
53
  'panel' => 'startkit_typography_setting',
54
  'priority' => 2,
55
  ) );
@@ -76,7 +76,7 @@ $wp_customize->add_section(
76
  $wp_customize->add_setting(
77
  'body_font_size' ,
78
  array(
79
- 'default' => __( '16','startkit' ),
80
  'capability' => 'edit_theme_options',
81
  )
82
  );
@@ -86,7 +86,7 @@ $wp_customize->add_section(
86
  array(
87
  'section' => 'Body_typography',
88
  'settings' => 'body_font_size',
89
- 'label' => __( 'Font Size','startkit' ),
90
  'input_attrs' => array(
91
  'min' => 10,
92
  'max' => 40,
@@ -101,7 +101,7 @@ $wp_customize->add_section(
101
  $wp_customize->add_section(
102
  'paragraph_typography' ,
103
  array(
104
- 'title' => __('Paragraph','startkit'),
105
  'panel' => 'startkit_typography_setting',
106
  'priority' => 2,
107
  ) );
@@ -117,7 +117,7 @@ $wp_customize->add_section(
117
  );
118
  $wp_customize->add_control(
119
  'para_font_weight', array(
120
- 'label' => __('Font Style','startkit'),
121
  'section' => 'paragraph_typography',
122
  'setting' => 'para_font_weight',
123
  'choices'=>$font_weight,
@@ -129,7 +129,7 @@ $wp_customize->add_section(
129
  $wp_customize->add_setting(
130
  'paragraph_font_size' ,
131
  array(
132
- 'default' => __( '16','startkit' ),
133
  'capability' => 'edit_theme_options',
134
  )
135
  );
@@ -139,7 +139,7 @@ $wp_customize->add_section(
139
  array(
140
  'section' => 'paragraph_typography',
141
  'settings' => 'paragraph_font_size',
142
- 'label' => __( 'Font Size(px)','startkit' ),
143
  'input_attrs' => array(
144
  'min' => 1,
145
  'max' => 20,
@@ -153,7 +153,7 @@ $wp_customize->add_section(
153
  $wp_customize->add_setting(
154
  'paragraph_line_height' ,
155
  array(
156
- 'default' => __( '16','startkit' ),
157
  'capability' => 'edit_theme_options',
158
  )
159
  );
@@ -163,7 +163,7 @@ $wp_customize->add_section(
163
  array(
164
  'section' => 'paragraph_typography',
165
  'settings' => 'paragraph_line_height',
166
- 'label' => __( 'Line Height(px)','startkit' ),
167
  'input_attrs' => array(
168
  'min' => 1,
169
  'max' => 60,
@@ -178,7 +178,7 @@ $wp_customize->add_section(
178
  $wp_customize->add_section(
179
  'H1_typography' ,
180
  array(
181
- 'title' => __('H1','startkit'),
182
  'panel' => 'startkit_typography_setting',
183
  'priority' => 3,
184
  )
@@ -196,7 +196,7 @@ $wp_customize->add_section(
196
  );
197
  $wp_customize->add_control(
198
  'h1_font_weight', array(
199
- 'label' => __('Font Style','startkit'),
200
  'section' => 'H1_typography',
201
  'setting' => 'h1_font_weight',
202
  'choices'=>$font_weight,
@@ -218,7 +218,7 @@ $wp_customize->add_section(
218
  array(
219
  'section' => 'H1_typography',
220
  'settings' => 'h1_font_size',
221
- 'label' => __( 'Font Size(px)','startkit' ),
222
  'input_attrs' => array(
223
  'min' => 1,
224
  'max' => 45,
@@ -232,7 +232,7 @@ $wp_customize->add_section(
232
  $wp_customize->add_setting(
233
  'h1_line_height' ,
234
  array(
235
- 'default' => __( '46','startkit' ),
236
  'capability' => 'edit_theme_options',
237
  )
238
  );
@@ -242,7 +242,7 @@ $wp_customize->add_section(
242
  array(
243
  'section' => 'H1_typography',
244
  'settings' => 'h1_line_height',
245
- 'label' => __( 'Line Height(px)','startkit' ),
246
  'input_attrs' => array(
247
  'min' => 1,
248
  'max' => 70,
@@ -264,7 +264,7 @@ $wp_customize->add_section(
264
  $wp_customize->add_control(
265
  'h1_text_transform' ,
266
  array(
267
- 'label' => __( 'Text Transform', 'startkit' ),
268
  'section' => 'H1_typography',
269
  'settings' => 'h1_text_transform',
270
  'choices' => $font_transform,
@@ -276,7 +276,7 @@ $wp_customize->add_section(
276
  $wp_customize->add_section(
277
  'H2_typography' ,
278
  array(
279
- 'title' => __('H2','startkit'),
280
  'panel' => 'startkit_typography_setting',
281
  'priority' => 3,
282
  )
@@ -294,7 +294,7 @@ $wp_customize->add_section(
294
  );
295
  $wp_customize->add_control(
296
  'h2_font_weight', array(
297
- 'label' => __('Font Style','startkit'),
298
  'section' => 'H2_typography',
299
  'setting' => 'h2_font_weight',
300
  'choices'=>$font_weight,
@@ -306,7 +306,7 @@ $wp_customize->add_section(
306
  $wp_customize->add_setting(
307
  'h2_font_size' ,
308
  array(
309
- 'default' => __( '32','startkit' ),
310
  'capability' => 'edit_theme_options',
311
  )
312
  );
@@ -316,7 +316,7 @@ $wp_customize->add_section(
316
  array(
317
  'section' => 'H2_typography',
318
  'settings' => 'h2_font_size',
319
- 'label' => __( 'Font Size(px)','startkit' ),
320
  'input_attrs' => array(
321
  'min' => 1,
322
  'max' => 45,
@@ -340,7 +340,7 @@ $wp_customize->add_section(
340
  array(
341
  'section' => 'H2_typography',
342
  'settings' => 'h2_line_height',
343
- 'label' => __( 'Line Height(px)','startkit' ),
344
  'input_attrs' => array(
345
  'min' => 1,
346
  'max' => 70,
@@ -362,7 +362,7 @@ $wp_customize->add_section(
362
  $wp_customize->add_control(
363
  'h2_text_transform' ,
364
  array(
365
- 'label' => __( 'Text Transform', 'startkit' ),
366
  'section' => 'H2_typography',
367
  'settings' => 'h2_text_transform',
368
  'choices' => $font_transform,
@@ -375,7 +375,7 @@ $wp_customize->add_section(
375
  $wp_customize->add_section(
376
  'H3_typography' ,
377
  array(
378
- 'title' => __('H3','startkit'),
379
  'panel' => 'startkit_typography_setting',
380
  'priority' => 3,
381
  )
@@ -393,7 +393,7 @@ $wp_customize->add_section(
393
  );
394
  $wp_customize->add_control(
395
  'h3_font_weight', array(
396
- 'label' => __('Font Style','startkit'),
397
  'section' => 'H3_typography',
398
  'setting' => 'h3_font_weight',
399
  'choices'=>$font_weight,
@@ -415,7 +415,7 @@ $wp_customize->add_section(
415
  array(
416
  'section' => 'H3_typography',
417
  'settings' => 'h3_font_size',
418
- 'label' => __( 'Font Size(px)','startkit' ),
419
  'input_attrs' => array(
420
  'min' => 1,
421
  'max' => 35,
@@ -439,7 +439,7 @@ $wp_customize->add_section(
439
  array(
440
  'section' => 'H3_typography',
441
  'settings' => 'h3_line_height',
442
- 'label' => __( 'Line Height(px)','startkit' ),
443
  'input_attrs' => array(
444
  'min' => 1,
445
  'max' => 50,
@@ -461,7 +461,7 @@ $wp_customize->add_section(
461
  $wp_customize->add_control(
462
  'h3_text_transform' ,
463
  array(
464
- 'label' => __( 'Text Transform', 'startkit' ),
465
  'section' => 'H3_typography',
466
  'settings' => 'h3_text_transform',
467
  'choices' => $font_transform,
@@ -473,7 +473,7 @@ $wp_customize->add_section(
473
  $wp_customize->add_section(
474
  'H4_typography' ,
475
  array(
476
- 'title' => __('H4','startkit'),
477
  'panel' => 'startkit_typography_setting',
478
  'priority' => 3,
479
  )
@@ -491,7 +491,7 @@ $wp_customize->add_section(
491
  );
492
  $wp_customize->add_control(
493
  'h4_font_weight', array(
494
- 'label' => __('Font Style','startkit'),
495
  'section' => 'H4_typography',
496
  'setting' => 'h4_font_weight',
497
  'choices'=>$font_weight,
@@ -503,7 +503,7 @@ $wp_customize->add_section(
503
  $wp_customize->add_setting(
504
  'h4_font_size' ,
505
  array(
506
- 'default' => __( '24','startkit' ),
507
  'capability' => 'edit_theme_options',
508
  )
509
  );
@@ -513,7 +513,7 @@ $wp_customize->add_section(
513
  array(
514
  'section' => 'H4_typography',
515
  'settings' => 'h4_font_size',
516
- 'label' => __( 'Font Size(px)','startkit' ),
517
  'input_attrs' => array(
518
  'min' => 1,
519
  'max' => 28,
@@ -537,7 +537,7 @@ $wp_customize->add_section(
537
  array(
538
  'section' => 'H4_typography',
539
  'settings' => 'h4_line_height',
540
- 'label' => __( 'Line Height(px)','startkit' ),
541
  'input_attrs' => array(
542
  'min' => 1,
543
  'max' => 70,
@@ -559,7 +559,7 @@ $wp_customize->add_section(
559
  $wp_customize->add_control(
560
  'h4_text_transform' ,
561
  array(
562
- 'label' => __( 'Text Transform', 'startkit' ),
563
  'section' => 'H4_typography',
564
  'settings' => 'h4_text_transform',
565
  'choices' => $font_transform,
@@ -572,7 +572,7 @@ $wp_customize->add_section(
572
  $wp_customize->add_section(
573
  'H5_typography' ,
574
  array(
575
- 'title' => __('H5','startkit'),
576
  'panel' => 'startkit_typography_setting',
577
  'priority' => 3,
578
  )
@@ -590,7 +590,7 @@ $wp_customize->add_section(
590
  );
591
  $wp_customize->add_control(
592
  'h5_font_weight', array(
593
- 'label' => __('Font Style','startkit'),
594
  'section' => 'H5_typography',
595
  'setting' => 'h5_font_weight',
596
  'choices'=>$font_weight,
@@ -602,7 +602,7 @@ $wp_customize->add_section(
602
  $wp_customize->add_setting(
603
  'h5_font_size' ,
604
  array(
605
- 'default' => __( '20','startkit' ),
606
  'capability' => 'edit_theme_options',
607
  )
608
  );
@@ -612,7 +612,7 @@ $wp_customize->add_section(
612
  array(
613
  'section' => 'H5_typography',
614
  'settings' => 'h5_font_size',
615
- 'label' => __( 'Font Size(px)','startkit' ),
616
  'input_attrs' => array(
617
  'min' => 1,
618
  'max' => 25,
@@ -636,7 +636,7 @@ $wp_customize->add_section(
636
  array(
637
  'section' => 'H5_typography',
638
  'settings' => 'h5_line_height',
639
- 'label' => __( 'Line Height(px)','startkit' ),
640
  'input_attrs' => array(
641
  'min' => 1,
642
  'max' => 70,
@@ -658,7 +658,7 @@ $wp_customize->add_section(
658
  $wp_customize->add_control(
659
  'h5_text_transform' ,
660
  array(
661
- 'label' => __( 'Text Transform', 'startkit' ),
662
  'section' => 'H5_typography',
663
  'settings' => 'h5_text_transform',
664
  'choices' => $font_transform,
@@ -671,7 +671,7 @@ $wp_customize->add_section(
671
  $wp_customize->add_section(
672
  'H6_typography' ,
673
  array(
674
- 'title' => __('H6','startkit'),
675
  'panel' => 'startkit_typography_setting',
676
  'priority' => 3,
677
  )
@@ -689,7 +689,7 @@ $wp_customize->add_section(
689
  );
690
  $wp_customize->add_control(
691
  'h6_font_weight', array(
692
- 'label' => __('Font Style','startkit'),
693
  'section' => 'H6_typography',
694
  'setting' => 'h6_font_weight',
695
  'choices'=>$font_weight,
@@ -701,7 +701,7 @@ $wp_customize->add_section(
701
  $wp_customize->add_setting(
702
  'h6_font_size' ,
703
  array(
704
- 'default' => __( '16','startkit' ),
705
  'capability' => 'edit_theme_options',
706
  )
707
  );
@@ -711,7 +711,7 @@ $wp_customize->add_section(
711
  array(
712
  'section' => 'H6_typography',
713
  'settings' => 'h6_font_size',
714
- 'label' => __( 'Font Size(px)','startkit' ),
715
  'input_attrs' => array(
716
  'min' => 1,
717
  'max' => 25,
@@ -735,7 +735,7 @@ $wp_customize->add_section(
735
  array(
736
  'section' => 'H6_typography',
737
  'settings' => 'h6_line_height',
738
- 'label' => __( 'Line Height(px)','startkit' ),
739
  'input_attrs' => array(
740
  'min' => 1,
741
  'max' => 70,
@@ -757,7 +757,7 @@ $wp_customize->add_section(
757
  $wp_customize->add_control(
758
  'h6_text_transform' ,
759
  array(
760
- 'label' => __( 'Text Transform', 'startkit' ),
761
  'section' => 'H6_typography',
762
  'settings' => 'h6_text_transform',
763
  'choices' => $font_transform,
@@ -770,7 +770,7 @@ $wp_customize->add_section(
770
  $wp_customize->add_section(
771
  'menu_typography' ,
772
  array(
773
- 'title' => __('Menus','startkit'),
774
  'panel' => 'startkit_typography_setting',
775
  'priority' => 2,
776
  ) );
@@ -787,7 +787,7 @@ $wp_customize->add_section(
787
  $wp_customize->add_control(
788
  'menu_font_weight',
789
  array(
790
- 'label' => __('Font Style','startkit'),
791
  'section' => 'menu_typography',
792
  'setting' => 'menu_font_weight',
793
  'choices'=>$font_weight,
@@ -799,7 +799,7 @@ $wp_customize->add_section(
799
  $wp_customize->add_setting(
800
  'menu_font_size' ,
801
  array(
802
- 'default' => __('15','startkit'),
803
  'capability' => 'edit_theme_options',
804
 
805
  )
@@ -810,7 +810,7 @@ $wp_customize->add_section(
810
  array(
811
  'section' => 'menu_typography',
812
  'settings' => 'menu_font_size',
813
- 'label' => __( 'Font Size(px)','startkit' ),
814
  'input_attrs' => array(
815
  'min' => 1,
816
  'max' => 20,
@@ -833,7 +833,7 @@ $wp_customize->add_section(
833
  $wp_customize->add_control(
834
  'menu_text_transform' ,
835
  array(
836
- 'label' => __( 'Text Transform', 'startkit' ),
837
  'section' => 'menu_typography',
838
  'settings' => 'menu_text_transform',
839
  'choices' => $font_transform,
@@ -845,7 +845,7 @@ $wp_customize->add_section(
845
  $wp_customize->add_section(
846
  'section_typography' ,
847
  array(
848
- 'title' => __('Sections','startkit'),
849
  'panel' => 'startkit_typography_setting',
850
  'priority' => 2,
851
  ) );
@@ -863,7 +863,7 @@ $wp_customize->add_section(
863
  $wp_customize->add_control(
864
  'section_tit_font_weight',
865
  array(
866
- 'label' => __(' Title Font Style','startkit'),
867
  'section' => 'section_typography',
868
  'setting' => 'section_tit_font_weight',
869
  'choices'=>$font_weight,
@@ -886,7 +886,7 @@ $wp_customize->add_section(
886
  array(
887
  'section' => 'section_typography',
888
  'settings' => 'section_tit_font_size',
889
- 'label' => __( 'Title Font Size(px)','startkit' ),
890
  'input_attrs' => array(
891
  'min' => 1,
892
  'max' => 50,
@@ -908,7 +908,7 @@ $wp_customize->add_section(
908
  $wp_customize->add_control(
909
  'section_des_font_weight',
910
  array(
911
- 'label' => __('Description Font Style','startkit'),
912
  'section' => 'section_typography',
913
  'setting' => 'section_des_font_weight',
914
  'choices'=>$font_weight,
@@ -920,7 +920,7 @@ $wp_customize->add_section(
920
  $wp_customize->add_setting(
921
  'section_desc_font_size' ,
922
  array(
923
- 'default' => __( '16','startkit' ),
924
  'capability' => 'edit_theme_options',
925
 
926
  )
@@ -931,7 +931,7 @@ $wp_customize->add_section(
931
  array(
932
  'section' => 'section_typography',
933
  'settings' => 'section_desc_font_size',
934
- 'label' => __( 'Description Font Size(px)','startkit' ),
935
  'input_attrs' => array(
936
  'min' => 1,
937
  'max' => 50,
@@ -943,5 +943,4 @@ $wp_customize->add_section(
943
 
944
  }
945
  add_action( 'customize_register', 'startkit_typography_customizer' );
946
- endif;
947
- ?>
4
  $wp_customize->add_panel( 'startkit_typography_setting', array(
5
  'priority' => 25,
6
  'capability' => 'edit_theme_options',
7
+ 'title' => __('Typography','clever-fox'),
8
  ) );
9
 
10
 
14
  $wp_customize->add_section(
15
  'typography_setting' ,
16
  array(
17
+ 'title' => __('Settings','clever-fox'),
18
  'panel' => 'startkit_typography_setting',
19
  'priority' => 1,
20
  ) );
30
  $wp_customize->add_control( new Startkit_Customizer_Toggle_Control( $wp_customize,
31
  'hide_show_typography',
32
  array(
33
+ 'label' => esc_html__( 'Enable Typography', 'clever-fox' ),
34
  'section' => 'typography_setting',
35
  'settings' => 'hide_show_typography',
36
  'type' => 'ios', // light, ios, flat
49
  $wp_customize->add_section(
50
  'Body_typography' ,
51
  array(
52
+ 'title' => __('Body','clever-fox'),
53
  'panel' => 'startkit_typography_setting',
54
  'priority' => 2,
55
  ) );
76
  $wp_customize->add_setting(
77
  'body_font_size' ,
78
  array(
79
+ 'default' => __( '16','clever-fox' ),
80
  'capability' => 'edit_theme_options',
81
  )
82
  );
86
  array(
87
  'section' => 'Body_typography',
88
  'settings' => 'body_font_size',
89
+ 'label' => __( 'Font Size','clever-fox' ),
90
  'input_attrs' => array(
91
  'min' => 10,
92
  'max' => 40,
101
  $wp_customize->add_section(
102
  'paragraph_typography' ,
103
  array(
104
+ 'title' => __('Paragraph','clever-fox'),
105
  'panel' => 'startkit_typography_setting',
106
  'priority' => 2,
107
  ) );
117
  );
118
  $wp_customize->add_control(
119
  'para_font_weight', array(
120
+ 'label' => __('Font Style','clever-fox'),
121
  'section' => 'paragraph_typography',
122
  'setting' => 'para_font_weight',
123
  'choices'=>$font_weight,
129
  $wp_customize->add_setting(
130
  'paragraph_font_size' ,
131
  array(
132
+ 'default' => __( '16','clever-fox' ),
133
  'capability' => 'edit_theme_options',
134
  )
135
  );
139
  array(
140
  'section' => 'paragraph_typography',
141
  'settings' => 'paragraph_font_size',
142
+ 'label' => __( 'Font Size(px)','clever-fox' ),
143
  'input_attrs' => array(
144
  'min' => 1,
145
  'max' => 20,
153
  $wp_customize->add_setting(
154
  'paragraph_line_height' ,
155
  array(
156
+ 'default' => __( '16','clever-fox' ),
157
  'capability' => 'edit_theme_options',
158
  )
159
  );
163
  array(
164
  'section' => 'paragraph_typography',
165
  'settings' => 'paragraph_line_height',
166
+ 'label' => __( 'Line Height(px)','clever-fox' ),
167
  'input_attrs' => array(
168
  'min' => 1,
169
  'max' => 60,
178
  $wp_customize->add_section(
179
  'H1_typography' ,
180
  array(
181
+ 'title' => __('H1','clever-fox'),
182
  'panel' => 'startkit_typography_setting',
183
  'priority' => 3,
184
  )
196
  );
197
  $wp_customize->add_control(
198
  'h1_font_weight', array(
199
+ 'label' => __('Font Style','clever-fox'),
200
  'section' => 'H1_typography',
201
  'setting' => 'h1_font_weight',
202
  'choices'=>$font_weight,
218
  array(
219
  'section' => 'H1_typography',
220
  'settings' => 'h1_font_size',
221
+ 'label' => __( 'Font Size(px)','clever-fox' ),
222
  'input_attrs' => array(
223
  'min' => 1,
224
  'max' => 45,
232
  $wp_customize->add_setting(
233
  'h1_line_height' ,
234
  array(
235
+ 'default' => __( '46','clever-fox' ),
236
  'capability' => 'edit_theme_options',
237
  )
238
  );
242
  array(
243
  'section' => 'H1_typography',
244
  'settings' => 'h1_line_height',
245
+ 'label' => __( 'Line Height(px)','clever-fox' ),
246
  'input_attrs' => array(
247
  'min' => 1,
248
  'max' => 70,
264
  $wp_customize->add_control(
265
  'h1_text_transform' ,
266
  array(
267
+ 'label' => __( 'Text Transform', 'clever-fox' ),
268
  'section' => 'H1_typography',
269
  'settings' => 'h1_text_transform',
270
  'choices' => $font_transform,
276
  $wp_customize->add_section(
277
  'H2_typography' ,
278
  array(
279
+ 'title' => __('H2','clever-fox'),
280
  'panel' => 'startkit_typography_setting',
281
  'priority' => 3,
282
  )
294
  );
295
  $wp_customize->add_control(
296
  'h2_font_weight', array(
297
+ 'label' => __('Font Style','clever-fox'),
298
  'section' => 'H2_typography',
299
  'setting' => 'h2_font_weight',
300
  'choices'=>$font_weight,
306
  $wp_customize->add_setting(
307
  'h2_font_size' ,
308
  array(
309
+ 'default' => __( '32','clever-fox' ),
310
  'capability' => 'edit_theme_options',
311
  )
312
  );
316
  array(
317
  'section' => 'H2_typography',
318
  'settings' => 'h2_font_size',
319
+ 'label' => __( 'Font Size(px)','clever-fox' ),
320
  'input_attrs' => array(
321
  'min' => 1,
322
  'max' => 45,
340
  array(
341
  'section' => 'H2_typography',
342
  'settings' => 'h2_line_height',
343
+ 'label' => __( 'Line Height(px)','clever-fox' ),
344
  'input_attrs' => array(
345
  'min' => 1,
346
  'max' => 70,
362
  $wp_customize->add_control(
363
  'h2_text_transform' ,
364
  array(
365
+ 'label' => __( 'Text Transform', 'clever-fox' ),
366
  'section' => 'H2_typography',
367
  'settings' => 'h2_text_transform',
368
  'choices' => $font_transform,
375
  $wp_customize->add_section(
376
  'H3_typography' ,
377
  array(
378
+ 'title' => __('H3','clever-fox'),
379
  'panel' => 'startkit_typography_setting',
380
  'priority' => 3,
381
  )
393
  );
394
  $wp_customize->add_control(
395
  'h3_font_weight', array(
396
+ 'label' => __('Font Style','clever-fox'),
397
  'section' => 'H3_typography',
398
  'setting' => 'h3_font_weight',
399
  'choices'=>$font_weight,
415
  array(
416
  'section' => 'H3_typography',
417
  'settings' => 'h3_font_size',
418
+ 'label' => __( 'Font Size(px)','clever-fox' ),
419
  'input_attrs' => array(
420
  'min' => 1,
421
  'max' => 35,
439
  array(
440
  'section' => 'H3_typography',
441
  'settings' => 'h3_line_height',
442
+ 'label' => __( 'Line Height(px)','clever-fox' ),
443
  'input_attrs' => array(
444
  'min' => 1,
445
  'max' => 50,
461
  $wp_customize->add_control(
462
  'h3_text_transform' ,
463
  array(
464
+ 'label' => __( 'Text Transform', 'clever-fox' ),
465
  'section' => 'H3_typography',
466
  'settings' => 'h3_text_transform',
467
  'choices' => $font_transform,
473
  $wp_customize->add_section(
474
  'H4_typography' ,
475
  array(
476
+ 'title' => __('H4','clever-fox'),
477
  'panel' => 'startkit_typography_setting',
478
  'priority' => 3,
479
  )
491
  );
492
  $wp_customize->add_control(
493
  'h4_font_weight', array(
494
+ 'label' => __('Font Style','clever-fox'),
495
  'section' => 'H4_typography',
496
  'setting' => 'h4_font_weight',
497
  'choices'=>$font_weight,
503
  $wp_customize->add_setting(
504
  'h4_font_size' ,
505
  array(
506
+ 'default' => __( '24','clever-fox' ),
507
  'capability' => 'edit_theme_options',
508
  )
509
  );
513
  array(
514
  'section' => 'H4_typography',
515
  'settings' => 'h4_font_size',
516
+ 'label' => __( 'Font Size(px)','clever-fox' ),
517
  'input_attrs' => array(
518
  'min' => 1,
519
  'max' => 28,
537
  array(
538
  'section' => 'H4_typography',
539
  'settings' => 'h4_line_height',
540
+ 'label' => __( 'Line Height(px)','clever-fox' ),
541
  'input_attrs' => array(
542
  'min' => 1,
543
  'max' => 70,
559
  $wp_customize->add_control(
560
  'h4_text_transform' ,
561
  array(
562
+ 'label' => __( 'Text Transform', 'clever-fox' ),
563
  'section' => 'H4_typography',
564
  'settings' => 'h4_text_transform',
565
  'choices' => $font_transform,
572
  $wp_customize->add_section(
573
  'H5_typography' ,
574
  array(
575
+ 'title' => __('H5','clever-fox'),
576
  'panel' => 'startkit_typography_setting',
577
  'priority' => 3,
578
  )
590
  );
591
  $wp_customize->add_control(
592
  'h5_font_weight', array(
593
+ 'label' => __('Font Style','clever-fox'),
594
  'section' => 'H5_typography',
595
  'setting' => 'h5_font_weight',
596
  'choices'=>$font_weight,
602
  $wp_customize->add_setting(
603
  'h5_font_size' ,
604
  array(
605
+ 'default' => __( '20','clever-fox' ),
606
  'capability' => 'edit_theme_options',
607
  )
608
  );
612
  array(
613
  'section' => 'H5_typography',
614
  'settings' => 'h5_font_size',
615
+ 'label' => __( 'Font Size(px)','clever-fox' ),
616
  'input_attrs' => array(
617
  'min' => 1,
618
  'max' => 25,
636
  array(
637
  'section' => 'H5_typography',
638
  'settings' => 'h5_line_height',
639
+ 'label' => __( 'Line Height(px)','clever-fox' ),
640
  'input_attrs' => array(
641
  'min' => 1,
642
  'max' => 70,
658
  $wp_customize->add_control(
659
  'h5_text_transform' ,
660
  array(
661
+ 'label' => __( 'Text Transform', 'clever-fox' ),
662
  'section' => 'H5_typography',
663
  'settings' => 'h5_text_transform',
664
  'choices' => $font_transform,
671
  $wp_customize->add_section(
672
  'H6_typography' ,
673
  array(
674
+ 'title' => __('H6','clever-fox'),
675
  'panel' => 'startkit_typography_setting',
676
  'priority' => 3,
677
  )
689
  );
690
  $wp_customize->add_control(
691
  'h6_font_weight', array(
692
+ 'label' => __('Font Style','clever-fox'),
693
  'section' => 'H6_typography',
694
  'setting' => 'h6_font_weight',
695
  'choices'=>$font_weight,
701
  $wp_customize->add_setting(
702
  'h6_font_size' ,
703
  array(
704
+ 'default' => __( '16','clever-fox' ),
705
  'capability' => 'edit_theme_options',
706
  )
707
  );
711
  array(
712
  'section' => 'H6_typography',
713
  'settings' => 'h6_font_size',
714
+ 'label' => __( 'Font Size(px)','clever-fox' ),
715
  'input_attrs' => array(
716
  'min' => 1,
717
  'max' => 25,
735
  array(
736
  'section' => 'H6_typography',
737
  'settings' => 'h6_line_height',
738
+ 'label' => __( 'Line Height(px)','clever-fox' ),
739
  'input_attrs' => array(
740
  'min' => 1,
741
  'max' => 70,
757
  $wp_customize->add_control(
758
  'h6_text_transform' ,
759
  array(
760
+ 'label' => __( 'Text Transform', 'clever-fox' ),
761
  'section' => 'H6_typography',
762
  'settings' => 'h6_text_transform',
763
  'choices' => $font_transform,
770
  $wp_customize->add_section(
771
  'menu_typography' ,
772
  array(
773
+ 'title' => __('Menus','clever-fox'),
774
  'panel' => 'startkit_typography_setting',
775
  'priority' => 2,
776
  ) );
787
  $wp_customize->add_control(
788
  'menu_font_weight',
789
  array(
790
+ 'label' => __('Font Style','clever-fox'),
791
  'section' => 'menu_typography',
792
  'setting' => 'menu_font_weight',
793
  'choices'=>$font_weight,
799
  $wp_customize->add_setting(
800
  'menu_font_size' ,
801
  array(
802
+ 'default' => __('15','clever-fox'),
803
  'capability' => 'edit_theme_options',
804
 
805
  )
810
  array(
811
  'section' => 'menu_typography',
812
  'settings' => 'menu_font_size',
813
+ 'label' => __( 'Font Size(px)','clever-fox' ),
814
  'input_attrs' => array(
815
  'min' => 1,
816
  'max' => 20,
833
  $wp_customize->add_control(
834
  'menu_text_transform' ,
835
  array(
836
+ 'label' => __( 'Text Transform', 'clever-fox' ),
837
  'section' => 'menu_typography',
838
  'settings' => 'menu_text_transform',
839
  'choices' => $font_transform,
845
  $wp_customize->add_section(
846
  'section_typography' ,
847
  array(
848
+ 'title' => __('Sections','clever-fox'),
849
  'panel' => 'startkit_typography_setting',
850
  'priority' => 2,
851
  ) );
863
  $wp_customize->add_control(
864
  'section_tit_font_weight',
865
  array(
866
+ 'label' => __(' Title Font Style','clever-fox'),
867
  'section' => 'section_typography',
868
  'setting' => 'section_tit_font_weight',
869
  'choices'=>$font_weight,
886
  array(
887
  'section' => 'section_typography',
888
  'settings' => 'section_tit_font_size',
889
+ 'label' => __( 'Title Font Size(px)','clever-fox' ),
890
  'input_attrs' => array(
891
  'min' => 1,
892
  'max' => 50,
908
  $wp_customize->add_control(
909
  'section_des_font_weight',
910
  array(
911
+ 'label' => __('Description Font Style','clever-fox'),
912
  'section' => 'section_typography',
913
  'setting' => 'section_des_font_weight',
914
  'choices'=>$font_weight,
920
  $wp_customize->add_setting(
921
  'section_desc_font_size' ,
922
  array(
923
+ 'default' => __( '16','clever-fox' ),
924
  'capability' => 'edit_theme_options',
925
 
926
  )
931
  array(
932
  'section' => 'section_typography',
933
  'settings' => 'section_desc_font_size',
934
+ 'label' => __( 'Description Font Size(px)','clever-fox' ),
935
  'input_attrs' => array(
936
  'min' => 1,
937
  'max' => 50,
943
 
944
  }
945
  add_action( 'customize_register', 'startkit_typography_customizer' );
946
+ endif;
 
inc/startkit/images/info/info-01.jpg ADDED
Binary file
inc/startkit/images/info/info-02.jpg ADDED
Binary file
inc/startkit/images/info/info-03.jpg ADDED
Binary file
inc/startkit/images/service.jpg ADDED
Binary file
inc/startkit/images/slider/slider01.jpg ADDED
Binary file
inc/startkit/images/slider/slider02.jpg CHANGED
Binary file
inc/startkit/images/slider/slider03.jpg ADDED
Binary file
inc/startkit/sections/section-flash.php CHANGED
@@ -19,37 +19,49 @@ if ( ! function_exists( 'startkit_info_plu' ) ) :
19
  <section id="features-list">
20
  <div class="container">
21
  <div class="row">
22
- <div class="col-md-12 mb-lg-0 mb-3">
23
- <div class="d-flex flex-lg-nowrap flex-wrap justify-content-lg-start justify-content-center">
24
- <div class="features-list-item features-touch first wow fadeInUp" data-wow-delay="0.1s">
25
  <span class="icon"><i class="fa <?php echo esc_attr( $info_icons ); ?>"></i></span>
 
 
26
  <h4><?php echo esc_html( $info_title ); ?></h4>
27
  <p class="small"><?php echo wp_kses_post( $info_description ); ?></p>
 
28
  </div>
29
- <div class="features-list-item features-touch second wow fadeInUp" data-wow-delay="0.2s">
 
 
 
 
30
  <span class="icon"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i></span>
 
 
31
  <h4><?php echo esc_html( $info_title2 ); ?></h4>
32
  <p class="small"><?php echo wp_kses_post( $info_description2 ); ?></p>
 
33
  </div>
34
- <div class="features-list-item features-touch third wow fadeInUp" data-wow-delay="0.3s">
 
 
 
 
35
  <span class="icon"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i></span>
 
 
36
  <h4><?php echo esc_html( $info_title3 ); ?></h4>
37
  <p class="small"><?php echo wp_kses_post( $info_description3 ); ?></p>
 
38
  </div>
39
  </div>
40
- </div>
41
  </div>
42
  </div>
43
  </section>
44
  <?php }
45
  }
46
-
47
  endif;
48
-
49
-
50
  if ( function_exists( 'startkit_info_plu' ) ) {
51
  $section_priority = apply_filters( 'startkit_section_priority', 12, 'startkit_info_plu' );
52
  add_action( 'startkit_sections', 'startkit_info_plu', absint( $section_priority ) );
53
-
54
  }
55
- ?>
19
  <section id="features-list">
20
  <div class="container">
21
  <div class="row">
22
+ <div class="col-md-4 mb-lg-0 mb-5">
23
+ <div class="features-list-item first wow fadeInUp" data-wow-delay="0.1s">
24
+ <div class="features-icon">
25
  <span class="icon"><i class="fa <?php echo esc_attr( $info_icons ); ?>"></i></span>
26
+ </div>
27
+ <div class="features-content">
28
  <h4><?php echo esc_html( $info_title ); ?></h4>
29
  <p class="small"><?php echo wp_kses_post( $info_description ); ?></p>
30
+ <!--a href="#" class="view-more">Read More</a-->
31
  </div>
32
+ </div>
33
+ </div>
34
+ <div class="col-md-4 mb-lg-0 mb-5">
35
+ <div class="features-list-item first wow fadeInUp" data-wow-delay="0.1s">
36
+ <div class="features-icon">
37
  <span class="icon"><i class="fa <?php echo esc_attr( $info_icons2 ); ?>"></i></span>
38
+ </div>
39
+ <div class="features-content">
40
  <h4><?php echo esc_html( $info_title2 ); ?></h4>
41
  <p class="small"><?php echo wp_kses_post( $info_description2 ); ?></p>
42
+ <!--a href="#" class="view-more">Read More</a-->
43
  </div>
44
+ </div>
45
+ </div>
46
+ <div class="col-md-4 mb-lg-0 mb-5">
47
+ <div class="features-list-item first wow fadeInUp" data-wow-delay="0.1s">
48
+ <div class="features-icon">
49
  <span class="icon"><i class="fa <?php echo esc_attr( $info_icons3 ); ?>"></i></span>
50
+ </div>
51
+ <div class="features-content">
52
  <h4><?php echo esc_html( $info_title3 ); ?></h4>
53
  <p class="small"><?php echo wp_kses_post( $info_description3 ); ?></p>
54
+ <!--a href="#" class="view-more">Read More</a-->
55
  </div>
56
  </div>
57
+ </div>
58
  </div>
59
  </div>
60
  </section>
61
  <?php }
62
  }
 
63
  endif;
 
 
64
  if ( function_exists( 'startkit_info_plu' ) ) {
65
  $section_priority = apply_filters( 'startkit_section_priority', 12, 'startkit_info_plu' );
66
  add_action( 'startkit_sections', 'startkit_info_plu', absint( $section_priority ) );
 
67
  }
 
inc/startkit/sections/section-service.php CHANGED
@@ -6,72 +6,32 @@
6
  * @access public
7
  */
8
  if ( ! function_exists( 'startkit_service_plu' ) ) :
9
-
10
  function startkit_service_plu() {
11
-
12
- function startkit_get_service_default() {
13
- return apply_filters(
14
- 'startkit_get_service_default', json_encode(
15
- array(
16
- array(
17
- 'title' => esc_html__( 'Idea Provide', 'startkit' ),
18
- 'text' => esc_html__( 'Idea is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit..', 'startkit' ),
19
- 'icon_value' => esc_html__( 'fa-lightbulb-o', 'startkit' ),
20
- 'id' => 'customizer_repeater_service_001',
21
-
22
- ),
23
- array(
24
- 'title' => esc_html__( 'People Research', 'startkit' ),
25
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
26
- 'icon_value' => esc_html__( 'fa-users', 'startkit' ),
27
- 'id' => 'customizer_repeater_service_002',
28
-
29
- ),
30
- array(
31
- 'title' => esc_html__( 'Business Develop', 'startkit' ),
32
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
33
- 'icon_value' => esc_html__( 'fa-briefcase', 'startkit' ),
34
- 'id' => 'customizer_repeater_service_003',
35
-
36
- ),
37
- array(
38
- 'title' => esc_html__( 'Marketing', 'startkit' ),
39
- 'text' => esc_html__( 'People is the ipsum consecte tempor incididuntan andolore tumber tur adipisicing elit.', 'startkit' ),
40
- 'icon_value' => esc_html__( 'fa-user-md', 'startkit' ),
41
- 'id' => 'customizer_repeater_service_004',
42
-
43
- ),
44
- )
45
- )
46
- );
47
- }
48
-
49
- ?>
50
- <?php
51
- $default_content = startkit_get_service_default();
52
- $hide_show_service = get_theme_mod('hide_show_service','1');
53
- $service_title = get_theme_mod('service_title','Services');
54
- $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
55
- $service_contents = get_theme_mod('service_contents',$default_content);
56
  ?>
57
  <?php if($hide_show_service == '1') {?>
58
  <section id="services" class="section-padding">
59
  <div class="container">
60
  <?php
61
- if( ($service_title) || ($service_description)!='' ) { ?>
62
  <!-- Section Title -->
63
-
64
  <div class="row">
65
  <div class="col-md-6 offset-md-3 text-center">
66
  <div class="section-header">
 
 
 
67
  <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
68
  <h2>
69
  <?php echo esc_html($service_title); ?>
70
  </h2>
71
  <?php endif; ?>
72
-
73
- <?php if($service_description) {?>
74
-
75
  <p class="wow fadeInUp" data-wow-delay="0.1s">
76
  <?php echo esc_html($service_description); ?>
77
  </p>
@@ -93,24 +53,48 @@
93
  'i' => array(),
94
  );
95
  $service_contents = json_decode( $service_contents );
96
- foreach ( $service_contents as $service_item ) {
97
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
98
  $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
99
  $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
 
 
 
100
  ?>
101
- <div class="col-lg-3 col-md-6 col-sm-6 col-12 mb-lg-0 mb-4 ">
102
- <div class="services-item wow fadeInUp" data-wow-delay="0.4s">
103
- <div class="service-icon">
 
 
 
 
 
104
  <?php if ( ! empty( $icon ) ) :?>
105
- <i class="fa <?php echo esc_html( $icon ); ?> txt-pink"></i>
 
 
 
106
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  </div>
108
- <?php if ( ! empty( $title ) ) : ?>
109
- <h4><?php echo esc_html( $title ); ?></h4>
110
- <?php endif; ?>
111
- <?php if ( ! empty( $text ) ) : ?>
112
- <p><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
113
- <?php endif; ?>
114
  </div>
115
  </div>
116
  <?php
@@ -128,6 +112,4 @@ endif;
128
  if ( function_exists( 'startkit_service_plu' ) ) {
129
  $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
130
  add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
131
-
132
  }
133
- ?>
6
  * @access public
7
  */
8
  if ( ! function_exists( 'startkit_service_plu' ) ) :
 
9
  function startkit_service_plu() {
10
+ $hide_show_service = get_theme_mod('hide_show_service','1');
11
+ $service_title = get_theme_mod('service_title','Services');
12
+ $service_subttl = get_theme_mod('service_subttl','<span>Service</span> <h6>Lorem is dummy text.</h6>');
13
+ $service_description= get_theme_mod('service_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
14
+ $service_contents = get_theme_mod('service_contents',startkit_get_service_default());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ?>
16
  <?php if($hide_show_service == '1') {?>
17
  <section id="services" class="section-padding">
18
  <div class="container">
19
  <?php
20
+ if( ($service_title) || ($service_subttl)!='' || ($service_description)!='' ) { ?>
21
  <!-- Section Title -->
 
22
  <div class="row">
23
  <div class="col-md-6 offset-md-3 text-center">
24
  <div class="section-header">
25
+ <?php if ( ! empty( $service_subttl ) ) : ?>
26
+ <div class="subtitle"><?php echo wp_kses_post( $service_subttl ); ?></div>
27
+ <?php endif; ?>
28
  <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
29
  <h2>
30
  <?php echo esc_html($service_title); ?>
31
  </h2>
32
  <?php endif; ?>
33
+ <hr class="liner">
34
+ <?php if($service_description) {?>
 
35
  <p class="wow fadeInUp" data-wow-delay="0.1s">
36
  <?php echo esc_html($service_description); ?>
37
  </p>
53
  'i' => array(),
54
  );
55
  $service_contents = json_decode( $service_contents );
56
+ foreach ( $service_contents as $i => $service_item ) {
57
  $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $service_item->icon_value, 'service section' ) : '';
58
  $title = ! empty( $service_item->title ) ? apply_filters( 'startkit_translate_single_string', $service_item->title, 'service section' ) : '';
59
  $text = ! empty( $service_item->text ) ? apply_filters( 'startkit_translate_single_string', $service_item->text, 'service section' ) : '';
60
+ $text2 = ! empty( $service_item->text2) ? apply_filters( 'startkit_translate_single_string', $service_item->text2,'service section' ) : '';
61
+ $link = ! empty( $service_item->link ) ? apply_filters( 'startkit_translate_single_string', $service_item->link, 'service section' ) : '';
62
+ $image = ! empty( $service_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $service_item->image_url, 'service section' ) : '';
63
  ?>
64
+ <div class="col-lg-4 col-md-6 col-sm-6 col-12 mb-lg-0 mb-5 ">
65
+ <div class="features-eight wow fadeInUp" data-wow-delay="0.4s">
66
+ <?php if(!empty($image)){?>
67
+ <div class="features-image">
68
+ <img class="image" src="<?php echo esc_url($image); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
69
+ </div>
70
+ <?php } ?>
71
+ <div class="features-contented">
72
  <?php if ( ! empty( $icon ) ) :?>
73
+ <div class="icon">
74
+ <i class="fa <?php echo esc_attr( $icon ); ?> txt-pink"></i>
75
+ <span class="count">0<?php echo esc_html( $i + 1 ); ?></span>
76
+ </div>
77
  <?php endif; ?>
78
+ <div class="featured-text">
79
+ <?php if ( ! empty( $title ) ) : ?>
80
+ <h5>
81
+ <?php if ( ! empty( $link ) ) : ?>
82
+ <a href="<?php echo esc_url( $link ); ?>"><?php echo esc_html( $title ); ?></a>
83
+ <?php else : ?>
84
+ <?php echo esc_html( $title ); ?>
85
+ <?php endif; ?>
86
+ </h5>
87
+ <?php endif; ?>
88
+ <?php if ( ! empty( $text ) ) : ?>
89
+ <p class="features-desc"><?php echo wp_kses( html_entity_decode( $text ), $allowed_html ); ?></p>
90
+ <?php endif; ?>
91
+ <?php //if ( ! empty( $link ) ) : ?>
92
+ <a href="<?php echo esc_url( $link ); ?>" class="view-more">
93
+ <span><?php echo esc_html( $text2 ); ?></span>
94
+ </a>
95
+ <?php //endif; ?>
96
+ </div>
97
  </div>
 
 
 
 
 
 
98
  </div>
99
  </div>
100
  <?php
112
  if ( function_exists( 'startkit_service_plu' ) ) {
113
  $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_service_plu' );
114
  add_action( 'startkit_sections', 'startkit_service_plu', absint( $section_priority ) );
 
115
  }
 
inc/startkit/sections/section-slider.php CHANGED
@@ -3,82 +3,90 @@
3
  * Slider section for the homepage.
4
  */
5
  if ( ! function_exists( 'start_startkit_slider' ) ) :
6
-
7
  function start_startkit_slider() {
8
 
9
- function startkit_get_slider_default() {
10
- return apply_filters(
11
- 'startkit_get_slider_default', json_encode(
12
- array(
13
- array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/slider/slider02.jpg',
14
- "link" => "#",
15
- "title" => "Strengths of Successful Businesses",
16
- "text" => "Randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anembarrassing hidden in the middle of text.",
17
- "text2" => "Explore More",
18
- "id" => "customizer_repeater_00071" ),
19
- )
20
- )
21
- );
22
- }
23
- $default_content = startkit_get_slider_default();
24
- $slider = get_theme_mod('slider',$default_content);
25
- $slider_opacity = get_theme_mod('slider_opacity','0.3');
26
- $hide_show_slider = get_theme_mod('hide_show_slider','1');
27
-
28
- if($hide_show_slider == '1') {
29
- ?>
30
- <div class="row" id="lite-slite">
31
- <div class="col-md-12">
32
- <div class="header-slider">
33
- <?php
34
- if ( ! empty( $slider ) ) {
35
- $allowed_html = array(
36
- 'br' => array(),
37
- 'em' => array(),
38
- 'strong' => array(),
39
- 'b' => array(),
40
- 'i' => array(),
41
- );
42
- $slider = json_decode( $slider );
43
- foreach ( $slider as $slide_item ) {
44
- $title = ! empty( $slide_item->title ) ? apply_filters( 'startkit_translate_single_string', $slide_item->title, 'slider section' ) : '';
45
- $text = ! empty( $slide_item->text ) ? apply_filters( 'startkit_translate_single_string', $slide_item->text, 'slider section' ) : '';
46
- $button = ! empty( $slide_item->text2) ? apply_filters( 'startkit_translate_single_string', $slide_item->text2,'slider section' ) : '';
47
- $link = ! empty( $slide_item->link ) ? apply_filters( 'startkit_translate_single_string', $slide_item->link, 'slider section' ) : '';
48
- $image = ! empty( $slide_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
49
- ?>
50
- <div class="header-single-slider">
51
- <figure>
52
- <?php if ( ! empty( $image ) ) : ?>
53
- <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
54
- <?php endif; ?>
55
- <div class="content" style="background: rgba(35, 48, 73,<?php echo $slider_opacity; ?>);">
56
- <div class="slide-table">
57
- <div class="slide-table-cell">
58
- <div class="container">
59
- <div class="slide-content slide-left" >
60
- <?php if ( ! empty( $title ) ) : ?>
61
- <h1 class="fadeInLeft delay-1 animated"><?php echo esc_html( $title ); ?></h1>
62
- <?php endif; ?>
63
- <?php if ( ! empty( $text ) ) : ?>
64
- <p class="fadeInLeft delay-2 animated"><?php echo esc_html( $text ); ?></p>
65
- <?php endif; ?>
66
- <?php if ( ! empty( $button ) ) : ?>
67
- <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn fadeInLeft delay-3 animated"><?php echo esc_html( $button ); ?><i class="icofont icofont-long-arrow-right"></i></a>
68
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
69
  </div>
70
  </div>
71
  </div>
72
  </div>
73
- </div>
74
- </figure>
 
75
  </div>
76
- <?php }} ?>
77
  </div>
78
  </div>
79
  </div>
80
  <?php } ?>
81
- </header>
82
  <?php
83
  }
84
  endif;
3
  * Slider section for the homepage.
4
  */
5
  if ( ! function_exists( 'start_startkit_slider' ) ) :
 
6
  function start_startkit_slider() {
7
 
8
+ $slider = get_theme_mod('slider',startkit_get_slider_default());
9
+ $slider_opacity = get_theme_mod('slider_opacity','0.6');
10
+ $hide_show_slider = get_theme_mod('hide_show_slider','1');
11
+
12
+ if($hide_show_slider == '1') {
13
+ ?>
14
+ <div id="slider" class="main-sliders startkit-slider">
15
+ <div class="row">
16
+ <div class="col-md-12">
17
+ <div class="header-slider owl-carousel owl-theme">
18
+ <?php
19
+ if ( ! empty( $slider ) ) {
20
+ $allowed_html = array(
21
+ 'br' => array(),
22
+ 'em' => array(),
23
+ 'strong' => array(),
24
+ 'b' => array(),
25
+ 'i' => array(),
26
+ );
27
+ $slider = json_decode( $slider );
28
+ foreach ( $slider as $slide_item ) {
29
+ $title = ! empty( $slide_item->title ) ? apply_filters( 'startkit_translate_single_string', $slide_item->title, 'slider section' ) : '';
30
+ $subtitle = ! empty( $slide_item->subtitle ) ? apply_filters( 'startkit_translate_single_string', $slide_item->subtitle, 'slider section' ) : '';
31
+ $text = ! empty( $slide_item->text ) ? apply_filters( 'startkit_translate_single_string', $slide_item->text, 'slider section' ) : '';
32
+ $button = ! empty( $slide_item->text2) ? apply_filters( 'startkit_translate_single_string', $slide_item->text2,'slider section' ) : '';
33
+ $link = ! empty( $slide_item->link ) ? apply_filters( 'startkit_translate_single_string', $slide_item->link, 'slider section' ) : '';
34
+ $image = ! empty( $slide_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
35
+ $image2 = ! empty( $slide_item->image_url2 ) ? apply_filters( 'startkit_translate_single_string', $slide_item->image_url2, 'slider section' ) : '';
36
+ $align = ! empty( $slide_item->slide_align ) ? apply_filters( 'startkit_translate_single_string', $slide_item->slide_align, 'slider section' ) : '';
37
+ ?>
38
+ <div class="header-single-slider">
39
+ <figure>
40
+ <?php if ( ! empty( $image ) ) : ?>
41
+ <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
42
+ <?php endif; ?>
43
+ <div class="content" style="background: rgba(20, 20, 20,<?php echo $slider_opacity; ?>);">
44
+ <div class="slide-table">
45
+ <div class="slide-table-cell">
46
+ <div class="container">
47
+ <div class="row slide-<?php echo esc_attr($align); ?>" >
48
+ <?php if ( ! empty( $image2 ) ) : ?>
49
+ <div class="col-md-7 my-auto">
50
+ <?php else : ?>
51
+ <div class="col-md-12 my-auto">
52
+ <?php endif; ?>
53
+ <div class="slide-content startkit">
54
+ <?php if ( ! empty( $subtitle ) ) : ?>
55
+ <h4 class="fadeInUp delay-1 animated"><?php echo esc_html( $subtitle ); ?></h4>
56
+ <?php endif; ?>
57
+
58
+ <?php if ( ! empty( $title ) ) : ?>
59
+ <h1 class="fadeInUp delay-2 animated"><?php echo esc_html( $title ); ?></h1>
60
+ <?php endif; ?>
61
+ <?php if ( ! empty( $text ) ) : ?>
62
+ <p class="fadeInUp delay-3 animated"><?php echo esc_html( $text ); ?></p>
63
+ <?php endif; ?>
64
+ <?php if ( ! empty( $button ) ) : ?>
65
+ <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn fadeInUp delay-4 animated"><?php echo esc_html( $button ); ?><i class="fa fa-long-arrow-right"></i></a>
66
+ <?php endif; ?>
67
+ </div>
68
+ </div>
69
+
70
+ <?php if ( ! empty( $image2 ) ) : ?>
71
+ <div class="col-md-5 my-auto mx-auto">
72
+ <div class="startkit-img flipInY delay-2 animated">
73
+ <img src="<?php echo esc_url( $image2 ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
74
+ </div>
75
+ </div>
76
+ <?php endif; ?>
77
+ </div>
78
  </div>
79
  </div>
80
  </div>
81
  </div>
82
+ </figure>
83
+ </div>
84
+ <?php }} ?>
85
  </div>
 
86
  </div>
87
  </div>
88
  </div>
89
  <?php } ?>
 
90
  <?php
91
  }
92
  endif;
inc/startkit/sections/section-testimonial.php CHANGED
@@ -6,58 +6,27 @@
6
  * @access public
7
  */
8
  if ( ! function_exists( 'startkit_testimonial_plu' ) ) :
9
-
10
  function startkit_testimonial_plu() {
11
- function startkit_get_testimonial_default() {
12
- return apply_filters(
13
- 'startkit_get_testimonial_default', json_encode(
14
- array(
15
- array(
16
- 'title' => esc_html__( 'Naiomi Watson', 'startkit' ),
17
- 'subtitle' => esc_html__( 'Lead Interaction Designer', 'startkit' ),
18
- 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'startkit' ),
19
- 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial01.png',
20
- 'id' => 'customizer_repeater_testimonial_001',
21
- ),
22
- array(
23
- 'title' => esc_html__( 'Pins kumara', 'startkit' ),
24
- 'subtitle' => esc_html__( 'Lead Interaction Designer', 'startkit' ),
25
- 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'startkit' ),
26
- 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial02.png',
27
- 'id' => 'customizer_repeater_testimonial_001',
28
-
29
- ),
30
- array(
31
- 'title' => esc_html__( 'Mairala Thare', 'startkit' ),
32
- 'subtitle' => esc_html__( 'Lead Interaction Designer', 'startkit' ),
33
- 'text' => esc_html__( 'Established fact that a reader will be distracted by the readable content of a page when', 'startkit' ),
34
- 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/startkit/images/testimonial/testimonial03.png',
35
- 'id' => 'customizer_repeater_testimonial_001',
36
-
37
- ),
38
- )
39
-
40
- )
41
- );
42
- }
43
- ?>
44
- <?php
45
- $default_content = startkit_get_testimonial_default();
46
- $hide_show_testimonial = get_theme_mod('hide_show_testimonial','1');
47
- $testimonial_title = get_theme_mod('testimonial_title','Testimonial');
48
- $testimonial_description= get_theme_mod('testimonial_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
49
- $testimonial_contents = get_theme_mod('testimonial_contents',$default_content);
50
  ?>
51
  <?php if($hide_show_testimonial) {?>
52
  <section id="testimonial" class="section-padding">
53
  <div class="container">
54
- <?php if( ($testimonial_title) || ($testimonial_description)!='' ) { ?>
55
  <div class="row">
56
  <div class="col-md-6 offset-md-3 text-center">
57
  <div class="section-header">
 
 
 
58
  <?php if ( ! empty( $testimonial_title ) ) { ?>
59
  <h2><?php echo esc_html( $testimonial_title ); ?></h2>
60
  <?php } ?>
 
61
  <?php if ( ! empty( $testimonial_description ) ) { ?>
62
  <p class="wow fadeInUp" data-wow-delay="0.1s"><?php echo esc_html( $testimonial_description ); ?></p>
63
  <?php } ?>
@@ -65,49 +34,50 @@ function startkit_get_testimonial_default() {
65
  </div>
66
  </div>
67
  <?php } ?>
68
- <div class="row tst_contents">
69
- <div class="col-md-12">
70
- <div class="testimonial-carousel text-center">
71
- <?php
72
-
73
- if ( ! empty( $testimonial_contents ) ) {
74
- $allowed_html = array(
75
- 'br' => array(),
76
- 'em' => array(),
77
- 'strong' => array(),
78
- 'b' => array(),
79
- 'i' => array(),
80
- );
81
- $testimonial_contents = json_decode( $testimonial_contents );
82
- foreach ( $testimonial_contents as $testimonial_item ) {
83
-
84
- $title = ! empty( $testimonial_item->title ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->title, 'service section' ) : '';
85
- $subtitle = ! empty( $testimonial_item->subtitle ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->subtitle, 'service section' ) : '';
86
- $text = ! empty( $testimonial_item->text ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->text, 'service section' ) : '';
87
- $link = ! empty( $testimonial_item->link ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->link, 'service section' ) : '';
88
- $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->image_url, 'service section' ) : '';
89
- ?>
90
-
91
 
92
- <div class="single-testimonial">
93
- <?php if ( ! empty( $image ) ) : ?>
94
- <div class="img-rounded"><img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> /></div>
95
- <?php endif; ?>
96
- <?php if ( ! empty( $title ) ) : ?>
97
- <h4><?php echo esc_html( $title ); ?></h4>
98
- <?php endif; ?>
99
- <?php if ( ! empty( $subtitle ) ) : ?>
100
- <p class="title"><?php echo esc_html( $subtitle ); ?></p>
101
- <?php endif; ?>
102
- <?php if ( ! empty( $text ) ) : ?>
103
- <p><?php echo esc_html( $text ); ?></p>
104
- <?php endif; ?>
105
-
 
 
 
 
 
 
 
 
 
 
 
 
106
  </div>
107
- <?php } } ?>
108
-
109
  </div>
110
  </div>
 
111
  </div>
112
  </div>
113
  </section>
@@ -117,6 +87,4 @@ function startkit_get_testimonial_default() {
117
  if ( function_exists( 'startkit_testimonial_plu' ) ) {
118
  $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_testimonial_plu' );
119
  add_action( 'startkit_sections', 'startkit_testimonial_plu', absint( $section_priority ) );
120
-
121
- }
122
- ?>
6
  * @access public
7
  */
8
  if ( ! function_exists( 'startkit_testimonial_plu' ) ) :
 
9
  function startkit_testimonial_plu() {
10
+ $hide_show_testimonial = get_theme_mod('hide_show_testimonial','1');
11
+ $testimonial_title = get_theme_mod('testimonial_title','Testimonial');
12
+ $testimonial_subttl = get_theme_mod('testimonial_subttl','<span>Testimonial</span> <h6>Lorem is dummy text.</h6>');
13
+ $testimonial_description= get_theme_mod('testimonial_description','Publishing packages and web page editors now use Lorem Ipsum as their default model text');
14
+ $testimonial_contents = get_theme_mod('testimonial_contents',startkit_get_testimonial_default());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ?>
16
  <?php if($hide_show_testimonial) {?>
17
  <section id="testimonial" class="section-padding">
18
  <div class="container">
19
+ <?php if( ($testimonial_title) || ($testimonial_subttl)!='' || ($testimonial_description)!='' ) { ?>
20
  <div class="row">
21
  <div class="col-md-6 offset-md-3 text-center">
22
  <div class="section-header">
23
+ <?php if ( ! empty( $testimonial_subttl ) ) : ?>
24
+ <div class="subtitle"><?php echo wp_kses_post( $testimonial_subttl ); ?></div>
25
+ <?php endif; ?>
26
  <?php if ( ! empty( $testimonial_title ) ) { ?>
27
  <h2><?php echo esc_html( $testimonial_title ); ?></h2>
28
  <?php } ?>
29
+ <hr class="liner">
30
  <?php if ( ! empty( $testimonial_description ) ) { ?>
31
  <p class="wow fadeInUp" data-wow-delay="0.1s"><?php echo esc_html( $testimonial_description ); ?></p>
32
  <?php } ?>
34
  </div>
35
  </div>
36
  <?php } ?>
37
+ <div class="row tst_contents testimonial-carousel text-center">
38
+ <?php
39
+
40
+ if ( ! empty( $testimonial_contents ) ) {
41
+ $allowed_html = array(
42
+ 'br' => array(),
43
+ 'em' => array(),
44
+ 'strong' => array(),
45
+ 'b' => array(),
46
+ 'i' => array(),
47
+ );
48
+ $testimonial_contents = json_decode( $testimonial_contents );
49
+ foreach ( $testimonial_contents as $testimonial_item ) {
 
 
 
 
 
 
 
 
 
 
50
 
51
+ $title = ! empty( $testimonial_item->title ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->title, 'service section' ) : '';
52
+ $subtitle = ! empty( $testimonial_item->subtitle ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->subtitle, 'service section' ) : '';
53
+ $text = ! empty( $testimonial_item->text ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->text, 'service section' ) : '';
54
+ $link = ! empty( $testimonial_item->link ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->link, 'service section' ) : '';
55
+ $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'startkit_translate_single_string', $testimonial_item->image_url, 'service section' ) : '';
56
+ ?>
57
+ <div class="col-md-4 mb-md-4 mb-5">
58
+ <div class="single-testimonial">
59
+ <?php if ( ! empty( $image ) ) : ?>
60
+ <div class="image-qouts">
61
+ <div class="img-rounded">
62
+ <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
63
+ </div>
64
+ <div class="rating"> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i></div>
65
+ </div>
66
+ <?php endif; ?>
67
+ <?php if ( ! empty( $text ) ) : ?>
68
+ <p><?php echo esc_html( $text ); ?></p>
69
+ <?php endif; ?>
70
+ <div class="testimonial-text">
71
+ <?php if ( ! empty( $title ) ) : ?>
72
+ <h6><?php echo esc_html( $title ); ?>,</h6>
73
+ <?php endif; ?>
74
+ <?php if ( ! empty( $subtitle ) ) : ?>
75
+ <span class="title"><?php echo esc_html( $subtitle ); ?></span>
76
+ <?php endif; ?>
77
  </div>
 
 
78
  </div>
79
  </div>
80
+ <?php } } ?>
81
  </div>
82
  </div>
83
  </section>
87
  if ( function_exists( 'startkit_testimonial_plu' ) ) {
88
  $section_priority = apply_filters( 'startkit_section_priority', 13, 'startkit_testimonial_plu' );
89
  add_action( 'startkit_sections', 'startkit_testimonial_plu', absint( $section_priority ) );
90
+ }
 
 
inc/startkit/startkit.php CHANGED
@@ -1,8 +1,9 @@
1
  <?php
2
  /**
3
  * @package StartKit
4
- */
5
 
 
6
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
@@ -11,7 +12,6 @@ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/navigation.php';
11
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-typography.php';
12
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/typography_style.php';
13
 
14
-
15
  if ( ! function_exists( 'cleverfox_startkit_frontpage_sections' ) ) :
16
  function cleverfox_startkit_frontpage_sections() {
17
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
@@ -21,3 +21,11 @@ if ( ! function_exists( 'cleverfox_startkit_frontpage_sections' ) ) :
21
  }
22
  add_action( 'startkit_sections', 'cleverfox_startkit_frontpage_sections' );
23
  endif;
 
 
 
 
 
 
 
 
1
  <?php
2
  /**
3
  * @package StartKit
4
+ */
5
 
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/extras.php';
7
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-slider.php';
8
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-info.php';
9
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-service.php';
12
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-typography.php';
13
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/typography_style.php';
14
 
 
15
  if ( ! function_exists( 'cleverfox_startkit_frontpage_sections' ) ) :
16
  function cleverfox_startkit_frontpage_sections() {
17
  require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/sections/section-slider.php';
21
  }
22
  add_action( 'startkit_sections', 'cleverfox_startkit_frontpage_sections' );
23
  endif;
24
+
25
+ function cleverfox_startkit_enqueue_scripts() {
26
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
27
+ //wp_enqueue_style('owl-theme-default-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.theme.default.min.css');
28
+ wp_enqueue_style('owl-carousel-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.carousel.min.css');
29
+ wp_enqueue_script( 'owl-carousel', CLEVERFOX_PLUGIN_URL . 'inc/assets/js/owl.carousel.min.js', array('jquery'), false, true);
30
+ }
31
+ add_action( 'wp_enqueue_scripts', 'cleverfox_startkit_enqueue_scripts' );
inc/thai-spa/features/hantus-above-header.php CHANGED
@@ -9,7 +9,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
9
  'header_setting',
10
  array(
11
  'priority' => 1,
12
- 'title' => __('Top Left Header','hantus'),
13
  'panel' => 'header_section',
14
  )
15
  );
@@ -28,7 +28,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
28
  'hdr_setting_head',
29
  array(
30
  'type' => 'hidden',
31
- 'label' => __('Setting','hantus'),
32
  'section' => 'header_setting',
33
  )
34
  );
@@ -49,7 +49,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
49
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
50
  'hide_show_social_icon',
51
  array(
52
- 'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
53
  'section' => 'header_setting',
54
  'settings' => 'hide_show_social_icon',
55
  'type' => 'ios', // light, ios, flat
@@ -71,7 +71,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
71
  'hdr_time_head',
72
  array(
73
  'type' => 'hidden',
74
- 'label' => __('Time','hantus'),
75
  'section' => 'header_setting',
76
  )
77
  );
@@ -90,11 +90,11 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
90
  $wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
91
  'hantus_time_icon',
92
  array(
93
- 'label' => __('Time Icon','hantus'),
94
  'section' => 'header_setting',
95
  'iconset' => 'fa',
96
  'settings' => 'hantus_time_icon',
97
- 'description' => __( '', 'hantus' ),
98
 
99
  ))
100
  );
@@ -103,7 +103,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
103
  $wp_customize->add_setting(
104
  'hantus_timing',
105
  array(
106
- 'default' => __('Opening Hours - 10 Am to 6 PM','hantus'),
107
  'sanitize_callback' => 'hantus_sanitize_text',
108
  'capability' => 'edit_theme_options',
109
  'transport' => $selective_refresh,
@@ -114,10 +114,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
114
  $wp_customize->add_control(
115
  'hantus_timing',
116
  array(
117
- 'label' => __('Address','hantus'),
118
  'section' => 'header_setting',
119
  'settings' => 'hantus_timing',
120
- 'description' => __( '', 'hantus' ),
121
  'type' => 'textarea'
122
  )
123
  );
@@ -137,7 +137,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
137
  'hdr_social_head',
138
  array(
139
  'type' => 'hidden',
140
- 'label' => __('Social Icon','hantus'),
141
  'section' => 'header_setting',
142
  )
143
  );
@@ -157,10 +157,10 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
157
  new Hantus_Repeater( $wp_customize,
158
  'social_icons',
159
  array(
160
- 'label' => esc_html__('Social Icons','hantus'),
161
  'section' => 'header_setting',
162
- 'add_field_label' => esc_html__( 'Add New Social', 'hantus' ),
163
- 'item_name' => esc_html__( 'Social', 'hantus' ),
164
  'customizer_repeater_icon_control' => true,
165
  'customizer_repeater_link_control' => true,
166
  )
@@ -171,7 +171,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
171
  class Hantus_Header_Social_section_upgrade extends WP_Customize_Control {
172
  public function render_content() {
173
  ?>
174
- <a class="customizer_hdr_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','hantus'); ?></a>
175
 
176
  <?php
177
  }
@@ -200,7 +200,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
200
  'header_contact',
201
  array(
202
  'priority' => 2,
203
- 'title' => __('Top Right Header','hantus'),
204
  'description' =>'',
205
  'panel' => 'header_section',
206
  )
@@ -221,7 +221,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
221
  'right_hdr_setting_head',
222
  array(
223
  'type' => 'hidden',
224
- 'label' => __('Setting','hantus'),
225
  'section' => 'header_contact',
226
  )
227
  );
@@ -242,7 +242,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
242
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
243
  'hide_show_contact_infot',
244
  array(
245
- 'label' => esc_html__( 'Hide / Show Section', 'hantus' ),
246
  'section' => 'header_contact',
247
  'settings' => 'hide_show_contact_infot',
248
  'type' => 'ios', // light, ios, flat
@@ -265,7 +265,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
265
  'right_hdr_email_head',
266
  array(
267
  'type' => 'hidden',
268
- 'label' => __('Email','hantus'),
269
  'section' => 'header_contact',
270
  )
271
  );
@@ -274,7 +274,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
274
  $wp_customize->add_setting(
275
  'header_email_icon',
276
  array(
277
- 'default' => __('fa-envelope-o','hantus'),
278
  'sanitize_callback' => 'hantus_sanitize_text',
279
  'capability' => 'edit_theme_options',
280
  'priority' => 4,
@@ -284,7 +284,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
284
  $wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
285
  'header_email_icon',
286
  array(
287
- 'label' => __('Email Icon','hantus'),
288
  'section' => 'header_contact',
289
  'settings'=> 'header_email_icon',
290
  'iconset' => 'fa',
@@ -295,7 +295,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
295
  $wp_customize->add_setting(
296
  'header_email',
297
  array(
298
- 'default' => __('email@companyname.com','hantus'),
299
  'sanitize_callback' => 'hantus_sanitize_text',
300
  'capability' => 'edit_theme_options',
301
  'transport' => $selective_refresh,
@@ -306,7 +306,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
306
  $wp_customize->add_control(
307
  'header_email',
308
  array(
309
- 'label' => __('Email','hantus'),
310
  'section' => 'header_contact',
311
  'settings'=> 'header_email',
312
  'type' => 'text',
@@ -327,7 +327,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
327
  'right_hdr_contact_head',
328
  array(
329
  'type' => 'hidden',
330
- 'label' => __('Phone','hantus'),
331
  'section' => 'header_contact',
332
  )
333
  );
@@ -336,7 +336,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
336
  $wp_customize->add_setting(
337
  'header_phone_icon',
338
  array(
339
- 'default' => __('fa-phone','hantus'),
340
  'sanitize_callback' => 'hantus_sanitize_text',
341
  'capability' => 'edit_theme_options',
342
  'priority' => 7,
@@ -346,7 +346,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
346
  $wp_customize->add_control( new Hantus_Icon_Picker_Control($wp_customize,
347
  'header_phone_icon',
348
  array(
349
- 'label' => __('Phone Icon','hantus'),
350
  'section' => 'header_contact',
351
  'settings'=> 'header_phone_icon',
352
  'iconset' => 'fa',
@@ -356,7 +356,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
356
  $wp_customize->add_setting(
357
  'header_phone_number',
358
  array(
359
- 'default' => __('+12 345 678 910','hantus'),
360
  'sanitize_callback' => 'hantus_sanitize_text',
361
  'capability' => 'edit_theme_options',
362
  'transport' => $selective_refresh,
@@ -367,7 +367,7 @@ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' :
367
  $wp_customize->add_control(
368
  'header_phone_number',
369
  array(
370
- 'label' => __('Phone Number','hantus'),
371
  'section' => 'header_contact',
372
  'settings'=> 'header_phone_number',
373
  'type' => 'text',
9
  'header_setting',
10
  array(
11
  'priority' => 1,
12
+ 'title' => __('Top Left Header','clever-fox'),
13
  'panel' => 'header_section',
14
  )
15
  );
28
  'hdr_setting_head',
29
  array(
30
  'type' => 'hidden',
31
+ 'label' => __('Setting','clever-fox'),
32
  'section' => 'header_setting',
33
  )
34
  );
49
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
50
  'hide_show_social_icon',
51
  array(
52
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
53
  'section' => 'header_setting',
54
  'settings' => 'hide_show_social_icon',
55
  'type' => 'ios', // light, ios, flat
71
  'hdr_time_head',
72
  array(
73
  'type' => 'hidden',
74
+ 'label' => __('Time','clever-fox'),
75
  'section' => 'header_setting',
76
  )
77
  );
90
  $wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
91
  'hantus_time_icon',
92
  array(
93
+ 'label' => __('Time Icon','clever-fox'),
94
  'section' => 'header_setting',
95
  'iconset' => 'fa',
96
  'settings' => 'hantus_time_icon',
97
+ 'description' => __( '', 'clever-fox' ),
98
 
99
  ))
100
  );
103
  $wp_customize->add_setting(
104
  'hantus_timing',
105
  array(
106
+ 'default' => __('Opening Hours - 10 Am to 6 PM','clever-fox'),
107
  'sanitize_callback' => 'hantus_sanitize_text',
108
  'capability' => 'edit_theme_options',
109
  'transport' => $selective_refresh,
114
  $wp_customize->add_control(
115
  'hantus_timing',
116
  array(
117
+ 'label' => __('Address','clever-fox'),
118
  'section' => 'header_setting',
119
  'settings' => 'hantus_timing',
120
+ 'description' => __( '', 'clever-fox' ),
121
  'type' => 'textarea'
122
  )
123
  );
137
  'hdr_social_head',
138
  array(
139
  'type' => 'hidden',
140
+ 'label' => __('Social Icon','clever-fox'),
141
  'section' => 'header_setting',
142
  )
143
  );
157
  new Hantus_Repeater( $wp_customize,
158
  'social_icons',
159
  array(
160
+ 'label' => esc_html__('Social Icons','clever-fox'),
161
  'section' => 'header_setting',
162
+ 'add_field_label' => esc_html__( 'Add New Social', 'clever-fox' ),
163
+ 'item_name' => esc_html__( 'Social', 'clever-fox' ),
164
  'customizer_repeater_icon_control' => true,
165
  'customizer_repeater_link_control' => true,
166
  )
171
  class Hantus_Header_Social_section_upgrade extends WP_Customize_Control {
172
  public function render_content() {
173
  ?>
174
+ <a class="customizer_hdr_social_upgrade_section up-to-pro" href="https://www.nayrathemes.com/thaispa-pro/" target="_blank" style="display: none;"><?php _e('Upgrade to Pro','clever-fox'); ?></a>
175
 
176
  <?php
177
  }
200
  'header_contact',
201
  array(
202
  'priority' => 2,
203
+ 'title' => __('Top Right Header','clever-fox'),
204
  'description' =>'',
205
  'panel' => 'header_section',
206
  )
221
  'right_hdr_setting_head',
222
  array(
223
  'type' => 'hidden',
224
+ 'label' => __('Setting','clever-fox'),
225
  'section' => 'header_contact',
226
  )
227
  );
242
  $wp_customize->add_control( new Hantus_Customizer_Toggle_Control( $wp_customize,
243
  'hide_show_contact_infot',
244
  array(
245
+ 'label' => esc_html__( 'Hide / Show Section', 'clever-fox' ),
246
  'section' => 'header_contact',
247
  'settings' => 'hide_show_contact_infot',
248
  'type' => 'ios', // light, ios, flat
265
  'right_hdr_email_head',
266
  array(
267
  'type' => 'hidden',
268
+ 'label' => __('Email','clever-fox'),
269
  'section' => 'header_contact',
270
  )
271
  );
274
  $wp_customize->add_setting(
275
  'header_email_icon',
276
  array(
277
+ 'default' => __('fa-envelope-o','clever-fox'),
278
  'sanitize_callback' => 'hantus_sanitize_text',
279
  'capability' => 'edit_theme_options',
280
  'priority' => 4,
284
  $wp_customize->add_control(new Hantus_Icon_Picker_Control($wp_customize,
285
  'header_email_icon',
286
  array(
287
+ 'label' => __('Email Icon','clever-fox'),
288
  'section' => 'header_contact',
289
  'settings'=> 'header_email_icon',
290
  'iconset' => 'fa',
295
  $wp_customize->add_setting(
296
  'header_email',
297
  array(
298
+ 'default' => __('email@companyname.com','clever-fox'),
299
  'sanitize_callback' => 'hantus_sanitize_text',
300
  'capability' => 'edit_theme_options',
301
  'transport' => $selective_refresh,
306
  $wp_customize->add_control(
307
  'header_email',
308
  array(
309
+ 'label' => __('Email','clever-fox'),
310
  'section' => 'header_contact',
311
  'settings'=> 'header_email',
312
  'type' => 'text',
327
  'right_hdr_contact_head',
328
  array(
329
  'type' => 'hidden',
330
+ 'label' => __('Phone','clever-fox'),
331
  'section' => 'header_contact',
332
  )
333
  );
336
  $wp_customize->add_setting(
337
  'header_phone_icon',
338
  array(
339
+ 'default' => __('fa-phone','clever-fox'),
340
  'sanitize_callback' => 'hantus_sanitize_text',
341
  'capability' => 'edit_theme_options',
342
  'priority' => 7,
346
  $wp_customize->add_control( new Hantus_Icon_Picker_Control($wp_customize,
347
  'header_phone_icon',
348
  array(
349
+ 'label' => __('Phone Icon','clever-fox'),
350
  'section' => 'header_contact',
351
  'settings'=> 'header_phone_icon',
352
  'iconset' => 'fa',
356
  $wp_customize->add_setting(
357
  'header_phone_number',
358
  array(
359
+ 'default' => __('+12 345 678 910','clever-fox'),
360
  'sanitize_callback' => 'hantus_sanitize_text',
361
  'capability' => 'edit_theme_options',
362
  'transport' => $selective_refresh,
367
  $wp_customize->add_control(
368
  'header_phone_number',
369
  array(
370
+ 'label' => __('Phone Number','clever-fox'),
371
  'section' => 'header_contact',
372
  'settings'=> 'header_phone_number',
373
  'type' => 'text',
inc/thai-spa/sections/section-service.php CHANGED
@@ -7,41 +7,41 @@ if ( ! function_exists( 'hantus_lite_service' ) ) :
7
  array(
8
  array(
9
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service01.png',
10
- 'title' => esc_html__( 'Oil Massage', 'hantus' ),
11
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
12
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
13
- 'text2' => esc_html__( 'Book now', 'hantus' ),
14
- 'link' => esc_html__( '#', 'hantus' ),
15
  'id' => 'customizer_repeater_service_001',
16
 
17
  ),
18
  array(
19
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service02.png',
20
- 'title' => esc_html__( 'Skin Care', 'hantus' ),
21
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
22
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
23
- 'text2' => esc_html__( 'Book now', 'hantus' ),
24
- 'link' => esc_html__( '#', 'hantus' ),
25
  'id' => 'customizer_repeater_service_002',
26
 
27
  ),
28
  array(
29
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
30
- 'title' => esc_html__( 'Natural Care', 'hantus' ),
31
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
32
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
33
- 'text2' => esc_html__( 'Book now', 'hantus' ),
34
- 'link' => esc_html__( '#', 'hantus' ),
35
  'id' => 'customizer_repeater_service_003',
36
 
37
  ),
38
  array(
39
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service04.png',
40
- 'title' => esc_html__( 'Nails Design', 'hantus' ),
41
- 'subtitle' => esc_html__( '$57.99', 'hantus' ),
42
- 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'hantus' ),
43
- 'text2' => esc_html__( 'Book now', 'hantus' ),
44
- 'link' => esc_html__( '#', 'hantus' ),
45
  'id' => 'customizer_repeater_service_004',
46
 
47
  ),
7
  array(
8
  array(
9
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service01.png',
10
+ 'title' => esc_html__( 'Oil Massage', 'clever-fox' ),
11
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
12
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
13
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
14
+ 'link' => esc_html__( '#', 'clever-fox' ),
15
  'id' => 'customizer_repeater_service_001',
16
 
17
  ),
18
  array(
19
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service02.png',
20
+ 'title' => esc_html__( 'Skin Care', 'clever-fox' ),
21
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
22
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
23
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
24
+ 'link' => esc_html__( '#', 'clever-fox' ),
25
  'id' => 'customizer_repeater_service_002',
26
 
27
  ),
28
  array(
29
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service03.png',
30
+ 'title' => esc_html__( 'Natural Care', 'clever-fox' ),
31
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
32
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
33
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
34
+ 'link' => esc_html__( '#', 'clever-fox' ),
35
  'id' => 'customizer_repeater_service_003',
36
 
37
  ),
38
  array(
39
  'image_url' => CLEVERFOX_PLUGIN_URL . 'inc/hantus/images/service/service04.png',
40
+ 'title' => esc_html__( 'Nails Design', 'clever-fox' ),
41
+ 'subtitle' => esc_html__( '$57.99', 'clever-fox' ),
42
+ 'text' => esc_html__( 'Lorem Ipsum is simply dummy text of the printing and typesetting.', 'clever-fox' ),
43
+ 'text2' => esc_html__( 'Book now', 'clever-fox' ),
44
+ 'link' => esc_html__( '#', 'clever-fox' ),
45
  'id' => 'customizer_repeater_service_004',
46
 
47
  ),
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: nayrathemes
3
  Tags: demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
- Tested up to: 5.7.1
6
  Requires PHP: 5.6
7
- Stable tag: 5.2
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
@@ -91,6 +91,12 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
94
  = 5.2 =
95
  * Fiona Theme Functionality Improved
96
  * Fiona Sections Hide Show Settings Added
2
  Contributors: nayrathemes
3
  Tags: demo, sections, customizer, widget, settings
4
  Requires at least: 4.0
5
+ Tested up to: 5.7.2
6
  Requires PHP: 5.6
7
+ Stable tag: 5.3
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
 
91
 
92
  == Changelog ==
93
 
94
+ = 5.3 =
95
+ * MetaSoft Theme Functionality Added
96
+ * StartKit, StartBiz & Arowana Theme Functionality Improved & Design Changes
97
+ * Tested With WordPress 5.7.2
98
+
99
+
100
  = 5.2 =
101
  * Fiona Theme Functionality Improved
102
  * Fiona Sections Hide Show Settings Added