Version Description
- Tweak: Added
Dynamic Content
support for Progress Bar value. - Tweak: Added
Background Color
option for units in Countdown widget.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 3.2.3 |
Comparing to | |
See all releases |
Code changes from version 3.2.2 to 3.2.3
- admin/settings/version-control.php +1 -1
- premium-addons-for-elementor.php +3 -3
- readme.txt +6 -1
- widgets/premium-countdown.php +11 -0
- widgets/premium-progressbar.php +6 -7
- widgets/premium-vscroll.php +4 -2
admin/settings/version-control.php
CHANGED
@@ -79,7 +79,7 @@ class PA_Version_Control {
|
|
79 |
<tr class="pa-roll-row">
|
80 |
<th>Rollback Version</th>
|
81 |
<td>
|
82 |
-
<div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 3.2.
|
83 |
<p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
|
84 |
</td>
|
85 |
</tr>
|
79 |
<tr class="pa-roll-row">
|
80 |
<th>Rollback Version</th>
|
81 |
<td>
|
82 |
+
<div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 3.2.2</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
|
83 |
<p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
|
84 |
</td>
|
85 |
</tr>
|
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.2.
|
7 |
Author: Leap13
|
8 |
Author URI: http://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.2.
|
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.2.
|
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.2.3
|
7 |
Author: Leap13
|
8 |
Author URI: http://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.2.3');
|
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.2.2');
|
23 |
|
24 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
25 |
/*
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.1.1
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 3.2.
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
@@ -139,6 +139,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
|
|
|
|
|
|
|
|
|
|
142 |
= 3.2.2 =
|
143 |
|
144 |
- Tweak: Load Google maps API Key only when needed.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.1.1
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 3.2.3
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
+
= 3.2.3 =
|
143 |
+
|
144 |
+
- Tweak: Added `Dynamic Content` support for Progress Bar value.
|
145 |
+
- Tweak: Added `Background Color` option for units in Countdown widget.
|
146 |
+
|
147 |
= 3.2.2 =
|
148 |
|
149 |
- Tweak: Load Google maps API Key only when needed.
|
widgets/premium-countdown.php
CHANGED
@@ -449,6 +449,17 @@ class Premium_Countdown extends Widget_Base {
|
|
449 |
]
|
450 |
]
|
451 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
|
453 |
$this->add_group_control(
|
454 |
Group_Control_Typography::get_type(),
|
449 |
]
|
450 |
]
|
451 |
);
|
452 |
+
|
453 |
+
$this->add_control(
|
454 |
+
'premium_countdown_unit_backcolor',
|
455 |
+
[
|
456 |
+
'label' => __( 'Background Color', 'premium-addons-for-elementor' ),
|
457 |
+
'type' => Controls_Manager::COLOR,
|
458 |
+
'selectors' => [
|
459 |
+
'{{WRAPPER}} .countdown .pre_countdown-section .pre_countdown-period' => 'background-color: {{VALUE}};'
|
460 |
+
]
|
461 |
+
]
|
462 |
+
);
|
463 |
|
464 |
$this->add_group_control(
|
465 |
Group_Control_Typography::get_type(),
|
widgets/premium-progressbar.php
CHANGED
@@ -96,7 +96,8 @@ class Premium_Progressbar extends Widget_Base {
|
|
96 |
$repeater->add_control('number',
|
97 |
[
|
98 |
'label' => __( 'Percentage', 'premium-addons-for-elementor' ),
|
99 |
-
'
|
|
|
100 |
'default' => 50,
|
101 |
]
|
102 |
);
|
@@ -176,11 +177,9 @@ class Premium_Progressbar extends Widget_Base {
|
|
176 |
$this->add_control('premium_progressbar_progress_percentage',
|
177 |
[
|
178 |
'label' => __('Value', 'premium-addons-for-elementor'),
|
179 |
-
'type' => Controls_Manager::
|
180 |
-
'
|
181 |
-
|
182 |
-
'unit' => '%',
|
183 |
-
],
|
184 |
]
|
185 |
);
|
186 |
|
@@ -586,7 +585,7 @@ class Premium_Progressbar extends Widget_Base {
|
|
586 |
$this->add_inline_editing_attributes('premium_progressbar_right_label');
|
587 |
|
588 |
$progressbar_settings = [
|
589 |
-
'progress_length' => $settings['premium_progressbar_progress_percentage']
|
590 |
'speed' => !empty( $settings['premium_progressbar_speed'] ) ? $settings['premium_progressbar_speed'] : 1000
|
591 |
];
|
592 |
?>
|
96 |
$repeater->add_control('number',
|
97 |
[
|
98 |
'label' => __( 'Percentage', 'premium-addons-for-elementor' ),
|
99 |
+
'dynamic' => [ 'active' => true ],
|
100 |
+
'type' => Controls_Manager::TEXT,
|
101 |
'default' => 50,
|
102 |
]
|
103 |
);
|
177 |
$this->add_control('premium_progressbar_progress_percentage',
|
178 |
[
|
179 |
'label' => __('Value', 'premium-addons-for-elementor'),
|
180 |
+
'type' => Controls_Manager::TEXT,
|
181 |
+
'dynamic' => [ 'active' => true ],
|
182 |
+
'default' => 50
|
|
|
|
|
183 |
]
|
184 |
);
|
185 |
|
585 |
$this->add_inline_editing_attributes('premium_progressbar_right_label');
|
586 |
|
587 |
$progressbar_settings = [
|
588 |
+
'progress_length' => $settings['premium_progressbar_progress_percentage'],
|
589 |
'speed' => !empty( $settings['premium_progressbar_speed'] ) ? $settings['premium_progressbar_speed'] : 1000
|
590 |
];
|
591 |
?>
|
widgets/premium-vscroll.php
CHANGED
@@ -85,7 +85,8 @@ class Premium_Vscroll extends Widget_Base {
|
|
85 |
'fields' => array_values( $temp_repeater->get_controls() ),
|
86 |
'condition' => [
|
87 |
'content_type' => 'templates'
|
88 |
-
]
|
|
|
89 |
]
|
90 |
);
|
91 |
|
@@ -106,7 +107,8 @@ class Premium_Vscroll extends Widget_Base {
|
|
106 |
'fields' => array_values( $id_repeater->get_controls() ),
|
107 |
'condition' => [
|
108 |
'content_type' => 'ids'
|
109 |
-
]
|
|
|
110 |
]
|
111 |
);
|
112 |
|
85 |
'fields' => array_values( $temp_repeater->get_controls() ),
|
86 |
'condition' => [
|
87 |
'content_type' => 'templates'
|
88 |
+
],
|
89 |
+
'title_field' => '{{{ section_template }}}'
|
90 |
]
|
91 |
);
|
92 |
|
107 |
'fields' => array_values( $id_repeater->get_controls() ),
|
108 |
'condition' => [
|
109 |
'content_type' => 'ids'
|
110 |
+
],
|
111 |
+
'title_field' => '{{{ section_id }}}'
|
112 |
]
|
113 |
);
|
114 |
|