Premium Addons for Elementor - Version 2.6.4

Version Description

  • Tweak: Premium Dual Heading widget performance enhanced.
  • Fixed: Modal Box overlay issue.
Download this release

Release Info

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

Code changes from version 2.6.3 to 2.6.4

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.6.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>
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.6.3</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
@@ -1086,6 +1086,7 @@ button.premium-modal-box-modal-close {
1086
-webkit-overflow-scrolling: touch;
1087
outline: 0;
1088
padding: 0 !important;
1089
}
1090
.premium-modal-box-modal .premium-modal-box-modal-dialog {
1091
position: absolute;
1086
-webkit-overflow-scrolling: touch;
1087
outline: 0;
1088
padding: 0 !important;
1089
+ background: rgba(0,0,0,0.5) /*Added New to fix backdrop background*/
1090
}
1091
.premium-modal-box-modal .premium-modal-box-modal-dialog {
1092
position: absolute;
assets/js/lib/modal.js CHANGED
@@ -212,7 +212,7 @@ if (typeof jQuery === 'undefined') {
212
213
this.$backdrop = $(document.createElement('div'))
214
.addClass('premium-modal-backdrop ' + animate)
215
- .appendTo(this.$body)
216
217
this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
218
if (this.ignoreBackdropClick) {
212
213
this.$backdrop = $(document.createElement('div'))
214
.addClass('premium-modal-backdrop ' + animate)
215
+ // .appendTo(this.$body)
216
217
this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
218
if (this.ignoreBackdropClick) {
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.6.3
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.6.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.6.2');
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.6.4
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.6.4');
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.6.3');
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.8
7
Requires PHP: 5.4
8
- Stable tag: 2.6.3
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -135,6 +135,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
135
136
== Changelog ==
137
138
= 2.6.3 =
139
140
- Tweak: Premium Person widget performance enhanced.
5
Requires at least: 4.5
6
Tested up to: 4.9.8
7
Requires PHP: 5.4
8
+ Stable tag: 2.6.4
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
135
136
== Changelog ==
137
138
+ = 2.6.4 =
139
+
140
+ - Tweak: Premium Dual Heading widget performance enhanced.
141
+ - Fixed: Modal Box overlay issue.
142
+
143
= 2.6.3 =
144
145
- Tweak: Premium Person widget performance enhanced.
widgets/premium-dual-header.php CHANGED
@@ -483,8 +483,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
483
484
}
485
486
- protected function render($instance = [])
487
- {
488
// get our input from the widget settings.
489
$settings = $this->get_settings_for_display();
490
@@ -531,5 +530,63 @@ class Premium_Dual_Header_Widget extends Widget_Base
531
532
<?php
533
}
534
}
535
Plugin::instance()->widgets_manager->register_widget_type(new Premium_Dual_Header_Widget());
483
484
}
485
486
+ protected function render() {
487
// get our input from the widget settings.
488
$settings = $this->get_settings_for_display();
489
530
531
<?php
532
}
533
+
534
+ protected function _content_template()
535
+ {
536
+ ?>
537
+ <#
538
+
539
+ view.addInlineEditingAttributes('premium_dual_header_first_header_text');
540
+
541
+ view.addInlineEditingAttributes('premium_dual_header_second_header_text');
542
+
543
+ var firstTag = settings.premium_dual_header_first_header_tag,
544
+
545
+ firstText = settings.premium_dual_header_first_header_text + ' ',
546
+
547
+ secondText = settings.premium_dual_header_second_header_text,
548
+
549
+ firstClip = '',
550
+
551
+ secondClip = '';
552
+
553
+ if( 'clipped' === settings.premium_dual_header_first_back_clip )
554
+ firstClip = "premium-dual-header-first-clip";
555
+
556
+ if( 'clipped' === settings.premium_dual_header_second_back_clip )
557
+ secondClip = "premium-dual-header-second-clip";
558
+
559
+ var firstGrad = 'yes' === settings.premium_dual_header_first_animated ? ' gradient' : '',
560
+
561
+ secondGrad = 'yes' === settings.premium_dual_header_second_animated ? ' gradient' : '';
562
+
563
+ view.addRenderAttribute('first_title', 'class', ['premium-dual-header-first-header', firstClip, firstGrad ] );
564
+ view.addRenderAttribute('second_title', 'class', ['premium-dual-header-second-header', secondClip, secondGrad ] );
565
+
566
+ if( 'yes' == settings.premium_dual_header_link_switcher && 'link' == settings.premium_dual_heading_link_selection ) {
567
+ var link = settings.premium_dual_heading_existing_link;
568
+ } else if( 'yes' == settings.premium_dual_header_link_switcher && 'url' == settings.premium_dual_heading_link_selection ){
569
+ var link = settings.premium_dual_heading_link.url;
570
+ }
571
+
572
+ #>
573
+
574
+ <div class="premium-dual-header-container">
575
+ <# if( 'yes' == settings.premium_dual_header_link_switcher && ( '' != settings.premium_dual_heading_link.url || '' != settings.premium_dual_heading_existing_link ) ) { #>
576
+ <a href="{{ link }}">
577
+ <# } #>
578
+ <div class="premium-dual-header-first-container">
579
+ <{{{firstTag}}} {{{ view.getRenderAttributeString('first_title') }}}>
580
+ <span class="premium-dual-header-first-span">{{{ firstText }}}</span><span {{{ view.getRenderAttributeString('second_title') }}}>{{{ secondText }}}</span>
581
+ </{{{firstTag}}}>
582
+
583
+ </div>
584
+ <# if( 'yes' == settings.premium_dual_header_link_switcher && ( '' != settings.premium_dual_heading_link.url || '' != settings.premium_dual_heading_existing_link ) ) { #>
585
+ </a>
586
+ <# } #>
587
+ </div>
588
+
589
+ <?php
590
+ }
591
}
592
Plugin::instance()->widgets_manager->register_widget_type(new Premium_Dual_Header_Widget());