Premium Addons for Elementor - Version 2.9.5

Version Description

  • Tweak: Added Image/Gradient background option for modal body in Premium Modal Box widget.
  • Tweak: Added Icon Size for header icon in Premium Modal Box widget.
  • Tweak: Added 12 Columns to Number of Column option in Premium Grid widget.
  • Fixed: Responsive options for Premium carousel Number of slides on Tablets/Mobiles does not work.
Download this release

Release Info

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

Code changes from version 2.9.4 to 2.9.5

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 2.9.3</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>
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 2.9.4</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>
assets/css/premium-addons.css CHANGED
@@ -1106,14 +1106,15 @@ button.premium-modal-box-modal-close {
1106
  transition: all .3s ease-in-out;
1107
  }
1108
  .premium-modal-box-modal-content {
 
1109
  background-color: #fff;
1110
  -webkit-background-clip: padding-box;
1111
  background-clip: padding-box;
1112
  border: 1px solid rgba(0, 0, 0, .2);
1113
  border-radius: 6px;
1114
  outline: 0;
1115
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
1116
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5)
1117
  }
1118
  .premium-modal-backdrop.premium-in {
1119
  filter: alpha(opacity=50);
@@ -1246,10 +1247,10 @@ button.premium-modal-box-modal-close {
1246
  max-height: 600px;
1247
  overflow: auto;
1248
  }
1249
- .premium-modal-box-modal-content {
1250
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
1251
  box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
1252
- }
1253
  }
