Clever Fox - Version 1.1.35

Version Description

  • Code Improvement
  • Conceptly Theme Functionality Added
  • Tags Updated
Download this release

Release Info

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

Code changes from version 1.1.34 to 1.1.35

Files changed (50) hide show
  1. clever-fox.php +17 -145
  2. inc/arowana/arowana.php +23 -0
  3. inc/assets/css/animate.css +1579 -0
  4. inc/assets/css/owl.carousel.min.css +6 -0
  5. inc/{js → assets/js}/custom-js.js +0 -0
  6. inc/{js → assets/js}/jquery.counterup.js +0 -0
  7. inc/{js → assets/js}/jquery.counterup.min.js +0 -0
  8. inc/assets/js/owl.carousel.min.js +70 -0
  9. inc/assets/js/owlCarousel2Thumbs.min.js +2 -0
  10. inc/cleverfox-activator.php +57 -0
  11. inc/conceptly/conceptly.php +38 -0
  12. inc/conceptly/default-pages/home-page.php +24 -0
  13. inc/conceptly/default-pages/upload-media.php +34 -0
  14. inc/conceptly/default-widgets/default-widget.php +47 -0
  15. inc/conceptly/dynamic-style.php +92 -0
  16. inc/conceptly/extras.php +202 -0
  17. inc/conceptly/features/conceptly-call-to-action.php +276 -0
  18. inc/conceptly/features/conceptly-features.php +162 -0
  19. inc/conceptly/features/conceptly-header.php +356 -0
  20. inc/conceptly/features/conceptly-info.php +354 -0
  21. inc/conceptly/features/conceptly-navigation.php +473 -0
  22. inc/conceptly/features/conceptly-service.php +164 -0
  23. inc/conceptly/features/conceptly-slider.php +130 -0
  24. inc/conceptly/features/conceptly-sponsers.php +133 -0
  25. inc/conceptly/features/conceptly-typography.php +522 -0
  26. inc/conceptly/images/bg/cta-bg.jpg +0 -0
  27. inc/conceptly/images/bg/partner-bg.jpg +0 -0
  28. inc/conceptly/images/logo.png +0 -0
  29. inc/conceptly/images/partner/partner01.png +0 -0
  30. inc/conceptly/images/partner/partner02.png +0 -0
  31. inc/conceptly/images/partner/partner03.png +0 -0
  32. inc/conceptly/images/partner/partner04.png +0 -0
  33. inc/conceptly/images/partner/partner05.png +0 -0
  34. inc/conceptly/images/service/service003.jpg +0 -0
  35. inc/conceptly/images/service/service02.jpg +0 -0
  36. inc/conceptly/images/sliders/slider01.jpg +0 -0
  37. inc/conceptly/images/sliders/slider02.jpg +0 -0
  38. inc/conceptly/images/sliders/slider03.jpg +0 -0
  39. inc/conceptly/sections/above-header.php +73 -0
  40. inc/conceptly/sections/section-cta.php +45 -0
  41. inc/conceptly/sections/section-features.php +82 -0
  42. inc/conceptly/sections/section-flash.php +47 -0
  43. inc/conceptly/sections/section-service.php +83 -0
  44. inc/conceptly/sections/section-slider.php +68 -0
  45. inc/conceptly/sections/section-sponser.php +55 -0
  46. inc/envira/envira.php +28 -0
  47. inc/hantus/hantus.php +23 -0
  48. inc/startbiz/startbiz.php +23 -0
  49. inc/startkit/startkit.php +23 -0
  50. readme.txt +6 -1
clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
- Version: 1.1.34
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
@@ -26,169 +26,41 @@ function cleverfox_activate() {
26
 
27
  $theme = wp_get_theme(); // gets the current theme
28
  if ( 'StartKit' == $theme->name){
29
- require_once('inc/startkit/features/section-slider.php');
30
- require_once('inc/startkit/features/section-info.php');
31
- require_once('inc/startkit/features/section-service.php');
32
- require_once('inc/startkit/features/section-testimonial.php');
33
- require_once('inc/startkit/features/navigation.php');
34
- require_once('inc/startkit/sections/section-slider.php');
35
- require_once('inc/startkit/sections/section-flash.php');
36
- require_once('inc/startkit/sections/section-service.php');
37
- require_once('inc/startkit/sections/section-testimonial.php');
38
- require_once('inc/startkit/typography_style.php');
39
- require_once('inc/startkit/features/section-typography.php');
40
  }
41
 
42
  if ( 'StartBiz' == $theme->name){
43
- require_once('inc/startkit/features/section-slider.php');
44
- require_once('inc/startkit/features/section-info.php');
45
- require_once('inc/startkit/features/section-service.php');
46
- require_once('inc/startkit/features/section-testimonial.php');
47
- require_once('inc/startkit/features/navigation.php');
48
- require_once('inc/startbiz/sections/section-slider.php');
49
- require_once('inc/startbiz/sections/section-flash.php');
50
- require_once('inc/startbiz/sections/section-service.php');
51
- require_once('inc/startkit/sections/section-testimonial.php');
52
- require_once('inc/startkit/typography_style.php');
53
- require_once('inc/startkit/features/section-typography.php');
54
  }
55
 
56
  if ('Arowana' == $theme->name){
57
- require_once('inc/startkit/features/section-slider.php');
58
- require_once('inc/startkit/features/section-info.php');
59
- require_once('inc/startkit/features/section-service.php');
60
- require_once('inc/startkit/features/section-testimonial.php');
61
- require_once('inc/startkit/features/navigation.php');
62
- require_once('inc/startkit/sections/section-slider.php');
63
- require_once('inc/arowana/sections/section-flash.php');
64
- require_once('inc/arowana/sections/section-service.php');
65
- require_once('inc/startkit/sections/section-testimonial.php');
66
- require_once('inc/startkit/typography_style.php');
67
- require_once('inc/startkit/features/section-typography.php');
68
  }
69
 
70
  if ('Envira' == $theme->name){
71
-
72
- function cleverfox_envira_enqueue_scripts() {
73
- wp_enqueue_script( 'counterup', plugin_dir_url( __FILE__ ) . 'inc/js/jquery.counterup.min.js', array('jquery'), false, true);
74
- }
75
- add_action( 'wp_enqueue_scripts', 'cleverfox_envira_enqueue_scripts' );
76
-
77
- require_once('inc/startkit/features/section-slider.php');
78
- require_once('inc/startkit/features/section-info.php');
79
- require_once('inc/startkit/features/section-service.php');
80
- require_once('inc/envira/features/funfact-section.php');
81
- require_once('inc/startkit/features/navigation.php');
82
- require_once('inc/startkit/sections/section-slider.php');
83
- require_once('inc/startkit/sections/section-flash.php');
84
- require_once('inc/startkit/sections/section-service.php');
85
- require_once('inc/envira/sections/section-funfact.php');
86
- require_once('inc/startkit/typography_style.php');
87
- require_once('inc/startkit/features/section-typography.php');
88
  }
89
 
90
  if( 'Hantus' == $theme->name){
91
- require_once('inc/hantus/features/navigation.php');
92
- require_once('inc/hantus/features/section-slider.php');
93
- require_once('inc/hantus/features/section-info.php');
94
- require_once('inc/hantus/features/section-service.php');
95
- require_once('inc/hantus/features/section-testimonial.php');
96
- require_once('inc/hantus/sections/section-slider.php');
97
- require_once('inc/hantus/sections/section-info.php');
98
- require_once('inc/hantus/sections/section-service.php');
99
- require_once('inc/hantus/sections/section-testimonial.php');
100
- require_once('inc/hantus/features/section-typography.php');
101
- require_once('inc/hantus/dynamic-style.php');
102
  }
103
  }
104
  add_action( 'init', 'cleverfox_activate' );
105
 
106
  $theme = wp_get_theme();
107
 
108
- //Startkit
109
- if ( 'StartKit' == $theme->name){
110
- register_activation_hook( __FILE__, 'cleverfox_install_function');
111
- function cleverfox_install_function()
112
- {
113
- $item_details_page = get_option('item_details_page');
114
- if(!$item_details_page){
115
- require_once('inc/startkit/default-pages/upload-media.php');
116
- require_once('inc/startkit/default-pages/home-page.php');
117
- require_once('inc/startkit/default-widgets/default-widget.php');
118
- update_option( 'item_details_page', 'Done' );
119
- }
120
- }
121
- }
122
-
123
- //StartBiz
124
- if ( 'StartBiz' == $theme->name){
125
- register_activation_hook( __FILE__, 'cleverfox_install_function');
126
- function cleverfox_install_function()
127
- {
128
- $item_details_page = get_option('item_details_page');
129
- if(!$item_details_page){
130
- require_once('inc/startbiz/default-pages/upload-media.php');
131
- require_once('inc/startkit/default-pages/home-page.php');
132
- require_once('inc/startbiz/default-widgets/default-widget.php');
133
- update_option( 'item_details_page', 'Done' );
134
- }
135
- }
136
- }
137
-
138
- //Arowana
139
- if ( 'Arowana' == $theme->name){
140
- register_activation_hook( __FILE__, 'cleverfox_install_function');
141
- function cleverfox_install_function()
142
- {
143
- $item_details_page = get_option('item_details_page');
144
- if(!$item_details_page){
145
- require_once('inc/arowana/default-pages/upload-media.php');
146
- require_once('inc/startkit/default-pages/home-page.php');
147
- require_once('inc/arowana/default-widgets/default-widget.php');
148
- update_option( 'item_details_page', 'Done' );
149
- }
150
- }
151
  }
152
-
153
- //Envira
154
- if ( 'Envira' == $theme->name){
155
- register_activation_hook( __FILE__, 'cleverfox_install_function');
156
- function cleverfox_install_function()
157
- {
158
- $item_details_page = get_option('item_details_page');
159
- if(!$item_details_page){
160
- require_once('inc/envira/default-pages/upload-media.php');
161
- require_once('inc/startkit/default-pages/home-page.php');
162
- require_once('inc/envira/default-widgets/default-widget.php');
163
- update_option( 'item_details_page', 'Done' );
164
- }
165
- }
166
- }
167
-
168
- //Hantus
169
- if ( 'Hantus' == $theme->name){
170
- register_activation_hook( __FILE__, 'cleverfox_install_function');
171
- function cleverfox_install_function()
172
- {
173
- $item_details_page = get_option('item_details_page');
174
- if(!$item_details_page){
175
- require_once('inc/hantus/default-pages/upload-media.php');
176
- require_once('inc/hantus/default-pages/home-page.php');
177
- require_once('inc/hantus/default-widgets/default-widget.php');
178
- update_option( 'item_details_page', 'Done' );
179
- }
180
- }
181
- }
182
-
183
- //Startkit Sainitize text
184
- function cleverfox_startkit_home_page_sanitize_text( $input ) {
185
- return wp_kses_post( force_balance_tags( $input ) );
186
- }
187
-
188
- //Hantus Sainitize text
189
- function cleverfox_hantus_home_page_sanitize_text( $input ) {
190
- return wp_kses_post( force_balance_tags( $input ) );
191
- }
192
 
