Premium Addons for Elementor - Version 3.4.1

Version Description

  • Tweak: Added Dots Shape option for navigation dots in Vertical Scroll widget.
  • Fixed: Header title and close button are not horizontally centered in Modal Box widget
Download this release

Release Info

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

Code changes from version 3.4.0 to 3.4.1

admin/includes/version-control.php CHANGED
@@ -91,7 +91,7 @@ class Version_Control {
91
<tr class="pa-roll-row">
92
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
<td>
94
- <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.3.9', 'premium-addons-for-elementor') ); ?></div>
95
<p class="pa-roll-desc">
96
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
</p>
91
<tr class="pa-roll-row">
92
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
<td>
94
+ <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.4.0', 'premium-addons-for-elementor') ); ?></div>
95
<p class="pa-roll-desc">
96
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
</p>
assets/css/premium-addons.css CHANGED
@@ -1190,6 +1190,13 @@ button.premium-modal-box-modal-close {
1190
top: 50%;
1191
}
1192
.premium-modal-box-modal-header {
1193
padding: 15px;
1194
border-bottom: 1px solid #e5e5e5
1195
}
@@ -1200,7 +1207,7 @@ button.premium-modal-box-modal-close {
1200
margin: 0;
1201
padding: 0;
1202
line-height: 1.42857143;
1203
- clear: none;
1204
padding: 0;
1205
margin: 0;
1206
}
@@ -1259,9 +1266,9 @@ button.premium-modal-box-modal-close {
1259
vertical-align : middle;
1260
}
1261
/*Close Button Container Style*/
1262
- .premium-modal-box-close-button-container {
1263
float: right;
1264
- }
1265
.premium-modal-box-modal-close {
1266
position: relative;
1267
z-index: 99;
@@ -3555,6 +3562,25 @@ button.premium-modal-box-modal-close {
3555
.premium-vscroll-inner .premium-vscroll-dots.right .premium-vscroll-tooltip {
3556
right: 27px
3557
}
3558
@media(max-width: 768px) {
3559
.premium-vscroll-dots.right{
3560
right:7px
1190
top: 50%;
1191
}
1192
.premium-modal-box-modal-header {
1193
+ display: -ms-flexbox;
1194
+ display: -webkit-flex;
1195
+ display: -moz-flex;
1196
+ display: -ms-flex;
1197
+ display: flex;
1198
+ justify-content: space-between;
1199
+ align-items: center;
1200
padding: 15px;
1201
border-bottom: 1px solid #e5e5e5
1202
}
1207
margin: 0;
1208
padding: 0;
1209
line-height: 1.42857143;
1210
+ /* clear: none;*/
1211
padding: 0;
1212
margin: 0;
1213
}
1266
vertical-align : middle;
1267
}
1268
/*Close Button Container Style*/
1269
+ /*.premium-modal-box-close-button-container {
1270
float: right;
1271
+ }*/
1272
.premium-modal-box-modal-close {
1273
position: relative;
1274
z-index: 99;
3562
.premium-vscroll-inner .premium-vscroll-dots.right .premium-vscroll-tooltip {
3563
right: 27px
3564
}
3565
+ /*
3566
+ * Lines
3567
+ */
3568
+ .premium-vscroll-inner .premium-vscroll-dots.lines .premium-vscroll-dot-item {
3569
+ width: 4px;
3570
+ height: 30px;
3571
+ }
3572
+ .premium-vscroll-inner .premium-vscroll-dots.lines .premium-vscroll-dot-item span {
3573
+ width: 100%;
3574
+ height: 100%;
3575
+ border-radius: 0;
3576
+ }
3577
+ .premium-vscroll-inner .premium-vscroll-dots.lines .premium-vscroll-dot-item.active span {
3578
+ -webkit-transform: scale(1);
3579
+ -moz-transform: scale(1);
3580
+ -ms-transform: scale(1);
3581
+ -o-transform: scale(1);
3582
+ transform: scale(1);
3583
+ }
3584
@media(max-width: 768px) {
3585
.premium-vscroll-dots.right{
3586
right:7px
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.4.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.4.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.3.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.4.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.4.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.4.0');
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.2
7
Requires PHP: 5.4
8
- Stable tag: 3.4.0
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.4.0 =
143
144
- Tweak: Added `Hover CSS Filters` for Image in Person widget.
5
Requires at least: 4.5
6
Tested up to: 5.2
7
Requires PHP: 5.4
8
+ Stable tag: 3.4.1
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
139
140
== Changelog ==
141
142
+ = 3.4.1 =
143
+
144
+ - Tweak: Added `Dots Shape` option for navigation dots in Vertical Scroll widget.
145
+ - Fixed: Header title and close button are not horizontally centered in Modal Box widget
146
+
147
= 3.4.0 =
148
149
- Tweak: Added `Hover CSS Filters` for Image in Person widget.
widgets/premium-modalbox.php CHANGED
@@ -1371,21 +1371,16 @@ class Premium_Modalbox extends Widget_Base {
1371
</button>
1372
<?php elseif ( $settings['premium_modal_box_display_on'] === 'image' ) : ?>
1373
<img <?php echo $this->get_render_attribute_string('image'); ?>>
1374
- <?php elseif($settings['premium_modal_box_display_on'] === 'text') : ?>
1375
<span <?php echo $this->get_render_attribute_string('text'); ?>><div <?php echo $this->get_render_attribute_string('premium_modal_box_selector_text'); ?>><?php echo $settings['premium_modal_box_selector_text'];?></div></span>
1376
<?php endif; ?>
1377
</div>
1378
1379
- <div id="premium-modal-<?php echo $this->get_id(); ?>" class="premium-modal-box-modal premium-modal-fade" role="dialog">
1380
<div class="premium-modal-box-modal-dialog">
1381
<div class="premium-modal-box-modal-content">
1382
- <?php if($settings['premium_modal_box_header_switcher'] == 'yes') : ?>
1383
<div class="premium-modal-box-modal-header">
1384
- <?php if ( $settings['premium_modal_box_upper_close'] === 'yes' ) : ?>
1385
- <div class="premium-modal-box-close-button-container">
1386
- <button type="button" class="premium-modal-box-modal-close" data-dismiss="premium-modal">&times;</button>
1387
- </div>
1388
- <?php endif; ?>
1389
<?php if ( ! empty( $settings['premium_modal_box_title'] ) ) : ?>
1390
<h3 class="premium-modal-box-modal-title">
1391
<?php if( 'fonticon' === $settings['premium_modal_box_icon_selection'] ) : ?>
@@ -1396,6 +1391,11 @@ class Premium_Modalbox extends Widget_Base {
1396
echo $settings['premium_modal_box_title']; ?>
1397
</h3>
1398
<?php endif; ?>
1399
</div>
1400
<?php endif; ?>
1401
<div class="premium-modal-box-modal-body">
1371
</button>
1372
<?php elseif ( $settings['premium_modal_box_display_on'] === 'image' ) : ?>
1373
<img <?php echo $this->get_render_attribute_string('image'); ?>>
1374
+ <?php elseif( $settings['premium_modal_box_display_on'] === 'text' ) : ?>
1375
<span <?php echo $this->get_render_attribute_string('text'); ?>><div <?php echo $this->get_render_attribute_string('premium_modal_box_selector_text'); ?>><?php echo $settings['premium_modal_box_selector_text'];?></div></span>
1376
<?php endif; ?>
1377
</div>
1378
1379
+ <div id="premium-modal-<?php echo $this->get_id(); ?>" class="premium-modal-box-modal premium-modal-fade" role="dialog">
1380
<div class="premium-modal-box-modal-dialog">
1381
<div class="premium-modal-box-modal-content">
1382
+ <?php if( $settings['premium_modal_box_header_switcher'] == 'yes' ) : ?>
1383
<div class="premium-modal-box-modal-header">
1384
<?php if ( ! empty( $settings['premium_modal_box_title'] ) ) : ?>
1385
<h3 class="premium-modal-box-modal-title">
1386
<?php if( 'fonticon' === $settings['premium_modal_box_icon_selection'] ) : ?>
1391
echo $settings['premium_modal_box_title']; ?>
1392
</h3>
1393
<?php endif; ?>
1394
+ <?php if ( $settings['premium_modal_box_upper_close'] === 'yes' ) : ?>
1395
+ <div class="premium-modal-box-close-button-container">
1396
+ <button type="button" class="premium-modal-box-modal-close" data-dismiss="premium-modal">&times;</button>
1397
+ </div>
1398
+ <?php endif; ?>
1399
</div>
1400
<?php endif; ?>
1401
<div class="premium-modal-box-modal-body">
widgets/premium-vscroll.php CHANGED
@@ -132,6 +132,21 @@ class Premium_Vscroll extends Widget_Base {
132
]
133
);
134
135
$this->add_control('dots_tooltips',
136
[
137
'label' => __('Dots Tooltips Text', 'premium-addons-for-elementor'),
@@ -740,7 +755,13 @@ class Premium_Vscroll extends Widget_Base {
740
741
$this->add_render_attribute( 'vertical_scroll_inner', 'id', 'premium-vscroll-' . $id );
742
743
- $this->add_render_attribute( 'vertical_scroll_dots', 'class', array( 'premium-vscroll-dots', $settings['navigation_dots_pos'], $settings['navigation_dots_v_pos'] ) );
744
745
$this->add_render_attribute( 'vertical_scroll_dots_list', 'class', array( 'premium-vscroll-dots-list' ) );
746
132
]
133
);
134
135
+ $this->add_control('dots_shape',
136
+ [
137
+ 'label' => __('Shape', 'premium-addons-for-elementor'),
138
+ 'type' => Controls_Manager::SELECT,
139
+ 'options' => [
140
+ 'circ' => __('Circles', 'premium-addons-for-elementor'),
141
+ 'lines' => __('Lines', 'premium-addons-for-elementor')
142
+ ],
143
+ 'default' => 'circ',
144
+ 'condition' => [
145
+ 'dots_tooltips_switcher' => 'yes'
146
+ ]
147
+ ]
148
+ );
149
+
150
$this->add_control('dots_tooltips',
151
[
152
'label' => __('Dots Tooltips Text', 'premium-addons-for-elementor'),
755
756
$this->add_render_attribute( 'vertical_scroll_inner', 'id', 'premium-vscroll-' . $id );
757
758
+ $this->add_render_attribute( 'vertical_scroll_dots', 'class', array(
759
+ 'premium-vscroll-dots',
760
+ $settings['navigation_dots_pos'],
761
+ $settings['navigation_dots_v_pos'],
762
+ $settings['dots_shape']
763
+ )
764
+ );
765
766
$this->add_render_attribute( 'vertical_scroll_dots_list', 'class', array( 'premium-vscroll-dots-list' ) );
767