ThemeHunk Customizer - Version 2.6.8

Version Description

  • Big Store - Footer issue fixed.
Download this release

Release Info

Developer themehunk
Plugin Icon 128x128 ThemeHunk Customizer
Version 2.6.8
Comparing to
See all releases

Code changes from version 2.6.7 to 2.6.8

big-store/big-store-admin/woo/big-store-admin.php CHANGED
@@ -2,7 +2,6 @@
2
  if ( ! class_exists( 'WooCommerce' ) ){
3
  return;
4
  }
5
-
6
  if(!function_exists('big_store_product_query')){
7
  function big_store_product_query($term_id,$prdct_optn){
8
  $limit_product = get_theme_mod('big_store_prd_shw_no','20');
@@ -500,7 +499,7 @@ class Big_Store_List_Category_Images extends Walker_Category {
500
  /**************************************/
501
  //Below footer function
502
  /**************************************/
503
- if ( ! function_exists( 'big_store_below_footer_markup' ) ){
504
  function big_store_shop_below_footer_markup(){ ?>
505
  <div class="below-footer">
506
  <div class="container">
2
  if ( ! class_exists( 'WooCommerce' ) ){
3
  return;
4
  }
 
5
  if(!function_exists('big_store_product_query')){
6
  function big_store_product_query($term_id,$prdct_optn){
7
  $limit_product = get_theme_mod('big_store_prd_shw_no','20');
499
  /**************************************/
500
  //Below footer function
501
  /**************************************/
502
+ if ( ! function_exists( 'big_store_shop_below_footer_markup' ) ){
503
  function big_store_shop_below_footer_markup(){ ?>
504
  <div class="below-footer">
505
  <div class="container">
elanzalite/customizer/js/customizer.js CHANGED
@@ -1,330 +1,334 @@
1
- jQuery(document).ready(function(){
2
- // Magzine widget
3
- // Magzine widget
4
- wp.customize.section( 'sidebar-widgets-magzine-widget' ).panel('elanzalite_magzine');
5
- wp.customize.section( 'sidebar-widgets-magzine-widget' ).priority('5');
6
-
7
- wp.customize.section( 'sidebar-widgets-magzine-sidebar-widget' ).panel('elanzalite_magzine');
8
- wp.customize.section( 'sidebar-widgets-magzine-sidebar-widget' ).priority('6');
9
- wp.customize.control( 'elanzalite_magzine_layout' ).section( 'sidebar-widgets-magzine-sidebar-widget' );
10
-
11
-
12
- wp.customize('elanzalite_listing_layout', function( value ){
13
- var filter_type = value.bind( function( to ) {
14
- if(to=='two-grid-layout'){
15
- jQuery( '#customize-control-blog_post_share_hide' ).css('display','none' );
16
-
17
- } else if(to=='standard-layout'){
18
- jQuery( '#customize-control-blog_post_share_hide' ).css('display','block' );
19
-
20
- }
21
- } );
22
- if(filter_type()=='two-grid-layout'){
23
- jQuery( '#customize-control-blog_post_share_hide' ).css('display','none' );
24
-
25
- } else if(filter_type()=='standard-layout'){
26
- jQuery( '#customize-control-blog_post_share_hide' ).css('display','block' );
27
-
28
-
29
- }
30
-
31
- } );
32
-
33
- wp.customize('elanzalite_listing_layout', function( value ){
34
- var filter_type = value.bind( function( to ) {
35
- if(to=='standard-layout'){
36
- jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','block' );
37
- jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','none' );
38
- jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
39
- jQuery( '#customize-control-post_read_more_hide' ).css('display','none' );
40
- jQuery( '#customize-control-readmore_text' ).css('display','none' );
41
-
42
-
43
- } else if(to=='two-grid-layout'){
44
- jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','none' );
45
- jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','block' );
46
- jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
47
- jQuery( '#customize-control-post_read_more_hide' ).css('display','block' );
48
- jQuery( '#customize-control-readmore_text' ).css('display','block' );
49
-
50
-
51
- }
52
- } );
53
- if(filter_type()=='standard-layout'){
54
- jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','block' );
55
- jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','none' );
56
- jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
57
- jQuery( '#customize-control-post_read_more_hide' ).css('display','none' );
58
- jQuery( '#customize-control-readmore_text' ).css('display','none' );
59
-
60
-
61
- } else if(filter_type()=='two-grid-layout'){
62
- jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','none' );
63
- jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','block' );
64
- jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
65
- jQuery( '#customize-control-post_read_more_hide' ).css('display','block' );
66
- jQuery( '#customize-control-readmore_text' ).css('display','block' );
67
-
68
-
69
- }
70
- } );
71
- wp.customize( 'post_excerpt_data_hide', function( value ) {
72
- var filter_type = value.bind( function( to ) {
73
- if(to=='1'){
74
- jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
75
-
76
- } else if(to=='' || to=='0'){
77
- jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
78
-
79
- }
80
- } );
81
- if(filter_type()=='1'){
82
- jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
83
-
84
- } else if(filter_type()=='' || filter_type()=='0'){
85
- jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
86
-
87
-
88
- }
89
-
90
- } );
91
- wp.customize('post_read_more_hide', function( value ){
92
- var filter_type = value.bind( function( to ) {
93
- if(to=='1'){
94
- jQuery( '#customize-control-readmore_text' ).css('display','none' );
95
-
96
- } else if(to=='' || to=='0'){
97
- jQuery( '#customize-control-readmore_text' ).css('display','block' );
98
-
99
- }
100
- } );
101
- if(filter_type()=='1'){
102
- jQuery( '#customize-control-readmore_text' ).css('display','none' );
103
-
104
- } else if(filter_type()=='' || filter_type()=='0'){
105
- jQuery( '#customize-control-readmore_text' ).css('display','block' );
106
-
107
-
108
- }
109
-
110
- } );
111
-
112
-
113
- jQuery( 'body' ).bind( 'click', '.devices button', function ( e ) {
114
- if(jQuery('.devices-wrapper .preview-desktop').hasClass('active')){
115
- // body
116
- jQuery('#customize-control-elanzalite_body_font_size' ).css('display','block' );
117
- jQuery('#customize-control-elanzalite_body_font_size_tb' ).css('display','none' );
118
- jQuery('#customize-control-elanzalite_body_font_size_mb' ).css('display','none' );
119
- jQuery('#customize-control-elanzalite_body_line_height' ).css('display','block' );
120
- jQuery('#customize-control-elanzalite_body_line_height_tb' ).css('display','none' );
121
- jQuery('#customize-control-elanzalite_body_line_height_mb' ).css('display','none' );
122
- jQuery('#customize-control-elanzalite_body_letter_spacing' ).css('display','block' );
123
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb' ).css('display','none' );
124
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb' ).css('display','none' );
125
- // H1
126
- jQuery('#customize-control-elanzalite_body_font_size_h1' ).css('display','block' );
127
- jQuery('#customize-control-elanzalite_body_font_size_tb_h1' ).css('display','none' );
128
- jQuery('#customize-control-elanzalite_body_font_size_mb_h1' ).css('display','none' );
129
- jQuery('#customize-control-elanzalite_body_line_height_h1' ).css('display','block' );
130
- jQuery('#customize-control-elanzalite_body_line_height_tb_h1' ).css('display','none' );
131
- jQuery('#customize-control-elanzalite_body_line_height_mb_h1' ).css('display','none' );
132
- jQuery('#customize-control-elanzalite_body_letter_spacing_h1' ).css('display','block' );
133
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h1' ).css('display','none' );
134
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h1' ).css('display','none' );
135
- // H2
136
- jQuery('#customize-control-elanzalite_body_font_size_h2' ).css('display','block' );
137
- jQuery('#customize-control-elanzalite_body_font_size_tb_h2' ).css('display','none' );
138
- jQuery('#customize-control-elanzalite_body_font_size_mb_h2' ).css('display','none' );
139
- jQuery('#customize-control-elanzalite_body_line_height_h2' ).css('display','block' );
140
- jQuery('#customize-control-elanzalite_body_line_height_tb_h2' ).css('display','none' );
141
- jQuery('#customize-control-elanzalite_body_line_height_mb_h2' ).css('display','none' );
142
- jQuery('#customize-control-elanzalite_body_letter_spacing_h2' ).css('display','block' );
143
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h2' ).css('display','none' );
144
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h2' ).css('display','none' );
145
- // H3
146
- jQuery('#customize-control-elanzalite_body_font_size_h3' ).css('display','block' );
147
- jQuery('#customize-control-elanzalite_body_font_size_tb_h3' ).css('display','none' );
148
- jQuery('#customize-control-elanzalite_body_font_size_mb_h3' ).css('display','none' );
149
- jQuery('#customize-control-elanzalite_body_line_height_h3' ).css('display','block' );
150
- jQuery('#customize-control-elanzalite_body_line_height_tb_h3' ).css('display','none' );
151
- jQuery('#customize-control-elanzalite_body_line_height_mb_h3' ).css('display','none' );
152
- jQuery('#customize-control-elanzalite_body_letter_spacing_h3' ).css('display','block' );
153
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h3' ).css('display','none' );
154
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h3' ).css('display','none' );
155
- // H4
156
- jQuery('#customize-control-elanzalite_body_font_size_h4' ).css('display','block' );
157
- jQuery('#customize-control-elanzalite_body_font_size_tb_h4' ).css('display','none' );
158
- jQuery('#customize-control-elanzalite_body_font_size_mb_h4' ).css('display','none' );
159
- jQuery('#customize-control-elanzalite_body_line_height_h4' ).css('display','block' );
160
- jQuery('#customize-control-elanzalite_body_line_height_tb_h4' ).css('display','none' );
161
- jQuery('#customize-control-elanzalite_body_line_height_mb_h4' ).css('display','none' );
162
- jQuery('#customize-control-elanzalite_body_letter_spacing_h4' ).css('display','block' );
163
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h4' ).css('display','none' );
164
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h4' ).css('display','none' );
165
- // H5
166
- jQuery('#customize-control-elanzalite_body_font_size_h5' ).css('display','block' );
167
- jQuery('#customize-control-elanzalite_body_font_size_tb_h5' ).css('display','none' );
168
- jQuery('#customize-control-elanzalite_body_font_size_mb_h5' ).css('display','none' );
169
- jQuery('#customize-control-elanzalite_body_line_height_h5' ).css('display','block' );
170
- jQuery('#customize-control-elanzalite_body_line_height_tb_h5' ).css('display','none' );
171
- jQuery('#customize-control-elanzalite_body_line_height_mb_h5' ).css('display','none' );
172
- jQuery('#customize-control-elanzalite_body_letter_spacing_h5' ).css('display','block' );
173
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h5' ).css('display','none' );
174
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h5' ).css('display','none' );
175
- // H6
176
- jQuery('#customize-control-elanzalite_body_font_size_h6' ).css('display','block' );
177
- jQuery('#customize-control-elanzalite_body_font_size_tb_h6' ).css('display','none' );
178
- jQuery('#customize-control-elanzalite_body_font_size_mb_h6' ).css('display','none' );
179
- jQuery('#customize-control-elanzalite_body_line_height_h6' ).css('display','block' );
180
- jQuery('#customize-control-elanzalite_body_line_height_tb_h6' ).css('display','none' );
181
- jQuery('#customize-control-elanzalite_body_line_height_mb_h6' ).css('display','none' );
182
- jQuery('#customize-control-elanzalite_body_letter_spacing_h6' ).css('display','block' );
183
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h6' ).css('display','none' );
184
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h6' ).css('display','none' );
185
- }
186
- if(jQuery('.devices-wrapper .preview-tablet').hasClass('active')){
187
- // body
188
- jQuery('#customize-control-elanzalite_body_font_size' ).css('display','none' );
189
- jQuery('#customize-control-elanzalite_body_font_size_tb' ).css('display','block' );
190
- jQuery('#customize-control-elanzalite_body_font_size_mb' ).css('display','none' );
191
- jQuery('#customize-control-elanzalite_body_line_height' ).css('display','none' );
192
- jQuery('#customize-control-elanzalite_body_line_height_tb' ).css('display','block' );
193
- jQuery('#customize-control-elanzalite_body_line_height_mb' ).css('display','none' );
194
- jQuery('#customize-control-elanzalite_body_letter_spacing' ).css('display','none' );
195
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb' ).css('display','block' );
196
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb' ).css('display','none' );
197
- // H1
198
- jQuery('#customize-control-elanzalite_body_font_size_h1' ).css('display','none' );
199
- jQuery('#customize-control-elanzalite_body_font_size_tb_h1' ).css('display','block' );
200
- jQuery('#customize-control-elanzalite_body_font_size_mb_h1' ).css('display','none' );
201
- jQuery('#customize-control-elanzalite_body_line_height_h1' ).css('display','none' );
202
- jQuery('#customize-control-elanzalite_body_line_height_tb_h1' ).css('display','block' );
203
- jQuery('#customize-control-elanzalite_body_line_height_mb_h1' ).css('display','none' );
204
- jQuery('#customize-control-elanzalite_body_letter_spacing_h1' ).css('display','none' );
205
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h1' ).css('display','block' );
206
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h1' ).css('display','none' );
207
- // H2
208
- jQuery('#customize-control-elanzalite_body_font_size_h2' ).css('display','none' );
209
- jQuery('#customize-control-elanzalite_body_font_size_tb_h2' ).css('display','block' );
210
- jQuery('#customize-control-elanzalite_body_font_size_mb_h2' ).css('display','none' );
211
- jQuery('#customize-control-elanzalite_body_line_height_h2' ).css('display','none' );
212
- jQuery('#customize-control-elanzalite_body_line_height_tb_h2' ).css('display','block' );
213
- jQuery('#customize-control-elanzalite_body_line_height_mb_h2' ).css('display','none' );
214
- jQuery('#customize-control-elanzalite_body_letter_spacing_h2' ).css('display','none' );
215
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h2' ).css('display','block' );
216
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h2' ).css('display','none' );
217
- // H3
218
- jQuery('#customize-control-elanzalite_body_font_size_h3' ).css('display','none' );
219
- jQuery('#customize-control-elanzalite_body_font_size_tb_h3' ).css('display','block' );
220
- jQuery('#customize-control-elanzalite_body_font_size_mb_h3' ).css('display','none' );
221
- jQuery('#customize-control-elanzalite_body_line_height_h3' ).css('display','none' );
222
- jQuery('#customize-control-elanzalite_body_line_height_tb_h3' ).css('display','block' );
223
- jQuery('#customize-control-elanzalite_body_line_height_mb_h3' ).css('display','none' );
224
- jQuery('#customize-control-elanzalite_body_letter_spacing_h3' ).css('display','none' );
225
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h3' ).css('display','block' );
226
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h3' ).css('display','none' );
227
- // H4
228
- jQuery('#customize-control-elanzalite_body_font_size_h4' ).css('display','none' );
229
- jQuery('#customize-control-elanzalite_body_font_size_tb_h4' ).css('display','block' );
230
- jQuery('#customize-control-elanzalite_body_font_size_mb_h4' ).css('display','none' );
231
- jQuery('#customize-control-elanzalite_body_line_height_h4' ).css('display','none' );
232
- jQuery('#customize-control-elanzalite_body_line_height_tb_h4' ).css('display','block' );
233
- jQuery('#customize-control-elanzalite_body_line_height_mb_h4' ).css('display','none' );
234
- jQuery('#customize-control-elanzalite_body_letter_spacing_h4' ).css('display','none' );
235
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h4' ).css('display','block' );
236
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h4' ).css('display','none' );
237
- // H5
238
- jQuery('#customize-control-elanzalite_body_font_size_h5' ).css('display','none' );
239
- jQuery('#customize-control-elanzalite_body_font_size_tb_h5' ).css('display','block' );
240
- jQuery('#customize-control-elanzalite_body_font_size_mb_h5' ).css('display','none' );
241
- jQuery('#customize-control-elanzalite_body_line_height_h5' ).css('display','none' );
242
- jQuery('#customize-control-elanzalite_body_line_height_tb_h5' ).css('display','block' );
243
- jQuery('#customize-control-elanzalite_body_line_height_mb_h5' ).css('display','none' );
244
- jQuery('#customize-control-elanzalite_body_letter_spacing_h5' ).css('display','none' );
245
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h5' ).css('display','block' );
246
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h5' ).css('display','none' );
247
- // H6
248
- jQuery('#customize-control-elanzalite_body_font_size_h6' ).css('display','none' );
249
- jQuery('#customize-control-elanzalite_body_font_size_tb_h6' ).css('display','block' );
250
- jQuery('#customize-control-elanzalite_body_font_size_mb_h6' ).css('display','none' );
251
- jQuery('#customize-control-elanzalite_body_line_height_h6' ).css('display','none' );
252
- jQuery('#customize-control-elanzalite_body_line_height_tb_h6' ).css('display','block' );
253
- jQuery('#customize-control-elanzalite_body_line_height_mb_h6' ).css('display','none' );
254
- jQuery('#customize-control-elanzalite_body_letter_spacing_h6' ).css('display','none' );
255
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h6' ).css('display','block' );
256
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h6' ).css('display','none' );
257
- }
258
- if(jQuery('.devices-wrapper .preview-mobile').hasClass('active')){
259
- // body
260
- jQuery('#customize-control-elanzalite_body_font_size' ).css('display','none' );
261
- jQuery('#customize-control-elanzalite_body_font_size_tb' ).css('display','none' );
262
- jQuery('#customize-control-elanzalite_body_font_size_mb' ).css('display','block' );
263
- jQuery('#customize-control-elanzalite_body_line_height' ).css('display','none' );
264
- jQuery('#customize-control-elanzalite_body_line_height_tb' ).css('display','none' );
265
- jQuery('#customize-control-elanzalite_body_line_height_mb' ).css('display','block' );
266
- jQuery('#customize-control-elanzalite_body_letter_spacing' ).css('display','none' );
267
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb' ).css('display','none' );
268
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb' ).css('display','block' );
269
- //H1
270
- jQuery('#customize-control-elanzalite_body_font_size_h1' ).css('display','none' );
271
- jQuery('#customize-control-elanzalite_body_font_size_tb_h1' ).css('display','none' );
272
- jQuery('#customize-control-elanzalite_body_font_size_mb_h1' ).css('display','block' );
273
- jQuery('#customize-control-elanzalite_body_line_height_h1' ).css('display','none' );
274
- jQuery('#customize-control-elanzalite_body_line_height_tb_h1' ).css('display','none' );
275
- jQuery('#customize-control-elanzalite_body_line_height_mb_h1' ).css('display','block' );
276
- jQuery('#customize-control-elanzalite_body_letter_spacing_h1' ).css('display','none' );
277
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h1' ).css('display','none' );
278
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h1' ).css('display','block' );
279
- //H2
280
- jQuery('#customize-control-elanzalite_body_font_size_h2' ).css('display','none' );
281
- jQuery('#customize-control-elanzalite_body_font_size_tb_h2' ).css('display','none' );
282
- jQuery('#customize-control-elanzalite_body_font_size_mb_h2' ).css('display','block' );
283
- jQuery('#customize-control-elanzalite_body_line_height_h2' ).css('display','none' );
284
- jQuery('#customize-control-elanzalite_body_line_height_tb_h2' ).css('display','none' );
285
- jQuery('#customize-control-elanzalite_body_line_height_mb_h2' ).css('display','block' );
286
- jQuery('#customize-control-elanzalite_body_letter_spacing_h2' ).css('display','none' );
287
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h2' ).css('display','none' );
288
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h2' ).css('display','block' );
289
- //H3
290
- jQuery('#customize-control-elanzalite_body_font_size_h3' ).css('display','none' );
291
- jQuery('#customize-control-elanzalite_body_font_size_tb_h3' ).css('display','none' );
292
- jQuery('#customize-control-elanzalite_body_font_size_mb_h3' ).css('display','block' );
293
- jQuery('#customize-control-elanzalite_body_line_height_h3' ).css('display','none' );
294
- jQuery('#customize-control-elanzalite_body_line_height_tb_h3' ).css('display','none' );
295
- jQuery('#customize-control-elanzalite_body_line_height_mb_h3' ).css('display','block' );
296
- jQuery('#customize-control-elanzalite_body_letter_spacing_h3' ).css('display','none' );
297
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h3' ).css('display','none' );
298
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h3' ).css('display','block' );
299
- //H4
300
- jQuery('#customize-control-elanzalite_body_font_size_h4' ).css('display','none' );
301
- jQuery('#customize-control-elanzalite_body_font_size_tb_h4' ).css('display','none' );
302
- jQuery('#customize-control-elanzalite_body_font_size_mb_h4' ).css('display','block' );
303
- jQuery('#customize-control-elanzalite_body_line_height_h4' ).css('display','none' );
304
- jQuery('#customize-control-elanzalite_body_line_height_tb_h4' ).css('display','none' );
305
- jQuery('#customize-control-elanzalite_body_line_height_mb_h4' ).css('display','block' );
306
- jQuery('#customize-control-elanzalite_body_letter_spacing_h4' ).css('display','none' );
307
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h4' ).css('display','none' );
308
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h4' ).css('display','block' );
309
- //H5
310
- jQuery('#customize-control-elanzalite_body_font_size_h5' ).css('display','none' );
311
- jQuery('#customize-control-elanzalite_body_font_size_tb_h5' ).css('display','none' );
312
- jQuery('#customize-control-elanzalite_body_font_size_mb_h5' ).css('display','block' );
313
- jQuery('#customize-control-elanzalite_body_line_height_h5' ).css('display','none' );
314
- jQuery('#customize-control-elanzalite_body_line_height_tb_h5' ).css('display','none' );
315
- jQuery('#customize-control-elanzalite_body_line_height_mb_h5' ).css('display','block' );
316
- jQuery('#customize-control-elanzalite_body_letter_spacing_h5' ).css('display','none' );
317
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h5' ).css('display','none' );
318
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h5' ).css('display','block' );
319
- //H6
320
- jQuery('#customize-control-elanzalite_body_font_size_h6' ).css('display','none' );
321
- jQuery('#customize-control-elanzalite_body_font_size_tb_h6' ).css('display','none' );
322
- jQuery('#customize-control-elanzalite_body_font_size_mb_h6' ).css('display','block' );
323
- jQuery('#customize-control-elanzalite_body_line_height_h6' ).css('display','none' );
324
- jQuery('#customize-control-elanzalite_body_line_height_tb_h6' ).css('display','none' );
325
- jQuery('#customize-control-elanzalite_body_line_height_mb_h6' ).css('display','block' );
326
- jQuery('#customize-control-elanzalite_body_letter_spacing_h6' ).css('display','none' );
327
- jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h6' ).css('display','none' );
328
- jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h6' ).css('display','block' );
329
- }});
 
 
 
 
330
  });
1
+ jQuery(document).ready(function(){
2
+ wp.customize.section( 'sidebar-widgets-primary-sidebar' ).panel('elanzalite_magzine');
3
+ wp.customize.section( 'sidebar-widgets-primary-sidebar' ).priority('5');
4
+
5
+ // Magzine widget
6
+ // Magzine widget
7
+
8
+ wp.customize.section( 'sidebar-widgets-magzine-sidebar-widget' ).panel('elanzalite_magzine');
9
+ wp.customize.section( 'sidebar-widgets-magzine-sidebar-widget' ).priority('6');
10
+
11
+ return false;
12
+
13
+ wp.customize.control( 'elanzalite_magzine_layout' ).section( 'sidebar-widgets-magzine-sidebar-widget' );
14
+
15
+
16
+ wp.customize('elanzalite_listing_layout', function( value ){
17
+ var filter_type = value.bind( function( to ) {
18
+ if(to=='two-grid-layout'){
19
+ jQuery( '#customize-control-blog_post_share_hide' ).css('display','none' );
20
+
21
+ } else if(to=='standard-layout'){
22
+ jQuery( '#customize-control-blog_post_share_hide' ).css('display','block' );
23
+
24
+ }
25
+ } );
26
+ if(filter_type()=='two-grid-layout'){
27
+ jQuery( '#customize-control-blog_post_share_hide' ).css('display','none' );
28
+
29
+ } else if(filter_type()=='standard-layout'){
30
+ jQuery( '#customize-control-blog_post_share_hide' ).css('display','block' );
31
+
32
+
33
+ }
34
+
35
+ } );
36
+
37
+ wp.customize('elanzalite_listing_layout', function( value ){
38
+ var filter_type = value.bind( function( to ) {
39
+ if(to=='standard-layout'){
40
+ jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','block' );
41
+ jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','none' );
42
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
43
+ jQuery( '#customize-control-post_read_more_hide' ).css('display','none' );
44
+ jQuery( '#customize-control-readmore_text' ).css('display','none' );
45
+
46
+
47
+ } else if(to=='two-grid-layout'){
48
+ jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','none' );
49
+ jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','block' );
50
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
51
+ jQuery( '#customize-control-post_read_more_hide' ).css('display','block' );
52
+ jQuery( '#customize-control-readmore_text' ).css('display','block' );
53
+
54
+
55
+ }
56
+ } );
57
+ if(filter_type()=='standard-layout'){
58
+ jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','block' );
59
+ jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','none' );
60
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
61
+ jQuery( '#customize-control-post_read_more_hide' ).css('display','none' );
62
+ jQuery( '#customize-control-readmore_text' ).css('display','none' );
63
+
64
+
65
+ } else if(filter_type()=='two-grid-layout'){
66
+ jQuery( '#customize-control-stndrd_post_excerpt_data_hide' ).css('display','none' );
67
+ jQuery( '#customize-control-post_excerpt_data_hide' ).css('display','block' );
68
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
69
+ jQuery( '#customize-control-post_read_more_hide' ).css('display','block' );
70
+ jQuery( '#customize-control-readmore_text' ).css('display','block' );
71
+
72
+
73
+ }
74
+ } );
75
+ wp.customize( 'post_excerpt_data_hide', function( value ) {
76
+ var filter_type = value.bind( function( to ) {
77
+ if(to=='1'){
78
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
79
+
80
+ } else if(to=='' || to=='0'){
81
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
82
+
83
+ }
84
+ } );
85
+ if(filter_type()=='1'){
86
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','none' );
87
+
88
+ } else if(filter_type()=='' || filter_type()=='0'){
89
+ jQuery( '#customize-control-excerpt_lenght' ).css('display','block' );
90
+
91
+
92
+ }
93
+
94
+ } );
95
+ wp.customize('post_read_more_hide', function( value ){
96
+ var filter_type = value.bind( function( to ) {
97
+ if(to=='1'){
98
+ jQuery( '#customize-control-readmore_text' ).css('display','none' );
99
+
100
+ } else if(to=='' || to=='0'){
101
+ jQuery( '#customize-control-readmore_text' ).css('display','block' );
102
+
103
+ }
104
+ } );
105
+ if(filter_type()=='1'){
106
+ jQuery( '#customize-control-readmore_text' ).css('display','none' );
107
+
108
+ } else if(filter_type()=='' || filter_type()=='0'){
109
+ jQuery( '#customize-control-readmore_text' ).css('display','block' );
110
+
111
+
112
+ }
113
+
114
+ } );
115
+
116
+
117
+ jQuery( 'body' ).bind( 'click', '.devices button', function ( e ) {
118
+ if(jQuery('.devices-wrapper .preview-desktop').hasClass('active')){
119
+ // body
120
+ jQuery('#customize-control-elanzalite_body_font_size' ).css('display','block' );
121
+ jQuery('#customize-control-elanzalite_body_font_size_tb' ).css('display','none' );
122
+ jQuery('#customize-control-elanzalite_body_font_size_mb' ).css('display','none' );
123
+ jQuery('#customize-control-elanzalite_body_line_height' ).css('display','block' );
124
+ jQuery('#customize-control-elanzalite_body_line_height_tb' ).css('display','none' );
125
+ jQuery('#customize-control-elanzalite_body_line_height_mb' ).css('display','none' );
126
+ jQuery('#customize-control-elanzalite_body_letter_spacing' ).css('display','block' );
127
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb' ).css('display','none' );
128
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb' ).css('display','none' );
129
+ // H1
130
+ jQuery('#customize-control-elanzalite_body_font_size_h1' ).css('display','block' );
131
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h1' ).css('display','none' );
132
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h1' ).css('display','none' );
133
+ jQuery('#customize-control-elanzalite_body_line_height_h1' ).css('display','block' );
134
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h1' ).css('display','none' );
135
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h1' ).css('display','none' );
136
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h1' ).css('display','block' );
137
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h1' ).css('display','none' );
138
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h1' ).css('display','none' );
139
+ // H2
140
+ jQuery('#customize-control-elanzalite_body_font_size_h2' ).css('display','block' );
141
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h2' ).css('display','none' );
142
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h2' ).css('display','none' );
143
+ jQuery('#customize-control-elanzalite_body_line_height_h2' ).css('display','block' );
144
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h2' ).css('display','none' );
145
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h2' ).css('display','none' );
146
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h2' ).css('display','block' );
147
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h2' ).css('display','none' );
148
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h2' ).css('display','none' );
149
+ // H3
150
+ jQuery('#customize-control-elanzalite_body_font_size_h3' ).css('display','block' );
151
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h3' ).css('display','none' );
152
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h3' ).css('display','none' );
153
+ jQuery('#customize-control-elanzalite_body_line_height_h3' ).css('display','block' );
154
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h3' ).css('display','none' );
155
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h3' ).css('display','none' );
156
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h3' ).css('display','block' );
157
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h3' ).css('display','none' );
158
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h3' ).css('display','none' );
159
+ // H4
160
+ jQuery('#customize-control-elanzalite_body_font_size_h4' ).css('display','block' );
161
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h4' ).css('display','none' );
162
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h4' ).css('display','none' );
163
+ jQuery('#customize-control-elanzalite_body_line_height_h4' ).css('display','block' );
164
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h4' ).css('display','none' );
165
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h4' ).css('display','none' );
166
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h4' ).css('display','block' );
167
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h4' ).css('display','none' );
168
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h4' ).css('display','none' );
169
+ // H5
170
+ jQuery('#customize-control-elanzalite_body_font_size_h5' ).css('display','block' );
171
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h5' ).css('display','none' );
172
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h5' ).css('display','none' );
173
+ jQuery('#customize-control-elanzalite_body_line_height_h5' ).css('display','block' );
174
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h5' ).css('display','none' );
175
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h5' ).css('display','none' );
176
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h5' ).css('display','block' );
177
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h5' ).css('display','none' );
178
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h5' ).css('display','none' );
179
+ // H6
180
+ jQuery('#customize-control-elanzalite_body_font_size_h6' ).css('display','block' );
181
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h6' ).css('display','none' );
182
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h6' ).css('display','none' );
183
+ jQuery('#customize-control-elanzalite_body_line_height_h6' ).css('display','block' );
184
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h6' ).css('display','none' );
185
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h6' ).css('display','none' );
186
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h6' ).css('display','block' );
187
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h6' ).css('display','none' );
188
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h6' ).css('display','none' );
189
+ }
190
+ if(jQuery('.devices-wrapper .preview-tablet').hasClass('active')){
191
+ // body
192
+ jQuery('#customize-control-elanzalite_body_font_size' ).css('display','none' );
193
+ jQuery('#customize-control-elanzalite_body_font_size_tb' ).css('display','block' );
194
+ jQuery('#customize-control-elanzalite_body_font_size_mb' ).css('display','none' );
195
+ jQuery('#customize-control-elanzalite_body_line_height' ).css('display','none' );
196
+ jQuery('#customize-control-elanzalite_body_line_height_tb' ).css('display','block' );
197
+ jQuery('#customize-control-elanzalite_body_line_height_mb' ).css('display','none' );
198
+ jQuery('#customize-control-elanzalite_body_letter_spacing' ).css('display','none' );
199
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb' ).css('display','block' );
200
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb' ).css('display','none' );
201
+ // H1
202
+ jQuery('#customize-control-elanzalite_body_font_size_h1' ).css('display','none' );
203
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h1' ).css('display','block' );
204
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h1' ).css('display','none' );
205
+ jQuery('#customize-control-elanzalite_body_line_height_h1' ).css('display','none' );
206
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h1' ).css('display','block' );
207
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h1' ).css('display','none' );
208
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h1' ).css('display','none' );
209
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h1' ).css('display','block' );
210
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h1' ).css('display','none' );
211
+ // H2
212
+ jQuery('#customize-control-elanzalite_body_font_size_h2' ).css('display','none' );
213
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h2' ).css('display','block' );
214
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h2' ).css('display','none' );
215
+ jQuery('#customize-control-elanzalite_body_line_height_h2' ).css('display','none' );
216
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h2' ).css('display','block' );
217
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h2' ).css('display','none' );
218
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h2' ).css('display','none' );
219
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h2' ).css('display','block' );
220
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h2' ).css('display','none' );
221
+ // H3
222
+ jQuery('#customize-control-elanzalite_body_font_size_h3' ).css('display','none' );
223
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h3' ).css('display','block' );
224
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h3' ).css('display','none' );
225
+ jQuery('#customize-control-elanzalite_body_line_height_h3' ).css('display','none' );
226
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h3' ).css('display','block' );
227
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h3' ).css('display','none' );
228
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h3' ).css('display','none' );
229
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h3' ).css('display','block' );
230
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h3' ).css('display','none' );
231
+ // H4
232
+ jQuery('#customize-control-elanzalite_body_font_size_h4' ).css('display','none' );
233
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h4' ).css('display','block' );
234
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h4' ).css('display','none' );
235
+ jQuery('#customize-control-elanzalite_body_line_height_h4' ).css('display','none' );
236
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h4' ).css('display','block' );
237
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h4' ).css('display','none' );
238
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h4' ).css('display','none' );
239
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h4' ).css('display','block' );
240
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h4' ).css('display','none' );
241
+ // H5
242
+ jQuery('#customize-control-elanzalite_body_font_size_h5' ).css('display','none' );
243
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h5' ).css('display','block' );
244
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h5' ).css('display','none' );
245
+ jQuery('#customize-control-elanzalite_body_line_height_h5' ).css('display','none' );
246
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h5' ).css('display','block' );
247
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h5' ).css('display','none' );
248
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h5' ).css('display','none' );
249
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h5' ).css('display','block' );
250
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h5' ).css('display','none' );
251
+ // H6
252
+ jQuery('#customize-control-elanzalite_body_font_size_h6' ).css('display','none' );
253
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h6' ).css('display','block' );
254
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h6' ).css('display','none' );
255
+ jQuery('#customize-control-elanzalite_body_line_height_h6' ).css('display','none' );
256
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h6' ).css('display','block' );
257
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h6' ).css('display','none' );
258
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h6' ).css('display','none' );
259
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h6' ).css('display','block' );
260
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h6' ).css('display','none' );
261
+ }
262
+ if(jQuery('.devices-wrapper .preview-mobile').hasClass('active')){
263
+ // body
264
+ jQuery('#customize-control-elanzalite_body_font_size' ).css('display','none' );
265
+ jQuery('#customize-control-elanzalite_body_font_size_tb' ).css('display','none' );
266
+ jQuery('#customize-control-elanzalite_body_font_size_mb' ).css('display','block' );
267
+ jQuery('#customize-control-elanzalite_body_line_height' ).css('display','none' );
268
+ jQuery('#customize-control-elanzalite_body_line_height_tb' ).css('display','none' );
269
+ jQuery('#customize-control-elanzalite_body_line_height_mb' ).css('display','block' );
270
+ jQuery('#customize-control-elanzalite_body_letter_spacing' ).css('display','none' );
271
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb' ).css('display','none' );
272
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb' ).css('display','block' );
273
+ //H1
274
+ jQuery('#customize-control-elanzalite_body_font_size_h1' ).css('display','none' );
275
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h1' ).css('display','none' );
276
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h1' ).css('display','block' );
277
+ jQuery('#customize-control-elanzalite_body_line_height_h1' ).css('display','none' );
278
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h1' ).css('display','none' );
279
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h1' ).css('display','block' );
280
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h1' ).css('display','none' );
281
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h1' ).css('display','none' );
282
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h1' ).css('display','block' );
283
+ //H2
284
+ jQuery('#customize-control-elanzalite_body_font_size_h2' ).css('display','none' );
285
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h2' ).css('display','none' );
286
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h2' ).css('display','block' );
287
+ jQuery('#customize-control-elanzalite_body_line_height_h2' ).css('display','none' );
288
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h2' ).css('display','none' );
289
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h2' ).css('display','block' );
290
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h2' ).css('display','none' );
291
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h2' ).css('display','none' );
292
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h2' ).css('display','block' );
293
+ //H3
294
+ jQuery('#customize-control-elanzalite_body_font_size_h3' ).css('display','none' );
295
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h3' ).css('display','none' );
296
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h3' ).css('display','block' );
297
+ jQuery('#customize-control-elanzalite_body_line_height_h3' ).css('display','none' );
298
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h3' ).css('display','none' );
299
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h3' ).css('display','block' );
300
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h3' ).css('display','none' );
301
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h3' ).css('display','none' );
302
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h3' ).css('display','block' );
303
+ //H4
304
+ jQuery('#customize-control-elanzalite_body_font_size_h4' ).css('display','none' );
305
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h4' ).css('display','none' );
306
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h4' ).css('display','block' );
307
+ jQuery('#customize-control-elanzalite_body_line_height_h4' ).css('display','none' );
308
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h4' ).css('display','none' );
309
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h4' ).css('display','block' );
310
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h4' ).css('display','none' );
311
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h4' ).css('display','none' );
312
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h4' ).css('display','block' );
313
+ //H5
314
+ jQuery('#customize-control-elanzalite_body_font_size_h5' ).css('display','none' );
315
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h5' ).css('display','none' );
316
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h5' ).css('display','block' );
317
+ jQuery('#customize-control-elanzalite_body_line_height_h5' ).css('display','none' );
318
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h5' ).css('display','none' );
319
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h5' ).css('display','block' );
320
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h5' ).css('display','none' );
321
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h5' ).css('display','none' );
322
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h5' ).css('display','block' );
323
+ //H6
324
+ jQuery('#customize-control-elanzalite_body_font_size_h6' ).css('display','none' );
325
+ jQuery('#customize-control-elanzalite_body_font_size_tb_h6' ).css('display','none' );
326
+ jQuery('#customize-control-elanzalite_body_font_size_mb_h6' ).css('display','block' );
327
+ jQuery('#customize-control-elanzalite_body_line_height_h6' ).css('display','none' );
328
+ jQuery('#customize-control-elanzalite_body_line_height_tb_h6' ).css('display','none' );
329
+ jQuery('#customize-control-elanzalite_body_line_height_mb_h6' ).css('display','block' );
330
+ jQuery('#customize-control-elanzalite_body_letter_spacing_h6' ).css('display','none' );
331
+ jQuery('#customize-control-elanzalite_body_letter_spacing_tb_h6' ).css('display','none' );
332
+ jQuery('#customize-control-elanzalite_body_letter_spacing_mb_h6' ).css('display','block' );
333
+ }});
334
  });
m-shop/m-shop-admin/woo/m-shop-admin.php CHANGED
@@ -777,37 +777,3 @@ function m_shop_highlight_content($m_shop_highlight_content_id,$default){
777
  endif;
778
  }
779
  }
780
-
781
- /**************************************/
782
- //Below footer function
783
- /**************************************/
784
-
785
- if ( ! function_exists( 'm_shop_below_footer_markup' ) ){
786
- function m_shop_below_footer_markup(){ ?>
787
- <div class="below-footer">
788
- <div class="container">
789
- <div class="below-footer-bar thnk-col-1">
790
- <div class="below-footer-col1">
791
- <p class="footer-copyright">&copy;
792
- <?php
793
- echo date_i18n(
794
- /* translators: Copyright date format, see https://www.php.net/date */
795
- _x( 'Y', 'copyright date format', 'm-shop' )
796
- );
797
- ?>
798
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
799
- <span class="powered-by-wordpress">
800
- <span><?php _e( 'Designed by', 'm-shop' ); ?></span>
801
- <a href="<?php echo esc_url( __( 'https://themehunk.com/', 'm-shop' ) ); ?>" target="_blank">
802
- <?php _e( 'Themehunk', 'm-shop' ); ?>
803
- </a>
804
- </span>
805
- </p><!-- .footer-copyright -->
806
- </div>
807
- </div>
808
- </div>
809
- </div>
810
-
811
- <?php }
812
- }
813
- add_action( 'm_shop_default_below_footer', 'm_shop_below_footer_markup' );
777
  endif;
778
  }
779
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
m-shop/m-shop-admin/woo/woo-ajax.php CHANGED
@@ -5,14 +5,19 @@ if ( ! class_exists( 'WooCommerce' ) ){
5
  /***************************/
6
  //category product section product ajax filter
7
  /***************************/
 
 
 
 
 
8
  add_action('wp_ajax_m_shop_cat_filter_ajax', 'm_shop_cat_filter_ajax');
9
  add_action('wp_ajax_nopriv_m_shop_cat_filter_ajax', 'm_shop_cat_filter_ajax');
10
  function m_shop_cat_filter_ajax(){
11
-
12
  if(isset($_POST['data_cat_slug'])){
13
  $prdct_optn = get_theme_mod('m_shop_category_optn','recent');
14
  $args = m_shop_product_query(sanitize_key($_POST['data_cat_slug']),$prdct_optn);
15
  m_shop_product_filter_loop($args);
16
  }
17
  exit;
 
18
  }
5
  /***************************/
6
  //category product section product ajax filter
7
  /***************************/
8
+
9
+
10
+
11
+ if( !function_exists('m_shop_cat_filter_ajax')){
12
+
13
  add_action('wp_ajax_m_shop_cat_filter_ajax', 'm_shop_cat_filter_ajax');
14
  add_action('wp_ajax_nopriv_m_shop_cat_filter_ajax', 'm_shop_cat_filter_ajax');
15
  function m_shop_cat_filter_ajax(){
 
16
  if(isset($_POST['data_cat_slug'])){
17
  $prdct_optn = get_theme_mod('m_shop_category_optn','recent');
18
  $args = m_shop_product_query(sanitize_key($_POST['data_cat_slug']),$prdct_optn);
19
  m_shop_product_filter_loop($args);
20
  }
21
  exit;
22
+ }
23
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author URI: : https://www.themehunk.com/
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8.3
7
- Stable tag: 2.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -30,6 +30,9 @@ Just upload the `themehunk-customizer.zip` to the `/wp-content/plugins/` directo
30
 
31
  == Changelog ==
32
 
 
 
 
33
  = 2.6.7 =
34
  * M-shop - Th all in one woo cart style issue fixed.
35
 
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8.3
7
+ Stable tag: 2.6.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
30
 
31
  == Changelog ==
32
 
33
+ = 2.6.8 =
34
+ * Big Store - Footer issue fixed.
35
+
36
  = 2.6.7 =
37
  * M-shop - Th all in one woo cart style issue fixed.
38
 
themehunk-customizer.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: ThemeHunk Customizer
4
  Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
5
- Version: 2.6.6
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
@@ -10,7 +10,7 @@
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  // Version constant for easy CSS refreshes
13
- define('THEMEHUNK_CUSTOMIZER_VERSION', '2.6.6');
14
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_URL', plugin_dir_url(__FILE__));
15
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_PATH', plugin_dir_path(__FILE__) );
16
  include_once(plugin_dir_path(__FILE__) . 'notify/notify.php' );
2
  /*
3
  Plugin Name: ThemeHunk Customizer
4
  Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
5
+ Version: 2.6.8
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
10
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11
 
12
  // Version constant for easy CSS refreshes
13
+ define('THEMEHUNK_CUSTOMIZER_VERSION', '2.6.7');
14
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_URL', plugin_dir_url(__FILE__));
15
  define('THEMEHUNK_CUSTOMIZER_PLUGIN_PATH', plugin_dir_path(__FILE__) );
16
  include_once(plugin_dir_path(__FILE__) . 'notify/notify.php' );