1254
  @media (max-width:767px) {
1255
  .premium-modal-box-modal-dialog {
@@ -3076,6 +3077,9 @@ button.premium-modal-box-modal-close {
3076
  .premium-grid-1666 .premium-gallery-item:nth-child(6n+1) {
3077
  clear: left;
3078
  }
 
 
 
3079
  .premium-img-gallery {
3080
  clear: both;
3081
  overflow: hidden;
1106
  transition: all .3s ease-in-out;
1107
  }
1108
  .premium-modal-box-modal-content {
1109
+ overflow: hidden;
1110
  background-color: #fff;
1111
  -webkit-background-clip: padding-box;
1112
  background-clip: padding-box;
1113
  border: 1px solid rgba(0, 0, 0, .2);
1114
  border-radius: 6px;
1115
  outline: 0;
1116
+ /* -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
1117
+ box-shadow: 0 3px 9px rgba(0, 0, 0, .5)*/
1118
  }
1119
  .premium-modal-backdrop.premium-in {
1120
  filter: alpha(opacity=50);
1247
  max-height: 600px;
1248
  overflow: auto;
1249
  }
1250
+ /* .premium-modal-box-modal-content {
1251
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
1252
  box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
1253
+ }*/
1254
  }
1255
  @media (max-width:767px) {
1256
  .premium-modal-box-modal-dialog {
3077
  .premium-grid-1666 .premium-gallery-item:nth-child(6n+1) {
3078
  clear: left;
3079
  }
3080
+ .premium-grid-8333 .premium-gallery-item:nth-child(12n+1) {
3081
+ clear: left;
3082
+ }
3083
  .premium-img-gallery {
3084
  clear: both;
3085
  overflow: hidden;
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 21+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 2.9.4
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
  // Define Constants
25
- define('PREMIUM_ADDONS_VERSION', '2.9.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.9.3');
31
 
32
  if( ! class_exists('Premium_Addons_Elementor') ) {
33
  /*
@@ -115,9 +115,10 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
115
  }
116
 
117
  require_once (PREMIUM_ADDONS_PATH . 'includes/helper-functions.php');
118
- require_once (PREMIUM_ADDONS_PATH . 'includes/elementor-helper.php');
119
  require_once (PREMIUM_ADDONS_PATH . 'admin/settings/gomaps.php');
120
  require_once (PREMIUM_ADDONS_PATH . 'admin/settings/elements.php');
 
 
121
  }
122
 
123
  /**
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 21+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 2.9.5
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
  // Define Constants
25
+ define('PREMIUM_ADDONS_VERSION', '2.9.5');
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.9.4');
31
 
32
  if( ! class_exists('Premium_Addons_Elementor') ) {
33
  /*
115
  }
116
 
117
  require_once (PREMIUM_ADDONS_PATH . 'includes/helper-functions.php');
 
118
  require_once (PREMIUM_ADDONS_PATH . 'admin/settings/gomaps.php');
119
  require_once (PREMIUM_ADDONS_PATH . 'admin/settings/elements.php');
120
+ require_once (PREMIUM_ADDONS_PATH . 'includes/elementor-helper.php');
121
+
122
  }
123
 
124
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.0.2
7
  Requires PHP: 5.4
8
- Stable tag: 2.9.4
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -137,9 +137,16 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
137
 
138
  == Changelog ==
139
 
 
 
 
 
 
 
 
140
  = 2.9.4 =
141
 
142
- - Tweak: Added `Loop` and `Mute` options for Vimeo type videos in Premium Video Box widget.
143
  - Fixed: Vimeo videos error message in Premium Video Box widget.
144
 
145
  = 2.9.3 =
5
  Requires at least: 4.5
6
  Tested up to: 5.0.2
7
  Requires PHP: 5.4
8
+ Stable tag: 2.9.5
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
137
 
138
  == Changelog ==
139
 
140
+ = 2.9.5 =
141
+
142
+ - Tweak: Added `Image/Gradient` background option for modal body in Premium Modal Box widget.
143
+ - Tweak: Added `Icon Size` for header icon in Premium Modal Box widget.
144
+ - Tweak: Added `12 Columns` to `Number of Column` option in Premium Grid widget.
145
+ - Fixed: Responsive options for Premium carousel `Number of slides on Tablets/Mobiles` does not work.
146
+
147
  = 2.9.4 =
148
 
149
+ - Tweak: Added 'Loop' and 'Mute' options for Vimeo type videos in Premium Video Box widget.
150
  - Fixed: Vimeo videos error message in Premium Video Box widget.
151
 
152
  = 2.9.3 =
widgets/premium-carousel.php CHANGED
@@ -700,11 +700,11 @@ class Premium_Carousel extends Widget_Base {
700
  $slides_on_tabs = $settings['premium_carousel_responsive_tabs'];
701
  $slides_on_mob = $settings['premium_carousel_responsive_mobile'];
702
 
703
- if( !empty( $settings['premium_carousel_responsive_tabs'] ) ) {
704
  $slides_on_tabs = $slides_on_desk;
705
  }
706
 
707
- if( !empty ( $settings['premium_carousel_responsive_mobile'] ) ) {
708
  $slides_on_mob = $slides_on_desk;
709
  }
710
 
700
  $slides_on_tabs = $settings['premium_carousel_responsive_tabs'];
701
  $slides_on_mob = $settings['premium_carousel_responsive_mobile'];
702
 
703
+ if( empty( $settings['premium_carousel_responsive_tabs'] ) ) {
704
  $slides_on_tabs = $slides_on_desk;
705
  }
706
 
707
+ if( empty ( $settings['premium_carousel_responsive_mobile'] ) ) {
708
  $slides_on_mob = $slides_on_desk;
709
  }
710
 
widgets/premium-grid.php CHANGED
@@ -255,6 +255,7 @@ class Premium_Grid extends Widget_Base {
255
  '25%' => __( '4 Columns', 'premium-addons-for-elementor' ),
256
  '20%' => __( '5 Columns', 'premium-addons-for-elementor' ),
257
  '16.66%' => __( '6 Columns', 'premium-addons-for-elementor' ),
 
258
  ],
259
  'selectors' => [
260
  '{{WRAPPER}} .premium-gallery-container .premium-gallery-item' => 'width: {{VALUE}};',
255
  '25%' => __( '4 Columns', 'premium-addons-for-elementor' ),
256
  '20%' => __( '5 Columns', 'premium-addons-for-elementor' ),
257
  '16.66%' => __( '6 Columns', 'premium-addons-for-elementor' ),
258
+ '8.33%' => __( '12 Columns', 'premium-addons-for-elementor' ),
259
  ],
260
  'selectors' => [
261
  '{{WRAPPER}} .premium-gallery-container .premium-gallery-item' => 'width: {{VALUE}};',
widgets/premium-modalbox.php CHANGED
@@ -88,6 +88,21 @@ class Premium_Modalbox extends Widget_Base {
88
  ]
89
  );
90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  /*Image Icon*/
92
  $this->add_control('premium_modal_box_image_icon',
93
  [
@@ -1176,15 +1191,14 @@ class Premium_Modalbox extends Widget_Base {
1176
  );
1177
 
1178
  /*Modal Background Color*/
1179
- $this->add_control('premium_modal_box_modal_background',
1180
- [
1181
- 'label' => __('Overlay Color', 'premium-addons-for-elementor'),
1182
- 'type' => Controls_Manager::COLOR,
1183
- 'selectors' => [
1184
- '{{WRAPPER}} .premium-modal-box-modal' => 'background:{{VALUE}};',
1185
- ]
1186
- ]
1187
- );
1188
 
1189
  /*Content Background Color*/
1190
  $this->add_control('premium_modal_box_content_background',
88
  ]
89
  );
90
 
91
+ $this->add_responsive_control('premium_modal_box_font_icon_size',
92
+ [
93
+ 'label' => __('Icon Size', 'premium-addons-for-elementor'),
94
+ 'type' => Controls_Manager::SLIDER,
95
+ 'size_units' => ['px', 'em'],
96
+ 'condition' => [
97
+ 'premium_modal_box_icon_selection' => 'fonticon',
98
+ 'premium_modal_box_header_switcher' => 'yes'
99
+ ],
100
+ 'selectors' => [
101
+ '{{WRAPPER}} .premium-modal-box-modal-title i '=> 'font-size: {{SIZE}}{{UNIT}}',
102
+ ]
103
+ ]
104
+ );
105
+
106
  /*Image Icon*/
107
  $this->add_control('premium_modal_box_image_icon',
108
  [
1191
  );
1192
 
1193
  /*Modal Background Color*/
1194
+ $this->add_group_control(
1195
+ Group_Control_Background::get_type(),
1196
+ [
1197
+ 'name' => 'premium_modal_box_modal_background',
1198
+ 'types' => [ 'classic' , 'gradient' ],
1199
+ 'selector' => '{{WRAPPER}} .premium-modal-box-modal'
1200
+ ]
1201
+ );
 
1202
 
1203
  /*Content Background Color*/
1204
  $this->add_control('premium_modal_box_content_background',