193
  function cleverfox_admin_notice() {
194
  ?>
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
+ Version: 1.1.35
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
26
 
27
  $theme = wp_get_theme(); // gets the current theme
28
  if ( 'StartKit' == $theme->name){
29
+ require_once('inc/startkit/startkit.php');
 
 
 
 
 
 
 
 
 
 
30
  }
31
 
32
  if ( 'StartBiz' == $theme->name){
33
+ require_once('inc/startbiz/startbiz.php');
 
 
 
 
 
 
 
 
 
 
34
  }
35
 
36
  if ('Arowana' == $theme->name){
37
+ require_once('inc/arowana/arowana.php');
 
 
 
 
 
 
 
 
 
 
38
  }
39
 
40
  if ('Envira' == $theme->name){
41
+ require_once('inc/envira/envira.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  }
43
 
44
  if( 'Hantus' == $theme->name){
45
+ require_once('inc/hantus/hantus.php');
46
+ }
47
+
48
+ if( 'Conceptly' == $theme->name){
49
+ require_once('inc/conceptly/conceptly.php');
 
 
 
 
 
 
50
  }
51
  }
52
  add_action( 'init', 'cleverfox_activate' );
53
 
54
  $theme = wp_get_theme();
55
 
56
+ /**
57
+ * The code during plugin activation.
58
+ */
59
+ function activate_cleverfox() {
60
+ require_once plugin_dir_path( __FILE__ ) . 'inc/cleverfox-activator.php';
61
+ Cleverfox_Activator::activate();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
+ register_activation_hook( __FILE__, 'activate_cleverfox' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  function cleverfox_admin_notice() {
66
  ?>
inc/arowana/arowana.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
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';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-testimonial.php';
10
+ 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_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;
inc/assets/css/animate.css ADDED
@@ -0,0 +1,1579 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "UTF-8";
2
+
3
+ /*!
4
+ * animate.css -http://daneden.me/animate
5
+ * Version - 3.5.2
6
+ * Licensed under the MIT license - http://opensource.org/licenses/MIT
7
+ *
8
+ * Copyright (c) 2017 Daniel Eden
9
+ */
10
+
11
+ .animated {
12
+ animation-duration: 1s;
13
+ animation-fill-mode: both;
14
+ }
15
+
16
+ .animated.infinite {
17
+ animation-iteration-count: infinite;
18
+ }
19
+
20
+ .animated.hinge {
21
+ animation-duration: 2s;
22
+ }
23
+
24
+ .animated.flipOutX,
25
+ .animated.flipOutY,
26
+ .animated.bounceIn,
27
+ .animated.bounceOut {
28
+ animation-duration: .75s;
29
+ }
30
+
31
+ @keyframes bounce {
32
+ from, 20%, 53%, 80%, to {
33
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
34
+ transform: translate3d(0,0,0);
35
+ }
36
+
37
+ 40%, 43% {
38
+ animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
39
+ transform: translate3d(0, -30px, 0);
40
+ }
41
+
42
+ 70% {
43
+ animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
44
+ transform: translate3d(0, -15px, 0);
45
+ }
46
+
47
+ 90% {
48
+ transform: translate3d(0,-4px,0);
49
+ }
50
+ }
51
+
52
+ .bounce {
53
+ animation-name: bounce;
54
+ transform-origin: center bottom;
55
+ }
56
+
57
+ @keyframes flash {
58
+ from, 50%, to {
59
+ opacity: 1;
60
+ }
61
+
62
+ 25%, 75% {
63
+ opacity: 0;
64
+ }
65
+ }
66
+
67
+ .flash {
68
+ animation-name: flash;
69
+ }
70
+
71
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
72
+
73
+ @keyframes pulse {
74
+ from {
75
+ transform: scale3d(1, 1, 1);
76
+ }
77
+
78
+ 50% {
79
+ transform: scale3d(1.05, 1.05, 1.05);
80
+ }
81
+
82
+ to {
83
+ transform: scale3d(1, 1, 1);
84
+ }
85
+ }
86
+
87
+ .pulse {
88
+ animation-name: pulse;
89
+ }
90
+
91
+ @keyframes rubberBand {
92
+ from {
93
+ transform: scale3d(1, 1, 1);
94
+ }
95
+
96
+ 30% {
97
+ transform: scale3d(1.25, 0.75, 1);
98
+ }
99
+
100
+ 40% {
101
+ transform: scale3d(0.75, 1.25, 1);
102
+ }
103
+
104
+ 50% {
105
+ transform: scale3d(1.15, 0.85, 1);
106
+ }
107
+
108
+ 65% {
109
+ transform: scale3d(.95, 1.05, 1);
110
+ }
111
+
112
+ 75% {
113
+ transform: scale3d(1.05, .95, 1);
114
+ }
115
+
116
+ to {
117
+ transform: scale3d(1, 1, 1);
118
+ }
119
+ }
120
+
121
+ .rubberBand {
122
+ animation-name: rubberBand;
123
+ }
124
+
125
+ @keyframes shake {
126
+ from, to {
127
+ transform: translate3d(0, 0, 0);
128
+ }
129
+
130
+ 10%, 30%, 50%, 70%, 90% {
131
+ transform: translate3d(-10px, 0, 0);
132
+ }
133
+
134
+ 20%, 40%, 60%, 80% {
135
+ transform: translate3d(10px, 0, 0);
136
+ }
137
+ }
138
+
139
+ .shake {
140
+ animation-name: shake;
141
+ }
142
+
143
+ @keyframes headShake {
144
+ 0% {
145
+ transform: translateX(0);
146
+ }
147
+
148
+ 6.5% {
149
+ transform: translateX(-6px) rotateY(-9deg);
150
+ }
151
+
152
+ 18.5% {
153
+ transform: translateX(5px) rotateY(7deg);
154
+ }
155
+
156
+ 31.5% {
157
+ transform: translateX(-3px) rotateY(-5deg);
158
+ }
159
+
160
+ 43.5% {
161
+ transform: translateX(2px) rotateY(3deg);
162
+ }
163
+
164
+ 50% {
165
+ transform: translateX(0);
166
+ }
167
+ }
168
+
169
+ .headShake {
170
+ animation-timing-function: ease-in-out;
171
+ animation-name: headShake;
172
+ }
173
+
174
+ @keyframes swing {
175
+ 20% {
176
+ transform: rotate3d(0, 0, 1, 15deg);
177
+ }
178
+
179
+ 40% {
180
+ transform: rotate3d(0, 0, 1, -10deg);
181
+ }
182
+
183
+ 60% {
184
+ transform: rotate3d(0, 0, 1, 5deg);
185
+ }
186
+
187
+ 80% {
188
+ transform: rotate3d(0, 0, 1, -5deg);
189
+ }
190
+
191
+ to {
192
+ transform: rotate3d(0, 0, 1, 0deg);
193
+ }
194
+ }
195
+
196
+ .swing {
197
+ transform-origin: top center;
198
+ animation-name: swing;
199
+ }
200
+
201
+ @keyframes tada {
202
+ from {
203
+ transform: scale3d(1, 1, 1);
204
+ }
205
+
206
+ 10%, 20% {
207
+ transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
208
+ }
209
+
210
+ 30%, 50%, 70%, 90% {
211
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
212
+ }
213
+
214
+ 40%, 60%, 80% {
215
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
216
+ }
217
+
218
+ to {
219
+ transform: scale3d(1, 1, 1);
220
+ }
221
+ }
222
+
223
+ .tada {
224
+ animation-name: tada;
225
+ }
226
+
227
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
228
+
229
+ @keyframes wobble {
230
+ from {
231
+ transform: none;
232
+ }
233
+
234
+ 15% {
235
+ transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
236
+ }
237
+
238
+ 30% {
239
+ transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
240
+ }
241
+
242
+ 45% {
243
+ transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
244
+ }
245
+
246
+ 60% {
247
+ transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
248
+ }
249
+
250
+ 75% {
251
+ transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
252
+ }
253
+
254
+ to {
255
+ transform: none;
256
+ }
257
+ }
258
+
259
+ .wobble {
260
+ animation-name: wobble;
261
+ }
262
+
263
+ @keyframes jello {
264
+ from, 11.1%, to {
265
+ transform: none;
266
+ }
267
+
268
+ 22.2% {
269
+ transform: skewX(-12.5deg) skewY(-12.5deg);
270
+ }
271
+
272
+ 33.3% {
273
+ transform: skewX(6.25deg) skewY(6.25deg);
274
+ }
275
+
276
+ 44.4% {
277
+ transform: skewX(-3.125deg) skewY(-3.125deg);
278
+ }
279
+
280
+ 55.5% {
281
+ transform: skewX(1.5625deg) skewY(1.5625deg);
282
+ }
283
+
284
+ 66.6% {
285
+ transform: skewX(-0.78125deg) skewY(-0.78125deg);
286
+ }
287
+
288
+ 77.7% {
289
+ transform: skewX(0.390625deg) skewY(0.390625deg);
290
+ }
291
+
292
+ 88.8% {
293
+ transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
294
+ }
295
+ }
296
+
297
+ .jello {
298
+ animation-name: jello;
299
+ transform-origin: center;
300
+ }
301
+
302
+ @keyframes bounceIn {
303
+ from, 20%, 40%, 60%, 80%, to {
304
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
305
+ }
306
+
307
+ 0% {
308
+ opacity: 0;
309
+ transform: scale3d(.3, .3, .3);
310
+ }
311
+
312
+ 20% {
313
+ transform: scale3d(1.1, 1.1, 1.1);
314
+ }
315
+
316
+ 40% {
317
+ transform: scale3d(.9, .9, .9);
318
+ }
319
+
320
+ 60% {
321
+ opacity: 1;
322
+ transform: scale3d(1.03, 1.03, 1.03);
323
+ }
324
+
325
+ 80% {
326
+ transform: scale3d(.97, .97, .97);
327
+ }
328
+
329
+ to {
330
+ opacity: 1;
331
+ transform: scale3d(1, 1, 1);
332
+ }
333
+ }
334
+
335
+ .bounceIn {
336
+ animation-name: bounceIn;
337
+ }
338
+
339
+ @keyframes bounceInDown {
340
+ from, 60%, 75%, 90%, to {
341
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
342
+ }
343
+
344
+ 0% {
345
+ opacity: 0;
346
+ transform: translate3d(0, -3000px, 0);
347
+ }
348
+
349
+ 60% {
350
+ opacity: 1;
351
+ transform: translate3d(0, 25px, 0);
352
+ }
353
+
354
+ 75% {
355
+ transform: translate3d(0, -10px, 0);
356
+ }
357
+
358
+ 90% {
359
+ transform: translate3d(0, 5px, 0);
360
+ }
361
+
362
+ to {
363
+ transform: none;
364
+ }
365
+ }
366
+
367
+ .bounceInDown {
368
+ animation-name: bounceInDown;
369
+ }
370
+
371
+ @keyframes bounceInLeft {
372
+ from, 60%, 75%, 90%, to {
373
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
374
+ }
375
+
376
+ 0% {
377
+ opacity: 0;
378
+ transform: translate3d(-3000px, 0, 0);
379
+ }
380
+
381
+ 60% {
382
+ opacity: 1;
383
+ transform: translate3d(25px, 0, 0);
384
+ }
385
+
386
+ 75% {
387
+ transform: translate3d(-10px, 0, 0);
388
+ }
389
+
390
+ 90% {
391
+ transform: translate3d(5px, 0, 0);
392
+ }
393
+
394
+ to {
395
+ transform: none;
396
+ }
397
+ }
398
+
399
+ .bounceInLeft {
400
+ animation-name: bounceInLeft;
401
+ }
402
+
403
+ @keyframes bounceInRight {
404
+ from, 60%, 75%, 90%, to {
405
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
406
+ }
407
+
408
+ from {
409
+ opacity: 0;
410
+ transform: translate3d(3000px, 0, 0);
411
+ }
412
+
413
+ 60% {
414
+ opacity: 1;
415
+ transform: translate3d(-25px, 0, 0);
416
+ }
417
+
418
+ 75% {
419
+ transform: translate3d(10px, 0, 0);
420
+ }
421
+
422
+ 90% {
423
+ transform: translate3d(-5px, 0, 0);
424
+ }
425
+
426
+ to {
427
+ transform: none;
428
+ }
429
+ }
430
+
431
+ .bounceInRight {
432
+ animation-name: bounceInRight;
433
+ }
434
+
435
+ @keyframes bounceInUp {
436
+ from, 60%, 75%, 90%, to {
437
+ animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
438
+ }
439
+
440
+ from {
441
+ opacity: 0;
442
+ transform: translate3d(0, 3000px, 0);
443
+ }
444
+
445
+ 60% {
446
+ opacity: 1;
447
+ transform: translate3d(0, -20px, 0);
448
+ }
449
+
450
+ 75% {
451
+ transform: translate3d(0, 10px, 0);
452
+ }
453
+
454
+ 90% {
455
+ transform: translate3d(0, -5px, 0);
456
+ }
457
+
458
+ to {
459
+ transform: translate3d(0, 0, 0);
460
+ }
461
+ }
462
+
463
+ .bounceInUp {
464
+ animation-name: bounceInUp;
465
+ }
466
+
467
+ @keyframes bounceOut {
468
+ 20% {
469
+ transform: scale3d(.9, .9, .9);
470
+ }
471
+
472
+ 50%, 55% {
473
+ opacity: 1;
474
+ transform: scale3d(1.1, 1.1, 1.1);
475
+ }
476
+
477
+ to {
478
+ opacity: 0;
479
+ transform: scale3d(.3, .3, .3);
480
+ }
481
+ }
482
+
483
+ .bounceOut {
484
+ animation-name: bounceOut;
485
+ }
486
+
487
+ @keyframes bounceOutDown {
488
+ 20% {
489
+ transform: translate3d(0, 10px, 0);
490
+ }
491
+
492
+ 40%, 45% {
493
+ opacity: 1;
494
+ transform: translate3d(0, -20px, 0);
495
+ }
496
+
497
+ to {
498
+ opacity: 0;
499
+ transform: translate3d(0, 2000px, 0);
500
+ }
501
+ }
502
+
503
+ .bounceOutDown {
504
+ animation-name: bounceOutDown;
505
+ }
506
+
507
+ @keyframes bounceOutLeft {
508
+ 20% {
509
+ opacity: 1;
510
+ transform: translate3d(20px, 0, 0);
511
+ }
512
+
513
+ to {
514
+ opacity: 0;
515
+ transform: translate3d(-2000px, 0, 0);
516
+ }
517
+ }
518
+
519
+ .bounceOutLeft {
520
+ animation-name: bounceOutLeft;
521
+ }
522
+
523
+ @keyframes bounceOutRight {
524
+ 20% {
525
+ opacity: 1;
526
+ transform: translate3d(-20px, 0, 0);
527
+ }
528
+
529
+ to {
530
+ opacity: 0;
531
+ transform: translate3d(2000px, 0, 0);
532
+ }
533
+ }
534
+
535
+ .bounceOutRight {
536
+ animation-name: bounceOutRight;
537
+ }
538
+
539
+ @keyframes bounceOutUp {
540
+ 20% {
541
+ transform: translate3d(0, -10px, 0);
542
+ }
543
+
544
+ 40%, 45% {
545
+ opacity: 1;
546
+ transform: translate3d(0, 20px, 0);
547
+ }
548
+
549
+ to {
550
+ opacity: 0;
551
+ transform: translate3d(0, -2000px, 0);
552
+ }
553
+ }
554
+
555
+ .bounceOutUp {
556
+ animation-name: bounceOutUp;
557
+ }
558
+
559
+ @keyframes fadeIn {
560
+ from {
561
+ opacity: 0;
562
+ }
563
+
564
+ to {
565
+ opacity: 1;
566
+ }
567
+ }
568
+
569
+ .fadeIn {
570
+ animation-name: fadeIn;
571
+ }
572
+
573
+ @keyframes fadeInDown {
574
+ from {
575
+ opacity: 0;
576
+ transform: translate3d(0, -100%, 0);
577
+ }
578
+
579
+ to {
580
+ opacity: 1;
581
+ transform: none;
582
+ }
583
+ }
584
+
585
+ .fadeInDown {
586
+ animation-name: fadeInDown;
587
+ }
588
+
589
+ @keyframes fadeInDownBig {
590
+ from {
591
+ opacity: 0;
592
+ transform: translate3d(0, -2000px, 0);
593
+ }
594
+
595
+ to {
596
+ opacity: 1;
597
+ transform: none;
598
+ }
599
+ }
600
+
601
+ .fadeInDownBig {
602
+ animation-name: fadeInDownBig;
603
+ }
604
+
605
+ @keyframes fadeInLeft {
606
+ from {
607
+ opacity: 0;
608
+ transform: translate3d(-100%, 0, 0);
609
+ }
610
+
611
+ to {
612
+ opacity: 1;
613
+ transform: none;
614
+ }
615
+ }
616
+
617
+ .fadeInLeft {
618
+ animation-name: fadeInLeft;
619
+ }
620
+
621
+ @keyframes fadeInLeftBig {
622
+ from {
623
+ opacity: 0;
624
+ transform: translate3d(-2000px, 0, 0);
625
+ }
626
+
627
+ to {
628
+ opacity: 1;
629
+ transform: none;
630
+ }
631
+ }
632
+
633
+ .fadeInLeftBig {
634
+ animation-name: fadeInLeftBig;
635
+ }
636
+
637
+ @keyframes fadeInRight {
638
+ from {
639
+ opacity: 0;
640
+ transform: translate3d(100%, 0, 0);
641
+ }
642
+
643
+ to {
644
+ opacity: 1;
645
+ transform: none;
646
+ }
647
+ }
648
+
649
+ .fadeInRight {
650
+ animation-name: fadeInRight;
651
+ }
652
+
653
+ @keyframes fadeInRightBig {
654
+ from {
655
+ opacity: 0;
656
+ transform: translate3d(2000px, 0, 0);
657
+ }
658
+
659
+ to {
660
+ opacity: 1;
661
+ transform: none;
662
+ }
663
+ }
664
+
665
+ .fadeInRightBig {
666
+ animation-name: fadeInRightBig;
667
+ }
668
+
669
+ @keyframes fadeInUp {
670
+ from {
671
+ opacity: 0;
672
+ transform: translate3d(0, 100%, 0);
673
+ }
674
+
675
+ to {
676
+ opacity: 1;
677
+ transform: none;
678
+ }
679
+ }
680
+
681
+ .fadeInUp {
682
+ animation-name: fadeInUp;
683
+ }
684
+
685
+ @keyframes fadeInUpBig {
686
+ from {
687
+ opacity: 0;
688
+ transform: translate3d(0, 2000px, 0);
689
+ }
690
+
691
+ to {
692
+ opacity: 1;
693
+ transform: none;
694
+ }
695
+ }
696
+
697
+ .fadeInUpBig {
698
+ animation-name: fadeInUpBig;
699
+ }
700
+
701
+ @keyframes fadeOut {
702
+ from {
703
+ opacity: 1;
704
+ }
705
+
706
+ to {
707
+ opacity: 0;
708
+ }
709
+ }
710
+
711
+ .fadeOut {
712
+ animation-name: fadeOut;
713
+ }
714
+
715
+ @keyframes fadeOutDown {
716
+ from {
717
+ opacity: 1;
718
+ }
719
+
720
+ to {
721
+ opacity: 0;
722
+ transform: translate3d(0, 100%, 0);
723
+ }
724
+ }
725
+
726
+ .fadeOutDown {
727
+ animation-name: fadeOutDown;
728
+ }
729
+
730
+ @keyframes fadeOutDownBig {
731
+ from {
732
+ opacity: 1;
733
+ }
734
+
735
+ to {
736
+ opacity: 0;
737
+ transform: translate3d(0, 2000px, 0);
738
+ }
739
+ }
740
+
741
+ .fadeOutDownBig {
742
+ animation-name: fadeOutDownBig;
743
+ }
744
+
745
+ @keyframes fadeOutLeft {
746
+ from {
747
+ opacity: 1;
748
+ }
749
+
750
+ to {
751
+ opacity: 0;
752
+ transform: translate3d(-100%, 0, 0);
753
+ }
754
+ }
755
+
756
+ .fadeOutLeft {
757
+ animation-name: fadeOutLeft;
758
+ }
759
+
760
+ @keyframes fadeOutLeftBig {
761
+ from {
762
+ opacity: 1;
763
+ }
764
+
765
+ to {
766
+ opacity: 0;
767
+ transform: translate3d(-2000px, 0, 0);
768
+ }
769
+ }
770
+
771
+ .fadeOutLeftBig {
772
+ animation-name: fadeOutLeftBig;
773
+ }
774
+
775
+ @keyframes fadeOutRight {
776
+ from {
777
+ opacity: 1;
778
+ }
779
+
780
+ to {
781
+ opacity: 0;
782
+ transform: translate3d(100%, 0, 0);
783
+ }
784
+ }
785
+
786
+ .fadeOutRight {
787
+ animation-name: fadeOutRight;
788
+ }
789
+
790
+ @keyframes fadeOutRightBig {
791
+ from {
792
+ opacity: 1;
793
+ }
794
+
795
+ to {
796
+ opacity: 0;
797
+ transform: translate3d(2000px, 0, 0);
798
+ }
799
+ }
800
+
801
+ .fadeOutRightBig {
802
+ animation-name: fadeOutRightBig;
803
+ }
804
+
805
+ @keyframes fadeOutUp {
806
+ from {
807
+ opacity: 1;
808
+ }
809
+
810
+ to {
811
+ opacity: 0;
812
+ transform: translate3d(0, -100%, 0);
813
+ }
814
+ }
815
+
816
+ .fadeOutUp {
817
+ animation-name: fadeOutUp;
818
+ }
819
+
820
+ @keyframes fadeOutUpBig {
821
+ from {
822
+ opacity: 1;
823
+ }
824
+
825
+ to {
826
+ opacity: 0;
827
+ transform: translate3d(0, -2000px, 0);
828
+ }
829
+ }
830
+
831
+ .fadeOutUpBig {
832
+ animation-name: fadeOutUpBig;
833
+ }
834
+
835
+ @keyframes flip {
836
+ from {
837
+ transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
838
+ animation-timing-function: ease-out;
839
+ }
840
+
841
+ 40% {
842
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
843
+ animation-timing-function: ease-out;
844
+ }
845
+
846
+ 50% {
847
+ transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
848
+ animation-timing-function: ease-in;
849
+ }
850
+
851
+ 80% {
852
+ transform: perspective(400px) scale3d(.95, .95, .95);
853
+ animation-timing-function: ease-in;
854
+ }
855
+
856
+ to {
857
+ transform: perspective(400px);
858
+ animation-timing-function: ease-in;
859
+ }
860
+ }
861
+
862
+ .animated.flip {
863
+ -webkit-backface-visibility: visible;
864
+ backface-visibility: visible;
865
+ animation-name: flip;
866
+ }
867
+
868
+ @keyframes flipInX {
869
+ from {
870
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
871
+ animation-timing-function: ease-in;
872
+ opacity: 0;
873
+ }
874
+
875
+ 40% {
876
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
877
+ animation-timing-function: ease-in;
878
+ }
879
+
880
+ 60% {
881
+ transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
882
+ opacity: 1;
883
+ }
884
+
885
+ 80% {
886
+ transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
887
+ }
888
+
889
+ to {
890
+ transform: perspective(400px);
891
+ }
892
+ }
893
+
894
+ .flipInX {
895
+ -webkit-backface-visibility: visible !important;
896
+ backface-visibility: visible !important;
897
+ animation-name: flipInX;
898
+ }
899
+
900
+ @keyframes flipInY {
901
+ from {
902
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
903
+ animation-timing-function: ease-in;
904
+ opacity: 0;
905
+ }
906
+
907
+ 40% {
908
+ transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
909
+ animation-timing-function: ease-in;
910
+ }
911
+
912
+ 60% {
913
+ transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
914
+ opacity: 1;
915
+ }
916
+
917
+ 80% {
918
+ transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
919
+ }
920
+
921
+ to {
922
+ transform: perspective(400px);
923
+ }
924
+ }
925
+
926
+ .flipInY {
927
+ -webkit-backface-visibility: visible !important;
928
+ backface-visibility: visible !important;
929
+ animation-name: flipInY;
930
+ }
931
+
932
+ @keyframes flipOutX {
933
+ from {
934
+ transform: perspective(400px);
935
+ }
936
+
937
+ 30% {
938
+ transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
939
+ opacity: 1;
940
+ }
941
+
942
+ to {
943
+ transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
944
+ opacity: 0;
945
+ }
946
+ }
947
+
948
+ .flipOutX {
949
+ animation-name: flipOutX;
950
+ -webkit-backface-visibility: visible !important;
951
+ backface-visibility: visible !important;
952
+ }
953
+
954
+ @keyframes flipOutY {
955
+ from {
956
+ transform: perspective(400px);
957
+ }
958
+
959
+ 30% {
960
+ transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
961
+ opacity: 1;
962
+ }
963
+
964
+ to {
965
+ transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
966
+ opacity: 0;
967
+ }
968
+ }
969
+
970
+ .flipOutY {
971
+ -webkit-backface-visibility: visible !important;
972
+ backface-visibility: visible !important;
973
+ animation-name: flipOutY;
974
+ }
975
+
976
+ @keyframes lightSpeedIn {
977
+ from {
978
+ transform: translate3d(100%, 0, 0) skewX(-30deg);
979
+ opacity: 0;
980
+ }
981
+
982
+ 60% {
983
+ transform: skewX(20deg);
984
+ opacity: 1;
985
+ }
986
+
987
+ 80% {
988
+ transform: skewX(-5deg);
989
+ opacity: 1;
990
+ }
991
+
992
+ to {
993
+ transform: none;
994
+ opacity: 1;
995
+ }
996
+ }
997
+
998
+ .lightSpeedIn {
999
+ animation-name: lightSpeedIn;
1000
+ animation-timing-function: ease-out;
1001
+ }
1002
+
1003
+ @keyframes lightSpeedOut {
1004
+ from {
1005
+ opacity: 1;
1006
+ }
1007
+
1008
+ to {
1009
+ transform: translate3d(100%, 0, 0) skewX(30deg);
1010
+ opacity: 0;
1011
+ }
1012
+ }
1013
+
1014
+ .lightSpeedOut {
1015
+ animation-name: lightSpeedOut;
1016
+ animation-timing-function: ease-in;
1017
+ }
1018
+
1019
+ @keyframes rotateIn {
1020
+ from {
1021
+ transform-origin: center;
1022
+ transform: rotate3d(0, 0, 1, -200deg);
1023
+ opacity: 0;
1024
+ }
1025
+
1026
+ to {
1027
+ transform-origin: center;
1028
+ transform: none;
1029
+ opacity: 1;
1030
+ }
1031
+ }
1032
+
1033
+ .rotateIn {
1034
+ animation-name: rotateIn;
1035
+ }
1036
+
1037
+ @keyframes rotateInDownLeft {
1038
+ from {
1039
+ transform-origin: left bottom;
1040
+ transform: rotate3d(0, 0, 1, -45deg);
1041
+ opacity: 0;
1042
+ }
1043
+
1044
+ to {
1045
+ transform-origin: left bottom;
1046
+ transform: none;
1047
+ opacity: 1;
1048
+ }
1049
+ }
1050
+
1051
+ .rotateInDownLeft {
1052
+ animation-name: rotateInDownLeft;
1053
+ }
1054
+
1055
+ @keyframes rotateInDownRight {
1056
+ from {
1057
+ transform-origin: right bottom;
1058
+ transform: rotate3d(0, 0, 1, 45deg);
1059
+ opacity: 0;
1060
+ }
1061
+
1062
+ to {
1063
+ transform-origin: right bottom;
1064
+ transform: none;
1065
+ opacity: 1;
1066
+ }
1067
+ }
1068
+
1069
+ .rotateInDownRight {
1070
+ animation-name: rotateInDownRight;
1071
+ }
1072
+
1073
+ @keyframes rotateInUpLeft {
1074
+ from {
1075
+ transform-origin: left bottom;
1076
+ transform: rotate3d(0, 0, 1, 45deg);
1077
+ opacity: 0;
1078
+ }
1079
+
1080
+ to {
1081
+ transform-origin: left bottom;
1082
+ transform: none;
1083
+ opacity: 1;
1084
+ }
1085
+ }
1086
+
1087
+ .rotateInUpLeft {
1088
+ animation-name: rotateInUpLeft;
1089
+ }
1090
+
1091
+ @keyframes rotateInUpRight {
1092
+ from {
1093
+ transform-origin: right bottom;
1094
+ transform: rotate3d(0, 0, 1, -90deg);
1095
+ opacity: 0;
1096
+ }
1097
+
1098
+ to {
1099
+ transform-origin: right bottom;
1100
+ transform: none;
1101
+ opacity: 1;
1102
+ }
1103
+ }
1104
+
1105
+ .rotateInUpRight {
1106
+ animation-name: rotateInUpRight;
1107
+ }
1108
+
1109
+ @keyframes rotateOut {
1110
+ from {
1111
+ transform-origin: center;
1112
+ opacity: 1;
1113
+ }
1114
+
1115
+ to {
1116
+ transform-origin: center;
1117
+ transform: rotate3d(0, 0, 1, 200deg);
1118
+ opacity: 0;
1119
+ }
1120
+ }
1121
+
1122
+ .rotateOut {
1123
+ animation-name: rotateOut;
1124
+ }
1125
+
1126
+ @keyframes rotateOutDownLeft {
1127
+ from {
1128
+ transform-origin: left bottom;
1129
+ opacity: 1;
1130
+ }
1131
+
1132
+ to {
1133
+ transform-origin: left bottom;
1134
+ transform: rotate3d(0, 0, 1, 45deg);
1135
+ opacity: 0;
1136
+ }
1137
+ }
1138
+
1139
+ .rotateOutDownLeft {
1140
+ animation-name: rotateOutDownLeft;
1141
+ }
1142
+
1143
+ @keyframes rotateOutDownRight {
1144
+ from {
1145
+ transform-origin: right bottom;
1146
+ opacity: 1;
1147
+ }
1148
+
1149
+ to {
1150
+ transform-origin: right bottom;
1151
+ transform: rotate3d(0, 0, 1, -45deg);
1152
+ opacity: 0;
1153
+ }
1154
+ }
1155
+
1156
+ .rotateOutDownRight {
1157
+ animation-name: rotateOutDownRight;
1158
+ }
1159
+
1160
+ @keyframes rotateOutUpLeft {
1161
+ from {
1162
+ transform-origin: left bottom;
1163
+ opacity: 1;
1164
+ }
1165
+
1166
+ to {
1167
+ transform-origin: left bottom;
1168
+ transform: rotate3d(0, 0, 1, -45deg);
1169
+ opacity: 0;
1170
+ }
1171
+ }
1172
+
1173
+ .rotateOutUpLeft {
1174
+ animation-name: rotateOutUpLeft;
1175
+ }
1176
+
1177
+ @keyframes rotateOutUpRight {
1178
+ from {
1179
+ transform-origin: right bottom;
1180
+ opacity: 1;
1181
+ }
1182
+
1183
+ to {
1184
+ transform-origin: right bottom;
1185
+ transform: rotate3d(0, 0, 1, 90deg);
1186
+ opacity: 0;
1187
+ }
1188
+ }
1189
+
1190
+ .rotateOutUpRight {
1191
+ animation-name: rotateOutUpRight;
1192
+ }
1193
+
1194
+ @keyframes hinge {
1195
+ 0% {
1196
+ transform-origin: top left;
1197
+ animation-timing-function: ease-in-out;
1198
+ }
1199
+
1200
+ 20%, 60% {
1201
+ transform: rotate3d(0, 0, 1, 80deg);
1202
+ transform-origin: top left;
1203
+ animation-timing-function: ease-in-out;
1204
+ }
1205
+
1206
+ 40%, 80% {
1207
+ transform: rotate3d(0, 0, 1, 60deg);
1208
+ transform-origin: top left;
1209
+ animation-timing-function: ease-in-out;
1210
+ opacity: 1;
1211
+ }
1212
+
1213
+ to {
1214
+ transform: translate3d(0, 700px, 0);
1215
+ opacity: 0;
1216
+ }
1217
+ }
1218
+
1219
+ .hinge {
1220
+ animation-name: hinge;
1221
+ }
1222
+
1223
+ @keyframes jackInTheBox {
1224
+ from {
1225
+ opacity: 0;
1226
+ transform: scale(0.1) rotate(30deg);
1227
+ transform-origin: center bottom;
1228
+ }
1229
+
1230
+ 50% {
1231
+ transform: rotate(-10deg);
1232
+ }
1233
+
1234
+ 70% {
1235
+ transform: rotate(3deg);
1236
+ }
1237
+
1238
+ to {
1239
+ opacity: 1;
1240
+ transform: scale(1);
1241
+ }
1242
+ }
1243
+
1244
+ .jackInTheBox {
1245
+ animation-name: jackInTheBox;
1246
+ }
1247
+
1248
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
1249
+
1250
+ @keyframes rollIn {
1251
+ from {
1252
+ opacity: 0;
1253
+ transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
1254
+ }
1255
+
1256
+ to {
1257
+ opacity: 1;
1258
+ transform: none;
1259
+ }
1260
+ }
1261
+
1262
+ .rollIn {
1263
+ animation-name: rollIn;
1264
+ }
1265
+
1266
+ /* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
1267
+
1268
+ @keyframes rollOut {
1269
+ from {
1270
+ opacity: 1;
1271
+ }
1272
+
1273
+ to {
1274
+ opacity: 0;
1275
+ transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
1276
+ }
1277
+ }
1278
+
1279
+ .rollOut {
1280
+ animation-name: rollOut;
1281
+ }
1282
+
1283
+ @keyframes zoomIn {
1284
+ from {
1285
+ opacity: 0;
1286
+ transform: scale3d(.3, .3, .3);
1287
+ }
1288
+
1289
+ 50% {
1290
+ opacity: 1;
1291
+ }
1292
+ }
1293
+
1294
+ .zoomIn {
1295
+ animation-name: zoomIn;
1296
+ }
1297
+
1298
+ @keyframes zoomInDown {
1299
+ from {
1300
+ opacity: 0;
1301
+ transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
1302
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1303
+ }
1304
+
1305
+ 60% {
1306
+ opacity: 1;
1307
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
1308
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1309
+ }
1310
+ }
1311
+
1312
+ .zoomInDown {
1313
+ animation-name: zoomInDown;
1314
+ }
1315
+
1316
+ @keyframes zoomInLeft {
1317
+ from {
1318
+ opacity: 0;
1319
+ transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
1320
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1321
+ }
1322
+
1323
+ 60% {
1324
+ opacity: 1;
1325
+ transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
1326
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1327
+ }
1328
+ }
1329
+
1330
+ .zoomInLeft {
1331
+ animation-name: zoomInLeft;
1332
+ }
1333
+
1334
+ @keyframes zoomInRight {
1335
+ from {
1336
+ opacity: 0;
1337
+ transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
1338
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1339
+ }
1340
+
1341
+ 60% {
1342
+ opacity: 1;
1343
+ transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
1344
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1345
+ }
1346
+ }
1347
+
1348
+ .zoomInRight {
1349
+ animation-name: zoomInRight;
1350
+ }
1351
+
1352
+ @keyframes zoomInUp {
1353
+ from {
1354
+ opacity: 0;
1355
+ transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
1356
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1357
+ }
1358
+
1359
+ 60% {
1360
+ opacity: 1;
1361
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
1362
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1363
+ }
1364
+ }
1365
+
1366
+ .zoomInUp {
1367
+ animation-name: zoomInUp;
1368
+ }
1369
+
1370
+ @keyframes zoomOut {
1371
+ from {
1372
+ opacity: 1;
1373
+ }
1374
+
1375
+ 50% {
1376
+ opacity: 0;
1377
+ transform: scale3d(.3, .3, .3);
1378
+ }
1379
+
1380
+ to {
1381
+ opacity: 0;
1382
+ }
1383
+ }
1384
+
1385
+ .zoomOut {
1386
+ animation-name: zoomOut;
1387
+ }
1388
+
1389
+ @keyframes zoomOutDown {
1390
+ 40% {
1391
+ opacity: 1;
1392
+ transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
1393
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1394
+ }
1395
+
1396
+ to {
1397
+ opacity: 0;
1398
+ transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
1399
+ transform-origin: center bottom;
1400
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1401
+ }
1402
+ }
1403
+
1404
+ .zoomOutDown {
1405
+ animation-name: zoomOutDown;
1406
+ }
1407
+
1408
+ @keyframes zoomOutLeft {
1409
+ 40% {
1410
+ opacity: 1;
1411
+ transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
1412
+ }
1413
+
1414
+ to {
1415
+ opacity: 0;
1416
+ transform: scale(.1) translate3d(-2000px, 0, 0);
1417
+ transform-origin: left center;
1418
+ }
1419
+ }
1420
+
1421
+ .zoomOutLeft {
1422
+ animation-name: zoomOutLeft;
1423
+ }
1424
+
1425
+ @keyframes zoomOutRight {
1426
+ 40% {
1427
+ opacity: 1;
1428
+ transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
1429
+ }
1430
+
1431
+ to {
1432
+ opacity: 0;
1433
+ transform: scale(.1) translate3d(2000px, 0, 0);
1434
+ transform-origin: right center;
1435
+ }
1436
+ }
1437
+
1438
+ .zoomOutRight {
1439
+ animation-name: zoomOutRight;
1440
+ }
1441
+
1442
+ @keyframes zoomOutUp {
1443
+ 40% {
1444
+ opacity: 1;
1445
+ transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
1446
+ animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
1447
+ }
1448
+
1449
+ to {
1450
+ opacity: 0;
1451
+ transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
1452
+ transform-origin: center bottom;
1453
+ animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
1454
+ }
1455
+ }
1456
+
1457
+ .zoomOutUp {
1458
+ animation-name: zoomOutUp;
1459
+ }
1460
+
1461
+ @keyframes slideInDown {
1462
+ from {
1463
+ transform: translate3d(0, -100%, 0);
1464
+ visibility: visible;
1465
+ }
1466
+
1467
+ to {
1468
+ transform: translate3d(0, 0, 0);
1469
+ }
1470
+ }
1471
+
1472
+ .slideInDown {
1473
+ animation-name: slideInDown;
1474
+ }
1475
+
1476
+ @keyframes slideInLeft {
1477
+ from {
1478
+ transform: translate3d(-100%, 0, 0);
1479
+ visibility: visible;
1480
+ }
1481
+
1482
+ to {
1483
+ transform: translate3d(0, 0, 0);
1484
+ }
1485
+ }
1486
+
1487
+ .slideInLeft {
1488
+ animation-name: slideInLeft;
1489
+ }
1490
+
1491
+ @keyframes slideInRight {
1492
+ from {
1493
+ transform: translate3d(100%, 0, 0);
1494
+ visibility: visible;
1495
+ }
1496
+
1497
+ to {
1498
+ transform: translate3d(0, 0, 0);
1499
+ }
1500
+ }
1501
+
1502
+ .slideInRight {
1503
+ animation-name: slideInRight;
1504
+ }
1505
+
1506
+ @keyframes slideInUp {
1507
+ from {
1508
+ transform: translate3d(0, 100%, 0);
1509
+ visibility: visible;
1510
+ }
1511
+
1512
+ to {
1513
+ transform: translate3d(0, 0, 0);
1514
+ }
1515
+ }
1516
+
1517
+ .slideInUp {
1518
+ animation-name: slideInUp;
1519
+ }
1520
+
1521
+ @keyframes slideOutDown {
1522
+ from {
1523
+ transform: translate3d(0, 0, 0);
1524
+ }
1525
+
1526
+ to {
1527
+ visibility: hidden;
1528
+ transform: translate3d(0, 100%, 0);
1529
+ }
1530
+ }
1531
+
1532
+ .slideOutDown {
1533
+ animation-name: slideOutDown;
1534
+ }
1535
+
1536
+ @keyframes slideOutLeft {
1537
+ from {
1538
+ transform: translate3d(0, 0, 0);
1539
+ }
1540
+
1541
+ to {
1542
+ visibility: hidden;
1543
+ transform: translate3d(-100%, 0, 0);
1544
+ }
1545
+ }
1546
+
1547
+ .slideOutLeft {
1548
+ animation-name: slideOutLeft;
1549
+ }
1550
+
1551
+ @keyframes slideOutRight {
1552
+ from {
1553
+ transform: translate3d(0, 0, 0);
1554
+ }
1555
+
1556
+ to {
1557
+ visibility: hidden;
1558
+ transform: translate3d(100%, 0, 0);
1559
+ }
1560
+ }
1561
+
1562
+ .slideOutRight {
1563
+ animation-name: slideOutRight;
1564
+ }
1565
+
1566
+ @keyframes slideOutUp {
1567
+ from {
1568
+ transform: translate3d(0, 0, 0);
1569
+ }
1570
+
1571
+ to {
1572
+ visibility: hidden;
1573
+ transform: translate3d(0, -100%, 0);
1574
+ }
1575
+ }
1576
+
1577
+ .slideOutUp {
1578
+ animation-name: slideOutUp;
1579
+ }
inc/assets/css/owl.carousel.min.css ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /**
2
+ * Owl Carousel v2.2.1
3
+ * Copyright 2013-2017 David Deutsch
4
+ * Licensed under ()
5
+ */
6
+ .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}
inc/{js → assets/js}/custom-js.js RENAMED
File without changes
inc/{js → assets/js}/jquery.counterup.js RENAMED
File without changes
inc/{js → assets/js}/jquery.counterup.min.js RENAMED
File without changes
inc/assets/js/owl.carousel.min.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Owl Carousel v2.2.1
3
+ * Copyright 2013-2017 David Deutsch
4
+ * Licensed under ()
5
+ */
6
+ !function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g--;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var b,c,e;b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&e<=0&&this.preloadAutoWidthImages(b)}this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var d=-1,e=30,f=this.width(),g=this.coordinates();return this.settings.freeDrag||a.each(g,a.proxy(function(a,h){return"left"===c&&b>h-e&&b<h+e?d=a:"right"===c&&b>h-f-e&&b<h-f+e?d=a+1:this.op(b,"<",h)&&this.op(b,">",g[a+1]||h-f)&&(d="left"===c?a+1:a),d===-1},this)),this.settings.loop||(this.op(b,">",g[this.minimum()])?d=b=this.minimum():this.op(b,"<",g[this.maximum()])&&(d=b=this.maximum())),d},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(b=this._items.length,c=this._items[--b].width(),d=this.$element.width();b--&&(c+=this._items[b].width()+this.settings.margin,!(c>d)););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=f*-1*g),a=c+e,d=((a-h)%g+g)%g+h,d!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.$element.is(":visible")&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),this.settings.responsive!==!1&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&a.namespace.indexOf("owl")!==-1?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&e*-1||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.$stage.children().toArray().slice(b,c),e=[],f=0;a.each(d,function(b,c){e.push(a(c).height())}),f=Math.max.apply(null,e),this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?'<div class="owl-video-tn '+j+'" '+i+'="'+a+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+a+')"></div>',b.after(d),b.after(e)};if(b.wrap('<div class="owl-video-wrapper"'+g+"></div>"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),"youtube"===f.type?c='<iframe width="'+g+'" height="'+h+'" src="//www.youtube.com/embed/'+f.id+"?autoplay=1&rel=0&v="+f.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===f.type?c='<iframe src="//player.vimeo.com/video/'+f.id+'?autoplay=1" width="'+g+'" height="'+h+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===f.type&&(c='<iframe frameborder="0"height="'+h+'"width="'+g+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+f.id+'/player?autoplay=true"></iframe>'),a('<div class="owl-video-frame">'+c+"</div>").insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},
7
+ a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(a,b){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(d,e){return this._timeout&&b.clearTimeout(this._timeout),b.setTimeout(a.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||c.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),d||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(b.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a("<div>").addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);
8
+
9
+
10
+
11
+ jQuery(function($) {
12
+
13
+ jQuery(document).ready(function() {
14
+ // Header Slide
15
+ $(".header-slider").owlCarousel({
16
+ rtl:$("html").attr("dir") == 'rtl' ? true : false,
17
+ items: 1,
18
+ loop: true,
19
+ dots: false,
20
+ nav: false,
21
+ autoplay: true,
22
+ autoplayTimeout: 60000,
23
+ animateIn: 'pulse',
24
+ animateOut: 'fadeOut',
25
+ thumbs: true,
26
+ thumbImage: true,
27
+ thumbContainerClass: 'owl-thumbs',
28
+ thumbItemClass: 'owl-thumb-item'
29
+ });
30
+
31
+ // Header Slide items with animate.css
32
+ var owl = $('.header-slider');
33
+ owl.owlCarousel();
34
+ owl.on('translate.owl.carousel', function(event) {
35
+ $('.header-single-slider h1').removeClass('animated').hide();
36
+ $('.header-single-slider p').removeClass('animated').hide();
37
+ $('.header-single-slider .boxed-btn').removeClass('animated').hide();
38
+ });
39
+
40
+ owl.on('translated.owl.carousel', function(event) {
41
+ $('.header-single-slider h1').addClass('animated fadeInUp').show();
42
+ $('.header-single-slider p').addClass('animated fadeInDown').show();
43
+ $('.header-single-slider .boxed-btn').addClass('animated fadeInDown').show();
44
+ });
45
+
46
+ // partner Carousel
47
+ $(".partner-carousel").owlCarousel({
48
+ rtl:$("html").attr("dir") == 'rtl' ? true : false,
49
+ loop: true,
50
+ dots: false,
51
+ nav: false,
52
+ margin: 30,
53
+ autoplay: true,
54
+ autoplayTimeout: 3000,
55
+ thumbs: false,
56
+ thumbImage: false,
57
+ responsive: {
58
+ 0: {
59
+ items: 1
60
+ },
61
+ 700: {
62
+ items: 2,
63
+ },
64
+ 1000: {
65
+ items: 5
66
+ }
67
+ }
68
+ });
69
+ });
70
+ });
inc/assets/js/owlCarousel2Thumbs.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*! OwlCarousel2Thumbs - v0.1.3 | (c) 2015 @gijsroge | MIT license | https://github.com/gijsroge/OwlCarousel2-Thumbs */
2
+ !function(a){"use strict";var b=function(c){this.owl=c,this._thumbcontent=[],this.owl_currentitem=this.owl.options.startPosition,this.$element=this.owl.$element,this._handlers={"prepared.owl.carousel":a.proxy(function(b){if(b.namespace&&this.owl._options.thumbs&&!this.owl._options.thumbImage)this._thumbcontent.push(a(b.content).find("[data-thumb]").attr("data-thumb"));else if(b.namespace&&this.owl._options.thumbs&&this.owl._options.thumbImage){var c=a(b.content).find("img");this._thumbcontent.push(c)}},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this.owl._options.thumbs&&(this.initialize(),this.currentslide(),this.draw())},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this.owl._options.thumbs&&(this.currentslide(),this.draw())},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&this.draw()},this)},this.owl._options=a.extend(b.Defaults,this.owl.options),this.owl.$element.on(this._handlers)};b.Defaults={thumbs:!0,thumbImage:!1,thumbContainerClass:"owl-thumbs",thumbItemClass:"owl-thumb-item"},b.prototype.currentslide=function(){this.owl_currentitem=this.owl._current-this.owl._clones.length/2,this.owl_currentitem===this.owl._items.length&&(this.owl_currentitem=0)},b.prototype.draw=function(){a(this._thumbcontent._thumbcontainer).children().filter(".active").removeClass("active"),a(this._thumbcontent._thumbcontainer).children().eq(this.owl_currentitem).addClass("active")},b.prototype.initialize=function(){var b=this.owl._options;this._thumbcontent._thumbcontainer=a("<div>").addClass(b.thumbContainerClass).appendTo(this.$element);var c;if(this.owl._options.thumbImage)for(c=0;c<this._thumbcontent.length;++c)this._thumbcontent._thumbcontainer.append("<button class="+b.thumbItemClass+'><img src="'+this._thumbcontent[c].attr("src")+'" alt="'+this._thumbcontent[c].attr("alt")+'" /></button>');else for(c=0;c<this._thumbcontent.length;++c)this._thumbcontent._thumbcontainer.append("<button class="+b.thumbItemClass+">"+this._thumbcontent[c]+"</button>");a(this._thumbcontent._thumbcontainer).on("click","button",a.proxy(function(c){var d=a(c.target).parent().is(this._thumbcontent._thumbcontainer)?a(c.target).index():a(c.target).parent().index();c.preventDefault(),this.owl.to(d,b.dotsSpeed)},this))},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this.owl.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Thumbs=b}(window.Zepto||window.jQuery,window,document);
inc/cleverfox-activator.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Fired during plugin activation
5
+ *
6
+ * @package Clever-fox
7
+ */
8
+
9
+ /**
10
+ * This class defines all code necessary to run during the plugin's activation.
11
+ *
12
+ */
13
+ class Cleverfox_Activator {
14
+
15
+ public static function activate() {
16
+
17
+ $item_details_page = get_option('item_details_page');
18
+ $theme = wp_get_theme(); // gets the current theme
19
+ if(!$item_details_page){
20
+ if ( 'StartKit' == $theme->name){
21
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/default-pages/upload-media.php';
22
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/default-pages/home-page.php';
23
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/default-widgets/default-widget.php';
24
+ }
25
+
26
+ if ( 'StartBiz' == $theme->name){
27
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/default-pages/upload-media.php';
28
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/default-pages/home-page.php';
29
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startbiz/default-widgets/default-widget.php';
30
+ }
31
+
32
+ if ( 'Arowana' == $theme->name){
33
+ require CLEVERFOX_PLUGIN_DIR . 'inc/arowana/default-pages/upload-media.php';
34
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/default-pages/home-page.php';
35
+ require CLEVERFOX_PLUGIN_DIR . 'inc/arowana/default-widgets/default-widget.php';
36
+ }
37
+ if ( 'Envira' == $theme->name){
38
+ require CLEVERFOX_PLUGIN_DIR . 'inc/envira/default-pages/upload-media.php';
39
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/default-pages/home-page.php';
40
+ require CLEVERFOX_PLUGIN_DIR . 'inc/envira/default-widgets/default-widget.php';
41
+ }
42
+
43
+ if ( 'Hantus' == $theme->name){
44
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/default-pages/upload-media.php';
45
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/default-pages/home-page.php';
46
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/default-widgets/default-widget.php';
47
+ }
48
+ if ( 'Conceptly' == $theme->name){
49
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/default-pages/upload-media.php';
50
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/default-pages/home-page.php';
51
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/default-widgets/default-widget.php';
52
+ }
53
+ update_option( 'item_details_page', 'Done' );
54
+ }
55
+ }
56
+
57
+ }
inc/conceptly/conceptly.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Conceptly
4
+ */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/extras.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/dynamic-style.php';
8
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/above-header.php';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-header.php';
10
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-call-to-action.php';
11
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-features.php';
12
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-info.php';
13
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-service.php';
14
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-slider.php';
15
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-sponsers.php';
16
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-typography.php';
17
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/features/conceptly-navigation.php';
18
+
19
+
20
+ if ( ! function_exists( 'cleverfox_conceptly_frontpage_sections' ) ) :
21
+ function cleverfox_conceptly_frontpage_sections() {
22
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/section-slider.php';
23
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/section-flash.php';
24
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/section-service.php';
25
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/section-features.php';
26
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/section-cta.php';
27
+ require CLEVERFOX_PLUGIN_DIR . 'inc/conceptly/sections/section-sponser.php';
28
+ }
29
+ add_action( 'conceptly_sections', 'cleverfox_conceptly_frontpage_sections' );
30
+ endif;
31
+
32
+ function cleverfox_conceptly_enqueue_scripts() {
33
+ wp_enqueue_style('animate',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/animate.css');
34
+ wp_enqueue_style('owl-carousel-min',CLEVERFOX_PLUGIN_URL .'/inc/assets/css/owl.carousel.min.css');
35
+ wp_enqueue_script( 'owl-carousel', CLEVERFOX_PLUGIN_URL . 'inc/assets/js/owl.carousel.min.js', array('jquery'), false, true);
36
+ wp_enqueue_script('owlCarousel2Thumbs', CLEVERFOX_PLUGIN_URL . 'inc/assets/js/owlCarousel2Thumbs.min.js', array('jquery'), false, true);
37
+ }
38
+ add_action( 'wp_enqueue_scripts', 'cleverfox_conceptly_enqueue_scripts' );
inc/conceptly/default-pages/home-page.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ //post status and options
3
+ $post = array(
4
+ 'comment_status' => 'closed',
5
+ 'ping_status' => 'closed' ,
6
+ 'post_author' => 1,
7
+ 'post_date' => date('Y-m-d H:i:s'),
8
+ 'post_name' => 'Home',
9
+ 'post_status' => 'publish' ,
10
+ 'post_title' => 'Home',
11
+ 'post_type' => 'page',
12
+ );
13
+ //insert page and save the id
14
+ $newvalue = wp_insert_post( $post, false );
15
+ if ( $newvalue && ! is_wp_error( $newvalue ) ){
16
+ update_post_meta( $newvalue, '_wp_page_template', '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
+ }
24
+ ?>
inc/conceptly/default-pages/upload-media.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $file = CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/logo.png';
3
+ $ImagePath = CLEVERFOX_PLUGIN_URL .'inc/conceptly/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' => 'hantus 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( 'conceptly_media_id', $ImageId );
33
+
34
+ ?>
inc/conceptly/default-widgets/default-widget.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $activate = array(
3
+ 'conceptly-sidebar-primary' => array(
4
+ 'search-1',
5
+ 'recent-posts-1',
6
+ 'archives-1',
7
+ ),
8
+ 'conceptly-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="footer-logo"><img src="'.CLEVERFOX_PLUGIN_URL.'inc/conceptly/images/logo.png" alt=""></div>
19
+ <p>There are many variations of dummy passages of Lorem Ipsum a available, but the majority have suffered that is alteration in some that form injected humour or randomised.</p>
20
+ <ul class="widget-social">
21
+ <li><a href="#"><i class="fa fa-facebook"></i></a></li>
22
+ <li><a href="#"><i class="fa fa-twitter"></i></a></li>
23
+ <li><a href="#"><i class="fa fa-linkedin"></i></a></li>
24
+ <li><a href="#"><i class="fa fa-google-plus"></i></a></li>
25
+ <li><a href="#"><i class="fa fa-pinterest"></i></a></li>
26
+ <li><a href="#"><i class="fa fa-instagram"></i></a></li>
27
+ </ul>
28
+ '),
29
+ 2 => array('title' => 'Recent Posts'),
30
+ 3 => array('title' => 'Categories'),
31
+ ));
32
+ update_option('widget_categories', array(
33
+ 1 => array('title' => 'Categories'),
34
+ 2 => array('title' => 'Categories')));
35
+
36
+ update_option('widget_archives', array(
37
+ 1 => array('title' => 'Archives'),
38
+ 2 => array('title' => 'Archives')));
39
+
40
+ update_option('widget_search', array(
41
+ 1 => array('title' => 'Search'),
42
+ 2 => array('title' => 'Search')));
43
+
44
+ update_option('sidebars_widgets', $activate);
45
+ $MediaId = get_option('conceptly_media_id');
46
+ set_theme_mod( 'custom_logo', $MediaId[0] );
47
+ ?>
inc/conceptly/dynamic-style.php ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( ! function_exists( 'cleverfox_conceptly_dynamic_styles' ) ):
3
+ function cleverfox_conceptly_dynamic_styles() {
4
+ $output_css = '';
5
+ $hide_show_typography= get_theme_mod('hide_show_typography','off');
6
+ if( $hide_show_typography == '1' ){
7
+ /**
8
+ * Typography Body
9
+ */
10
+ $body_font_family = get_theme_mod('body_font_family');
11
+ $body_typography_font_weight = get_theme_mod('body_typography_font_weight','normal');
12
+ $body_font_size = get_theme_mod('body_font_size','16');
13
+ $body_line_height = get_theme_mod('body_line_height','1.6');
14
+
15
+ if($body_font_family !== '') {
16
+ if ( $body_font_family && ( strpos( $body_font_family, ',' ) != true ) ) {
17
+ conceptly_enqueue_google_font($body_font_family);
18
+ }
19
+ $output_css .=" body{ font-family: " .esc_attr($body_font_family). "; }\n";
20
+ }
21
+
22
+ $output_css .=" body{
23
+ font-size: " .esc_attr($body_font_size). "px;
24
+ line-height: " .esc_attr($body_line_height). ";
25
+ font-style: " .esc_attr($body_typography_font_weight). ";
26
+ }\n";
27
+
28
+ /**
29
+ * Typography Menu
30
+ */
31
+ $menu_text_transform = get_theme_mod('menu_text_transform','inherit');
32
+ $menu_font_weight = get_theme_mod('menu_font_weight','normal');
33
+ $menu_font_size = get_theme_mod('menu_font_size','15');
34
+ $menu_line_height = get_theme_mod('menu_line_height','1.6');
35
+ $output_css .=" .main-menu li a{
36
+ text-transform:" .esc_attr($menu_text_transform). ";
37
+ font-size: " .esc_attr($menu_font_size). "px;
38
+ line-height: " .esc_attr($menu_line_height). ";
39
+ font-style: " .esc_attr($menu_font_weight). ";
40
+ }\n";
41
+
42
+ /**
43
+ * Typography Section
44
+ */
45
+ $sec_ttl_text_transform = get_theme_mod('sec_ttl_text_transform','inherit');
46
+ $section_tit_font_weight = get_theme_mod('section_tit_font_weight','normal');
47
+ $section_tit_font_size = get_theme_mod('section_tit_font_size','36');
48
+ $section_ttl_line_height = get_theme_mod('section_ttl_line_height','1.6');
49
+
50
+ $sec_desc_text_transform = get_theme_mod('sec_desc_text_transform','inherit');
51
+ $section_des_font_weight = get_theme_mod('section_des_font_weight','normal');
52
+ $section_desc_font_size = get_theme_mod('section_desc_font_size','16');
53
+ $section_desc_line_height = get_theme_mod('section_desc_line_height','1.6');
54
+
55
+ $output_css .=" .section-title h2{
56
+ text-transform:" .esc_attr($sec_ttl_text_transform). ";
57
+ font-size: " .esc_attr($section_tit_font_size). "px;
58
+ line-height: " .esc_attr($section_ttl_line_height). ";
59
+ font-style: " .esc_attr($section_tit_font_weight). ";
60
+ }\n";
61
+
62
+ $output_css .=" .section-title p{
63
+ text-transform:" .esc_attr($sec_desc_text_transform). ";
64
+ font-size: " .esc_attr($section_desc_font_size). "px;
65
+ line-height: " .esc_attr($section_desc_line_height). ";
66
+ font-style: " .esc_attr($section_des_font_weight). ";
67
+ }\n";
68
+
69
+ /**
70
+ * Typography Heading
71
+ */
72
+ for ( $i = 1; $i <= 6; $i++ ) {
73
+ 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;}
74
+ $heading_font_weight = get_theme_mod('h' . $i . '_font_weight','normal');
75
+ $heading_font_size = get_theme_mod('h' . $i . '_font_size',$j);
76
+ $heading_line_height = get_theme_mod('h' . $i . '_line_height','1.2');
77
+ $heading_text_transform = get_theme_mod('h' . $i . '_text_transform','inherit');
78
+
79
+ $output_css .=" h" . $i . "{
80
+ font-style: " .esc_attr($heading_font_weight). ";
81
+ text-transform: " .esc_attr($heading_text_transform). ";
82
+ font-size: " .esc_attr($heading_font_size). "px;
83
+ line-height: " .esc_attr($heading_line_height). ";
84
+ }\n";
85
+ }
86
+ }
87
+
88
+ wp_add_inline_style( 'conceptly-style', $output_css );
89
+ }
90
+ endif;
91
+ add_action( 'wp_enqueue_scripts', 'cleverfox_conceptly_dynamic_styles' );
92
+ ?>
inc/conceptly/extras.php ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Social Icon Default
4
+ *
5
+ */
6
+ function conceptly_get_social_icon_default() {
7
+ return apply_filters(
8
+ 'conceptly_get_social_icon_default', json_encode(
9
+ array(
10
+ array(
11
+ 'icon_value' => esc_html__( 'fa-facebook', 'conceptly-pro' ),
12
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
13
+ 'id' => 'customizer_repeater_social_001',
14
+
15
+ ),
16
+ array(
17
+ 'icon_value' => esc_html__( 'fa-linkedin', 'conceptly-pro' ),
18
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
19
+ 'id' => 'customizer_repeater_social_002',
20
+
21
+ ),
22
+ array(
23
+ 'icon_value' => esc_html__( 'fa-twitter', 'conceptly-pro' ),
24
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
25
+ 'id' => 'customizer_repeater_social_003',
26
+
27
+ ),
28
+ array(
29
+ 'icon_value' => esc_html__( 'fa-google-plus', 'conceptly-pro' ),
30
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
31
+ )
32
+ )
33
+ )
34
+ );
35
+ }
36
+ /**
37
+ * Slider Section Default
38
+ *
39
+ */
40
+
41
+ function conceptly_get_slides_default() {
42
+ return apply_filters(
43
+ 'conceptly_get_slides_default', json_encode(
44
+ array(
45
+
46
+ /*Repeater's first item*/
47
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider01.jpg' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "left", "id" => "customizer_repeater_00070" ),
48
+
49
+ /*Repeater's second item*/
50
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider02.jpg' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "center", "id" => "customizer_repeater_00071" ),
51
+
52
+ /*Repeater's third item*/
53
+ array("image_url" => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/sliders/slider03.jpg' ,"link" => "#", "title" => "We Build Your", "subtitle" => "Business IDEA", "text" => "There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.", "text2" => "Read More","slide_align" => "right", "id" => "customizer_repeater_00072" ),
54
+ )
55
+ )
56
+ );
57
+ }
58
+
59
+
60
+ /**
61
+ * Service Section Default
62
+ *
63
+ */
64
+ function conceptly_get_service_default() {
65
+ return apply_filters(
66
+ 'conceptly_get_service_default', json_encode(
67
+ array(
68
+ array(
69
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service02.jpg',
70
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
71
+ 'title' => esc_html__( 'Design', 'conceptly-pro' ),
72
+ 'subtitle' => esc_html__( 'and Developing ', 'conceptly-pro' ),
73
+ '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-pro' ),
74
+ 'text2' => esc_html__( 'Read More ', 'conceptly-pro' ),
75
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
76
+ 'id' => 'customizer_repeater_service_001',
77
+
78
+ ),
79
+ array(
80
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service003.jpg',
81
+ 'icon_value' => esc_html__( 'fa-american-sign-language-interpreting', 'conceptly-pro' ),
82
+ 'title' => esc_html__( 'Designer', 'conceptly-pro' ),
83
+ 'subtitle' => esc_html__( 'Creative Team', 'conceptly-pro' ),
84
+ '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-pro' ),
85
+ 'text2' => esc_html__( 'Read More', 'conceptly-pro' ),
86
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
87
+ 'id' => 'customizer_repeater_service_002',
88
+
89
+ ),
90
+ array(
91
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/service/service02.jpg',
92
+ 'icon_value' => esc_html__( 'fa-laptop', 'conceptly-pro' ),
93
+ 'title' => esc_html__( 'Business', 'conceptly-pro' ),
94
+ 'subtitle' => esc_html__( 'Develop', 'conceptly-pro' ),
95
+ '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-pro' ),
96
+ 'text2' => esc_html__( 'Read More', 'conceptly-pro' ),
97
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
98
+ 'id' => 'customizer_repeater_service_003',
99
+
100
+ ),
101
+ )
102
+ )
103
+ );
104
+ }
105
+
106
+ /**
107
+ * Feature Section Default
108
+ *
109
+ */
110
+ function conceptly_get_feature_default() {
111
+ return apply_filters(
112
+ 'conceptly_get_feature_default', json_encode(
113
+ array(
114
+ array(
115
+ 'title' => esc_html__( 'Business Growth', 'conceptly-pro' ),
116
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
117
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),'/assets/images/features-icon/features-icon01.png',
118
+ 'id' => 'customizer_repeater_features_001',
119
+ ),
120
+ array(
121
+ 'title' => esc_html__( 'Sustainability', 'conceptly-pro' ),
122
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
123
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
124
+ 'id' => 'customizer_repeater_features_002',
125
+
126
+ ),
127
+ array(
128
+ 'title' => esc_html__( 'Performance', 'conceptly-pro' ),
129
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
130
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
131
+ 'id' => 'customizer_repeater_features_003',
132
+
133
+ ),
134
+ array(
135
+ 'title' => esc_html__( 'Organization', 'conceptly-pro' ),
136
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
137
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
138
+ 'id' => 'customizer_repeater_features_004',
139
+
140
+ ),
141
+ array(
142
+ 'title' => esc_html__( 'Saving Strategy', 'conceptly-pro' ),
143
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
144
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
145
+ 'id' => 'customizer_repeater_features_005',
146
+
147
+ ),
148
+ array(
149
+ 'title' => esc_html__( 'Retirement Planning', 'conceptly-pro' ),
150
+ 'text' => esc_html__( 'There are many variations passages of Lorem Ipsum available but the abo majority have suffered.', 'conceptly-pro' ),
151
+ 'icon_value' => esc_html__( 'fa-cubes', 'conceptly-pro' ),
152
+ 'id' => 'customizer_repeater_features_006',
153
+
154
+ ),
155
+ )
156
+ )
157
+ );
158
+ }
159
+
160
+
161
+
162
+ /**
163
+ * Sponsor Section Default
164
+ *
165
+ */
166
+ function conceptly_get_sponsers_default() {
167
+ return apply_filters(
168
+ 'conceptly_get_sponsers_default', json_encode(
169
+ array(
170
+ array(
171
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
172
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner01.png',
173
+ 'id' => 'customizer_repeater_sponsers_001',
174
+ ),
175
+ array(
176
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
177
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner02.png',
178
+ 'id' => 'customizer_repeater_sponsers_002',
179
+
180
+ ),
181
+ array(
182
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
183
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner03.png',
184
+ 'id' => 'customizer_repeater_sponsers_003',
185
+
186
+ ),
187
+ array(
188
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
189
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner04.png',
190
+ 'id' => 'customizer_repeater_sponsers_004',
191
+
192
+ ),
193
+ array(
194
+ 'link' => esc_html__( '#', 'conceptly-pro' ),
195
+ 'image_url' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/partner/partner05.png',
196
+ 'id' => 'customizer_repeater_sponsers_005',
197
+
198
+ ),
199
+ )
200
+ )
201
+ );
202
+ }
inc/conceptly/features/conceptly-call-to-action.php ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_call_action_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+
5
+ /*=========================================
6
+ Call Action Section Panel
7
+ =========================================*/
8
+ $wp_customize->add_section(
9
+ 'call_action_setting', array(
10
+ 'title' => esc_html__( 'Call to Action Section', 'conceptly-pro' ),
11
+ 'panel' => 'conceptly_frontpage_sections',
12
+ 'priority' => apply_filters( 'conceptly_section_priority',65, 'conceptly_call' ),
13
+ )
14
+ );
15
+
16
+ /*=========================================
17
+ Call Action Settings Section
18
+ =========================================*/
19
+
20
+
21
+ $wp_customize->add_setting(
22
+ 'hide_show_cta' ,
23
+ array(
24
+ 'default' => '1',
25
+ 'capability' => 'edit_theme_options',
26
+ 'sanitize_callback' => 'sanitize_text_field',
27
+ 'transport' => $selective_refresh,
28
+ )
29
+ );
30
+
31
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
32
+ 'hide_show_cta',
33
+ array(
34
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
35
+ 'section' => 'call_action_setting',
36
+ 'settings' => 'hide_show_cta',
37
+ 'type' => 'ios', // light, ios, flat
38
+ )
39
+ ));
40
+
41
+ // Call Action Settings Section //
42
+
43
+
44
+ // Call to action title //
45
+ $wp_customize->add_setting(
46
+ 'call_to_action_title',
47
+ array(
48
+ 'default' => __('Become a Part of Community !','conceptly-pro'),
49
+ 'capability' => 'edit_theme_options',
50
+ 'sanitize_callback' => 'conceptly_sanitize_html',
51
+ 'transport' => $selective_refresh,
52
+ )
53
+ );
54
+
55
+ $wp_customize->add_control(
56
+ 'call_to_action_title',
57
+ array(
58
+ 'label' => __('Title','conceptly-pro'),
59
+ 'section' => 'call_action_setting',
60
+ 'settings' => 'call_to_action_title',
61
+ 'type' => 'text',
62
+ )
63
+ );
64
+
65
+ // call-to-action Description //
66
+ $wp_customize->add_setting(
67
+ 'call_to_action_description',
68
+ array(
69
+ 'default' => __('Get in touch with us and send some basic info for a quick quote','conceptly-pro'),
70
+ 'capability' => 'edit_theme_options',
71
+ 'sanitize_callback' => 'conceptly_sanitize_text',
72
+ 'transport' => $selective_refresh,
73
+ )
74
+ );
75
+
76
+ $wp_customize->add_control(
77
+ 'call_to_action_description',
78
+ array(
79
+ 'label' => __('Description','conceptly-pro'),
80
+ 'section' => 'call_action_setting',
81
+ 'settings' => 'call_to_action_description',
82
+ 'type' => 'textarea',
83
+ )
84
+ );
85
+
86
+
87
+ // Call_to_action Button //
88
+
89
+ //call_icon Setting //
90
+ $wp_customize->add_setting(
91
+ 'cta_icon',
92
+ array(
93
+ 'default' => __('fa-shopping-cart','conceptly-pro'),
94
+ 'sanitize_callback' => 'conceptly_sanitize_text',
95
+ 'capability' => 'edit_theme_options',
96
+ 'transport' => $selective_refresh,
97
+ )
98
+ );
99
+
100
+ $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
101
+ 'cta_icon',
102
+ array(
103
+ 'label' => __('CTA Button Icon','conceptly-pro'),
104
+ 'section' => 'call_action_setting',
105
+ 'settings'=> 'cta_icon',
106
+ 'iconset' => 'fa',
107
+ ) )
108
+ );
109
+ // Call Button Label //
110
+ $wp_customize->add_setting(
111
+ 'call_action_button_label',
112
+ array(
113
+ 'default' => __('Purchase Now','conceptly-pro'),
114
+ 'capability' => 'edit_theme_options',
115
+ 'sanitize_callback' => 'conceptly_sanitize_text',
116
+ 'transport' => $selective_refresh,
117
+ )
118
+ );
119
+
120
+ $wp_customize->add_control(
121
+ 'call_action_button_label',
122
+ array(
123
+ 'label' => __('Button Text','conceptly-pro'),
124
+ 'section' => 'call_action_setting',
125
+ 'settings' => 'call_action_button_label',
126
+ 'type' => 'text',
127
+ )
128
+ );
129
+
130
+ // Call Button link //
131
+ $wp_customize->add_setting(
132
+ 'call_action_button_link',
133
+ array(
134
+ 'default' => __('#','conceptly-pro'),
135
+ 'capability' => 'edit_theme_options',
136
+ 'sanitize_callback' => 'conceptly_sanitize_url',
137
+ )
138
+ );
139
+
140
+ $wp_customize->add_control(
141
+ 'call_action_button_link',
142
+ array(
143
+ 'label' => __('Button Link','conceptly-pro'),
144
+ 'section' => 'call_action_setting',
145
+ 'settings' => 'call_action_button_link',
146
+ 'type' => 'text',
147
+ )
148
+ );
149
+
150
+
151
+ $wp_customize->add_setting(
152
+ 'call_action_button_target'
153
+ ,array(
154
+ 'capability' => 'edit_theme_options',
155
+ 'sanitize_callback' => 'conceptly_sanitize_text',
156
+ )
157
+ );
158
+
159
+ $wp_customize->add_control(
160
+ 'call_action_button_target',
161
+ array(
162
+ 'type' => 'checkbox',
163
+ 'label' => __('Open link in a new tab','conceptly-pro'),
164
+ 'section' => 'call_action_setting',
165
+ 'settings' => 'call_action_button_target',
166
+ )
167
+ );
168
+
169
+
170
+ // Call Action Background Section //
171
+
172
+ // Background Image //
173
+ $wp_customize->add_setting(
174
+ 'call_action_background_setting' ,
175
+ array(
176
+ 'default' => CLEVERFOX_PLUGIN_URL . 'inc/conceptly/images/bg/cta-bg.jpg',
177
+ 'capability' => 'edit_theme_options',
178
+ 'sanitize_callback' => 'conceptly_sanitize_url',
179
+
180
+ )
181
+ );
182
+
183
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'call_action_background_setting' ,
184
+ array(
185
+ 'label' => __( 'Background Image', 'conceptly-pro' ),
186
+ 'section' => 'call_action_setting',
187
+ 'settings' => 'call_action_background_setting',
188
+ )
189
+ ));
190
+ $wp_customize->add_setting(
191
+ 'cta_background_position' ,
192
+ array(
193
+ 'default' => __( 'fixed', 'conceptly-pro' ),
194
+ 'capability' => 'edit_theme_options',
195
+ 'sanitize_callback' => 'conceptly_sanitize_select',
196
+ )
197
+ );
198
+
199
+ $wp_customize->add_control(
200
+ 'cta_background_position' ,
201
+ array(
202
+ 'label' => __( 'Image Position', 'conceptly-pro' ),
203
+ 'section' => 'call_action_setting',
204
+ 'settings' => 'cta_background_position',
205
+ 'type' => 'radio',
206
+ 'choices' =>
207
+ array(
208
+ 'fixed'=> __( 'Fixed', 'conceptly-pro' ),
209
+ 'scroll' => __( 'Scroll', 'conceptly-pro' )
210
+ )
211
+ )
212
+ );
213
+ }
214
+
215
+ add_action( 'customize_register', 'conceptly_call_action_setting' );
216
+
217
+ // selective_refresh CTA
218
+ function conceptly_home_cta_section_partials( $wp_customize ){
219
+
220
+ // hide show feature
221
+ $wp_customize->selective_refresh->add_partial(
222
+ 'hide_show_cta', array(
223
+ 'selector' => '#cta',
224
+ 'container_inclusive' => true,
225
+ 'render_callback' => 'call_action_setting',
226
+ 'fallback_refresh' => true,
227
+ )
228
+ );
229
+ //CTA title
230
+ $wp_customize->selective_refresh->add_partial( 'call_to_action_title', array(
231
+ 'selector' => '#cta h3',
232
+ 'settings' => 'call_to_action_title',
233
+ 'render_callback' => 'cta_section_title_render_callback',
234
+
235
+ ) );
236
+ // description
237
+ $wp_customize->selective_refresh->add_partial( 'call_to_action_description', array(
238
+ 'selector' => '#cta p',
239
+ 'settings' => 'call_to_action_description',
240
+ 'render_callback' => 'cta_section_desc_render_callback',
241
+
242
+ ) );
243
+ // CTA button icon
244
+ $wp_customize->selective_refresh->add_partial( 'cta_icon', array(
245
+ 'selector' => '#cta-btn .purchase-btn i',
246
+ 'settings' => 'cta_icon',
247
+ 'render_callback' => 'cta_section_description_render_callback',
248
+
249
+ ) );
250
+ // CTA button label
251
+ $wp_customize->selective_refresh->add_partial( 'call_action_button_label', array(
252
+ 'selector' => '#cta-btn .purchase-btn',
253
+ 'settings' => 'call_action_button_label',
254
+ 'render_callback' => 'cta_section_button_render_callback',
255
+
256
+ ) );
257
+ }
258
+
259
+ add_action( 'customize_register', 'conceptly_home_cta_section_partials' );
260
+
261
+ // cta editor
262
+ function cta_section_description_render_callback() {
263
+ return get_theme_mod( 'conceptly_page_editor_all_action' );
264
+ }
265
+ // cta title
266
+ function cta_section_title_render_callback() {
267
+ return get_theme_mod( 'cta_section_title_render_callback' );
268
+ }
269
+ // cta description
270
+ function cta_section_desc_render_callback() {
271
+ return get_theme_mod( 'call_to_action_description' );
272
+ }
273
+ // cta button label
274
+ function cta_section_button_render_callback() {
275
+ return get_theme_mod( 'call_action_button_label' );
276
+ }
inc/conceptly/features/conceptly-features.php ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_features_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Features Section Panel
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'features_setting', array(
9
+ 'title' => esc_html__( 'Feature Section', 'conceptly-pro' ),
10
+ 'panel' => 'conceptly_frontpage_sections',
11
+ 'priority' => apply_filters( 'conceptly_section_priority',30 , 'conceptly_feature' ),
12
+ )
13
+ );
14
+ // Feature Hide/ Show Setting //
15
+ $wp_customize->add_setting(
16
+ 'hide_show_feature' ,
17
+ array(
18
+ 'default' => esc_html__( '1', 'conceptly-pro' ),
19
+ 'capability' => 'edit_theme_options',
20
+ 'sanitize_callback' => 'sanitize_text_field',
21
+ 'transport' => $selective_refresh,
22
+ )
23
+ );
24
+
25
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
26
+ 'hide_show_feature',
27
+ array(
28
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
29
+ 'section' => 'features_setting',
30
+ 'settings' => 'hide_show_feature',
31
+ 'type' => 'ios', // light, ios, flat
32
+ )
33
+ ));
34
+
35
+ // Features Header Section //
36
+
37
+
38
+ // feature Title //
39
+ $wp_customize->add_setting(
40
+ 'features_title',
41
+ array(
42
+ 'default' => __('Our Features','conceptly-pro'),
43
+ 'capability' => 'edit_theme_options',
44
+ 'sanitize_callback' => 'conceptly_sanitize_html',
45
+ 'transport' => $selective_refresh,
46
+ )
47
+ );
48
+
49
+ $wp_customize->add_control(
50
+ 'features_title',
51
+ array(
52
+ 'label' => __('Title','conceptly-pro'),
53
+ 'section' => 'features_setting',
54
+ 'settings' => 'features_title',
55
+ 'type' => 'text',
56
+ )
57
+ );
58
+
59
+ // feature Description //
60
+ $wp_customize->add_setting(
61
+ 'features_description',
62
+ array(
63
+ 'default' => __('There are many variations of passages of Lorem Ipsum available but the majority have suffered alteration in some form by injected humour.','conceptly-pro'),
64
+ 'capability' => 'edit_theme_options',
65
+ 'sanitize_callback' => 'conceptly_sanitize_text',
66
+ 'transport' => $selective_refresh,
67
+ )
68
+ );
69
+
70
+ $wp_customize->add_control(
71
+ 'features_description',
72
+ array(
73
+ 'label' => __('Description','conceptly-pro'),
74
+ 'section' => 'features_setting',
75
+ 'settings' => 'features_description',
76
+ 'type' => 'textarea',
77
+ )
78
+ );
79
+
80
+ // Features content Section //
81
+
82
+
83
+ /**
84
+ * Customizer Repeater for add features
85
+ */
86
+ $wp_customize->add_setting( 'feature_content',
87
+ array(
88
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
89
+ 'default' => conceptly_get_feature_default()
90
+ )
91
+ );
92
+
93
+ $wp_customize->add_control(
94
+ new Conceptly_Repeater( $wp_customize,
95
+ 'feature_content',
96
+ array(
97
+ 'label' => esc_html__('Features','conceptly-pro'),
98
+ 'section' => 'features_setting',
99
+ 'add_field_label' => esc_html__( 'Add New Feature', 'conceptly-pro' ),
100
+ 'item_name' => esc_html__( 'Feature', 'conceptly-pro' ),
101
+ 'priority' => 1,
102
+ 'customizer_repeater_title_control' => true,
103
+ 'customizer_repeater_text_control' => true,
104
+ 'customizer_repeater_icon_control' => true,
105
+ )
106
+ )
107
+ );
108
+ }
109
+
110
+ add_action( 'customize_register', 'conceptly_features_setting' );
111
+
112
+ // feature selective refresh
113
+ function conceptly_home_feature_section_partials( $wp_customize ){
114
+ // hide_show_feature
115
+ $wp_customize->selective_refresh->add_partial(
116
+ 'hide_show_feature', array(
117
+ 'selector' => '.home-feature',
118
+ 'container_inclusive' => true,
119
+ 'render_callback' => 'features_setting',
120
+ 'fallback_refresh' => true,
121
+ )
122
+ );
123
+
124
+ //title
125
+ $wp_customize->selective_refresh->add_partial( 'features_title', array(
126
+ 'selector' => '.home-feature .section-title h2',
127
+ 'settings' => 'features_title',
128
+ 'render_callback' => 'feature_section_title_render_callback',
129
+
130
+ ) );
131
+ // description
132
+ $wp_customize->selective_refresh->add_partial( 'features_description', array(
133
+ 'selector' => '.home-feature .section-title p',
134
+ 'settings' => 'features_description',
135
+ 'render_callback' => 'feature_section_desc_render_callback',
136
+
137
+ ) );
138
+
139
+ // feature content
140
+
141
+ $wp_customize->selective_refresh->add_partial( 'feature_content', array(
142
+ 'selector' => '#feature-content',
143
+ 'settings' => 'feature_content',
144
+ 'render_callback' => 'feature_section_content_render_callback',
145
+
146
+ ) );
147
+ }
148
+
149
+ add_action( 'customize_register', 'conceptly_home_feature_section_partials' );
150
+
151
+ // feature title
152
+ function feature_section_title_render_callback() {
153
+ return get_theme_mod( 'features_title' );
154
+ }
155
+ // feature description
156
+ function feature_section_desc_render_callback() {
157
+ return get_theme_mod( 'features_description' );
158
+ }
159
+ // feature content
160
+ function feature_section_content_render_callback() {
161
+ return get_theme_mod( 'feature_content' );
162
+ }
inc/conceptly/features/conceptly-header.php ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_lite_header_setting( $wp_customize ){
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Top Left Header
6
+ =========================================*/
7
+ // Header Settings Section //
8
+ $wp_customize->add_section(
9
+ 'header_contact',
10
+ array(
11
+ 'priority' => 1,
12
+ 'title' => __('Top Left Header','conceptly-pro'),
13
+ 'panel' => 'header_section',
14
+ )
15
+ );
16
+
17
+ //Header Contact Hide/Show Setting //
18
+ $wp_customize->add_setting(
19
+ 'hide_show_contact_infot' ,
20
+ array(
21
+ 'default' => '1',
22
+ 'capability' => 'edit_theme_options',
23
+ 'sanitize_callback' => 'sanitize_text_field',
24
+ 'transport' => $selective_refresh,
25
+ )
26
+ );
27
+
28
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
29
+ 'hide_show_contact_infot',
30
+ array(
31
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
32
+ 'section' => 'header_contact',
33
+ 'settings' => 'hide_show_contact_infot',
34
+ 'type' => 'ios', // light, ios, flat
35
+ )
36
+ ));
37
+
38
+
39
+ // Header Contact Number Setting //
40
+
41
+ $wp_customize->add_setting(
42
+ 'header_phone_icon',
43
+ array(
44
+ 'default' => __('fa-phone','conceptly-pro'),
45
+ 'sanitize_callback' => 'conceptly_sanitize_text',
46
+ 'capability' => 'edit_theme_options',
47
+ )
48
+ );
49
+
50
+ $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
51
+ 'header_phone_icon',
52
+ array(
53
+ 'label' => __('Phone Icon','conceptly-pro'),
54
+ 'section' => 'header_contact',
55
+ 'settings'=> 'header_phone_icon',
56
+ 'iconset' => 'fa',
57
+ ) )
58
+ );
59
+
60
+ $wp_customize->add_setting(
61
+ 'header_phone_number',
62
+ array(
63
+ 'default' => __('+1 514-286-4242','conceptly-pro'),
64
+ 'sanitize_callback' => 'conceptly_sanitize_text',
65
+ 'capability' => 'edit_theme_options'
66
+ )
67
+ );
68
+
69
+ $wp_customize->add_control(
70
+ 'header_phone_number',
71
+ array(
72
+ 'label' => __('Phone Number','conceptly-pro'),
73
+ 'section' => 'header_contact',
74
+ 'settings'=> 'header_phone_number',
75
+ 'type' => 'text',
76
+ )
77
+ );
78
+
79
+ //Header Email Hide/Show Setting //
80
+ $wp_customize->add_setting(
81
+ 'hide_show_email_infot' ,
82
+ array(
83
+ 'default' => '1',
84
+ 'capability' => 'edit_theme_options',
85
+ 'sanitize_callback' => 'sanitize_text_field',
86
+ 'transport' => $selective_refresh,
87
+ )
88
+ );
89
+
90
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
91
+ 'hide_show_email_infot',
92
+ array(
93
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
94
+ 'section' => 'header_contact',
95
+ 'settings' => 'hide_show_email_infot',
96
+ 'type' => 'ios', // light, ios, flat
97
+ )
98
+ ));
99
+
100
+ // Header Email icon Setting //
101
+ $wp_customize->add_setting(
102
+ 'header_email_icon',
103
+ array(
104
+ 'default' => __('fa-envelope','conceptly-pro'),
105
+ 'sanitize_callback' => 'conceptly_sanitize_text',
106
+ 'capability' => 'edit_theme_options',
107
+ )
108
+ );
109
+
110
+ $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
111
+ 'header_email_icon',
112
+ array(
113
+ 'label' => __('Email Icon','conceptly-pro'),
114
+ 'section' => 'header_contact',
115
+ 'settings'=> 'header_email_icon',
116
+ 'iconset' => 'fa',
117
+ ))
118
+ );
119
+
120
+ // Header Email Setting //
121
+ $wp_customize->add_setting(
122
+ 'header_email',
123
+ array(
124
+ 'default' => __('example@example.com','conceptly-pro'),
125
+ 'sanitize_callback' => 'conceptly_sanitize_text',
126
+ 'capability' => 'edit_theme_options',
127
+ )
128
+ );
129
+
130
+ $wp_customize->add_control(
131
+ 'header_email',
132
+ array(
133
+ 'label' => __('Email','conceptly-pro'),
134
+ 'section' => 'header_contact',
135
+ 'settings'=> 'header_email',
136
+ 'type' => 'text',
137
+ )
138
+ );
139
+
140
+ //Header FAQ Hide/Show Setting //
141
+ $wp_customize->add_setting(
142
+ 'hide_show_faq' ,
143
+ array(
144
+ 'default' => '1',
145
+ 'capability' => 'edit_theme_options',
146
+ 'sanitize_callback' => 'sanitize_text_field',
147
+ 'transport' => $selective_refresh,
148
+ )
149
+ );
150
+
151
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
152
+ 'hide_show_faq',
153
+ array(
154
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
155
+ 'section' => 'header_contact',
156
+ 'settings' => 'hide_show_faq',
157
+ 'type' => 'ios', // light, ios, flat
158
+ )
159
+ ));
160
+
161
+ // Header faq icon Setting //
162
+ $wp_customize->add_setting(
163
+ 'header_faq_icon',
164
+ array(
165
+ 'default' => __('fa-user','conceptly-pro'),
166
+ 'sanitize_callback' => 'conceptly_sanitize_text',
167
+ 'capability' => 'edit_theme_options',
168
+ )
169
+ );
170
+
171
+ $wp_customize->add_control(new Conceptly_Icon_Picker_Control($wp_customize,
172
+ 'header_faq_icon',
173
+ array(
174
+ 'label' => __('FAQ Icon','conceptly-pro'),
175
+ 'section' => 'header_contact',
176
+ 'settings'=> 'header_faq_icon',
177
+ 'iconset' => 'fa',
178
+ ))
179
+ );
180
+ // Header FAQ //
181
+ $wp_customize->add_setting(
182
+ 'header_faq',
183
+ array(
184
+ 'default' => __('Ask Your Question','conceptly-pro'),
185
+ 'sanitize_callback' => 'conceptly_sanitize_text',
186
+ 'capability' => 'edit_theme_options',
187
+ )
188
+ );
189
+
190
+ $wp_customize->add_control(
191
+ 'header_faq',
192
+ array(
193
+ 'label' => __('Ask Your Question','conceptly-pro'),
194
+ 'section' => 'header_contact',
195
+ 'settings' => 'header_faq',
196
+ 'description' => __( '', 'conceptly-pro' ),
197
+ 'type' => 'textarea'
198
+ )
199
+ );
200
+
201
+ /*=========================================
202
+ Top Right Header
203
+ ===========================================*/
204
+
205
+ // Header Settings Section //
206
+ $wp_customize->add_section(
207
+ 'header_setting',
208
+ array(
209
+ 'priority' => 1,
210
+ 'title' => __('Top Right Header','conceptly-pro'),
211
+ 'panel' => 'header_section',
212
+ )
213
+ );
214
+ // Social Icons Hide/Show Setting //
215
+ $wp_customize->add_setting(
216
+ 'hide_show_social_icon' ,
217
+ array(
218
+ 'default' => '1',
219
+ 'capability' => 'edit_theme_options',
220
+ 'sanitize_callback' => 'sanitize_text_field',
221
+ 'transport' => $selective_refresh,
222
+ )
223
+ );
224
+
225
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
226
+ 'hide_show_social_icon',
227
+ array(
228
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
229
+ 'section' => 'header_setting',
230
+ 'settings' => 'hide_show_social_icon',
231
+ 'type' => 'ios', // light, ios, flat
232
+ )
233
+ ));
234
+ /**
235
+ * Customizer Repeater
236
+ */
237
+ $wp_customize->add_setting( 'social_icons',
238
+ array(
239
+ 'dafault' => conceptly_get_social_icon_default(),
240
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
241
+ )
242
+ );
243
+
244
+ $wp_customize->add_control(
245
+ new Conceptly_Repeater( $wp_customize,
246
+ 'social_icons',
247
+ array(
248
+ 'label' => esc_html__('Social Icons','conceptly-pro'),
249
+ 'section' => 'header_setting',
250
+ 'priority' => 2,
251
+ 'customizer_repeater_icon_control' => true,
252
+ 'customizer_repeater_link_control' => true,
253
+ )
254
+ )
255
+ );
256
+ };
257
+ add_action( 'customize_register', 'conceptly_lite_header_setting' );
258
+
259
+ // header selective refresh
260
+ function conceptly_clverfox_header_section_partials( $wp_customize ){
261
+
262
+
263
+ // hide_show_contact_infot
264
+ $wp_customize->selective_refresh->add_partial(
265
+ 'hide_show_contact_infot', array(
266
+ 'selector' => '#header-top .tlh-phone',
267
+ 'container_inclusive' => true,
268
+ 'render_callback' => 'header_contact',
269
+ 'fallback_refresh' => true,
270
+ )
271
+ );
272
+
273
+ // header_phone_number
274
+
275
+ $wp_customize->selective_refresh->add_partial(
276
+ 'header_phone_number', array(
277
+ 'selector' => '#header-top .tlh-phone ',
278
+ 'settings' => 'header_phone_number',
279
+ 'render_callback' => 'header_section_header_phone_number_render_callback',
280
+
281
+ ) );
282
+
283
+ // hide_show_email_infot
284
+ $wp_customize->selective_refresh->add_partial(
285
+ 'hide_show_email_infot', array(
286
+ 'selector' => '#header-top .tlh-email',
287
+ 'container_inclusive' => true,
288
+ 'render_callback' => 'header_contact',
289
+ 'fallback_refresh' => true,
290
+ )
291
+ );
292
+ // Header Email
293
+ $wp_customize->selective_refresh->add_partial(
294
+ 'header_email', array(
295
+ 'selector' => '#header-top .tlh-email',
296
+ 'settings' => 'header_email',
297
+ 'render_callback' => 'header_section_header_email_render_callback',
298
+
299
+ ) );
300
+
301
+ // hide_show_header_FAQ
302
+ $wp_customize->selective_refresh->add_partial(
303
+ 'hide_show_faq', array(
304
+ 'selector' => '#header-top .tlh-faq',
305
+ 'container_inclusive' => true,
306
+ 'render_callback' => 'header_contact',
307
+ 'fallback_refresh' => true,
308
+ )
309
+ );
310
+ // Header_FAQ
311
+ $wp_customize->selective_refresh->add_partial(
312
+ 'header_faq', array(
313
+ 'selector' => '#header-top .tlh-faq',
314
+ 'settings' => 'header_faq',
315
+ 'render_callback' => 'header_section_header_faq_render_callback',
316
+
317
+ ) );
318
+
319
+
320
+ // hide_show_social_icon
321
+ $wp_customize->selective_refresh->add_partial(
322
+ 'hide_show_social_icon', array(
323
+ 'selector' => '.trh-social',
324
+ 'container_inclusive' => true,
325
+ 'render_callback' => 'header_setting',
326
+ 'fallback_refresh' => true,
327
+ )
328
+ );
329
+
330
+ // social icons
331
+ $wp_customize->selective_refresh->add_partial(
332
+ 'social_icons', array(
333
+ 'selector' => '#header-top .trh-social',
334
+ 'settings' => 'social_icons',
335
+ 'render_callback' => 'header_section_social_render_callback'
336
+ ) );
337
+ }
338
+ add_action( 'customize_register', 'conceptly_clverfox_header_section_partials' );
339
+
340
+ // header_phone_number
341
+ function header_section_header_phone_number_render_callback() {
342
+ return get_theme_mod( 'header_phone_number' );
343
+ }
344
+ // header_email
345
+ function header_section_header_email_render_callback() {
346
+ return get_theme_mod( 'header_email' );
347
+ }
348
+ // header_FAQ
349
+ function header_section_header_faq_render_callback() {
350
+ return get_theme_mod( 'header_faq' );
351
+ }
352
+
353
+ // social_icons
354
+ function header_section_social_render_callback() {
355
+ return get_theme_mod( 'social_icons' );
356
+ }
inc/conceptly/features/conceptly-info.php ADDED
@@ -0,0 +1,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_info_setting( $wp_customize ) {
3
+
4
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
5
+ /*=========================================
6
+ Slider Section Panel
7
+ =========================================*/
8
+ $wp_customize->add_section(
9
+ 'info_setting', array(
10
+ 'title' => esc_html__( 'Info Section', 'conceptly-pro' ),
11
+ 'panel' => 'conceptly_frontpage_sections',
12
+ 'priority' => apply_filters( 'conceptly_section_priority', 10, 'conceptly_info' ),
13
+ )
14
+ );
15
+ // info Hide/ Show Setting //
16
+ $wp_customize->add_setting(
17
+ 'hide_show_info' ,
18
+ array(
19
+ 'default' => esc_html__( '1', 'conceptly-pro' ),
20
+ 'capability' => 'edit_theme_options',
21
+ 'sanitize_callback' => 'sanitize_text_field',
22
+ 'transport' => $selective_refresh,
23
+ )
24
+ );
25
+
26
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
27
+ 'hide_show_info',
28
+ array(
29
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
30
+ 'section' => 'info_setting',
31
+ 'settings' => 'hide_show_info',
32
+ 'type' => 'ios', // light, ios, flat
33
+ )
34
+ ));
35
+ /*=========================================
36
+ Info contents Section first
37
+ =========================================*/
38
+ // info icon //
39
+
40
+ $wp_customize->add_setting(
41
+ 'infos_first_icon_setting',
42
+ array(
43
+ 'default' => 'fa-pencil',
44
+ 'sanitize_callback' => 'sanitize_text_field',
45
+ 'capability' => 'edit_theme_options',
46
+ )
47
+ );
48
+
49
+ $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
50
+ 'infos_first_icon_setting',
51
+ array(
52
+ 'label' => __('Info Icon','conceptly-pro'),
53
+ 'section' => 'info_setting',
54
+ 'settings'=> 'infos_first_icon_setting',
55
+ 'iconset' => 'fa',
56
+ ) )
57
+ );
58
+
59
+ // info title //
60
+ $wp_customize->add_setting(
61
+ 'info_title',
62
+ array(
63
+ 'default' => __('10/45 Beer Street Heaven','conceptly-pro'),
64
+ 'capability' => 'edit_theme_options',
65
+ 'sanitize_callback' => 'sanitize_text_field',
66
+ 'transport' => $selective_refresh,
67
+ )
68
+ );
69
+
70
+ $wp_customize->add_control(
71
+ 'info_title',
72
+ array(
73
+ 'label' => __('Title','conceptly-pro'),
74
+ 'section' => 'info_setting',
75
+ 'settings'=> 'info_title',
76
+ 'type' => 'text',
77
+ 'description' => __('', 'conceptly-pro' ),
78
+ )
79
+ );
80
+
81
+ // info Description //
82
+ $wp_customize->add_setting(
83
+ 'info_description',
84
+ array(
85
+ 'default' => __('California Floor, USA 1208','conceptly-pro'),
86
+ 'capability' => 'edit_theme_options',
87
+ 'sanitize_callback' => 'sanitize_text_field',
88
+ 'transport' => $selective_refresh,
89
+ )
90
+ );
91
+
92
+ $wp_customize->add_control(
93
+ 'info_description',
94
+ array(
95
+ 'label' => __('Description','conceptly-pro'),
96
+ 'section' => 'info_setting',
97
+ 'settings'=> 'info_description',
98
+ 'type' => 'text',
99
+ )
100
+ );
101
+
102
+ /*=========================================
103
+ Info contents Section second
104
+ =========================================*/
105
+ // info icon //
106
+
107
+ $wp_customize->add_setting(
108
+ 'infos_second_icon_setting',
109
+ array(
110
+ 'default' => 'fa-refresh',
111
+ 'sanitize_callback' => 'sanitize_text_field',
112
+ 'capability' => 'edit_theme_options',
113
+ )
114
+ );
115
+
116
+ $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
117
+ 'infos_second_icon_setting',
118
+ array(
119
+ 'label' => __('Info Icon','conceptly-pro'),
120
+ 'section' => 'info_setting',
121
+ 'settings'=> 'infos_second_icon_setting',
122
+ 'iconset' => 'fa',
123
+ ) )
124
+ );
125
+
126
+ // info title //
127
+ $wp_customize->add_setting(
128
+ 'info_title2',
129
+ array(
130
+ 'default' => __('+001-2156-2459','conceptly-pro'),
131
+ 'capability' => 'edit_theme_options',
132
+ 'sanitize_callback' => 'sanitize_text_field',
133
+ 'transport' => $selective_refresh,
134
+ )
135
+ );
136
+
137
+ $wp_customize->add_control(
138
+ 'info_title2',
139
+ array(
140
+ 'label' => __('Title','conceptly-pro'),
141
+ 'section' => 'info_setting',
142
+ 'settings'=> 'info_title2',
143
+ 'type' => 'text',
144
+ )
145
+ );
146
+
147
+ // info Description //
148
+ $wp_customize->add_setting(
149
+ 'info_description2',
150
+ array(
151
+ 'default' => __('example@mail.com','conceptly-pro'),
152
+ 'capability' => 'edit_theme_options',
153
+ 'sanitize_callback' => 'sanitize_text_field',
154
+ 'transport' => $selective_refresh,
155
+ )
156
+ );
157
+
158
+ $wp_customize->add_control(
159
+ 'info_description2',
160
+ array(
161
+ 'label' => __('Description','conceptly-pro'),
162
+ 'section' => 'info_setting',
163
+ 'settings'=> 'info_description2',
164
+ 'type' => 'text',
165
+ 'description' => __('', 'conceptly-pro' ),
166
+ )
167
+ );
168
+
169
+ /*=========================================
170
+ Info contents Section third
171
+ =========================================*/
172
+ // info icon //
173
+
174
+ $wp_customize->add_setting(
175
+ 'infos_third_icon_setting',
176
+ array(
177
+ 'default' => 'fa-life-saver',
178
+ 'sanitize_callback' => 'sanitize_text_field',
179
+ 'capability' => 'edit_theme_options',
180
+ )
181
+ );
182
+
183
+ $wp_customize->add_control( new Conceptly_Icon_Picker_Control($wp_customize,
184
+ 'infos_third_icon_setting',
185
+ array(
186
+ 'label' => __('Info Icon','conceptly-pro'),
187
+ 'section' => 'info_setting',
188
+ 'settings'=> 'infos_third_icon_setting',
189
+ 'iconset' => 'fa',
190
+ ) )
191
+ );
192
+
193
+ // info title //
194
+ $wp_customize->add_setting(
195
+ 'info_title3',
196
+ array(
197
+ 'default' => __('Free Delivery','conceptly-pro'),
198
+ 'capability' => 'edit_theme_options',
199
+ 'sanitize_callback' => 'sanitize_text_field',
200
+ 'transport' => $selective_refresh,
201
+ )
202
+ );
203
+
204
+ $wp_customize->add_control(
205
+ 'info_title3',
206
+ array(
207
+ 'label' => __('Title','conceptly-pro'),
208
+ 'section' => 'info_setting',
209
+ 'settings'=> 'info_title3',
210
+ 'type' => 'text',
211
+ 'description' => __('', 'conceptly-pro' ),
212
+ )
213
+ );
214
+
215
+ // info Description //
216
+ $wp_customize->add_setting(
217
+ 'info_description3',
218
+ array(
219
+ 'default' => __('On order over $57.00','conceptly-pro'),
220
+ 'capability' => 'edit_theme_options',
221
+ 'sanitize_callback' => 'sanitize_text_field',
222
+ 'transport' => $selective_refresh,
223
+ )
224
+ );
225
+
226
+ $wp_customize->add_control(
227
+ 'info_description3',
228
+ array(
229
+ 'label' => __('Description','conceptly-pro'),
230
+ 'section' => 'info_setting',
231
+ 'settings'=> 'info_description3',
232
+ 'type' => 'text',
233
+ 'description' => __('', 'conceptly-pro' ),
234
+ )
235
+ );
236
+
237
+ }
238
+ add_action( 'customize_register', 'conceptly_info_setting' );
239
+
240
+ /**
241
+ * Add selective refresh for Front page section section controls.
242
+ */
243
+ function conceptly_home_info_section_partials( $wp_customize ){
244
+
245
+ // hide_show_info
246
+ $wp_customize->selective_refresh->add_partial(
247
+ 'hide_show_info', array(
248
+ 'selector' => '#contact',
249
+ 'container_inclusive' => true,
250
+ 'render_callback' => 'info_setting',
251
+ 'fallback_refresh' => true,
252
+ )
253
+ );
254
+
255
+ //info section first
256
+ $wp_customize->selective_refresh->add_partial( 'info_title', array(
257
+ 'selector' => '#contact .info-first b',
258
+ 'settings' => 'info_title',
259
+ 'render_callback' => 'conceptly_info_section_title_render_callback',
260
+
261
+ ) );
262
+
263
+ $wp_customize->selective_refresh->add_partial( 'infos_first_img_setting', array(
264
+ 'selector' => '#contact .info-first',
265
+ 'settings' => 'infos_first_img_setting',
266
+ 'render_callback' => 'conceptly_info_section_img_render_callback',
267
+
268
+ ) );
269
+
270
+ $wp_customize->selective_refresh->add_partial( 'info_description', array(
271
+ 'selector' => '#contact .info-first span',
272
+ 'settings' => 'info_description',
273
+ 'render_callback' => 'conceptly_info_section_description_render_callback',
274
+
275
+ ) );
276
+ // info second
277
+ $wp_customize->selective_refresh->add_partial( 'info_title2', array(
278
+ 'selector' => '#contact .info-second b',
279
+ 'settings' => 'info_title2',
280
+ 'render_callback' => 'info_second_title_render_callback',
281
+
282
+ ) );
283
+
284
+ $wp_customize->selective_refresh->add_partial( 'infos_second_img_setting', array(
285
+ 'selector' => '#contact .info-second',
286
+ 'settings' => 'infos_second_img_setting',
287
+ 'render_callback' => 'info_second_img_render_callback',
288
+
289
+ ) );
290
+
291
+ $wp_customize->selective_refresh->add_partial( 'info_description2', array(
292
+ 'selector' => '#contact .info-second span',
293
+ 'settings' => 'info_description2',
294
+ 'render_callback' => 'info_second_description_render_callback',
295
+
296
+ ) );
297
+ // info third
298
+ $wp_customize->selective_refresh->add_partial( 'info_title3', array(
299
+ 'selector' => '#contact .info-third b',
300
+ 'settings' => 'info_title3',
301
+ 'render_callback' => 'info_third_title_render_callback',
302
+
303
+ ) );
304
+
305
+ $wp_customize->selective_refresh->add_partial( 'infos_third_img_setting', array(
306
+ 'selector' => '#contact .info-third ',
307
+ 'settings' => 'infos_third_img_setting',
308
+ 'render_callback' => 'info_third_img_render_callback',
309
+
310
+ ) );
311
+
312
+ $wp_customize->selective_refresh->add_partial( 'info_description3', array(
313
+ 'selector' => '#contact .info-third span',
314
+ 'settings' => 'info_description3',
315
+ 'render_callback' => 'info_third_description_render_callback',
316
+
317
+ ) );
318
+
319
+ }
320
+
321
+ add_action( 'customize_register', 'conceptly_home_info_section_partials' );
322
+ // info first
323
+ function conceptly_info_section_title_render_callback() {
324
+ return get_theme_mod( 'info_title' );
325
+ }
326
+ function conceptly_info_section_img_render_callback() {
327
+ return get_theme_mod( 'infos_first_img_setting' );
328
+ }
329
+
330
+ function conceptly_info_section_description_render_callback() {
331
+ return get_theme_mod( 'info_description' );
332
+ }
333
+ // info second
334
+ function info_second_title_render_callback() {
335
+ return get_theme_mod( 'info_title2' );
336
+ }
337
+ function info_second_img_render_callback() {
338
+ return get_theme_mod( 'infos_second_img_setting' );
339
+ }
340
+
341
+ function info_second_description_render_callback() {
342
+ return get_theme_mod( 'info_description2' );
343
+ }
344
+ // info third
345
+ function info_third_title_render_callback() {
346
+ return get_theme_mod( 'info_title3' );
347
+ }
348
+ function info_third_img_render_callback() {
349
+ return get_theme_mod( 'infos_third_img_setting' );
350
+ }
351
+
352
+ function info_third_description_render_callback() {
353
+ return get_theme_mod( 'info_description3' );
354
+ }
inc/conceptly/features/conceptly-navigation.php ADDED
@@ -0,0 +1,473 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Customizer tabs
3
+
4
+ function Cleverfox_conceptly_tabs_customize_register( $wp_customize ) {
5
+ if ( class_exists( 'Cleverfox_Customize_Control_Tabs' ) ) {
6
+
7
+ // feature Tables Tabs
8
+ $wp_customize->add_setting(
9
+ 'conceptly_feature_tabs', array(
10
+ 'sanitize_callback' => 'sanitize_text_field',
11
+ )
12
+ );
13
+
14
+ $wp_customize->add_control(
15
+ new Cleverfox_Customize_Control_Tabs(
16
+ $wp_customize, 'conceptly_feature_tabs', array(
17
+ 'section' => 'features_setting',
18
+ 'tabs' => array(
19
+ 'general' => array(
20
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
21
+ 'icon' => 'cogs',
22
+ 'controls' => array(
23
+ 'hide_show_feature'
24
+ ),
25
+ ),
26
+ 'first' => array(
27
+ 'nicename' => esc_html__( 'Header', 'conceptly-pro' ),
28
+ 'icon' => 'header',
29
+ 'controls' => array(
30
+ 'features_title',
31
+ 'features_description',
32
+ ),
33
+ ),
34
+ 'second' => array(
35
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
36
+ 'icon' => 'info',
37
+ 'controls' => array(
38
+ 'feature_content'
39
+ ),
40
+ )
41
+ ),
42
+ )
43
+ )
44
+ );
45
+
46
+ // info section Tabs
47
+ $wp_customize->add_setting(
48
+ 'conceptly_info_tabs', array(
49
+ 'sanitize_callback' => 'sanitize_text_field',
50
+ )
51
+ );
52
+
53
+ $wp_customize->add_control(
54
+ new Cleverfox_Customize_Control_Tabs(
55
+ $wp_customize, 'conceptly_info_tabs', array(
56
+ 'section' => 'info_setting',
57
+ 'tabs' => array(
58
+ 'general' => array(
59
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
60
+ 'icon' => 'cogs',
61
+ 'controls' => array(
62
+ 'hide_show_info',
63
+ ),
64
+ ),
65
+ 'first' => array(
66
+ 'nicename' => esc_html__( 'First', 'conceptly-pro' ),
67
+ 'icon' => 'info',
68
+ 'controls' => array(
69
+ 'infos_first_icon_setting',
70
+ 'info_title',
71
+ 'info_description',
72
+ ),
73
+ ),
74
+ 'second' => array(
75
+ 'nicename' => esc_html__( 'Second', 'conceptly-pro' ),
76
+ 'icon' => 'info',
77
+ 'controls' => array(
78
+ 'infos_second_icon_setting',
79
+ 'info_title2',
80
+ 'info_description2',
81
+ ),
82
+ ),
83
+ 'third' => array(
84
+ 'nicename' => esc_html__( 'Third', 'conceptly-pro' ),
85
+ 'icon' => 'info',
86
+ 'controls' => array(
87
+ 'infos_third_icon_setting',
88
+ 'info_title3',
89
+ 'info_description3',
90
+ ),
91
+ ),
92
+ ),
93
+ )
94
+ )
95
+ );
96
+
97
+ // CTA Tables Tabs
98
+ $wp_customize->add_setting(
99
+ 'conceptly_call_tabs', array(
100
+ 'sanitize_callback' => 'sanitize_text_field',
101
+ )
102
+ );
103
+
104
+ $wp_customize->add_control(
105
+ new Cleverfox_Customize_Control_Tabs(
106
+ $wp_customize, 'conceptly_call_tabs', array(
107
+ 'section' => 'call_action_setting',
108
+ 'tabs' => array(
109
+ 'general' => array(
110
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
111
+ 'icon' => 'cogs',
112
+ 'controls' => array(
113
+ 'hide_show_cta',
114
+ ),
115
+ ),
116
+ 'first' => array(
117
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
118
+ 'icon' => 'header',
119
+ 'controls' => array(
120
+ 'call_to_action_title',
121
+ 'call_to_action_description',
122
+ 'cta_icon',
123
+ 'call_action_button_label',
124
+ 'call_action_button_link',
125
+ 'call_action_button_target',
126
+ ),
127
+ ),
128
+ 'third' => array(
129
+ 'nicename' => esc_html__( 'Bg', 'conceptly-pro' ),
130
+ 'icon' => 'history',
131
+ 'controls' => array(
132
+ 'call_action_background_setting',
133
+ 'cta_background_position'
134
+ ),
135
+ ),
136
+
137
+ ),
138
+ )
139
+ )
140
+ );
141
+
142
+ // Service Tabs
143
+ $wp_customize->add_setting(
144
+ 'conceptly_servicess_tabs', array(
145
+ 'sanitize_callback' => 'sanitize_text_field',
146
+ )
147
+ );
148
+
149
+ $wp_customize->add_control(
150
+ new Cleverfox_Customize_Control_Tabs(
151
+ $wp_customize, 'conceptly_servicess_tabs', array(
152
+ 'section' => 'service_setting',
153
+ 'tabs' => array(
154
+ 'general' => array(
155
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
156
+ 'icon' => 'cogs',
157
+ 'controls' => array(
158
+ 'hide_show_service',
159
+ ),
160
+ ),
161
+ 'first' => array(
162
+ 'nicename' => esc_html__( 'Header', 'conceptly-pro' ),
163
+ 'icon' => 'header',
164
+ 'controls' => array(
165
+ 'service_title',
166
+ 'service_description',
167
+ ),
168
+ ),
169
+ 'second' => array(
170
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
171
+ 'icon' => 'info',
172
+ 'controls' => array(
173
+ 'service_contents'
174
+ ),
175
+ ),
176
+
177
+ ),
178
+ )
179
+ )
180
+ );
181
+
182
+ // Slider Tabs
183
+ $wp_customize->add_setting(
184
+ 'conceptly_slider_tabs', array(
185
+ 'sanitize_callback' => 'sanitize_text_field',
186
+ )
187
+ );
188
+
189
+ $wp_customize->add_control(
190
+ new Cleverfox_Customize_Control_Tabs(
191
+ $wp_customize, 'conceptly_slider_tabs', array(
192
+ 'section' => 'slider_setting',
193
+ 'tabs' => array(
194
+ 'general' => array(
195
+ 'nicename' => esc_html__( 'setting', 'conceptly-pro' ),
196
+ 'icon' => 'cogs',
197
+ 'controls' => array(
198
+ 'hide_show_slider',
199
+
200
+ ),
201
+ ),
202
+ 'Content' => array(
203
+ 'nicename' => esc_html__( 'Default', 'conceptly-pro' ),
204
+ 'icon' => 'table',
205
+ 'controls' => array(
206
+ 'slider',
207
+ 'slider_opacity'
208
+ ),
209
+ ),
210
+ ),
211
+
212
+ )
213
+ )
214
+ );
215
+
216
+ // Sponsers Tabs
217
+ $wp_customize->add_setting(
218
+ 'conceptly_sponser_tabs', array(
219
+ 'sanitize_callback' => 'sanitize_text_field',
220
+ )
221
+ );
222
+
223
+ $wp_customize->add_control(
224
+ new Cleverfox_Customize_Control_Tabs(
225
+ $wp_customize, 'conceptly_sponser_tabs', array(
226
+ 'section' => 'sponsers_setting',
227
+ 'tabs' => array(
228
+ 'general' => array(
229
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
230
+ 'icon' => 'cogs',
231
+ 'controls' => array(
232
+ 'hide_show_sponser',
233
+ ),
234
+ ),
235
+ 'first' => array(
236
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
237
+ 'icon' => 'info',
238
+ 'controls' => array(
239
+ 'sponser_contents'
240
+ ),
241
+ ),
242
+ 'second' => array(
243
+ 'nicename' => esc_html__( 'Background', 'conceptly-pro' ),
244
+ 'icon' => 'histry',
245
+ 'controls' => array(
246
+ 'sponsers_background_setting',
247
+ 'sponsers_background_position',
248
+ ),
249
+ ),
250
+ ),
251
+ )
252
+ )
253
+ );
254
+
255
+ //Latest News Tabs
256
+ $wp_customize->add_setting(
257
+ 'conceptly_blog_tabs', array(
258
+ 'sanitize_callback' => 'sanitize_text_field',
259
+ )
260
+ );
261
+
262
+ $wp_customize->add_control(
263
+ new Cleverfox_Customize_Control_Tabs(
264
+ $wp_customize, 'conceptly_blog_tabs', array(
265
+ 'section' => 'blog_setting',
266
+ 'tabs' => array(
267
+ 'general' => array(
268
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
269
+ 'icon' => 'cogs',
270
+ 'controls' => array(
271
+ 'hide_show_blog',
272
+ ),
273
+ ),
274
+ 'first' => array(
275
+ 'nicename' => esc_html__( 'Header', 'conceptly-pro' ),
276
+ 'icon' => 'header',
277
+ 'controls' => array(
278
+ 'blog_title',
279
+ 'blog_description',
280
+ ),
281
+ ),
282
+ 'second' => array(
283
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
284
+ 'icon' => 'info',
285
+ 'controls' => array(
286
+ 'blog_category_id',
287
+ 'blog_display_num',
288
+ 'blog_display_col'
289
+ ),
290
+ ),
291
+ ),
292
+ )
293
+ )
294
+ );
295
+
296
+ // Footer copyright section Tabs
297
+ $wp_customize->add_setting(
298
+ 'conceptly_copyrights_tabs', array(
299
+ 'sanitize_callback' => 'sanitize_text_field',
300
+ )
301
+ );
302
+
303
+ $wp_customize->add_control(
304
+ new Cleverfox_Customize_Control_Tabs(
305
+ $wp_customize, 'conceptly_copyrights_tabs', array(
306
+ 'section' => 'footer_copyright',
307
+ 'tabs' => array(
308
+ 'general' => array(
309
+ 'nicename' => esc_html__( 'Settings', 'conceptly-pro' ),
310
+ 'icon' => 'cogs',
311
+ 'controls' => array(
312
+ 'hide_show_copyright',
313
+
314
+ ),
315
+ ),
316
+ 'first' => array(
317
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
318
+ 'icon' => 'table',
319
+ 'controls' => array(
320
+ 'copyright_content',
321
+ ),
322
+ ),
323
+ ),
324
+
325
+ )
326
+ )
327
+ );
328
+
329
+ // footer payment Tabs
330
+ $wp_customize->add_setting(
331
+ 'conceptly_copyright_tabs', array(
332
+ 'sanitize_callback' => 'sanitize_text_field',
333
+ )
334
+ );
335
+
336
+ $wp_customize->add_control(
337
+ new Cleverfox_Customize_Control_Tabs(
338
+ $wp_customize, 'conceptly_copyright_tabs', array(
339
+ 'section' => 'footer_icon',
340
+ 'tabs' => array(
341
+ 'general' => array(
342
+ 'nicename' => esc_html__( 'Settings', 'conceptly-pro' ),
343
+ 'icon' => 'cogs',
344
+ 'controls' => array(
345
+ 'hide_show_payment',
346
+ ),
347
+ ),
348
+ 'first' => array(
349
+ 'nicename' => esc_html__( 'Content', 'conceptly-pro' ),
350
+ 'icon' => 'table',
351
+ 'controls' => array(
352
+ 'footer_Payment_icon',
353
+ ),
354
+ ),
355
+
356
+
357
+ ),
358
+ )
359
+ )
360
+ );
361
+
362
+ $wp_customize->add_setting(
363
+ 'conceptly_contacts_tabs', array(
364
+ 'sanitize_callback' => 'sanitize_text_field',
365
+ )
366
+ );
367
+
368
+ $wp_customize->add_control(
369
+ new Cleverfox_Customize_Control_Tabs(
370
+ $wp_customize, 'conceptly_contacts_tabs', array(
371
+ 'section' => 'header_contact',
372
+ 'tabs' => array(
373
+ 'general' => array(
374
+ 'nicename' => esc_html__( 'Phone', 'conceptly-pro' ),
375
+ 'icon' => 'table',
376
+ 'controls' => array(
377
+ 'hide_show_contact_infot',
378
+ 'header_phone_icon',
379
+ 'header_phone_number',
380
+ ),
381
+ ),
382
+
383
+ 'first' => array(
384
+ 'nicename' => esc_html__( 'Email', 'conceptly-pro' ),
385
+ 'icon' => 'table',
386
+ 'controls' => array(
387
+ 'hide_show_email_infot',
388
+ 'header_email_icon',
389
+ 'header_email',
390
+
391
+ ),
392
+ ),
393
+ 'second' => array(
394
+ 'nicename' => esc_html__( 'FAQ', 'conceptly-pro' ),
395
+ 'icon' => 'table',
396
+ 'controls' => array(
397
+ 'hide_show_faq',
398
+ 'header_faq_icon',
399
+ 'header_faq',
400
+
401
+ ),
402
+ ),
403
+ ),
404
+ )
405
+ )
406
+ );
407
+
408
+ $wp_customize->add_setting(
409
+ 'conceptly_social_tabs', array(
410
+ 'sanitize_callback' => 'sanitize_text_field',
411
+ )
412
+ );
413
+
414
+ $wp_customize->add_control(
415
+ new Cleverfox_Customize_Control_Tabs(
416
+ $wp_customize, 'conceptly_social_tabs', array(
417
+ 'section' => 'header_setting',
418
+ 'tabs' => array(
419
+ 'general' => array(
420
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
421
+ 'icon' => 'cogs',
422
+ 'controls' => array(
423
+ 'hide_show_social_icon',
424
+ ),
425
+ ),
426
+ 'first' => array(
427
+ 'nicename' => esc_html__( 'Social-Icon', 'conceptly-pro' ),
428
+ 'icon' => 'table',
429
+ 'controls' => array(
430
+ 'social_icons',
431
+ ),
432
+ ),
433
+
434
+ ),
435
+ )
436
+ )
437
+ );
438
+
439
+ $wp_customize->add_setting(
440
+ 'conceptly_get_btn_tabs', array(
441
+ 'sanitize_callback' => 'sanitize_text_field',
442
+ )
443
+ );
444
+
445
+ $wp_customize->add_control(
446
+ new Cleverfox_Customize_Control_Tabs(
447
+ $wp_customize, 'conceptly_get_btn_tabs', array(
448
+ 'section' => 'header_get_button',
449
+ 'tabs' => array(
450
+ 'general' => array(
451
+ 'nicename' => esc_html__( 'Setting', 'conceptly-pro' ),
452
+ 'icon' => 'table',
453
+ 'controls' => array(
454
+ 'hide_show_get_button',
455
+ ),
456
+ ),
457
+ 'first' => array(
458
+ 'nicename' => esc_html__( 'Button', 'conceptly-pro' ),
459
+ 'icon' => 'table',
460
+ 'controls' => array(
461
+ 'header_get',
462
+ 'header_btn_link'
463
+ ),
464
+ ),
465
+
466
+ ),
467
+ )
468
+ )
469
+ );
470
+ }
471
+ }
472
+
473
+ add_action( 'customize_register', 'Cleverfox_conceptly_tabs_customize_register' );
inc/conceptly/features/conceptly-service.php ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_service_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Service Settings Section
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'service_setting', array(
9
+ 'title' => esc_html__( 'Service Section', 'conceptly-pro' ),
10
+ 'priority' => apply_filters( 'conceptly_section_priority', 20, 'conceptly_service' ),
11
+ 'panel' => 'conceptly_frontpage_sections',
12
+ )
13
+ );
14
+ // service Hide/ Show Setting //
15
+ $wp_customize->add_setting(
16
+ 'hide_show_service' ,
17
+ array(
18
+ 'default' => esc_html__( '1', 'conceptly-pro' ),
19
+ 'sanitize_callback' => 'sanitize_text_field',
20
+ 'capability' => 'edit_theme_options',
21
+ 'transport' => $selective_refresh,
22
+ )
23
+ );
24
+
25
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
26
+ 'hide_show_service',
27
+ array(
28
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
29
+ 'section' => 'service_setting',
30
+ 'settings' => 'hide_show_service',
31
+ 'type' => 'ios', // light, ios, flat
32
+ )
33
+ ));
34
+
35
+ // Service Header Section //
36
+
37
+
38
+ // Service Title //
39
+ $wp_customize->add_setting(
40
+ 'service_title',
41
+ array(
42
+ 'default' => __('Our Services','conceptly-pro'),
43
+ 'capability' => 'edit_theme_options',
44
+ 'sanitize_callback' => 'conceptly_sanitize_html',
45
+ 'transport' => $selective_refresh,
46
+ )
47
+ );
48
+
49
+ $wp_customize->add_control(
50
+ 'service_title',
51
+ array(
52
+ 'label' => __('Title','conceptly-pro'),
53
+ 'section' => 'service_setting',
54
+ 'settings' => 'service_title',
55
+ 'type' => 'text',
56
+ )
57
+ );
58
+
59
+
60
+ // Service Description //
61
+ $wp_customize->add_setting(
62
+ 'service_description',
63
+ array(
64
+ 'default' => __('These are the services we provide, these makes us stand apart.','conceptly-pro'),
65
+ 'capability' => 'edit_theme_options',
66
+ 'sanitize_callback' => 'conceptly_sanitize_text',
67
+ 'transport' => $selective_refresh,
68
+ )
69
+ );
70
+
71
+ $wp_customize->add_control(
72
+ 'service_description',
73
+ array(
74
+ 'label' => __('Description','conceptly-pro'),
75
+ 'section' => 'service_setting',
76
+ 'settings' => 'service_description',
77
+ 'type' => 'textarea',
78
+ )
79
+ );
80
+
81
+ // Service content Section //
82
+
83
+
84
+ /**
85
+ * Customizer Repeater for add service
86
+ */
87
+
88
+ $wp_customize->add_setting( 'service_contents',
89
+ array(
90
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
91
+ 'transport' => $selective_refresh,
92
+ 'default' => conceptly_get_service_default()
93
+ )
94
+ );
95
+
96
+ $wp_customize->add_control(
97
+ new Conceptly_Repeater( $wp_customize,
98
+ 'service_contents',
99
+ array(
100
+ 'label' => esc_html__('Service','conceptly-pro'),
101
+ 'section' => 'service_setting',
102
+ 'add_field_label' => esc_html__( 'Add New Service', 'conceptly-pro' ),
103
+ 'item_name' => esc_html__( 'Service', 'conceptly-pro' ),
104
+ 'priority' => 1,
105
+ 'customizer_repeater_icon_control' => true,
106
+ 'customizer_repeater_title_control' => true,
107
+ 'customizer_repeater_subtitle_control' => true,
108
+ 'customizer_repeater_image_control' => true,
109
+ 'customizer_repeater_text_control' => true,
110
+ 'customizer_repeater_text2_control'=> true,
111
+ 'customizer_repeater_link_control' => true,
112
+ )
113
+ )
114
+ );
115
+ }
116
+
117
+ add_action( 'customize_register', 'conceptly_service_setting' );
118
+
119
+ // service selective refresh
120
+ function conceptly_home_service_section_partials( $wp_customize ){
121
+ // hide_show_service
122
+ $wp_customize->selective_refresh->add_partial(
123
+ 'hide_show_service', array(
124
+ 'selector' => '.home-service',
125
+ 'container_inclusive' => true,
126
+ 'render_callback' => 'service_setting',
127
+ 'fallback_refresh' => true,
128
+ )
129
+ );
130
+
131
+ // service title
132
+ $wp_customize->selective_refresh->add_partial( 'service_title', array(
133
+ 'selector' => '.home-service .section-title h2',
134
+ 'settings' => 'service_title',
135
+ 'render_callback' => 'home_section_service_title_render_callback',
136
+
137
+ ) );
138
+
139
+ // service description
140
+ $wp_customize->selective_refresh->add_partial( 'service_description', array(
141
+ 'selector' => '.home-service .section-title p',
142
+ 'settings' => 'service_description',
143
+ 'render_callback' => 'home_section_service_desc_render_callback',
144
+
145
+ ) );
146
+ // service content
147
+
148
+ $wp_customize->selective_refresh->add_partial( 'service_contents', array(
149
+ 'selector' => '.home-service #service-contents'
150
+ ) );
151
+
152
+ }
153
+
154
+ add_action( 'customize_register', 'conceptly_home_service_section_partials' );
155
+
156
+ // service title
157
+ function home_section_service_title_render_callback() {
158
+ return get_theme_mod( 'service_title' );
159
+ }
160
+
161
+ // service description
162
+ function home_section_service_desc_render_callback() {
163
+ return get_theme_mod( 'service_description' );
164
+ }
inc/conceptly/features/conceptly-slider.php ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_slider_setting( $wp_customize ) {
3
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
4
+ /*=========================================
5
+ Slider Section Panel
6
+ =========================================*/
7
+ $wp_customize->add_section(
8
+ 'slider_setting', array(
9
+ 'title' => esc_html__( 'Slider Section', 'conceptly-pro' ),
10
+ 'panel' => 'conceptly_frontpage_sections',
11
+ 'priority' => apply_filters( 'conceptly_section_priority', 1, 'slider_setting' ),
12
+ )
13
+ );
14
+
15
+ /**
16
+ * Customizer Repeater for add slides
17
+ */
18
+
19
+ $wp_customize->add_setting( 'slider',
20
+ array(
21
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
22
+ //'transport' => $selective_refresh,
23
+ 'default' => conceptly_get_slides_default()
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_control(
28
+ new Conceptly_Repeater( $wp_customize,
29
+ 'slider',
30
+ array(
31
+ 'label' => esc_html__('Slide','conceptly-pro'),
32
+ 'section' => 'slider_setting',
33
+ 'add_field_label' => esc_html__( 'Add New Slide', 'conceptly-pro' ),
34
+ 'item_name' => esc_html__( 'Slide', 'conceptly-pro' ),
35
+ 'priority' => 2,
36
+
37
+ 'customizer_repeater_icon_control' => false,
38
+ 'customizer_repeater_title_control' => true,
39
+ 'customizer_repeater_subtitle_control' => true,
40
+ 'customizer_repeater_text_control' => true,
41
+ 'customizer_repeater_text2_control'=> true,
42
+ 'customizer_repeater_link_control' => true,
43
+ 'customizer_repeater_slide_align' => true,
44
+ 'customizer_repeater_checkbox_control' => true,
45
+ 'customizer_repeater_image_control' => true,
46
+ )
47
+ )
48
+ );
49
+
50
+ // Slider Hide/ Show Setting //
51
+ $wp_customize->add_setting(
52
+ 'hide_show_slider' ,
53
+ array(
54
+ 'default' => esc_html__( '1', 'conceptly-pro' ),
55
+ 'capability' => 'edit_theme_options',
56
+ 'sanitize_callback' => 'sanitize_text_field',
57
+ 'transport' => $selective_refresh,
58
+ )
59
+ );
60
+
61
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
62
+ 'hide_show_slider',
63
+ array(
64
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
65
+ 'section' => 'slider_setting',
66
+ 'settings' => 'hide_show_slider',
67
+ 'type' => 'ios', // light, ios, flat
68
+ )
69
+ ));
70
+
71
+
72
+
73
+ //slider opacity
74
+
75
+ // Slider Text Caption //
76
+ $wp_customize->add_setting(
77
+ 'slider_opacity' ,
78
+ array(
79
+ 'default' => '',
80
+ 'capability' => 'edit_theme_options',
81
+ 'sanitize_callback' => 'sanitize_text_field',
82
+ )
83
+ );
84
+
85
+ $wp_customize->add_control(
86
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'slider_opacity',
87
+ array(
88
+ 'section' => 'slider_setting',
89
+ 'settings' => 'slider_opacity',
90
+ 'label' => __( 'Background Opacity','conceptly-pro' ),
91
+ 'input_attrs' => array(
92
+ 'min' => 0,
93
+ 'max' => 0.9,
94
+ 'step' => 0.1,
95
+ //'suffix' => 'px', //optional suffix
96
+ ),
97
+ ) )
98
+ );
99
+ }
100
+ add_action( 'customize_register', 'conceptly_slider_setting' );
101
+
102
+ // slider selective refresh
103
+ function conceptly_home_slider_section_partials( $wp_customize ){
104
+
105
+ // hide_show_slider
106
+ $wp_customize->selective_refresh->add_partial(
107
+ 'hide_show_slider', array(
108
+ 'selector' => '.header-slider',
109
+ 'container_inclusive' => true,
110
+ 'render_callback' => 'slider_setting',
111
+ 'fallback_refresh' => true,
112
+ )
113
+ );
114
+ // slider
115
+ $wp_customize->selective_refresh->add_partial( 'slider', array(
116
+ 'selector' => '#slider .header-slider figure',
117
+ 'settings' => 'slider',
118
+ 'render_callback' => 'home_section_slider_render_callback',
119
+
120
+ ) );
121
+
122
+ }
123
+
124
+ add_action( 'customize_register', 'conceptly_home_slider_section_partials' );
125
+
126
+ // Slider
127
+ function home_section_slider_render_callback() {
128
+ return get_theme_mod( 'slider' );
129
+ }
130
+ ?>
inc/conceptly/features/conceptly-sponsers.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function conceptly_sponsers_setting( $wp_customize ) {
3
+
4
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
5
+ /*=========================================
6
+ Sponsers Section Panel
7
+ =========================================*/
8
+ $wp_customize->add_section(
9
+ 'sponsers_setting', array(
10
+ 'title' => esc_html__( 'Sponsor Section', 'conceptly-pro' ),
11
+ 'panel' => 'conceptly_frontpage_sections',
12
+ 'priority' => apply_filters( 'conceptly_section_priority', 120, 'conceptly_Sponsers' ),
13
+ )
14
+ );
15
+ /*=========================================
16
+ Sponsers Settings Section
17
+ =========================================*/
18
+ // Slider Hide/ Show Setting //
19
+ $wp_customize->add_setting(
20
+ 'hide_show_sponser' ,
21
+ array(
22
+ 'default' => esc_html__( '1', 'conceptly-pro' ),
23
+ 'capability' => 'edit_theme_options',
24
+ 'sanitize_callback' => 'sanitize_text_field',
25
+ 'transport' => $selective_refresh,
26
+ )
27
+ );
28
+
29
+ $wp_customize->add_control( new Conceptly_Customizer_Toggle_Control( $wp_customize,
30
+ 'hide_show_sponser',
31
+ array(
32
+ 'label' => esc_html__( 'Hide / Show Section', 'conceptly-pro' ),
33
+ 'section' => 'sponsers_setting',
34
+ 'settings' => 'hide_show_sponser',
35
+ 'type' => 'ios', // light, ios, flat
36
+ )
37
+ ));
38
+
39
+ // Sponsers content Section //
40
+
41
+
42
+ /**
43
+ * Customizer Repeater for add Sponsers
44
+ */
45
+ $wp_customize->add_setting( 'sponser_contents',
46
+ array(
47
+ 'sanitize_callback' => 'conceptly_repeater_sanitize',
48
+ 'transport' => $selective_refresh,
49
+ 'default' => conceptly_get_sponsers_default()
50
+ )
51
+ );
52
+
53
+ $wp_customize->add_control(
54
+ new Conceptly_Repeater( $wp_customize,
55
+ 'sponser_contents',
56
+ array(
57
+ 'label' => esc_html__('Sponser','conceptly-pro'),
58
+ 'section' => 'sponsers_setting',
59
+ 'add_field_label' => esc_html__( 'Add New Sponser', 'conceptly-pro' ),
60
+ 'item_name' => esc_html__( 'Sponser', 'conceptly-pro' ),
61
+ 'priority' => 1,
62
+ 'customizer_repeater_image_control' => true,
63
+ 'customizer_repeater_link_control' => true,
64
+ )
65
+ )
66
+ );
67
+
68
+ // Sponsers Background Section //
69
+ // Background Image //
70
+ $wp_customize->add_setting(
71
+ 'sponsers_background_setting' ,
72
+ array(
73
+ 'default' => CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/bg/partner-bg.jpg',
74
+ 'capability' => 'edit_theme_options',
75
+ 'sanitize_callback' => 'conceptly_sanitize_url',
76
+ )
77
+ );
78
+
79
+ $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'sponsers_background_setting' ,
80
+ array(
81
+ 'label' => __( 'Background Image', 'conceptly-pro' ),
82
+ 'section' => 'sponsers_setting',
83
+ 'settings' => 'sponsers_background_setting',
84
+ )
85
+ ));
86
+
87
+
88
+ //background position
89
+ $wp_customize->add_setting(
90
+ 'sponsers_background_position' ,
91
+ array(
92
+ 'default' => __( 'fixed', 'conceptly-pro' ),
93
+ 'capability' => 'edit_theme_options',
94
+ 'sanitize_callback' => 'conceptly_sanitize_select',
95
+ )
96
+ );
97
+
98
+ $wp_customize->add_control(
99
+ 'sponsers_background_position' ,
100
+ array(
101
+ 'label' => __( 'Image Position', 'conceptly-pro' ),
102
+ 'section' => 'sponsers_setting',
103
+ 'settings' => 'sponsers_background_position',
104
+ 'type' => 'radio',
105
+ 'choices' =>
106
+ array(
107
+ 'fixed'=> __( 'Fixed', 'conceptly-pro' ),
108
+ 'scroll' => __( 'Scroll', 'conceptly-pro' )
109
+ )
110
+ )
111
+ );
112
+ }
113
+ add_action( 'customize_register', 'conceptly_sponsers_setting' );
114
+
115
+ // Sponsers selective refresh
116
+ function conceptly_home_sponsers_section_partials( $wp_customize ){
117
+ // hide_show_sponser
118
+ $wp_customize->selective_refresh->add_partial(
119
+ 'hide_show_sponser', array(
120
+ 'selector' => '#our-partners',
121
+ 'container_inclusive' => true,
122
+ 'render_callback' => 'sponsers_setting',
123
+ 'fallback_refresh' => true,
124
+ )
125
+ );
126
+ // Sponsers
127
+ $wp_customize->selective_refresh->add_partial( 'sponser_contents', array(
128
+ 'selector' => '#our-partners .partner-carousel',
129
+ ) );
130
+
131
+ }
132
+
133
+ add_action( 'customize_register', 'conceptly_home_sponsers_section_partials' );
inc/conceptly/features/conceptly-typography.php ADDED
@@ -0,0 +1,522 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php function conceptly_pro_typography_customizer( $wp_customize ) {
2
+ $selective_refresh = isset( $wp_customize->selective_refresh ) ? 'postMessage' : 'refresh';
3
+ $wp_customize->add_panel( 'conceptly_typography_setting', array(
4
+ 'priority' => 38,
5
+ 'capability' => 'edit_theme_options',
6
+ 'title' => __('Typography','conceptly-pro'),
7
+ ) );
8
+
9
+ // Typography Hide/ Show Setting //
10
+
11
+ $wp_customize->add_section(
12
+ 'typography_setting' ,
13
+ array(
14
+ 'title' => __('Settings','conceptly-pro'),
15
+ 'panel' => 'conceptly_typography_setting',
16
+ 'priority' => 1,
17
+ ) );
18
+ $wp_customize->add_setting(
19
+ 'hide_show_typography' ,
20
+ array(
21
+ 'default' => 0,
22
+ 'sanitize_callback' => 'sanitize_text_field',
23
+ 'capability' => 'edit_theme_options',
24
+ )
25
+ );
26
+
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-pro' ),
31
+ 'section' => 'typography_setting',
32
+ 'settings' => 'hide_show_typography',
33
+ 'type' => 'ios', // light, ios, flat
34
+ )
35
+ ));
36
+
37
+ $font_size = array();
38
+ for($i=9; $i<=100; $i++)
39
+ {
40
+ $font_size[$i] = $i;
41
+ }
42
+
43
+ $font_transform = array('inherit'=>'Inherit','lowercase'=>'Lowercase','uppercase'=>'Uppercase','capitalize'=>'capitalize');
44
+ $font_weight = array('normal'=>'normal', 'italic'=>'Italic','oblique'=>'oblique');
45
+ // General typography section
46
+ $wp_customize->add_section(
47
+ 'Body_typography' ,
48
+ array(
49
+ 'title' => __('Body','conceptly-pro'),
50
+ 'panel' => 'conceptly_typography_setting',
51
+ 'priority' => 2,
52
+ ) );
53
+
54
+ //Secondary font weight
55
+
56
+ $wp_customize->add_setting(
57
+ 'body_typography_font_weight',
58
+ array(
59
+ 'default' => __('normal','conceptly-pro'),
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-pro'),
67
+ 'section' => 'Body_typography',
68
+ 'setting' => 'body_typography_font_weight',
69
+ 'choices'=>$font_weight,
70
+ 'type' => 'select',
71
+ )
72
+ );
73
+ // Body font size//
74
+ $wp_customize->add_setting(
75
+ 'body_font_size' ,
76
+ array(
77
+ 'default' => __( '14','conceptly-pro' ),
78
+ 'capability' => 'edit_theme_options',
79
+ 'sanitize_callback' => 'sanitize_text_field',
80
+
81
+ )
82
+ );
83
+
84
+ $wp_customize->add_control(
85
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'body_font_size',
86
+ array(
87
+ 'section' => 'Body_typography',
88
+ 'settings' => 'body_font_size',
89
+ 'label' => __( 'Font Size','conceptly-pro' ),
90
+ 'input_attrs' => array(
91
+ 'min' => 10,
92
+ 'max' => 40,
93
+ 'step' => 1,
94
+ //'suffix' => 'px', //optional suffix
95
+ ),
96
+ ) )
97
+ );
98
+
99
+ // Body line height//
100
+ $wp_customize->add_setting(
101
+ 'body_line_height' ,
102
+ array(
103
+ 'default' => 1.6,
104
+ 'capability' => 'edit_theme_options',
105
+ )
106
+ );
107
+
108
+ $wp_customize->add_control(
109
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'body_line_height',
110
+ array(
111
+ 'section' => 'Body_typography',
112
+ 'settings' => 'body_line_height',
113
+ 'label' => __( 'Line Height','conceptly-pro' ),
114
+ 'input_attrs' => array(
115
+ 'min' => 0,
116
+ 'max' => 3,
117
+ 'step' => 0.1,
118
+ //'suffix' => 'px', //optional suffix
119
+ ),
120
+ ) )
121
+ );
122
+
123
+
124
+ //H1 typography
125
+ for ( $i = 1; $i <= 6; $i++ ) {
126
+ 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;}
127
+ $wp_customize->add_section(
128
+ 'H' . $i . '_typography' ,
129
+ array(
130
+ 'title' => __('H' . $i .'','conceptly-pro'),
131
+ 'panel' => 'conceptly_typography_setting',
132
+ 'priority' => 3,
133
+ )
134
+ );
135
+
136
+ //H1 font weight
137
+
138
+ $wp_customize->add_setting(
139
+ 'h' . $i . '_font_weight',
140
+ array(
141
+ 'default' => 'normal',
142
+ 'capability' => 'edit_theme_options',
143
+ 'sanitize_callback' => 'sanitize_text_field',
144
+ )
145
+ );
146
+ $wp_customize->add_control(
147
+ 'h' . $i . '_font_weight', array(
148
+ 'label' => __('Font Style','conceptly-pro'),
149
+ 'section' => 'H' . $i . '_typography',
150
+ 'setting' => 'h' . $i . '_font_weight',
151
+ 'choices'=>$font_weight,
152
+ 'type' => 'select',
153
+ )
154
+ );
155
+
156
+ // H1 font size//
157
+ $wp_customize->add_setting(
158
+ 'h' . $i . '_font_size' ,
159
+ array(
160
+ 'default' => $j,
161
+ 'capability' => 'edit_theme_options',
162
+ 'sanitize_callback' => 'sanitize_text_field',
163
+ )
164
+ );
165
+
166
+ $wp_customize->add_control(
167
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'h' . $i . '_font_size',
168
+ array(
169
+ 'section' => 'H' . $i . '_typography',
170
+ 'settings' => 'h' . $i . '_font_size',
171
+ 'label' => __( 'Font Size(px)','conceptly-pro' ),
172
+ 'input_attrs' => array(
173
+ 'min' => 1,
174
+ 'max' => 50,
175
+ 'step' => 1,
176
+ //'suffix' => 'px', //optional suffix
177
+ ),
178
+ ) )
179
+ );
180
+
181
+ // paragraph line height//
182
+ $wp_customize->add_setting(
183
+ 'h' . $i . '_line_height' ,
184
+ array(
185
+ 'default' => 1.2,
186
+ 'capability' => 'edit_theme_options',
187
+ 'sanitize_callback' => 'sanitize_text_field',
188
+ )
189
+ );
190
+
191
+ $wp_customize->add_control(
192
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'h' . $i . '_line_height',
193
+ array(
194
+ 'section' => 'H' . $i . '_typography',
195
+ 'settings' => 'h' . $i . '_line_height',
196
+ 'label' => __( 'Line Height','conceptly-pro' ),
197
+ 'input_attrs' => array(
198
+ 'min' => 0,
199
+ 'max' => 3,
200
+ 'step' => 0.1,
201
+ //'suffix' => 'px', //optional suffix
202
+ ),
203
+ ) )
204
+ );
205
+ //H1 text transform
206
+
207
+ $wp_customize->add_setting(
208
+ 'h' . $i . '_text_transform' ,
209
+ array(
210
+ 'default' => 'inherit',
211
+ 'capability' => 'edit_theme_options',
212
+ 'sanitize_callback' => 'sanitize_text_field',
213
+ )
214
+ );
215
+
216
+ $wp_customize->add_control(
217
+ 'h' . $i . '_text_transform' ,
218
+ array(
219
+ 'label' => __( 'Text Transform', 'conceptly-pro' ),
220
+ 'section' => 'H' . $i . '_typography',
221
+ 'settings' => 'h' . $i . '_text_transform',
222
+ 'choices' => $font_transform,
223
+ 'type' => 'select',
224
+ )
225
+ );
226
+ }
227
+
228
+
229
+ // menu typography section
230
+ $wp_customize->add_section(
231
+ 'menu_typography' ,
232
+ array(
233
+ 'title' => __('Menus','conceptly-pro'),
234
+ 'panel' => 'conceptly_typography_setting',
235
+ 'priority' => 2,
236
+ ) );
237
+
238
+
239
+ //menu font weight
240
+
241
+ $wp_customize->add_setting(
242
+ 'menu_font_weight',
243
+ array(
244
+ 'default' => 'normal',
245
+ 'capability' => 'edit_theme_options',
246
+ 'sanitize_callback' => 'sanitize_text_field',
247
+ )
248
+ );
249
+ $wp_customize->add_control(
250
+ 'menu_font_weight',
251
+ array(
252
+ 'label' => __('Font Style','conceptly-pro'),
253
+ 'section' => 'menu_typography',
254
+ 'setting' => 'menu_font_weight',
255
+ 'choices'=>$font_weight,
256
+ 'type' => 'select',
257
+ )
258
+ );
259
+
260
+ // menu font size//
261
+ $wp_customize->add_setting(
262
+ 'menu_font_size' ,
263
+ array(
264
+ 'default' => '15',
265
+ 'capability' => 'edit_theme_options',
266
+ 'sanitize_callback' => 'sanitize_text_field',
267
+ )
268
+ );
269
+
270
+ $wp_customize->add_control(
271
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'menu_font_size',
272
+ array(
273
+ 'section' => 'menu_typography',
274
+ 'settings' => 'menu_font_size',
275
+ 'label' => __( 'Font Size(px)','conceptly-pro' ),
276
+ 'input_attrs' => array(
277
+ 'min' => 1,
278
+ 'max' => 20,
279
+ 'step' => 1,
280
+ //'suffix' => 'px', //optional suffix
281
+ ),
282
+ ) )
283
+ );
284
+
285
+ // Menu line height//
286
+ $wp_customize->add_setting(
287
+ 'menu_line_height' ,
288
+ array(
289
+ 'default' => 1.6,
290
+ 'capability' => 'edit_theme_options',
291
+ 'sanitize_callback' => 'sanitize_text_field',
292
+ )
293
+ );
294
+
295
+ $wp_customize->add_control(
296
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'menu_line_height',
297
+ array(
298
+ 'section' => 'menu_typography',
299
+ 'settings' => 'menu_line_height',
300
+ 'label' => __( 'Line Height','conceptly-pro' ),
301
+ 'input_attrs' => array(
302
+ 'min' => 0,
303
+ 'max' => 3,
304
+ 'step' => 0.1,
305
+ //'suffix' => 'px', //optional suffix
306
+ ),
307
+ ) )
308
+ );
309
+ //menu text transform
310
+
311
+ $wp_customize->add_setting(
312
+ 'menu_text_transform' ,
313
+ array(
314
+ 'default' => 'inherit',
315
+ 'capability' => 'edit_theme_options',
316
+ 'sanitize_callback' => 'sanitize_text_field',
317
+ )
318
+ );
319
+
320
+ $wp_customize->add_control(
321
+ 'menu_text_transform' ,
322
+ array(
323
+ 'label' => __( 'Text Transform', 'conceptly-pro' ),
324
+ 'section' => 'menu_typography',
325
+ 'settings' => 'menu_text_transform',
326
+ 'choices' => $font_transform,
327
+ 'type' => 'select',
328
+ )
329
+ );
330
+
331
+ // Sections typography section
332
+ $wp_customize->add_section(
333
+ 'section_typography' ,
334
+ array(
335
+ 'title' => __('Sections','conceptly-pro'),
336
+ 'panel' => 'conceptly_typography_setting',
337
+ 'priority' => 2,
338
+ ) );
339
+
340
+ //section font weight
341
+ $wp_customize->add_setting(
342
+ 'section_tit_font_weight',
343
+ array(
344
+ 'default' => 'normal',
345
+ 'capability' => 'edit_theme_options',
346
+ 'sanitize_callback' => 'sanitize_text_field',
347
+ )
348
+ );
349
+ $wp_customize->add_control(
350
+ 'section_tit_font_weight',
351
+ array(
352
+ 'label' => __(' Title Font Style','conceptly-pro'),
353
+ 'section' => 'section_typography',
354
+ 'setting' => 'section_tit_font_weight',
355
+ 'choices'=>$font_weight,
356
+ 'type' => 'select',
357
+ )
358
+ );
359
+
360
+ // section title font size//
361
+ $wp_customize->add_setting(
362
+ 'section_tit_font_size' ,
363
+ array(
364
+ 'default' => '36',
365
+ 'capability' => 'edit_theme_options',
366
+ 'sanitize_callback' => 'sanitize_text_field',
367
+ )
368
+ );
369
+
370
+ $wp_customize->add_control(
371
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'section_tit_font_size',
372
+ array(
373
+ 'section' => 'section_typography',
374
+ 'settings' => 'section_tit_font_size',
375
+ 'label' => __( 'Title Font Size(px)','conceptly-pro' ),
376
+ 'input_attrs' => array(
377
+ 'min' => 1,
378
+ 'max' => 100,
379
+ 'step' => 1,
380
+ //'suffix' => 'px', //optional suffix
381
+ ),
382
+ ) )
383
+ );
384
+
385
+ // Section Title Height//
386
+ $wp_customize->add_setting(
387
+ 'section_ttl_line_height' ,
388
+ array(
389
+ 'default' => 1.6,
390
+ 'capability' => 'edit_theme_options',
391
+ 'sanitize_callback' => 'sanitize_text_field',
392
+ )
393
+ );
394
+
395
+ $wp_customize->add_control(
396
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'section_ttl_line_height',
397
+ array(
398
+ 'section' => 'section_typography',
399
+ 'settings' => 'section_ttl_line_height',
400
+ 'label' => __( 'Title Line Height','conceptly-pro' ),
401
+ 'input_attrs' => array(
402
+ 'min' => 0,
403
+ 'max' => 3,
404
+ 'step' => 0.1,
405
+ //'suffix' => 'px', //optional suffix
406
+ ),
407
+ ) )
408
+ );
409
+
410
+ //Section Title transform
411
+ $wp_customize->add_setting(
412
+ 'sec_ttl_text_transform' ,
413
+ array(
414
+ 'default' => 'inherit',
415
+ 'capability' => 'edit_theme_options',
416
+ 'sanitize_callback' => 'sanitize_text_field',
417
+ )
418
+ );
419
+
420
+ $wp_customize->add_control(
421
+ 'sec_ttl_text_transform' ,
422
+ array(
423
+ 'label' => __( 'Text Transform', 'conceptly-pro' ),
424
+ 'section' => 'section_typography',
425
+ 'settings' => 'sec_ttl_text_transform',
426
+ 'choices' => $font_transform,
427
+ 'type' => 'select',
428
+ )
429
+ );
430
+
431
+ //section font weight
432
+ $wp_customize->add_setting(
433
+ 'section_des_font_weight',
434
+ array(
435
+ 'default' => 'normal',
436
+ 'capability' => 'edit_theme_options',
437
+ 'sanitize_callback' => 'sanitize_text_field',
438
+ )
439
+ );
440
+ $wp_customize->add_control(
441
+ 'section_des_font_weight',
442
+ array(
443
+ 'label' => __('Description Font Style','conceptly-pro'),
444
+ 'section' => 'section_typography',
445
+ 'setting' => 'section_des_font_weight',
446
+ 'choices'=>$font_weight,
447
+ 'type' => 'select',
448
+ )
449
+ );
450
+
451
+ // section title font size//
452
+ $wp_customize->add_setting(
453
+ 'section_desc_font_size' ,
454
+ array(
455
+ 'default' => '16',
456
+ 'capability' => 'edit_theme_options',
457
+ 'sanitize_callback' => 'sanitize_text_field',
458
+ )
459
+ );
460
+
461
+ $wp_customize->add_control(
462
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'section_desc_font_size',
463
+ array(
464
+ 'section' => 'section_typography',
465
+ 'settings' => 'section_desc_font_size',
466
+ 'label' => __( 'Description Font Size(px)','conceptly-pro' ),
467
+ 'input_attrs' => array(
468
+ 'min' => 1,
469
+ 'max' => 50,
470
+ 'step' => 1,
471
+ //'suffix' => 'px', //optional suffix
472
+ ),
473
+ ) )
474
+ );
475
+
476
+ // Section Description Height//
477
+ $wp_customize->add_setting(
478
+ 'section_desc_line_height' ,
479
+ array(
480
+ 'default' => 1.6,
481
+ 'capability' => 'edit_theme_options',
482
+ 'sanitize_callback' => 'sanitize_text_field',
483
+ )
484
+ );
485
+
486
+ $wp_customize->add_control(
487
+ new Cleverfox_Customizer_Range_Slider_Control( $wp_customize, 'section_desc_line_height',
488
+ array(
489
+ 'section' => 'section_typography',
490
+ 'settings' => 'section_desc_line_height',
491
+ 'label' => __( 'Description Line Height','conceptly-pro' ),
492
+ 'input_attrs' => array(
493
+ 'min' => 0,
494
+ 'max' => 3,
495
+ 'step' => 0.1,
496
+ //'suffix' => 'px', //optional suffix
497
+ ),
498
+ ) )
499
+ );
500
+
501
+ //Section Description transform
502
+ $wp_customize->add_setting(
503
+ 'sec_desc_text_transform' ,
504
+ array(
505
+ 'default' => 'inherit',
506
+ 'capability' => 'edit_theme_options',
507
+ 'sanitize_callback' => 'sanitize_text_field',
508
+ )
509
+ );
510
+
511
+ $wp_customize->add_control(
512
+ 'sec_desc_text_transform' ,
513
+ array(
514
+ 'label' => __( 'Text Transform', 'conceptly-pro' ),
515
+ 'section' => 'section_typography',
516
+ 'settings' => 'sec_desc_text_transform',
517
+ 'choices' => $font_transform,
518
+ 'type' => 'select',
519
+ )
520
+ );
521
+ }
522
+ add_action( 'customize_register', 'conceptly_pro_typography_customizer' );
inc/conceptly/images/bg/cta-bg.jpg ADDED
Binary file
inc/conceptly/images/bg/partner-bg.jpg ADDED
Binary file
inc/conceptly/images/logo.png ADDED
Binary file
inc/conceptly/images/partner/partner01.png ADDED
Binary file
inc/conceptly/images/partner/partner02.png ADDED
Binary file
inc/conceptly/images/partner/partner03.png ADDED
Binary file
inc/conceptly/images/partner/partner04.png ADDED
Binary file
inc/conceptly/images/partner/partner05.png ADDED
Binary file
inc/conceptly/images/service/service003.jpg ADDED
Binary file
inc/conceptly/images/service/service02.jpg ADDED
Binary file
inc/conceptly/images/sliders/slider01.jpg ADDED
Binary file
inc/conceptly/images/sliders/slider02.jpg ADDED
Binary file
inc/conceptly/images/sliders/slider03.jpg ADDED
Binary file
inc/conceptly/sections/above-header.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_above_header' ) ) :
3
+ function conceptly_above_header() {
4
+ $hide_show_preloader = get_theme_mod('hide_show_preloader','0');
5
+ $hide_show_social_icon = get_theme_mod('hide_show_social_icon','1');
6
+ $social_icons = get_theme_mod('social_icons',conceptly_get_social_icon_default());
7
+ $hide_show_contact_infot = get_theme_mod('hide_show_contact_infot','1');
8
+ $header_email_icon = get_theme_mod('header_email_icon','fa-envelope-o');
9
+ $header_email = get_theme_mod('header_email','email@companyname.com');
10
+ $header_phone_icon = get_theme_mod('header_phone_icon','fa-phone');
11
+ $header_phone_number = get_theme_mod('header_phone_number','+1 514-286-4242');
12
+ $header_faq_icon = get_theme_mod('header_faq_icon','fa-question');
13
+ $header_faq = get_theme_mod('header_faq','Ask Your Question');
14
+ $sticky_header_setting = get_theme_mod('sticky_header_setting','1');
15
+ $hide_show_email_infot = get_theme_mod('hide_show_email_infot','1');
16
+ $hide_show_faq = get_theme_mod('hide_show_faq','1');
17
+
18
+ ?>
19
+
20
+ <!-- Start: Header Top
21
+ ============================= -->
22
+ <section id="header-top">
23
+ <div class="container">
24
+ <div class="row">
25
+ <div class="col-lg-9 col-md-12 text-lg-left text-center mb-2 mb-lg-0">
26
+ <ul class="header-info d-inline-block">
27
+ <?php if($hide_show_contact_infot =='1'){ ?>
28
+ <?php if($header_phone_number) {?>
29
+ <li class="tlh-phone"><a href="#"><i class="fa <?php echo esc_attr($header_phone_icon); ?>"></i><?php echo esc_html($header_phone_number); ?></a></li>
30
+ <?php
31
+ }
32
+ }
33
+ ?>
34
+ <?php if($hide_show_email_infot =='1'){ ?>
35
+ <?php if($header_email) {?>
36
+ <li class="tlh-email"><a href="#"><i class="fa <?php echo esc_attr( $header_email_icon ); ?>"></i><?php echo $header_email; ?></a></li>
37
+ <?php } ?>
38
+ <?php } ?>
39
+ <?php if($hide_show_faq =='1'){ ?>
40
+ <?php if($header_faq) {?>
41
+ <li class="tlh-faq"><a href="#"><i class="fa <?php echo esc_attr($header_faq_icon); ?>"></i><?php echo $header_faq; ?></a></li>
42
+ <?php } ?>
43
+ <?php } ?>
44
+
45
+ </ul>
46
+ </div>
47
+
48
+ <div class="col-lg-3 col-md-12 text-lg-right text-center mb-lg-0 mb-1">
49
+ <?php if($hide_show_social_icon =='1'){ ?>
50
+ <ul class="trh-social d-inline-block">
51
+ <?php
52
+ $social_icons = json_decode($social_icons);
53
+ if( $social_icons!='' )
54
+ {
55
+ foreach($social_icons as $social_item){
56
+ $social_icon = ! empty( $social_item->icon_value ) ? apply_filters( 'conceptly_translate_single_string', $social_item->icon_value, 'Header section' ) : '';
57
+ $social_link = ! empty( $social_item->link ) ? apply_filters( 'conceptly_translate_single_string', $social_item->link, 'Header section' ) : '';
58
+ ?>
59
+ <li><a href="<?php echo esc_url( $social_link ); ?>" ><i class="fa <?php echo esc_attr( $social_icon ); ?> "></i></a></li>
60
+ <?php
61
+ }
62
+ }
63
+ ?>
64
+ </ul>
65
+ <?php } ?>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </section>
70
+ <?php
71
+ } endif;
72
+ add_action('conceptly_above_header', 'conceptly_above_header');
73
+ ?>
inc/conceptly/sections/section-cta.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_lite_cta' ) ) :
3
+ function conceptly_lite_cta() {
4
+ $hide_show_cta = get_theme_mod('hide_show_cta','1');
5
+ $call_to_action_title = get_theme_mod('call_to_action_title','Become a Part of Community !');
6
+ $call_to_action_description = get_theme_mod('call_to_action_description','Get in touch with us and send some basic info for a quick quote');
7
+ $cta_icon = get_theme_mod('cta_icon','fa-shopping-cart');
8
+ $call_action_button_label = get_theme_mod('call_action_button_label','Purchase Now');
9
+ $call_action_button_link = get_theme_mod('call_action_button_link','');
10
+ $call_action_button_target= get_theme_mod('call_action_button_target');
11
+ $call_action_background_setting= get_theme_mod('call_action_background_setting',CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/bg/cta-bg.jpg');
12
+ $cta_background_position= get_theme_mod('cta_background_position','fixed');
13
+ if($hide_show_cta == '1') {
14
+ ?>
15
+
16
+ <!-- Start: Call to action
17
+ ============================= -->
18
+ <section id="cta" class="section-padding" style="background:url('<?php echo esc_url($call_action_background_setting); ?>') no-repeat center / 100% 100%;background-attachment:<?php echo esc_attr($cta_background_position); ?>;">
19
+ <div class="container">
20
+ <div class="row cta">
21
+ <div id="cta-header" class="col-lg-9 col-md-12 col-12 text-lg-left text-center mb-lg-0 mb-4">
22
+ <?php if ( ! empty( $call_to_action_title ) ) : ?>
23
+ <h3><?php echo esc_html( $call_to_action_title ); ?></h3>
24
+ <?php endif; ?>
25
+ <?php if ( ! empty( $call_to_action_description ) ) : ?>
26
+ <p><?php echo esc_html( $call_to_action_description ); ?></p>
27
+ <?php endif; ?>
28
+ </div>
29
+ <div id="cta-btn" class="col-lg-3 col-md-12 col-12 text-lg-right text-center">
30
+ <a href="<?php echo esc_url( $call_action_button_link ); ?>" <?php if($call_action_button_target== 'yes' || $call_action_button_target== '1') { echo "target='_blank'"; } ?> class="boxed-btn purchase-btn"><i class="fa <?php echo esc_attr( $cta_icon ); ?>"></i><?php echo esc_html( $call_action_button_label ); ?></a>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </section>
35
+
36
+ <!-- End: Call to action
37
+ ============================= -->
38
+ <?php
39
+ }
40
+ }
41
+ endif;
42
+ if ( function_exists( 'conceptly_lite_cta' ) ) {
43
+ $section_priority = apply_filters( 'conceptly_section_priority', 29, 'conceptly_lite_cta' );
44
+ add_action( 'conceptly_sections', 'conceptly_lite_cta', absint( $section_priority ) );
45
+ }
inc/conceptly/sections/section-features.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_lite_features' ) ) :
3
+ function conceptly_lite_features() {
4
+ $default_content = conceptly_get_feature_default();
5
+ $hide_show_feature = get_theme_mod('hide_show_feature','1');
6
+ $features_title = get_theme_mod('features_title','Our Features');
7
+ $features_description = get_theme_mod('features_description','There are many variations of passages of Lorem Ipsum available but the majority have suffered alteration in some form by injected humour.');
8
+ $feature_content = get_theme_mod('feature_content',$default_content);
9
+
10
+ if($hide_show_feature == '1') {
11
+ ?>
12
+ <!-- Start: Our Features
13
+ ============================= -->
14
+ <section id="ourfeatures" class="section-padding home-feature" style="background:#f5f5f5;">
15
+ <div class="container">
16
+ <?php
17
+ if( ($features_title) || ($features_description)!='' ) { ?>
18
+ <!-- Start Feature Title -->
19
+ <div class="row">
20
+ <div class="col-lg-8 col-md-10 col-12">
21
+ <div class="section-title">
22
+ <?php if ( ! empty( $features_title ) || is_customize_preview() ) : ?>
23
+ <h2><?php echo $features_title; ?> <span></span></h2>
24
+ <?php endif; ?>
25
+
26
+ <?php if($features_description) {?>
27
+ <p><?php echo $features_description; ?></p>
28
+ <?php } ?>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <!-- /Feature Title -->
33
+ <?php
34
+ }
35
+ ?>
36
+ <div id="feature-content"class="row">
37
+ <?php
38
+ if ( ! empty( $feature_content ) ) {
39
+ $allowed_html = array(
40
+ 'br' => array(),
41
+ 'em' => array(),
42
+ 'strong' => array(),
43
+ 'b' => array(),
44
+ 'i' => array(),
45
+ );
46
+ $feature_content = json_decode( $feature_content );
47
+ foreach ( $feature_content as $service_item ) {
48
+ $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'conceptly_translate_single_string', $service_item->icon_value, 'feature section' ) : '';
49
+ $title = ! empty( $service_item->title ) ? apply_filters( 'conceptly_translate_single_string', $service_item->title, 'feature section' ) : '';
50
+ $text = ! empty( $service_item->text ) ? apply_filters( 'conceptly_translate_single_string', $service_item->text, 'feature section' ) : '';
51
+ ?>
52
+ <div class="col-lg-4 col-md-6 col-sm-12 features-box pt-3 pb-3">
53
+ <div class="row" >
54
+ <div class="col-3">
55
+ <div class="features-box-icon">
56
+ <?php if ( ! empty( $icon ) ) { ?>
57
+ <i class="fa <?php echo esc_html($icon);?>"></i>
58
+ <?php } ?>
59
+ </div>
60
+ </div>
61
+ <div class="col-9">
62
+ <h3><?php echo esc_html( $title ); ?></h3>
63
+ <p><?php echo esc_html( $text ); ?> </p>
64
+ </div>
65
+ </div>
66
+ </div>
67
+
68
+ <?php
69
+ }
70
+ }
71
+ ?>
72
+ </div>
73
+ </div>
74
+ </section>
75
+ </section>
76
+ <?php }
77
+ }
78
+ endif;
79
+ if ( function_exists( 'conceptly_lite_features' ) ) {
80
+ $section_priority = apply_filters( 'conceptly_section_priority', 27, 'conceptly_lite_features' );
81
+ add_action( 'conceptly_sections', 'conceptly_lite_features', absint( $section_priority ) );
82
+ }
inc/conceptly/sections/section-flash.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_lite_info' ) ) :
3
+ function conceptly_lite_info() {
4
+ $hide_show_info = get_theme_mod('hide_show_info','1');
5
+ $info_title = get_theme_mod('info_title','10/45 Beer Street Heaven');
6
+ $info_description = get_theme_mod('info_description','California Floor, USA 1208');
7
+ $info_title2 = get_theme_mod('info_title2','+001-2156-2459');
8
+ $info_description2 = get_theme_mod('info_description2','example@mail.com');
9
+ $info_title3 = get_theme_mod('info_title3','Free Delivery');
10
+ $info_description3 = get_theme_mod('info_description3','On order over $57.00');
11
+ $infos_first_icon_setting= get_theme_mod('infos_first_icon_setting','fa-pencil');
12
+ $infos_second_icon_setting= get_theme_mod('infos_second_icon_setting','fa-refresh');
13
+ $infos_third_icon_setting= get_theme_mod('infos_third_icon_setting','fa-life-saver');
14
+ ?>
15
+ <!-- Start: Contact
16
+ ============================= -->
17
+ <?php if($hide_show_info == '1') { ?>
18
+ <section id="contact">
19
+ <div class="container contact-wrapper text-center text-lg-left">
20
+ <div class="">
21
+ <div class="row">
22
+ <div class="col-md-4 col-sm-6 single-contact info-first">
23
+ <i class="fa <?php echo esc_attr($infos_first_icon_setting);?>"></i>
24
+ <p><b><?php echo esc_attr( $info_title ); ?></b><br> <span class="info-first-desc"><?php echo esc_attr( $info_description );?></span> </p>
25
+ </div>
26
+
27
+ <div class="col-md-4 col-sm-6 single-contact info-second">
28
+ <i class="fa <?php echo esc_html($infos_second_icon_setting);?>"></i>
29
+ <p><b><?php echo esc_attr( $info_title2 ); ?></b><br><span class="info-second-desc"><?php echo esc_attr( $info_description2 ); ?></span></p>
30
+ </div>
31
+
32
+ <div class="col-md-4 col-sm-6 single-contact info-third">
33
+ <i class="fa <?php echo esc_html($infos_third_icon_setting);?>"></i>
34
+ <p><b><?php echo esc_attr( $info_title3 ); ?></b><br><span class="info-third-desc"><?php echo esc_attr( $info_description3 ); ?></span></p>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </section>
40
+ <?php
41
+ }
42
+ } endif; ?>
43
+ <?php
44
+ if ( function_exists( 'conceptly_lite_info' ) ) {
45
+ $section_priority = apply_filters( 'conceptly_section_priority', 12, 'conceptly_lite_info' );
46
+ add_action( 'conceptly_sections', 'conceptly_lite_info', absint( $section_priority ) );
47
+ }
inc/conceptly/sections/section-service.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_lite_service' ) ) :
3
+ function conceptly_lite_service() {
4
+ $default_content = conceptly_get_service_default();
5
+ $hide_show_service = get_theme_mod('hide_show_service','1');
6
+ $service_title = get_theme_mod('service_title','Our Services');
7
+ $service_description = get_theme_mod('service_description','There are many variations of passages of Lorem Ipsum available but the majority have suffered alteration in some form by injected humour.');
8
+ $service_contents = get_theme_mod('service_contents',$default_content);
9
+ if($hide_show_service == '1') {?>
10
+ <section id="our-service" class="section-padding home-service">
11
+ <div class="container">
12
+ <div class="row">
13
+ <div class="col-lg-8 col-md-10 col-12">
14
+ <div class="section-title">
15
+ <?php if ( ! empty( $service_title ) || is_customize_preview() ) : ?>
16
+ <h2><?php echo esc_attr( $service_title ); ?><span></span></h2>
17
+ <?php endif; ?>
18
+ <?php if($service_description) {?>
19
+ <p><?php echo esc_attr( $service_description ); ?></p>
20
+ <?php
21
+ }
22
+ ?>
23
+ </div>
24
+ </div>
25
+ </div>
26
+
27
+ <div class="row" id="service-contents">
28
+ <?php
29
+ if ( ! empty( $service_contents ) ) {
30
+ $allowed_html = array(
31
+ 'br' => array(),
32
+ 'em' => array(),
33
+ 'strong' => array(),
34
+ 'b' => array(),
35
+ 'i' => array(),
36
+ );
37
+ $service_contents = json_decode( $service_contents );
38
+ foreach ( $service_contents as $service_item ) {
39
+ $icon = ! empty( $service_item->icon_value ) ? apply_filters( 'conceptly_translate_single_string', $service_item->icon_value, 'service section' ) : '';
40
+ $title = ! empty( $service_item->title ) ? apply_filters( 'conceptly_translate_single_string', $service_item->title, 'service section' ) : '';
41
+ $subtitle = ! empty( $service_item->subtitle ) ? apply_filters( 'conceptly_translate_single_string', $service_item->subtitle, 'service section' ) : '';
42
+ $text = ! empty( $service_item->text ) ? apply_filters( 'conceptly_translate_single_string', $service_item->text, 'service section' ) : '';
43
+ $text2 = ! empty( $service_item->text2) ? apply_filters( 'conceptly_translate_single_string', $service_item->text2,'service section' ) : '';
44
+ $link = ! empty( $service_item->link ) ? apply_filters( 'conceptly_translate_single_string', $service_item->link, 'service section' ) : '';
45
+ $image = ! empty( $service_item->image_url ) ? apply_filters( 'conceptly_translate_single_string', $service_item->image_url, 'service section' ) : '';
46
+ ?>
47
+ <div class="col-lg-4 col-md-6 col-sm-12 mb-4 mb-lg-0 single_serv"> <div class="service-box">
48
+ <figure>
49
+ <?php if ( ! empty( $image ) ) : ?>
50
+ <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; ?> />
51
+ <?php endif; ?>
52
+ <figcaption>
53
+ <div class="inner-text">
54
+ <div class="service-icon">
55
+ <i class="fa <?php echo esc_html( $icon ); ?>"></i>
56
+ </div>
57
+ <?php if ( ! empty( $title ) ) : ?>
58
+ <h3><?php echo esc_html( $title ); ?> <br> <?php echo esc_html( $subtitle ); ?> </h3>
59
+ <?php endif; ?>
60
+ <div class="devider"></div>
61
+ <p><?php echo esc_html( $text ); ?></p>
62
+ <a href="<?php echo esc_url( $link ); ?>" class="boxed-btn"><?php echo $text2 ?><i class="fa fa-arrow-right"></i></a>
63
+ </div>
64
+ </figcaption>
65
+ </figure>
66
+ </div>
67
+ </div>
68
+ <?php
69
+ }
70
+ }
71
+ ?>
72
+ </div>
73
+ </div>
74
+ </section>
75
+ <?php
76
+ }
77
+ }
78
+ endif;
79
+ if ( function_exists( 'conceptly_lite_service' ) ) {
80
+ $section_priority = apply_filters( 'conceptly_section_priority', 25, 'conceptly_lite_service' );
81
+ add_action( 'conceptly_sections', 'conceptly_lite_service', absint( $section_priority ) );
82
+ }
83
+
inc/conceptly/sections/section-slider.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_lite_slider' ) ) :
3
+ function conceptly_lite_slider() {
4
+ $default_content = conceptly_get_slides_default();
5
+ $slider = get_theme_mod('slider',$default_content);
6
+ $hide_show_slider = get_theme_mod('hide_show_slider','1');
7
+ $slider_opacity = get_theme_mod('slider_opacity');
8
+
9
+ if($hide_show_slider == '1') { ?>
10
+ <section id="slider">
11
+ <div class="header-slider owl-carousel owl-theme">
12
+ <?php
13
+
14
+ if ( ! empty( $slider ) ) {
15
+ $allowed_html = array(
16
+ 'br' => array(),
17
+ 'em' => array(),
18
+ 'strong' => array(),
19
+ 'b' => array(),
20
+ 'i' => array(),
21
+ );
22
+ $slider = json_decode( $slider );
23
+ foreach ( $slider as $slide_item ) {
24
+ //$icon = ! empty( $service_item->icon_value ) ? apply_filters( 'conceptly_translate_single_string', $service_item->icon_value, 'service section' ) : '';
25
+ $title = ! empty( $slide_item->title ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->title, 'slider section' ) : '';
26
+ $subtitle = ! empty( $slide_item->subtitle ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->subtitle, 'slider section' ) : '';
27
+ $text = ! empty( $slide_item->text ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->text, 'slider section' ) : '';
28
+ $button = ! empty( $slide_item->text2) ? apply_filters( 'conceptly_translate_single_string', $slide_item->text2,'Learn More' ) : 'Read More';
29
+ $link = ! empty( $slide_item->link ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->link, 'slider section' ) : '';
30
+ $image = ! empty( $slide_item->image_url ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->image_url, 'slider section' ) : '';
31
+ $open_new_tab = ! empty( $slide_item->open_new_tab ) ? apply_filters( 'conceptly_translate_single_string', $slide_item->open_new_tab, 'slider section' ) : '';
32
+ $align = $slide_item->slide_align;
33
+ ?>
34
+ <div class="item">
35
+ <?php if ( ! empty( $image ) ) : ?>
36
+ <img src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
37
+ <?php endif; ?>
38
+ <div class="header-single-slider theme-slider">
39
+ <div class="theme-table">
40
+ <div class="theme-table-cell">
41
+ <div class="container">
42
+ <div class="theme-content text-<?php echo esc_attr($align); ?>">
43
+ <?php if ( ! empty( $title ) ) : ?>
44
+ <h1><?php echo esc_attr( $title ); ?><br><span><?php echo esc_attr( $subtitle ); ?></span></h1>
45
+ <?php endif; ?>
46
+ <?php if ( ! empty( $text ) ) : ?>
47
+ <p><?php echo esc_attr( $text ); ?></p>
48
+ <?php endif; ?>
49
+ <?php if ( ! empty( $button ) ) : ?>
50
+ <a href="<?php echo esc_url( $link ); ?>" <?php if($open_new_tab== 'yes' || $open_new_tab== '1') { echo "target='_blank'"; } ?> class="boxed-btn"><?php echo esc_attr( $button ); ?><i class="fa fa-arrow-right"></i></a>
51
+ <?php endif; ?>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ <?php } ?>
59
+ </div>
60
+ <?php } ?>
61
+ </section>
62
+ <?php }
63
+ }
64
+ endif;
65
+ if ( function_exists( 'conceptly_lite_slider' ) ) {
66
+ $section_priority = apply_filters( 'conceptly_section_priority', 11, 'conceptly_lite_slider' );
67
+ add_action( 'conceptly_sections', 'conceptly_lite_slider', absint( $section_priority ) );
68
+ }
inc/conceptly/sections/section-sponser.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'conceptly_lite_sponsors' ) ) :
3
+ function conceptly_lite_sponsors() {
4
+ $default_content = conceptly_get_sponsers_default();
5
+ $hide_show_sponser = get_theme_mod('hide_show_sponser','1');
6
+ $sponser_contents = get_theme_mod('sponser_contents',$default_content);
7
+ $sponsers_background_setting= get_theme_mod('sponsers_background_setting',CLEVERFOX_PLUGIN_URL .'inc/conceptly/images/bg/partner-bg.jpg');
8
+ $sponsers_background_position= get_theme_mod('sponsers_background_position','fixed');
9
+ if($hide_show_sponser == '1') {
10
+ ?>
11
+ <!-- Start: Our Client
12
+ ============================= -->
13
+ <section id="our-partners" style="background:url('<?php echo esc_url($sponsers_background_setting); ?>') no-repeat center / cover;background-attachment:<?php echo esc_attr($sponsers_background_position); ?>;">
14
+ <div class="container">
15
+ <div class="row">
16
+ <div class="col-md-12">
17
+ <div class="partner-carousel">
18
+ <?php
19
+ if ( ! empty( $sponser_contents ) ) {
20
+ $allowed_html = array(
21
+ 'br' => array(),
22
+ 'em' => array(),
23
+ 'strong' => array(),
24
+ 'b' => array(),
25
+ 'i' => array(),
26
+ );
27
+ $sponser_contents = json_decode( $sponser_contents );
28
+ foreach ( $sponser_contents as $sponser_item ) {
29
+ $link = ! empty( $sponser_item->link ) ? apply_filters( 'conceptly_translate_single_string', $sponser_item->link, 'sponser section' ) : '';
30
+ $image = ! empty( $sponser_item->image_url ) ? apply_filters( 'conceptly_translate_single_string', $sponser_item->image_url, 'sponser section' ) : '';
31
+ ?>
32
+ <div class="single-partner">
33
+ <div class="inner-partner">
34
+ <?php if ( ! empty( $image ) ) : ?>
35
+ <a href="<?php echo esc_url($link); ?>"><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; ?> /></a>
36
+ <?php endif; ?>
37
+
38
+ </div>
39
+ </div>
40
+ <?php } } ?>
41
+ </div>
42
+ </div>
43
+ </div>
44
+
45
+ </div>
46
+ </section>
47
+ <!-- End: Our Client
48
+ ============================= -->
49
+ <?php }
50
+ }
51
+ endif;
52
+ if ( function_exists( 'conceptly_lite_sponsors' ) ) {
53
+ $section_priority = apply_filters( 'conceptly_section_priority', 32, 'conceptly_lite_sponsors' );
54
+ add_action( 'conceptly_sections', 'conceptly_lite_sponsors', absint( $section_priority ) );
55
+ }
inc/envira/envira.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
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';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/envira/features/funfact-section.php';
10
+ 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_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' );
23
+ 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' );
inc/hantus/hantus.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Hantus
4
+ */
5
+
6
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/navigation.php';
7
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-slider.php';
8
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-info.php';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-service.php';
10
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-testimonial.php';
11
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/features/section-typography.php';
12
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/dynamic-style.php';
13
+
14
+
15
+ if ( ! function_exists( 'cleverfox_hantus_frontpage_sections' ) ) :
16
+ function cleverfox_hantus_frontpage_sections() {
17
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-slider.php';
18
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-info.php';
19
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-service.php';
20
+ require CLEVERFOX_PLUGIN_DIR . 'inc/hantus/sections/section-testimonial.php';
21
+ }
22
+ add_action( 'hantus_sections', 'cleverfox_hantus_frontpage_sections' );
23
+ endif;
inc/startbiz/startbiz.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
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';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-testimonial.php';
10
+ 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_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;
inc/startkit/startkit.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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';
9
+ require CLEVERFOX_PLUGIN_DIR . 'inc/startkit/features/section-testimonial.php';
10
+ 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';
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/startkit/sections/section-testimonial.php';
21
+ }
22
+ add_action( 'startkit_sections', 'cleverfox_startkit_frontpage_sections' );
23
+ endif;
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Clever Fox ===
2
 
3
  Contributors: nayrathemes
4
- Tags: startkit, startbiz, arowana, section
5
  Requires at least: 4.0
6
  Tested up to: 5.4.2
7
  License: GPLv3 or later
@@ -39,6 +39,11 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
39
 
40
  == Changelog ==
41
 
 
 
 
 
 
42
  = 1.1.34 =
43
  * Hantus Features Improved
44
 
1
  === Clever Fox ===
2
 
3
  Contributors: nayrathemes
4
+ Tags: startkit, startbiz, arowana, envira, hantus, conceptly
5
  Requires at least: 4.0
6
  Tested up to: 5.4.2
7
  License: GPLv3 or later
39
 
40
  == Changelog ==
41
 
42
+ = 1.1.35 =
43
+ * Code Improvement
44
+ * Conceptly Theme Functionality Added
45
+ * Tags Updated
46
+
47
  = 1.1.34 =
48
  * Hantus Features Improved
49