Addons for Elementor - Version 6.2.1

Version Description

  • Fixed The spacing between columns in generic carousel not taking effect.
Download this release

Release Info

Developer livemesh
Plugin Icon 128x128 Addons for Elementor
Version 6.2.1
Comparing to
See all releases

Code changes from version 6.2 to 6.2.1

addons-for-elementor.php CHANGED
@@ -8,7 +8,7 @@
8
  * Author URI: https://livemeshelementor.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
- * Version: 6.2
12
  * Text Domain: livemesh-el-addons
13
  * Domain Path: languages
14
  * Elementor tested up to: 3.1.0
@@ -37,7 +37,7 @@ if ( !defined( 'ABSPATH' ) ) {
37
 
38
  if ( !function_exists( 'lae_fs' ) ) {
39
  // Plugin version
40
- define( 'LAE_VERSION', '6.2' );
41
  // Plugin Root File
42
  define( 'LAE_PLUGIN_FILE', __FILE__ );
43
  // Plugin Folder Path
8
  * Author URI: https://livemeshelementor.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
11
+ * Version: 6.2.1
12
  * Text Domain: livemesh-el-addons
13
  * Domain Path: languages
14
  * Elementor tested up to: 3.1.0
37
 
38
  if ( !function_exists( 'lae_fs' ) ) {
39
  // Plugin version
40
+ define( 'LAE_VERSION', '6.2.1' );
41
  // Plugin Root File
42
  define( 'LAE_PLUGIN_FILE', __FILE__ );
43
  // Plugin Folder Path
includes/widgets/carousel.php CHANGED
@@ -169,6 +169,29 @@ Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Vestibulum turpis s
169
  ]
170
  );
171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  $this->add_control(
173
  'arrows',
174
  [
@@ -260,27 +283,6 @@ Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Vestibulum turpis s
260
  );
261
 
262
 
263
- $this->add_control(
264
- 'gutter',
265
- [
266
- 'label' => __('Gutter', 'livemesh-el-addons'),
267
- 'description' => __('Space between columns.', 'livemesh-el-addons'),
268
- 'type' => Controls_Manager::DIMENSIONS,
269
- 'size_units' => ['px', '%', 'em'],
270
- 'default' => [
271
- 'top' => 0,
272
- 'right' => 10,
273
- 'bottom' => 0,
274
- 'left' => 10,
275
- 'unit' => 'px',
276
- ],
277
- 'selectors' => [
278
- '{{WRAPPER}} .lae-carousel .lae-carousel-item' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
279
- ],
280
- ]
281
- );
282
-
283
-
284
  $this->add_control(
285
  'display_columns',
286
  [
@@ -315,27 +317,6 @@ Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Vestibulum turpis s
315
  ]
316
  );
317
 
318
- $this->add_control(
319
- 'tablet_gutter',
320
- [
321
- 'label' => __('Gutter', 'livemesh-el-addons'),
322
- 'description' => __('Space between columns.', 'livemesh-el-addons'),
323
- 'type' => Controls_Manager::DIMENSIONS,
324
- 'size_units' => ['px', '%', 'em'],
325
- 'default' => [
326
- 'top' => 0,
327
- 'right' => 10,
328
- 'bottom' => 0,
329
- 'left' => 10,
330
- 'unit' => 'px',
331
- ],
332
- 'selectors' => [
333
- '(tablet-){{WRAPPER}} .lae-carousel .lae-carousel-item' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
334
- ],
335
- ]
336
- );
337
-
338
-
339
  $this->add_control(
340
  'tablet_display_columns',
341
  [
@@ -380,25 +361,6 @@ Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Vestibulum turpis s
380
  ]
381
  );
382
 
383
- $this->add_control(
384
- 'mobile_gutter',
385
- [
386
- 'label' => __('Gutter', 'livemesh-el-addons'),
387
- 'description' => __('Space between columns.', 'livemesh-el-addons'),
388
- 'type' => Controls_Manager::DIMENSIONS,
389
- 'size_units' => ['px', '%', 'em'],
390
- 'default' => [
391
- 'top' => 0,
392
- 'right' => 5,
393
- 'bottom' => 0,
394
- 'left' => 5,
395
- 'unit' => 'px',
396
- ],
397
- 'selectors' => [
398
- '(mobile-){{WRAPPER}} .lae-carousel .lae-carousel-item' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
399
- ],
400
- ]
401
- );
402
  $this->add_control(
403
  'mobile_display_columns',
404
  [
@@ -476,26 +438,6 @@ Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Vestibulum turpis s
476
  ]
477
  );
478
 
479
- $this->add_control(
480
- 'content_padding',
481
- [
482
- 'label' => __('Padding', 'livemesh-el-addons'),
483
- 'description' => __('Padding for the columns.', 'livemesh-el-addons'),
484
- 'type' => Controls_Manager::DIMENSIONS,
485
- 'size_units' => ['px', '%', 'em'],
486
- 'default' => [
487
- 'top' => 5,
488
- 'right' => 5,
489
- 'bottom' => 5,
490
- 'left' => 5,
491
- 'unit' => 'px',
492
- ],
493
- 'selectors' => [
494
- '{{WRAPPER}} .lae-carousel .lae-carousel-item' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
495
- ],
496
- ]
497
- );
498
-
499
  $this->add_group_control(
500
  Group_Control_Typography::get_type(),
501
  [
169
  ]
170
  );
171
 
172
+
173
+ $this->add_responsive_control(
174
+ 'gutter',
175
+ [
176
+ 'label' => __('Spacing between items', 'livemesh-el-addons'),
177
+ 'type' => Controls_Manager::SLIDER,
178
+ 'size_units' => ['px'],
179
+ 'default' => [
180
+ 'size' => 10,
181
+ ],
182
+ 'range' => [
183
+ 'px' => [
184
+ 'min' => 0,
185
+ 'max' => 50,
186
+ ],
187
+ ],
188
+ 'selectors' => [
189
+ '{{WRAPPER}} .lae-carousel .slick-slide' => 'margin: 0 {{SIZE}}{{UNIT}};',
190
+ '{{WRAPPER}} .lae-carousel .slick-list' => 'margin: 0 -{{SIZE}}{{UNIT}};',
191
+ ],
192
+ ]
193
+ );
194
+
195
  $this->add_control(
196
  'arrows',
197
  [
283
  );
284
 
285
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  $this->add_control(
287
  'display_columns',
288
  [
317
  ]
318
  );
319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  $this->add_control(
321
  'tablet_display_columns',
322
  [
361
  ]
362
  );
363
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  $this->add_control(
365
  'mobile_display_columns',
366
  [
438
  ]
439
  );
440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
441
  $this->add_group_control(
442
  Group_Control_Typography::get_type(),
443
  [
includes/widgets/posts-multislider.php CHANGED
@@ -343,7 +343,7 @@ class LAE_Posts_Multislider_Widget extends LAE_Widget_Base
343
  ],
344
  ] );
345
  $this->add_responsive_control( 'gutter', [
346
- 'label' => __( 'Spacing between items(px)', 'livemesh-el-addons' ),
347
  'type' => Controls_Manager::SLIDER,
348
  'size_units' => [ 'px' ],
349
  'default' => [
343
  ],
344
  ] );
345
  $this->add_responsive_control( 'gutter', [
346
+ 'label' => __( 'Spacing between items', 'livemesh-el-addons' ),
347
  'type' => Controls_Manager::SLIDER,
348
  'size_units' => [ 'px' ],
349
  'default' => [
plugin.php CHANGED
@@ -45,7 +45,7 @@ if ( !class_exists( 'Livemesh_Elementor_Addons' ) ) {
45
  public function __clone()
46
  {
47
  // Cloning instances of the class is forbidden
48
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.2' );
49
  }
50
 
51
  /**
@@ -55,7 +55,7 @@ if ( !class_exists( 'Livemesh_Elementor_Addons' ) ) {
55
  public function __wakeup()
56
  {
57
  // Unserializing instances of the class is forbidden
58
- _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.2' );
59
  }
60
 
61
  private function setup_debug_constants()
45
  public function __clone()
46
  {
47
  // Cloning instances of the class is forbidden
48
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.2.1' );
49
  }
50
 
51
  /**
55
  public function __wakeup()
56
  {
57
  // Unserializing instances of the class is forbidden
58
+ _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'livemesh-el-addons' ), '6.2.1' );
59
  }
60
 
61
  private function setup_debug_constants()
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: elementor, elementor addons, elementor extensions, elementor widgets, page
7
  Requires at least: 4.5
8
  Tested up to: 5.6
9
  Requires PHP: 5.6
10
- Stable Tag: 6.2
11
  License: GPLv3
12
  License URI: https://opensource.org/licenses/GPL-3.0
13
 
@@ -258,6 +258,9 @@ Email us at support[at]livemeshthemes.com and we will be happy to assist you.
258
 
259
 
260
 
 
 
 
261
  = 6.2 =
262
  * Tweak – Moved to templates based design for easy customization for generic carousel, stats bars, odometers, piecharts, team members, testimonials and testimonials slider widgets. More widgets being migrated in next releases.
263
  * Tweak - Moved away from hooks/filters based customization for some of the widgets since they are not being utilized well. Templates are much more intuitive and require less effort; they let you copy files to your theme and override them quickly.
7
  Requires at least: 4.5
8
  Tested up to: 5.6
9
  Requires PHP: 5.6
10
+ Stable Tag: 6.2.1
11
  License: GPLv3
12
  License URI: https://opensource.org/licenses/GPL-3.0
13
 
258
 
259
 
260
 
261
+ = 6.2.1 =
262
+ * Fixed – The spacing between columns in generic carousel not taking effect.
263
+
264
  = 6.2 =
265
  * Tweak – Moved to templates based design for easy customization for generic carousel, stats bars, odometers, piecharts, team members, testimonials and testimonials slider widgets. More widgets being migrated in next releases.
266
  * Tweak - Moved away from hooks/filters based customization for some of the widgets since they are not being utilized well. Templates are much more intuitive and require less effort; they let you copy files to your theme and override them quickly.
templates/addons/carousel/loop.php CHANGED
@@ -30,11 +30,9 @@ $responsive_settings = [
30
  'tablet_width' => $settings['tablet_width'],
31
  'tablet_display_columns' => $settings['tablet_display_columns'],
32
  'tablet_scroll_columns' => $settings['tablet_scroll_columns'],
33
- 'tablet_gutter' => $settings['tablet_gutter'],
34
  'mobile_width' => $settings['mobile_width'],
35
  'mobile_display_columns' => $settings['mobile_display_columns'],
36
  'mobile_scroll_columns' => $settings['mobile_scroll_columns'],
37
- 'mobile_gutter' => $settings['mobile_gutter'],
38
 
39
  ];
40
 
30
  'tablet_width' => $settings['tablet_width'],
31
  'tablet_display_columns' => $settings['tablet_display_columns'],
32
  'tablet_scroll_columns' => $settings['tablet_scroll_columns'],
 
33
  'mobile_width' => $settings['mobile_width'],
34
  'mobile_display_columns' => $settings['mobile_display_columns'],
35
  'mobile_scroll_columns' => $settings['mobile_scroll_columns'],
 
36
 
37
  ];
38