Premium Addons for Elementor - Version 3.10.6

Version Description

  • Tweak: Added Whatsapp and Telagram for social icons in Persons widget.
  • Fixed: Mute and Controls options not working for self-hosted videos when lightbox is enabled in Media Grid widget.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.10.6
Comparing to
See all releases

Code changes from version 3.10.5 to 3.10.6

assets/frontend/css/premium-addons.css CHANGED
@@ -718,7 +718,7 @@
718
  }
719
  /**************** Premium Carousel **************/
720
  /************************************************/
721
- .premium-carousel-wrapper a.carousel-arrow, .premium-carousel-wrapper a.ver-carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow {
722
  display: -ms-flexbox;
723
  display: -webkit-flex;
724
  display: -moz-flex;
@@ -753,7 +753,7 @@ div[class^="premium-"] .slick-arrow i {
753
  .premium-carousel-wrapper .premium-carousel-content-hidden {
754
  visibility: hidden;
755
  }
756
- .premium-carousel-wrapper a.carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow {
757
  top: 50%;
758
  }
759
  .premium-carousel-wrapper a.ver-carousel-arrow {
@@ -2316,6 +2316,12 @@ button.premium-modal-box-modal-close {
2316
  }
2317
  .premium-person-defaults-yes li.premium-person-behance:hover a {
2318
  background-color: #1769ff !important;
 
 
 
 
 
 
2319
  }
2320
  .premium-person-social-list li:hover a {
2321
  box-shadow: none;
718
  }
719
  /**************** Premium Carousel **************/
720
  /************************************************/
721
+ .premium-carousel-wrapper a.carousel-arrow, .premium-carousel-wrapper a.ver-carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow, .premium-twitter-feed-wrapper a.carousel-arrow {
722
  display: -ms-flexbox;
723
  display: -webkit-flex;
724
  display: -moz-flex;
753
  .premium-carousel-wrapper .premium-carousel-content-hidden {
754
  visibility: hidden;
755
  }
756
+ .premium-carousel-wrapper a.carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow, .premium-twitter-feed-wrapper a.carousel-arrow {
757
  top: 50%;
758
  }
759
  .premium-carousel-wrapper a.ver-carousel-arrow {
2316
  }
2317
  .premium-person-defaults-yes li.premium-person-behance:hover a {
2318
  background-color: #1769ff !important;
2319
+ }
2320
+ .premium-person-defaults-yes li.premium-person-whatsapp:hover a {
2321
+ background-color: #25d366 !important;
2322
+ }
2323
+ .premium-person-defaults-yes li.premium-person-telegram:hover a {
2324
+ background-color: #0088cc !important;
2325
  }
2326
  .premium-person-social-list li:hover a {
2327
  box-shadow: none;
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 3.10.5
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
@@ -14,12 +14,12 @@ License: GNU General Public License v3.0
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
- define('PREMIUM_ADDONS_VERSION', '3.10.5');
18
  define('PREMIUM_ADDONS_URL', plugins_url( '/', __FILE__ ) );
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path( __FILE__ ) );
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
22
- define('PREMIUM_ADDONS_STABLE_VERSION', '3.10.4');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 3.10.6
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
+ define('PREMIUM_ADDONS_VERSION', '3.10.6');
18
  define('PREMIUM_ADDONS_URL', plugins_url( '/', __FILE__ ) );
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path( __FILE__ ) );
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
22
+ define('PREMIUM_ADDONS_STABLE_VERSION', '3.10.5');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_c
5
  Requires at Least: 4.5
6
  Tested Up To: 5.3
7
  Requires PHP: 5.4
8
- Stable Tag: 3.10.5
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -175,6 +175,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
175
 
176
  == Changelog ==
177
 
 
 
 
 
 
178
  = 3.10.5 =
179
 
180
  - Tweak: Added `Scroll Offset` option in Vertical Scroll widget.
5
  Requires at Least: 4.5
6
  Tested Up To: 5.3
7
  Requires PHP: 5.4
8
+ Stable Tag: 3.10.6
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
175
 
176
  == Changelog ==
177
 
178
+ = 3.10.6 =
179
+
180
+ - Tweak: Added Whatsapp and Telagram for social icons in Persons widget.
181
+ - Fixed: Mute and Controls options not working for self-hosted videos when lightbox is enabled in Media Grid widget.
182
+
183
  = 3.10.5 =
184
 
185
  - Tweak: Added `Scroll Offset` option in Vertical Scroll widget.
widgets/premium-grid.php CHANGED
@@ -2400,6 +2400,8 @@ class Premium_Grid extends Widget_Base {
2400
 
2401
  if ( $is_video ) {
2402
 
 
 
2403
  $this->add_render_attribute( $lightbox_key, [
2404
  'class' => [
2405
  'pa-gallery-lightbox-wrap',
@@ -2418,11 +2420,17 @@ class Premium_Grid extends Widget_Base {
2418
  'videoAspectRatio' => '169',
2419
  ],
2420
  ];
2421
-
 
 
 
 
2422
  $this->add_render_attribute( $lightbox_key, [
2423
  'data-elementor-open-lightbox' => 'yes',
2424
  'data-elementor-lightbox' => wp_json_encode( $lightbox_options ),
2425
  ] );
 
 
2426
  }
2427
 
2428
  ?>
2400
 
2401
  if ( $is_video ) {
2402
 
2403
+ $type = $item['premium_gallery_video_type'];
2404
+
2405
  $this->add_render_attribute( $lightbox_key, [
2406
  'class' => [
2407
  'pa-gallery-lightbox-wrap',
2420
  'videoAspectRatio' => '169',
2421
  ],
2422
  ];
2423
+
2424
+ if( 'hosted' === $type ) {
2425
+ $lightbox_options['videoParams'] = $this->get_hosted_params( $item );
2426
+ }
2427
+
2428
  $this->add_render_attribute( $lightbox_key, [
2429
  'data-elementor-open-lightbox' => 'yes',
2430
  'data-elementor-lightbox' => wp_json_encode( $lightbox_options ),
2431
  ] );
2432
+
2433
+
2434
  }
2435
 
2436
  ?>
widgets/premium-person.php CHANGED
@@ -471,6 +471,30 @@ class Premium_Person extends Widget_Base {
471
  ]
472
  );
473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  $this->add_control('premium_person_mail',
475
  [
476
  'label' => __('Email Address', 'premium-addons-for-elementor'),
@@ -675,6 +699,30 @@ class Premium_Person extends Widget_Base {
675
  ]
676
  );
677
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
  $repeater->add_control('multiple_mail',
679
  [
680
  'label' => __('Email Address', 'premium-addons-for-elementor'),
@@ -1272,6 +1320,8 @@ class Premium_Person extends Widget_Base {
1272
  'pinterest' => $settings['premium_person_pinterest'],
1273
  'dribbble' => $settings['premium_person_dribbble'],
1274
  'behance' => $settings['premium_person_behance'],
 
 
1275
  'mail' => $settings['premium_person_mail']
1276
  ];
1277
  } else {
@@ -1287,6 +1337,8 @@ class Premium_Person extends Widget_Base {
1287
  'pinterest' => $person['multiple_pinterest'],
1288
  'dribbble' => $person['multiple_dribbble'],
1289
  'behance' => $person['multiple_behance'],
 
 
1290
  'mail' => $person['multiple_mail']
1291
  ];
1292
  }
@@ -1332,6 +1384,14 @@ class Premium_Person extends Widget_Base {
1332
  if( ! empty( $socialIcons['behance'] ) ) : ?>
1333
  <li class="elementor-icon premium-person-list-item premium-person-behance"><a href="<?php echo $socialIcons['behance']; ?>" target="_blank"><i class="fab fa-behance"></i></a></li>
1334
  <?php endif;
 
 
 
 
 
 
 
 
1335
 
1336
  if( ! empty( $socialIcons['mail'] ) ) : ?>
1337
  <li class="elementor-icon premium-person-list-item premium-person-mail"><a class="elementor-icon" href="<?php echo $socialIcons['mail']; ?>" target="_blank"><i class="far fa-envelope"></i></a></li>
@@ -1403,6 +1463,8 @@ class Premium_Person extends Widget_Base {
1403
  pinterest: settings.premium_person_pinterest,
1404
  dribbble: settings.premium_person_dribbble,
1405
  behance: settings.premium_person_behance,
 
 
1406
  mail: settings.premium_person_mail
1407
  };
1408
  } else {
@@ -1418,6 +1480,8 @@ class Premium_Person extends Widget_Base {
1418
  pinterest: person.multiple_pinterest,
1419
  dribbble: person.multiple_dribbble,
1420
  behance: person.multiple_behance,
 
 
1421
  mail: person.multiple_mail
1422
  };
1423
  }
@@ -1463,6 +1527,14 @@ class Premium_Person extends Widget_Base {
1463
  <# if( '' != socialIcons.behance ) { #>
1464
  <li class="elementor-icon premium-person-list-item premium-person-behance"><a href="{{ socialIcons.behance }}" target="_blank"><i class="fab fa-behance"></i></a></li>
1465
  <# } #>
 
 
 
 
 
 
 
 
1466
 
1467
  <# if( '' != socialIcons.mail ) { #>
1468
  <li class="elementor-icon premium-person-list-item premium-person-mail"><a href="{{ socialIcons.mail }}" target="_blank"><i class="far fa-envelope"></i></a></li>
471
  ]
472
  );
473
 
474
+ $this->add_control('premium_person_whatsapp',
475
+ [
476
+ 'label' => __('Whatsapp', 'premium-addons-for-elementor'),
477
+ 'type' => Controls_Manager::TEXT,
478
+ 'dynamic' => [ 'active' => true ],
479
+ 'label_block' => true,
480
+ 'condition' => [
481
+ 'premium_person_social_enable' => 'yes'
482
+ ]
483
+ ]
484
+ );
485
+
486
+ $this->add_control('premium_person_telegram',
487
+ [
488
+ 'label' => __('Telegram', 'premium-addons-for-elementor'),
489
+ 'type' => Controls_Manager::TEXT,
490
+ 'dynamic' => [ 'active' => true ],
491
+ 'label_block' => true,
492
+ 'condition' => [
493
+ 'premium_person_social_enable' => 'yes'
494
+ ]
495
+ ]
496
+ );
497
+
498
  $this->add_control('premium_person_mail',
499
  [
500
  'label' => __('Email Address', 'premium-addons-for-elementor'),
699
  ]
700
  );
701
 
702
+ $repeater->add_control('multiple_whatsapp',
703
+ [
704
+ 'label' => __('Whatsapp', 'premium-addons-for-elementor'),
705
+ 'type' => Controls_Manager::TEXT,
706
+ 'dynamic' => [ 'active' => true ],
707
+ 'label_block' => true,
708
+ 'condition' => [
709
+ 'multiple_social_enable' => 'yes'
710
+ ]
711
+ ]
712
+ );
713
+
714
+ $repeater->add_control('multiple_telegram',
715
+ [
716
+ 'label' => __('Telegram', 'premium-addons-for-elementor'),
717
+ 'type' => Controls_Manager::TEXT,
718
+ 'dynamic' => [ 'active' => true ],
719
+ 'label_block' => true,
720
+ 'condition' => [
721
+ 'multiple_social_enable' => 'yes'
722
+ ]
723
+ ]
724
+ );
725
+
726
  $repeater->add_control('multiple_mail',
727
  [
728
  'label' => __('Email Address', 'premium-addons-for-elementor'),
1320
  'pinterest' => $settings['premium_person_pinterest'],
1321
  'dribbble' => $settings['premium_person_dribbble'],
1322
  'behance' => $settings['premium_person_behance'],
1323
+ 'whatsapp' => $settings['premium_person_whatsapp'],
1324
+ 'telegram' => $settings['premium_person_telegram'],
1325
  'mail' => $settings['premium_person_mail']
1326
  ];
1327
  } else {
1337
  'pinterest' => $person['multiple_pinterest'],
1338
  'dribbble' => $person['multiple_dribbble'],
1339
  'behance' => $person['multiple_behance'],
1340
+ 'whatsapp' => $person['multiple_whatsapp'],
1341
+ 'telegram' => $person['multiple_telegram'],
1342
  'mail' => $person['multiple_mail']
1343
  ];
1344
  }
1384
  if( ! empty( $socialIcons['behance'] ) ) : ?>
1385
  <li class="elementor-icon premium-person-list-item premium-person-behance"><a href="<?php echo $socialIcons['behance']; ?>" target="_blank"><i class="fab fa-behance"></i></a></li>
1386
  <?php endif;
1387
+
1388
+ if( ! empty( $socialIcons['whatsapp'] ) ) : ?>
1389
+ <li class="elementor-icon premium-person-list-item premium-person-whatsapp"><a href="<?php echo $socialIcons['whatsapp']; ?>" target="_blank"><i class="fab fa-whatsapp"></i></a></li>
1390
+ <?php endif;
1391
+
1392
+ if( ! empty( $socialIcons['telegram'] ) ) : ?>
1393
+ <li class="elementor-icon premium-person-list-item premium-person-telegram"><a href="<?php echo $socialIcons['telegram']; ?>" target="_blank"><i class="fab fa-telegram-plane"></i></a></li>
1394
+ <?php endif;
1395
 
1396
  if( ! empty( $socialIcons['mail'] ) ) : ?>
1397
  <li class="elementor-icon premium-person-list-item premium-person-mail"><a class="elementor-icon" href="<?php echo $socialIcons['mail']; ?>" target="_blank"><i class="far fa-envelope"></i></a></li>
1463
  pinterest: settings.premium_person_pinterest,
1464
  dribbble: settings.premium_person_dribbble,
1465
  behance: settings.premium_person_behance,
1466
+ whatsapp: settings.premium_person_whatsapp,
1467
+ telegram: settings.premium_person_telegram,
1468
  mail: settings.premium_person_mail
1469
  };
1470
  } else {
1480
  pinterest: person.multiple_pinterest,
1481
  dribbble: person.multiple_dribbble,
1482
  behance: person.multiple_behance,
1483
+ whatsapp: person.multiple_whatsapp,
1484
+ telegram: person.multiple_telegram,
1485
  mail: person.multiple_mail
1486
  };
1487
  }
1527
  <# if( '' != socialIcons.behance ) { #>
1528
  <li class="elementor-icon premium-person-list-item premium-person-behance"><a href="{{ socialIcons.behance }}" target="_blank"><i class="fab fa-behance"></i></a></li>
1529
  <# } #>
1530
+
1531
+ <# if( '' != socialIcons.whatsapp ) { #>
1532
+ <li class="elementor-icon premium-person-list-item premium-person-whatsapp"><a href="{{ socialIcons.whatsapp }}" target="_blank"><i class="fab fa-whatsapp"></i></a></li>
1533
+ <# } #>
1534
+
1535
+ <# if( '' != socialIcons.telegram ) { #>
1536
+ <li class="elementor-icon premium-person-list-item premium-person-telegram"><a href="{{ socialIcons.mail }}" target="_blank"><i class="fab fa-telegram-plane"></i></a></li>
1537
+ <# } #>
1538
 
1539
  <# if( '' != socialIcons.mail ) { #>
1540
  <li class="elementor-icon premium-person-list-item premium-person-mail"><a href="{{ socialIcons.mail }}" target="_blank"><i class="far fa-envelope"></i></a></li>