Premium Addons for Elementor - Version 3.10.5

Version Description

  • Tweak: Added Scroll Offset option in Vertical Scroll widget.
  • Fixed: Hover Color/Padding options not working in Video Box widget.
Download this release

Release Info

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

Code changes from version 3.10.4 to 3.10.5

assets/frontend/css/premium-addons.css CHANGED
@@ -1497,7 +1497,7 @@ button.premium-modal-box-modal-close {
1497
}
1498
.premium-video-box-play-icon-container {
1499
position: absolute;
1500
- z-index: 1;
1501
cursor: pointer;
1502
transform: translate(-50%,-50%);
1503
background: rgba(252,252,252,0.35);
1497
}
1498
.premium-video-box-play-icon-container {
1499
position: absolute;
1500
+ z-index: 2;
1501
cursor: pointer;
1502
transform: translate(-50%,-50%);
1503
background: rgba(252,252,252,0.35);
assets/frontend/js/premium-addons.js CHANGED
@@ -59,7 +59,7 @@
59
videoContainer.css("background", "#000");
60
videoContainer.html(iframe);
61
}
62
- videoBoxElement.find(".premium-video-box-image-container").remove();
63
});
64
};
65
59
videoContainer.css("background", "#000");
60
videoContainer.html(iframe);
61
}
62
+ videoBoxElement.find(".premium-video-box-image-container, .premium-video-box-play-icon-container").remove();
63
});
64
};
65
assets/frontend/js/premium-vscroll.js CHANGED
@@ -532,6 +532,9 @@
532
533
offset = sections[sectionId].offset - settings.offset;
534
535
if (!isScrolling) {
536
isScrolling = true;
537
@@ -587,6 +590,9 @@
587
588
offset = sections[sectionId].offset - settings.offset;
589
590
if ( ! isScrolling ) {
591
isScrolling = true;
592
@@ -744,6 +750,7 @@
744
}
745
}
746
747
if ( newSectionId ) {
748
inScope = true;
749
if ( ! self.isScrolled( sectionId, direction ) && ! isTouch ) {
532
533
offset = sections[sectionId].offset - settings.offset;
534
535
+ if( offset < 0 )
536
+ offset = sections[sectionId].offset;
537
+
538
if (!isScrolling) {
539
isScrolling = true;
540
590
591
offset = sections[sectionId].offset - settings.offset;
592
593
+ if( offset < 0 )
594
+ offset = sections[sectionId].offset;
595
+
596
if ( ! isScrolling ) {
597
isScrolling = true;
598
750
}
751
}
752
753
+
754
if ( newSectionId ) {
755
inScope = true;
756
if ( ! self.isScrolled( sectionId, direction ) && ! isTouch ) {
includes/class-helper-functions.php CHANGED
@@ -241,6 +241,8 @@ class Helper_Functions {
241
*/
242
public static function get_video_thumbnail( $id, $type, $size = '' ) {
243
244
if ( 'youtube' === $type ) {
245
if ( '' === $size ) {
246
$size = 'maxresdefault';
241
*/
242
public static function get_video_thumbnail( $id, $type, $size = '' ) {
243
244
+ $thumbnail_src = '';
245
+
246
if ( 'youtube' === $type ) {
247
if ( '' === $size ) {
248
$size = 'maxresdefault';
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.4
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.4');
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.3');
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.5
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.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
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.4
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.4 =
179
180
- Tweak: Added `Multiple Persons` options in Persons widget.
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
176
== Changelog ==
177
178
+ = 3.10.5 =
179
+
180
+ - Tweak: Added `Scroll Offset` option in Vertical Scroll widget.
181
+ - Fixed: Hover Color/Padding options not working in Video Box widget.
182
+
183
= 3.10.4 =
184
185
- Tweak: Added `Multiple Persons` options in Persons widget.
widgets/premium-videobox.php CHANGED
@@ -564,15 +564,6 @@ class Premium_Videobox extends Widget_Base {
564
]
565
);
566
567
- $this->add_control('premium_video_box_icon_hover_animation',
568
- [
569
- 'label' => __('Hover Animation', 'premium-addons-for-elementor'),
570
- 'type' => Controls_Manager::SWITCHER,
571
- 'description' => __('Hover animation works only when you set a background color or image for play icon', 'premium-addons-for-elementor'),
572
- 'default' => 'yes',
573
- ]
574
- );
575
-
576
$this->add_responsive_control('premium_video_box_icon_padding_hover',
577
[
578
'label' => __('Hover Padding', 'premium-addons-for-elementor'),
@@ -581,9 +572,6 @@ class Premium_Videobox extends Widget_Base {
581
'selectors' => [
582
'{{WRAPPER}} .premium-video-box-play-icon:hover' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
583
],
584
- 'condition' => [
585
- 'premium_video_box_icon_hover_animation' => 'yes',
586
- ],
587
]
588
);
589
564
]
565
);
566
567
$this->add_responsive_control('premium_video_box_icon_padding_hover',
568
[
569
'label' => __('Hover Padding', 'premium-addons-for-elementor'),
572
'selectors' => [
573
'{{WRAPPER}} .premium-video-box-play-icon:hover' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
574
],
575
]
576
);
577
widgets/premium-vscroll.php CHANGED
@@ -335,6 +335,13 @@ class Premium_Vscroll extends Widget_Base {
335
]
336
);
337
338
$this->add_control('full_section',
339
[
340
'label' => __('Full Section Scroll', 'premium-addons-for-elementor'),
@@ -817,6 +824,7 @@ class Premium_Vscroll extends Widget_Base {
817
$vscroll_settings = [
818
'id' => $id,
819
'speed' => ! empty( $settings['scroll_speed'] ) ? $settings['scroll_speed'] * 1000 : 700,
820
'tooltips' => 'yes' == $settings['dots_tooltips_switcher'] ? true : false,
821
'dotsText' => $dots_text,
822
'dotsPos' => $settings['navigation_dots_pos'],
335
]
336
);
337
338
+ $this->add_control('scroll_offset',
339
+ [
340
+ 'label' => __('Scroll Offset', 'premium-addons-for-elementor'),
341
+ 'type' => Controls_Manager::NUMBER
342
+ ]
343
+ );
344
+
345
$this->add_control('full_section',
346
[
347
'label' => __('Full Section Scroll', 'premium-addons-for-elementor'),
824
$vscroll_settings = [
825
'id' => $id,
826
'speed' => ! empty( $settings['scroll_speed'] ) ? $settings['scroll_speed'] * 1000 : 700,
827
+ 'offset' => $settings['scroll_offset'],
828
'tooltips' => 'yes' == $settings['dots_tooltips_switcher'] ? true : false,
829
'dotsText' => $dots_text,
830
'dotsPos' => $settings['navigation_dots_pos'],