Premium Addons for Elementor - Version 3.8.1

Version Description

  • Fixed: Add new items in feature list not working in Premium Pricing Table.
Download this release

Release Info

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

Code changes from version 3.8.0 to 3.8.1

admin/assets/css/notice.css CHANGED
@@ -21,7 +21,7 @@
21
.error.pa-black-notice .pa-img-wrap {
22
min-height: auto;
23
}
24
- .error .pa-text-wrap {
25
display: -ms-flexbox;
26
display: -webkit-flex;
27
display: -moz-flex;
@@ -30,17 +30,17 @@
30
align-items: center;
31
padding:10px 10px 10px 0;
32
}
33
- .error .pa-text-wrap .pa-notice-logo {
34
width: 40px;
35
margin-right: 0.8em;
36
}
37
- .error .pa-text-wrap .pa-notice-cta {
38
-webkit-box-flex: 2;
39
-webkit-flex-grow: 2;
40
-ms-flex-positive: 2;
41
flex-grow: 2;
42
}
43
- .error .pa-text-wrap .pa-notice-close {
44
text-decoration: none;
45
margin-left: 1em;
46
float: right;
21
.error.pa-black-notice .pa-img-wrap {
22
min-height: auto;
23
}
24
+ .pa-new-feature-notice .pa-text-wrap {
25
display: -ms-flexbox;
26
display: -webkit-flex;
27
display: -moz-flex;
30
align-items: center;
31
padding:10px 10px 10px 0;
32
}
33
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-logo {
34
width: 40px;
35
margin-right: 0.8em;
36
}
37
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-cta {
38
-webkit-box-flex: 2;
39
-webkit-flex-grow: 2;
40
-ms-flex-positive: 2;
41
flex-grow: 2;
42
}
43
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-close {
44
text-decoration: none;
45
margin-left: 1em;
46
float: right;
admin/includes/admin-notices.php CHANGED
@@ -36,11 +36,9 @@ class Admin_Notices {
36
*/
37
public function init() {
38
39
- // $this->handle_review_notice();
40
- //
41
- // $this->handle_color_trans_notice();
42
43
- $this->handle_det_notice();
44
45
}
46
@@ -51,17 +49,15 @@ class Admin_Notices {
51
52
$this->required_plugins_check();
53
54
- // $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
55
- //
56
- // $response = get_transient( $cache_key );
57
- //
58
- // if ( false == $response ) {
59
- // $this->get_review_notice();
60
- // }
61
- //
62
- // $this->get_color_trans_notice();
63
64
- $this->get_det_notice();
65
66
}
67
@@ -113,30 +109,6 @@ class Admin_Notices {
113
exit;
114
}
115
116
- /**
117
- * Checks if Premium Color Transition message is dismissed.
118
- *
119
- * @since 3.7.5
120
- * @access public
121
- *
122
- * @return void
123
- */
124
- public function handle_color_trans_notice() {
125
- if ( ! isset( $_GET['color_trans'] ) ) {
126
- return;
127
- }
128
-
129
- if ( 'opt_out' === $_GET['color_trans'] ) {
130
- check_admin_referer( 'opt_out' );
131
-
132
- update_option( 'color_trans_notice', '1' );
133
- }
134
-
135
- wp_redirect( remove_query_arg( 'color_trans' ) );
136
- exit;
137
- }
138
-
139
-
140
/**
141
* Checks if Disable Elementor Translation message is dismissed.
142
*
@@ -300,38 +272,6 @@ class Admin_Notices {
300
301
}
302
303
- /**
304
- *
305
- * Shows an admin notice for Premium Color Transition.
306
- *
307
- * @since 3.7.5
308
- * @access public
309
- *
310
- * @return void
311
- */
312
- public function get_color_trans_notice() {
313
-
314
- $color_trans_notice = get_option( 'color_trans_notice' );
315
-
316
- $theme = Helper_Functions::get_installed_theme();
317
-
318
- $notice_url = sprintf( 'https://premiumaddons.com/elementor-color-transition-widget/?utm_source=color-trans-notification&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
319
-
320
- if ( '1' === $color_trans_notice ) {
321
- return;
322
- } else if ( '1' !== $color_trans_notice ) {
323
- $optout_url = wp_nonce_url( add_query_arg( 'color_trans', 'opt_out' ), 'opt_out' );
324
-
325
- $message = sprintf( __('<p class="pa-text-wrap"><img src="%s" style="margin-right: 0.8em; width: 40px;"><strong><span>Premium Color Transition&nbsp</strong> widget is now available in Premium Addons Pro.&nbsp</span><a href="%s" target="_blank" style="flex-grow: 2;"> Check it out now.</a>', 'premium-addons-for-elementor' ), PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png', $notice_url );
326
-
327
- $message .= sprintf( __('<a href="%s" style="text-decoration: none; margin-left: 1em; float:right; "><span class="dashicons dashicons-dismiss"></span></a></p>', 'premium-addons-for-elementor'), $optout_url );
328
-
329
- $this->render_admin_notices( $message );
330
-
331
- }
332
-
333
- }
334
-
335
/**
336
*
337
* Shows an admin notice for Disable Elementor Translation.
@@ -403,7 +343,7 @@ class Admin_Notices {
403
*/
404
private function render_admin_notices( $message ) {
405
?>
406
- <div class="error">
407
<?php echo $message; ?>
408
</div>
409
<?php
36
*/
37
public function init() {
38
39
+ $this->handle_review_notice();
40
41
+ // $this->handle_det_notice();
42
43
}
44
49
50
$this->required_plugins_check();
51
52
+ $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
53
54
+ $response = get_transient( $cache_key );
55
+
56
+ if ( false == $response ) {
57
+ $this->get_review_notice();
58
+ }
59
+
60
+ // $this->get_det_notice();
61
62
}
63
109
exit;
110
}
111
112
/**
113
* Checks if Disable Elementor Translation message is dismissed.
114
*
272
273
}
274
275
/**
276
*
277
* Shows an admin notice for Disable Elementor Translation.
343
*/
344
private function render_admin_notices( $message ) {
345
?>
346
+ <div class="error pa-new-feature-notice">
347
<?php echo $message; ?>
348
</div>
349
<?php
admin/includes/version-control.php CHANGED
@@ -92,7 +92,7 @@ class Version_Control {
92
<tr class="pa-roll-row">
93
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
94
<td>
95
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.7.9', 'premium-addons-for-elementor') ); ?></div>
96
<p class="pa-roll-desc">
97
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
98
</p>
92
<tr class="pa-roll-row">
93
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
94
<td>
95
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.8.0', 'premium-addons-for-elementor') ); ?></div>
96
<p class="pa-roll-desc">
97
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
98
</p>
assets/frontend/css/premium-addons.css CHANGED
@@ -1449,7 +1449,7 @@
1449
z-index: 1;
1450
cursor: pointer;
1451
transform: translate(-50%,-50%);
1452
- background: rgba(252,252,252,0.84);
1453
}
1454
.premium-video-box-description-container {
1455
position: absolute;
1449
z-index: 1;
1450
cursor: pointer;
1451
transform: translate(-50%,-50%);
1452
+ background: rgba(252,252,252,0.35);
1453
}
1454
.premium-video-box-description-container {
1455
position: absolute;
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.8.0
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.8.0');
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.7.9');
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.8.1
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.8.1');
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.8.0');
23
24
if( ! class_exists('Premium_Addons_Elementor') ) {
25
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: Leap13, Rimoun
3
Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, Page Builder, Widgets, Elementor Widgets
4
Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme
5
Requires at Least: 4.5
6
- Tested Up To: 5.2.2
7
Requires PHP: 5.4
8
- Stable Tag: 3.8.0
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -175,13 +175,17 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
175
176
== Changelog ==
177
178
= 3.8.0 =
179
180
- Tweak: Change Lightbox, Links and Videos icons options added to Media Grid widget.
181
- Tweak: Added `Enable Social Icons` option in Person widget.
182
- Tweak: Added `Text Shadow` option for Name, Title and Description strings in Person widget.
183
- Tweak: Added `Transition Duration` option for image and content in Person widget.
184
- - Tweak: Added more styling options for social icons in Person widget.
185
186
= 3.7.9 =
187
3
Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, Page Builder, Widgets, Elementor Widgets
4
Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme
5
Requires at Least: 4.5
6
+ Tested Up To: 5.2.4
7
Requires PHP: 5.4
8
+ Stable Tag: 3.8.1
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
175
176
== Changelog ==
177
178
+ = 3.8.1 =
179
+
180
+ - Fixed: Add new items in feature list not working in Premium Pricing Table.
181
+
182
= 3.8.0 =
183
184
- Tweak: Change Lightbox, Links and Videos icons options added to Media Grid widget.
185
- Tweak: Added `Enable Social Icons` option in Person widget.
186
- Tweak: Added `Text Shadow` option for Name, Title and Description strings in Person widget.
187
- Tweak: Added `Transition Duration` option for image and content in Person widget.
188
+ - Tweak: Added more styling option Social Icons in Person widget.
189
190
= 3.7.9 =
191
widgets/premium-dual-header.php CHANGED
@@ -233,8 +233,8 @@ class Premium_Dual_Header extends Widget_Base {
233
'default' => 'color',
234
'description' => __('Choose ‘Normal’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium-addons-for-elementor'),
235
'options' => [
236
- 'color' => __('Normal Background', 'premium-addons-for-elementor'),
237
- 'clipped' => __('Clipped Background', 'premium-addons-for-elementor'),
238
],
239
'label_block' => true
240
]
@@ -430,8 +430,8 @@ class Premium_Dual_Header extends Widget_Base {
430
'default' => 'color',
431
'description' => __('Choose ‘Normal’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium-addons-for-elementor'),
432
'options' => [
433
- 'color' => __('Normal Background', 'premium-addons-for-elementor'),
434
- 'clipped' => __('Clipped Background', 'premium-addons-for-elementor')
435
],
436
'label_block' => true
437
]
233
'default' => 'color',
234
'description' => __('Choose ‘Normal’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium-addons-for-elementor'),
235
'options' => [
236
+ 'color' => __('Normal', 'premium-addons-for-elementor'),
237
+ 'clipped' => __('Clipped', 'premium-addons-for-elementor'),
238
],
239
'label_block' => true
240
]
430
'default' => 'color',
431
'description' => __('Choose ‘Normal’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium-addons-for-elementor'),
432
'options' => [
433
+ 'color' => __('Normal', 'premium-addons-for-elementor'),
434
+ 'clipped' => __('Clipped', 'premium-addons-for-elementor')
435
],
436
'label_block' => true
437
]
widgets/premium-pricing-table.php CHANGED
@@ -187,7 +187,7 @@ class Premium_Pricing_Table extends Widget_Base {
187
/*Icon List Content Section*/
188
$this->start_controls_section('premium_pricing_table_list_section',
189
[
190
- 'label' => __('Icon List', 'premium-addons-for-elementor'),
191
'condition' => [
192
'premium_pricing_table_list_switcher' => 'yes',
193
]
@@ -200,6 +200,7 @@ class Premium_Pricing_Table extends Widget_Base {
200
[
201
'label' => __( 'Text', 'premium-addons-for-elementor' ),
202
'type' => Controls_Manager::TEXT,
203
'dynamic' => [ 'active' => true ],
204
'label_block' => true,
205
]
@@ -207,9 +208,13 @@ class Premium_Pricing_Table extends Widget_Base {
207
208
$repeater->add_control('premium_pricing_list_item_icon_updated',
209
[
210
- 'label' => __( 'Icon', 'premium-addons-for-elementor' ),
211
'type' => Controls_Manager::ICONS,
212
'fa4compatibility' => 'premium_pricing_list_item_icon',
213
]
214
);
215
@@ -219,20 +224,29 @@ class Premium_Pricing_Table extends Widget_Base {
219
'type' => Controls_Manager::REPEATER,
220
'default' => [
221
[
222
- 'premium_pricing_list_item_icon' => 'fa fa-check',
223
- 'premium_pricing_list_item_text' => __( 'List Item #1', 'premium-addons-for-elementor' ),
224
],
225
[
226
- 'premium_pricing_list_item_icon' => 'fa fa-check',
227
- 'premium_pricing_list_item_text' => __( 'List Item #2', 'premium-addons-for-elementor' ),
228
],
229
[
230
- 'premium_pricing_list_item_icon' => 'fa fa-check',
231
- 'premium_pricing_list_item_text' => __( 'List Item #3', 'premium-addons-for-elementor' ),
232
],
233
],
234
'fields' => array_values( $repeater->get_controls() ),
235
- 'title_field' => '<i class="{{ premium_pricing_list_item_icon }}" aria-hidden="true"></i> {{{ premium_pricing_list_item_text }}}'
236
]
237
);
238
187
/*Icon List Content Section*/
188
$this->start_controls_section('premium_pricing_table_list_section',
189
[
190
+ 'label' => __('Feature List', 'premium-addons-for-elementor'),
191
'condition' => [
192
'premium_pricing_table_list_switcher' => 'yes',
193
]
200
[
201
'label' => __( 'Text', 'premium-addons-for-elementor' ),
202
'type' => Controls_Manager::TEXT,
203
+ 'default' => __('Feature Title', 'premium-addons-for-elementor'),
204
'dynamic' => [ 'active' => true ],
205
'label_block' => true,
206
]
208
209
$repeater->add_control('premium_pricing_list_item_icon_updated',
210
[
211
+ 'label' => __( 'Icon', 'premium-addons-for-elementor' ),
212
'type' => Controls_Manager::ICONS,
213
'fa4compatibility' => 'premium_pricing_list_item_icon',
214
+ 'default' => [
215
+ 'value' => 'fas fa-check',
216
+ 'library' => 'fa-solid',
217
+ ],
218
]
219
);
220
224
'type' => Controls_Manager::REPEATER,
225
'default' => [
226
[
227
+ 'premium_pricing_list_item_icon_updated' => [
228
+ 'value' => 'fas fa-check',
229
+ 'library' => 'fa-solid',
230
+ ],
231
+ 'premium_pricing_list_item_text' => __( 'List Item #1', 'premium-addons-for-elementor' ),
232
],
233
[
234
+ 'premium_pricing_list_item_icon_updated' => [
235
+ 'value' => 'fas fa-check',
236
+ 'library' => 'fa-solid',
237
+ ],
238
+ 'premium_pricing_list_item_text' => __( 'List Item #2', 'premium-addons-for-elementor' ),
239
],
240
[
241
+ 'premium_pricing_list_item_icon_updated' => [
242
+ 'value' => 'fas fa-check',
243
+ 'library' => 'fa-solid',
244
+ ],
245
+ 'premium_pricing_list_item_text' => __( 'List Item #3', 'premium-addons-for-elementor' ),
246
],
247
],
248
'fields' => array_values( $repeater->get_controls() ),
249
+ 'title_field' => '{{{ elementor.helpers.renderIcon( this, premium_pricing_list_item_icon_updated, {}, "i", "panel" ) || \'<i class="{{ premium_pricing_list_item_icon }}" aria-hidden="true"></i>\' }}} {{{ premium_pricing_list_item_text }}}'
250
]
251
);
252
widgets/premium-progressbar.php CHANGED
@@ -612,7 +612,7 @@ class Premium_Progressbar extends Widget_Base {
612
<p class="premium-progressbar-right-label"><span <?php echo $this->get_render_attribute_string('premium_progressbar_right_label'); ?>><?php echo $settings['premium_progressbar_right_label'];?></span></p>
613
<?php endif;?>
614
<?php if ($settings['premium_progressbar_select_label'] === 'more_labels'):?>
615
- <div class = "premium-progressbar-container-label" style="position:relative;">
616
<?php foreach($settings['premium_progressbar_multiple_label'] as $item){
617
if($this->get_settings('premium_progressbar_more_labels_align') === 'center'){
618
if($settings['premium_progress_bar_space_percentage_switcher'] === 'yes'){
@@ -710,7 +710,7 @@ class Premium_Progressbar extends Widget_Base {
710
<?php endif;?>
711
<div class="clearfix"></div>
712
<div class="pa-progress premium-progressbar-progress">
713
- <div class=" premium-progressbar-progress-bar progress-bar <?php if( $settings['premium_progressbar_progress_style'] === 'solid' ){ echo "";} elseif( $settings['premium_progressbar_progress_style'] === 'stripped' ){ echo "progress-bar-striped";}?> <?php if( $settings['premium_progressbar_progress_animation'] === 'yes' ){ echo "active";}?>" role="progressbar" aria-valuemin="0" aria-valuemax="100" data-settings='<?php echo wp_json_encode($progressbar_settings); ?>'>
714
</div>
715
</div>
716
</div>
612
<p class="premium-progressbar-right-label"><span <?php echo $this->get_render_attribute_string('premium_progressbar_right_label'); ?>><?php echo $settings['premium_progressbar_right_label'];?></span></p>
613
<?php endif;?>
614
<?php if ($settings['premium_progressbar_select_label'] === 'more_labels'):?>
615
+ <div class="premium-progressbar-container-label" style="position:relative;">
616
<?php foreach($settings['premium_progressbar_multiple_label'] as $item){
617
if($this->get_settings('premium_progressbar_more_labels_align') === 'center'){
618
if($settings['premium_progress_bar_space_percentage_switcher'] === 'yes'){
710
<?php endif;?>
711
<div class="clearfix"></div>
712
<div class="pa-progress premium-progressbar-progress">
713
+ <div class="premium-progressbar-progress-bar progress-bar <?php if( $settings['premium_progressbar_progress_style'] === 'solid' ){ echo "";} elseif( $settings['premium_progressbar_progress_style'] === 'stripped' ){ echo "progress-bar-striped";}?> <?php if( $settings['premium_progressbar_progress_animation'] === 'yes' ){ echo "active";}?>" role="progressbar" aria-valuemin="0" aria-valuemax="100" data-settings='<?php echo wp_json_encode($progressbar_settings); ?>'>
714
</div>
715
</div>
716
</div>