Premium Addons for Elementor - Version 2.5.3

Version Description

  • Tweak: Added alignment option for Countdown widget.
  • Tweak: Added responsive controls to min height and vertical align options in Banner widget.
Download this release

Release Info

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

Code changes from version 2.5.2 to 2.5.3

admin/settings/version-control.php CHANGED
@@ -80,7 +80,7 @@ class PA_Version_Control {
80
<tr class="pa-roll-row">
81
<th>Rollback Version</th>
82
<td>
83
- <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.5.1</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
84
<p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
85
</td>
86
</tr>
80
<tr class="pa-roll-row">
81
<th>Rollback Version</th>
82
<td>
83
+ <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.5.2</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
84
<p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
85
</td>
86
</tr>
assets/css/premium-addons.css CHANGED
@@ -697,12 +697,18 @@
697
}
698
/**************** Premium CountDown *************/
699
/************************************************/
700
/* jQuery Countdown styles 2.0.0. */
701
.pre_countdown-row {
702
display: block;
703
text-align: center;
704
}
705
-
706
.countdown .pre_countdown-section {
707
display: inline-block;
708
max-width: 100%;
697
}
698
/**************** Premium CountDown *************/
699
/************************************************/
700
+ .premium-countdown {
701
+ display: -ms-flexbox;
702
+ display: -webkit-flex;
703
+ display: -moz-flex;
704
+ display: -ms-flex;
705
+ display: flex;
706
+ }
707
/* jQuery Countdown styles 2.0.0. */
708
.pre_countdown-row {
709
display: block;
710
text-align: center;
711
}
712
.countdown .pre_countdown-section {
713
display: inline-block;
714
max-width: 100%;
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Premium Addons for Elementor
4
Description: Premium Addons Plugin Includes 20 premium widgets for Elementor Page Builder.
5
Plugin URI: https://premiumaddons.com
6
- Version: 2.5.2
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
@@ -22,12 +22,12 @@ if (!function_exists('add_action')) {
22
if (!defined('ABSPATH')) exit; // No access of directly access
23
24
25
- define('PREMIUM_ADDONS_VERSION', '2.5.2');
26
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
define('PREMIUM_ADDONS_FILE', __FILE__);
29
define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
- define('PREMIUM_ADDONS_STABLE_VERSION', '2.5.1');
31
32
/**
33
* Loading text domain, Including required files
3
Plugin Name: Premium Addons for Elementor
4
Description: Premium Addons Plugin Includes 20 premium widgets for Elementor Page Builder.
5
Plugin URI: https://premiumaddons.com
6
+ Version: 2.5.3
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
22
if (!defined('ABSPATH')) exit; // No access of directly access
23
24
25
+ define('PREMIUM_ADDONS_VERSION', '2.5.3');
26
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
define('PREMIUM_ADDONS_FILE', __FILE__);
29
define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
+ define('PREMIUM_ADDONS_STABLE_VERSION', '2.5.2');
31
32
/**
33
* Loading text domain, Including required files
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
Requires at least: 4.5
6
Tested up to: 4.9.7
7
Requires PHP: 5.4
8
- Stable tag: 2.5.2
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -111,6 +111,10 @@ Yes, it will work with any WordPress theme as long as you are using Elementor as
111
112
Premium Addons for Elementor is light weight and we also gave you the control to enable only the elements you actually use on your website for faster performance.
113
114
== Screenshots ==
115
116
1. Premium Banner Widget for Elementor
@@ -130,6 +134,11 @@ Premium Addons for Elementor is light weight and we also gave you the control to
130
131
== Changelog ==
132
133
= 2.5.2 =
134
135
- Tweak: Added paragraph and span for HTML Tag option in Dual Heading widget.
5
Requires at least: 4.5
6
Tested up to: 4.9.7
7
Requires PHP: 5.4
8
+ Stable tag: 2.5.3
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
111
112
Premium Addons for Elementor is light weight and we also gave you the control to enable only the elements you actually use on your website for faster performance.
113
114
+ = Is this plugin 100% Ads Free? =
115
+
116
+ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from Youtube videos, that can be added to Premium Widgets ( eg. Modal Box, Video Box, Blog, etc..)
117
+
118
== Screenshots ==
119
120
1. Premium Banner Widget for Elementor
134
135
== Changelog ==
136
137
+ = 2.5.3 =
138
+
139
+ - Tweak: Added alignment option for Countdown widget.
140
+ - Tweak: Added responsive controls to min height and vertical align options in Banner widget.
141
+
142
= 2.5.2 =
143
144
- Tweak: Added paragraph and span for HTML Tag option in Dual Heading widget.
widgets/premium-banner.php CHANGED
@@ -183,7 +183,7 @@ class Premium_Banner_Widget extends Widget_Base {
183
]
184
);
185
186
- $this->add_control(
187
'premium_banner_custom_height',
188
[
189
'label' => esc_html__( 'Min Height', 'premium-addons-for-elementor' ),
@@ -198,7 +198,7 @@ class Premium_Banner_Widget extends Widget_Base {
198
]
199
);
200
201
- $this->add_control(
202
'premium_banner_img_vertical_align',
203
[
204
'label' => esc_html__( 'Vertical Align', 'premium-addons-for-elementor' ),
@@ -551,9 +551,13 @@ class Premium_Banner_Widget extends Widget_Base {
551
<div class="premium_banner" id="premium-banner-<?php echo esc_attr($this->get_id()); ?>">
552
<div class="premium_addons-banner-ib <?php echo $full_class; ?> premium-banner-min-height">
553
<?php if( isset( $settings['premium_banner_image']['url'] ) && $settings['premium_banner_image']['url'] != '' ): ?>
554
<div class="premium_addons-banner-img-wrap">
555
<img class="premium_addons-banner-ib-img" alt="null" src="<?php echo $settings['premium_banner_image']['url']; ?>">
556
</div>
557
<?php endif; ?>
558
<div class="premium_addons-banner-ib-desc" style="">
559
<?php echo $full_title; ?>
183
]
184
);
185
186
+ $this->add_responsive_control(
187
'premium_banner_custom_height',
188
[
189
'label' => esc_html__( 'Min Height', 'premium-addons-for-elementor' ),
198
]
199
);
200
201
+ $this->add_responsive_control(
202
'premium_banner_img_vertical_align',
203
[
204
'label' => esc_html__( 'Vertical Align', 'premium-addons-for-elementor' ),
551
<div class="premium_banner" id="premium-banner-<?php echo esc_attr($this->get_id()); ?>">
552
<div class="premium_addons-banner-ib <?php echo $full_class; ?> premium-banner-min-height">
553
<?php if( isset( $settings['premium_banner_image']['url'] ) && $settings['premium_banner_image']['url'] != '' ): ?>
554
+ <?php if($settings['premium_banner_height'] == 'custom' ): ?>
555
<div class="premium_addons-banner-img-wrap">
556
+ <?php endif; ?>
557
<img class="premium_addons-banner-ib-img" alt="null" src="<?php echo $settings['premium_banner_image']['url']; ?>">
558
+ <?php if($settings['premium_banner_height'] == 'custom' ): ?>
559
</div>
560
+ <?php endif; ?>
561
<?php endif; ?>
562
<div class="premium_addons-banner-ib-desc" style="">
563
<?php echo $full_title; ?>
widgets/premium-countdown.php CHANGED
@@ -103,6 +103,33 @@ class Premium_Counter_Down_Widget extends Widget_Base {
103
'separator' => 'after'
104
]
105
);
106
107
$this->end_controls_section();
108
103
'separator' => 'after'
104
]
105
);
106
+
107
+ $this->add_responsive_control(
108
+ 'premium_countdown_align',
109
+ [
110
+ 'label' => esc_html__( 'Alignment', 'premium-addons-for-elementor' ),
111
+ 'type' => Controls_Manager::CHOOSE,
112
+ 'options' => [
113
+ 'left' => [
114
+ 'title'=> esc_html__( 'Left', 'premium-addons-for-elementor' ),
115
+ 'icon' => 'fa fa-align-left',
116
+ ],
117
+ 'center' => [
118
+ 'title'=> esc_html__( 'Center', 'premium-addons-for-elementor' ),
119
+ 'icon' => 'fa fa-align-center',
120
+ ],
121
+ 'right' => [
122
+ 'title'=> esc_html__( 'Right', 'premium-addons-for-elementor' ),
123
+ 'icon' => 'fa fa-align-right',
124
+ ],
125
+ ],
126
+ 'toggle' => false,
127
+ 'default' => 'center',
128
+ 'selectors' => [
129
+ '{{WRAPPER}} .premium-countdown' => 'justify-content: {{VALUE}};',
130
+ ],
131
+ ]
132
+ );
133
134
$this->end_controls_section();
135