Premium Addons for Elementor - Version 3.6.8

Version Description

  • Tweak: Added Hover/Active border settings for filters tabs in Grid widget.
  • Fixed: Tags styling not working in Blog widget.
  • Fixed: Notice: Undefined index: premium_modal_box_button_icon_selection in Modal Box.
Download this release

Release Info

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

Code changes from version 3.6.7 to 3.6.8

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.6.6', '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.6.7', '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/editor/templates/js/editor.js CHANGED
@@ -864,7 +864,7 @@
864
 
865
 
866
  var $addNewSection = window.elementor.$previewContents.find('.elementor-add-new-section'),
867
- addPremiumTemplate = "<div class='elementor-add-section-area-button pa-add-section-btn' title='Add Premium Template'><i class='fa fa-star'></i></div>",
868
  $addPremiumTemplate;
869
 
870
  if ($addNewSection.length && PremiumTempsData.PremiumTemplatesBtn) {
864
 
865
 
866
  var $addNewSection = window.elementor.$previewContents.find('.elementor-add-new-section'),
867
+ addPremiumTemplate = "<div class='elementor-add-section-area-button pa-add-section-btn' title='Add Premium Template'><i class='fas fa-star'></i></div>",
868
  $addPremiumTemplate;
869
 
870
  if ($addNewSection.length && PremiumTempsData.PremiumTemplatesBtn) {
assets/frontend/css/premium-addons.css CHANGED
@@ -2260,8 +2260,9 @@ button.premium-modal-box-modal-close {
2260
  margin: 0 0 30px;
2261
  }
2262
  /*Override Theme List Margin*/
2263
- .premium-person-social-list {
2264
  margin: 0px !important;
 
2265
  }
2266
  .premium-person-social-list .premium-person-list-item {
2267
  display: inline;
@@ -3543,7 +3544,7 @@ button.premium-modal-box-modal-close {
3543
  /*************************************************/
3544
  .premium-vscroll-inner {
3545
  position: relative;
3546
- overflow: hidden;
3547
  min-height: 100%;
3548
  }
3549
  .premium-vscroll-inner .premium-vscroll-dots {
@@ -3643,7 +3644,6 @@ button.premium-modal-box-modal-close {
3643
  color: #fff;
3644
  font-size: 14px;
3645
  font-family: arial,helvetica,sans-serif;
3646
- /* top: -5px;*/
3647
  white-space: nowrap;
3648
  max-width: 220px;
3649
  padding-left: 0.4em;
@@ -3748,6 +3748,30 @@ button.premium-modal-box-modal-close {
3748
  .multiscroll-nav li a:focus{
3749
  outline:none
3750
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3751
  /************ Premium Image Scroll ***************/
3752
  /*************************************************/
3753
  .premium-image-scroll-section,
2260
  margin: 0 0 30px;
2261
  }
2262
  /*Override Theme List Margin*/
2263
+ ul.premium-person-social-list {
2264
  margin: 0px !important;
2265
+ padding: 0;
2266
  }
2267
  .premium-person-social-list .premium-person-list-item {
2268
  display: inline;
3544
  /*************************************************/
3545
  .premium-vscroll-inner {
3546
  position: relative;
3547
+ /* overflow: hidden;*/
3548
  min-height: 100%;
3549
  }
3550
  .premium-vscroll-inner .premium-vscroll-dots {
3644
  color: #fff;
3645
  font-size: 14px;
3646
  font-family: arial,helvetica,sans-serif;
 
3647
  white-space: nowrap;
3648
  max-width: 220px;
3649
  padding-left: 0.4em;
3748
  .multiscroll-nav li a:focus{
3749
  outline:none
3750
  }
3751
+ /*
3752
+ * Scroller
3753
+ */
3754
+ #scroller {
3755
+ /* position: absolute;*/
3756
+ /* z-index: 1;
3757
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
3758
+ width: 100%;
3759
+ -webkit-transform: translateZ(0);
3760
+ -moz-transform: translateZ(0);
3761
+ -ms-transform: translateZ(0);
3762
+ -o-transform: translateZ(0);
3763
+ transform: translateZ(0);
3764
+ -webkit-touch-callout: none;
3765
+ -webkit-user-select: none;
3766
+ -moz-user-select: none;
3767
+ -ms-user-select: none;
3768
+ user-select: none;
3769
+ -webkit-text-size-adjust: none;
3770
+ -moz-text-size-adjust: none;
3771
+ -ms-text-size-adjust: none;
3772
+ -o-text-size-adjust: none;
3773
+ text-size-adjust: none;*/
3774
+ }
3775
  /************ Premium Image Scroll ***************/
3776
  /*************************************************/
3777
  .premium-image-scroll-section,
assets/frontend/js/premium-vscroll.js CHANGED
@@ -764,4 +764,4 @@
764
  PremiumVerticalScrollHandler
765
  );
766
  });
767
- })(jQuery);
764
  PremiumVerticalScrollHandler
765
  );
766
  });
767
+ })(jQuery);
includes/class-addons-integration.php CHANGED
@@ -254,6 +254,22 @@ class Addons_Integration {
254
  true
255
  );
256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  }
258
 
259
  /*
254
  true
255
  );
256
 
257
+ // wp_register_script(
258
+ // 'slimscroll-js',
259
+ // PREMIUM_ADDONS_URL . 'assets/frontend/js/lib/jquery.slimscroll.js',
260
+ // array('jquery'),
261
+ // PREMIUM_ADDONS_VERSION,
262
+ // true
263
+ // );
264
+ //
265
+ // wp_register_script(
266
+ // 'iscroll-js',
267
+ // PREMIUM_ADDONS_URL . 'assets/frontend/js/lib/iscroll.js',
268
+ // array('jquery'),
269
+ // PREMIUM_ADDONS_VERSION,
270
+ // true
271
+ // );
272
+
273
  }
274
 
275
  /*
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.6.7
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.6.7');
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.6.6');
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.6.8
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.6.8');
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.6.7');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_c
5
  Requires at Least: 4.5
6
  Tested Up To: 5.2.2
7
  Requires PHP: 5.4
8
- Stable Tag: 3.6.7
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -174,13 +174,19 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
174
 
175
  == Changelog ==
176
 
 
 
 
 
 
 
177
  = 3.6.7 =
178
 
179
  - Tweak: Font Awesome 5 compatibility for all widgets.
180
  - Tweak: Added `Navigation Dots` option for carousel in Blog widget.
181
  - Tweak: Added `Text/Background Hover Color` option for filter tabs in Grid widget.
182
  - Tweak: Added `Shuffle Images on Page Load` option to Grid widget.
183
- - Fixed: Description container rendered even when description text is empty.
184
  - Tweak: Show overflow content then scroll in Vertical Scroll widget.
185
  - Fixed: Vertical Scroll issue on Mac OS.
186
 
5
  Requires at Least: 4.5
6
  Tested Up To: 5.2.2
7
  Requires PHP: 5.4
8
+ Stable Tag: 3.6.8
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
174
 
175
  == Changelog ==
176
 
177
+ = 3.6.8 =
178
+
179
+ - Tweak: Added Hover/Active border settings for filters tabs in Grid widget.
180
+ - Fixed: Tags styling not working in Blog widget.
181
+ - Fixed: `Notice: Undefined index: premium_modal_box_button_icon_selection` in Modal Box.
182
+
183
  = 3.6.7 =
184
 
185
  - Tweak: Font Awesome 5 compatibility for all widgets.
186
  - Tweak: Added `Navigation Dots` option for carousel in Blog widget.
187
  - Tweak: Added `Text/Background Hover Color` option for filter tabs in Grid widget.
188
  - Tweak: Added `Shuffle Images on Page Load` option to Grid widget.
189
+ - Fixed: Description container rendered even when description text is empty in Persons widget.
190
  - Tweak: Show overflow content then scroll in Vertical Scroll widget.
191
  - Fixed: Vertical Scroll issue on Mac OS.
192
 
widgets/premium-blog.php CHANGED
@@ -239,7 +239,7 @@ class Premium_Blog extends Widget_Base {
239
  ]
240
  );
241
 
242
- $this->add_responsive_control('premium_blog_posts_spacing',
243
  [
244
  'label' => __('Rows Spacing', 'premium-addons-for-elementor'),
245
  'type' => Controls_Manager::SLIDER,
@@ -250,17 +250,16 @@ class Premium_Blog extends Widget_Base {
250
  'max' => 200,
251
  ],
252
  ],
253
- 'render_type' => 'template',
254
  'condition' => [
255
  'premium_blog_grid' => 'yes'
256
  ],
257
  'selectors' => [
258
- '{{WRAPPER}} .premium-blog-post-outer-container' => 'padding-left: {{SIZE}}{{UNIT}}; padding-right: {{SIZE}}{{UNIT}}'
259
  ]
260
  ]
261
  );
262
 
263
- $this->add_responsive_control('premium_blog_posts_columns_spacing',
264
  [
265
  'label' => __('Columns Spacing', 'premium-addons-for-elementor'),
266
  'type' => Controls_Manager::SLIDER,
@@ -271,11 +270,12 @@ class Premium_Blog extends Widget_Base {
271
  'max' => 200,
272
  ],
273
  ],
 
274
  'condition' => [
275
  'premium_blog_grid' => 'yes'
276
  ],
277
  'selectors' => [
278
- '{{WRAPPER}} .premium-blog-post-outer-container' => 'margin-bottom: {{SIZE}}{{UNIT}}'
279
  ]
280
  ]
281
  );
@@ -1755,11 +1755,15 @@ class Premium_Blog extends Widget_Base {
1755
  if ( 'cards' === $skin ) {
1756
  $this->get_post_meta( $target );
1757
  }
 
1758
  ?>
1759
-
1760
- <?php if( $settings['premium_blog_tags_meta'] === 'yes' && the_tags() != '' ) : ?>
1761
  <div class="premium-blog-post-tags-container" style="<?php if( $settings['premium_blog_post_format_icon'] !== 'yes' ) : echo 'margin-left:0px;'; endif; ?>">
1762
- <span class="premium-blog-post-tags"><i class="fa fa-tags fa-fw"></i><?php the_tags(' ', ', '); ?></span>
 
 
 
1763
  </div>
1764
  <?php endif; ?>
1765
  </div>
239
  ]
240
  );
241
 
242
+ $this->add_responsive_control('premium_blog_posts_columns_spacing',
243
  [
244
  'label' => __('Rows Spacing', 'premium-addons-for-elementor'),
245
  'type' => Controls_Manager::SLIDER,
250
  'max' => 200,
251
  ],
252
  ],
 
253
  'condition' => [
254
  'premium_blog_grid' => 'yes'
255
  ],
256
  'selectors' => [
257
+ '{{WRAPPER}} .premium-blog-post-outer-container' => 'margin-bottom: {{SIZE}}{{UNIT}}'
258
  ]
259
  ]
260
  );
261
 
262
+ $this->add_responsive_control('premium_blog_posts_spacing',
263
  [
264
  'label' => __('Columns Spacing', 'premium-addons-for-elementor'),
265
  'type' => Controls_Manager::SLIDER,
270
  'max' => 200,
271
  ],
272
  ],
273
+ 'render_type' => 'template',
274
  'condition' => [
275
  'premium_blog_grid' => 'yes'
276
  ],
277
  'selectors' => [
278
+ '{{WRAPPER}} .premium-blog-post-outer-container' => 'padding-left: {{SIZE}}{{UNIT}}; padding-right: {{SIZE}}{{UNIT}}'
279
  ]
280
  ]
281
  );
1755
  if ( 'cards' === $skin ) {
1756
  $this->get_post_meta( $target );
1757
  }
1758
+
1759
  ?>
1760
+
1761
+ <?php if( $settings['premium_blog_tags_meta'] === 'yes' && has_tag() ) : ?>
1762
  <div class="premium-blog-post-tags-container" style="<?php if( $settings['premium_blog_post_format_icon'] !== 'yes' ) : echo 'margin-left:0px;'; endif; ?>">
1763
+ <span class="premium-blog-post-tags">
1764
+ <i class="fa fa-tags fa-fw"></i>
1765
+ <?php the_tags(' ', ', '); ?>
1766
+ </span>
1767
  </div>
1768
  <?php endif; ?>
1769
  </div>
widgets/premium-grid.php CHANGED
@@ -1229,6 +1229,23 @@ class Premium_Grid extends Widget_Base {
1229
  ]
1230
  ]);
1231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1232
  $this->add_control('premium_gallery_filter_color',
1233
  [
1234
  'label' => __('Text Color', 'premium-addons-for-elementor'),
@@ -1243,108 +1260,137 @@ class Premium_Grid extends Widget_Base {
1243
  ]
1244
  );
1245
 
1246
- $this->add_control('premium_gallery_filter_hover_color',
1247
- [
1248
- 'label' => __('Text Hover Color', 'premium-addons-for-elementor'),
1249
- 'type' => Controls_Manager::COLOR,
1250
- 'selectors' => [
1251
- '{{WRAPPER}} .premium-gallery-cats-container li a:hover span' => 'color: {{VALUE}};',
 
 
 
 
 
 
 
 
 
1252
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1253
  ]
1254
  );
1255
 
1256
- $this->add_control('premium_gallery_filter_active_color',
1257
  [
1258
- 'label' => __('Text Active Color', 'premium-addons-for-elementor'),
1259
  'type' => Controls_Manager::COLOR,
1260
- 'scheme' => [
1261
- 'type' => Scheme_Color::get_type(),
1262
- 'value' => Scheme_Color::COLOR_1,
1263
- ],
1264
  'selectors' => [
1265
- '{{WRAPPER}} .premium-gallery-cats-container li a.active span' => 'color: {{VALUE}};',
1266
  ]
1267
  ]
1268
  );
1269
 
1270
- $this->add_group_control(
1271
- Group_Control_Typography::get_type(),
1272
- [
1273
- 'name' => 'premium_gallery_filter_typo',
1274
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1275
- 'selector' => '{{WRAPPER}} .premium-gallery-cats-container li a.category',
1276
- ]
1277
- );
1278
-
1279
- $this->add_control('premium_gallery_background',
1280
- [
1281
- 'label' => __( 'Background', 'premium-addons-for-elementor' ),
1282
- 'type' => Controls_Manager::SWITCHER,
1283
- 'default' => 'yes'
1284
- ]
1285
- );
1286
-
1287
- $this->add_control('premium_gallery_background_color',
1288
  [
1289
  'label' => __('Background Color', 'premium-addons-for-elementor'),
1290
  'type' => Controls_Manager::COLOR,
1291
- 'default' => '#6ec1e4',
1292
  'selectors' => [
1293
- '{{WRAPPER}} .premium-gallery-cats-container li a.category' => 'background-color: {{VALUE}};',
1294
  ],
1295
- 'condition' => [
1296
- 'premium_gallery_background' => 'yes'
1297
- ]
1298
  ]
1299
  );
1300
 
1301
- $this->add_control('premium_gallery_background_hover_color',
1302
- [
1303
- 'label' => __('Background Hover Color', 'premium-addons-for-elementor'),
1304
- 'type' => Controls_Manager::COLOR,
1305
- 'selectors' => [
1306
- '{{WRAPPER}} .premium-gallery-cats-container li a:hover' => 'background-color: {{VALUE}};',
1307
- ],
1308
- 'condition' => [
1309
- 'premium_gallery_background' => 'yes'
1310
  ]
1311
- ]
1312
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1313
 
1314
  $this->add_control('premium_gallery_background_active_color',
1315
  [
1316
- 'label' => __('Background Active Color', 'premium-addons-for-elementor'),
1317
  'type' => Controls_Manager::COLOR,
1318
- 'default' => '#54595f',
1319
  'selectors' => [
1320
  '{{WRAPPER}} .premium-gallery-cats-container li a.active' => 'background-color: {{VALUE}};',
1321
  ],
1322
- 'condition' => [
1323
- 'premium_gallery_background' => 'yes'
1324
- ]
1325
  ]
1326
  );
1327
 
1328
  $this->add_group_control(
1329
  Group_Control_Border::get_type(),
1330
  [
1331
- 'name' => 'premium_gallery_filter_border',
1332
- 'selector' => '{{WRAPPER}} .premium-gallery-cats-container li a.category',
1333
  ]
1334
  );
1335
 
1336
- /*Border Radius*/
1337
- $this->add_control('premium_gallery_filter_border_radius',
1338
  [
1339
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
1340
  'type' => Controls_Manager::SLIDER,
1341
  'size_units' => ['px','em','%'],
1342
  'selectors' => [
1343
- '{{WRAPPER}} .premium-gallery-cats-container li a.category' => 'border-radius: {{SIZE}}{{UNIT}};',
1344
  ]
1345
  ]
1346
  );
1347
 
 
 
 
 
1348
  $this->add_group_control(
1349
  Group_Control_Box_Shadow::get_type(),
1350
  [
1229
  ]
1230
  ]);
1231
 
1232
+ $this->add_group_control(
1233
+ Group_Control_Typography::get_type(),
1234
+ [
1235
+ 'name' => 'premium_gallery_filter_typo',
1236
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1237
+ 'selector' => '{{WRAPPER}} .premium-gallery-cats-container li a.category',
1238
+ ]
1239
+ );
1240
+
1241
+ $this->start_controls_tabs('premium_gallery_filters');
1242
+
1243
+ $this->start_controls_tab('premium_gallery_filters_normal',
1244
+ [
1245
+ 'label' => __('Normal', 'premium-addons-for-elementor'),
1246
+ ]
1247
+ );
1248
+
1249
  $this->add_control('premium_gallery_filter_color',
1250
  [
1251
  'label' => __('Text Color', 'premium-addons-for-elementor'),
1260
  ]
1261
  );
1262
 
1263
+ $this->add_control('premium_gallery_background_color',
1264
+ [
1265
+ 'label' => __('Background Color', 'premium-addons-for-elementor'),
1266
+ 'type' => Controls_Manager::COLOR,
1267
+ 'selectors' => [
1268
+ '{{WRAPPER}} .premium-gallery-cats-container li a.category' => 'background-color: {{VALUE}};',
1269
+ ],
1270
+ ]
1271
+ );
1272
+
1273
+ $this->add_group_control(
1274
+ Group_Control_Border::get_type(),
1275
+ [
1276
+ 'name' => 'premium_gallery_filter_border',
1277
+ 'selector' => '{{WRAPPER}} .premium-gallery-cats-container li a.category',
1278
  ]
1279
+ );
1280
+
1281
+ $this->add_control('premium_gallery_filter_border_radius',
1282
+ [
1283
+ 'label' => __('Border Radius', 'premium-addons-for-elementor'),
1284
+ 'type' => Controls_Manager::SLIDER,
1285
+ 'size_units' => ['px','em','%'],
1286
+ 'selectors' => [
1287
+ '{{WRAPPER}} .premium-gallery-cats-container li a.category' => 'border-radius: {{SIZE}}{{UNIT}};',
1288
+ ]
1289
+ ]
1290
+ );
1291
+
1292
+ $this->end_controls_tab();
1293
+
1294
+ $this->start_controls_tab('premium_gallery_filters_hover',
1295
+ [
1296
+ 'label' => __('Hover', 'premium-addons-for-elementor'),
1297
  ]
1298
  );
1299
 
1300
+ $this->add_control('premium_gallery_filter_hover_color',
1301
  [
1302
+ 'label' => __('Text Color', 'premium-addons-for-elementor'),
1303
  'type' => Controls_Manager::COLOR,
 
 
 
 
1304
  'selectors' => [
1305
+ '{{WRAPPER}} .premium-gallery-cats-container li a:hover span' => 'color: {{VALUE}};',
1306
  ]
1307
  ]
1308
  );
1309
 
1310
+ $this->add_control('premium_gallery_background_hover_color',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1311
  [
1312
  'label' => __('Background Color', 'premium-addons-for-elementor'),
1313
  'type' => Controls_Manager::COLOR,
 
1314
  'selectors' => [
1315
+ '{{WRAPPER}} .premium-gallery-cats-container li a:hover' => 'background-color: {{VALUE}};',
1316
  ],
 
 
 
1317
  ]
1318
  );
1319
 
1320
+ $this->add_group_control(
1321
+ Group_Control_Border::get_type(),
1322
+ [
1323
+ 'name' => 'premium_gallery_filter_border_hover',
1324
+ 'selector' => '{{WRAPPER}} .premium-gallery-cats-container li a.category:hover',
 
 
 
 
1325
  ]
1326
+ );
1327
+
1328
+ $this->add_control('premium_gallery_filter_border_radius_hover',
1329
+ [
1330
+ 'label' => __('Border Radius', 'premium-addons-for-elementor'),
1331
+ 'type' => Controls_Manager::SLIDER,
1332
+ 'size_units' => ['px','em','%'],
1333
+ 'selectors' => [
1334
+ '{{WRAPPER}} .premium-gallery-cats-container li a.category:hover' => 'border-radius: {{SIZE}}{{UNIT}};',
1335
+ ]
1336
+ ]
1337
+ );
1338
+
1339
+ $this->end_controls_tab();
1340
+
1341
+ $this->start_controls_tab('premium_gallery_filters_active',
1342
+ [
1343
+ 'label' => __('Active', 'premium-addons-for-elementor'),
1344
+ ]
1345
+ );
1346
+
1347
+ $this->add_control('premium_gallery_filter_active_color',
1348
+ [
1349
+ 'label' => __('Text Color', 'premium-addons-for-elementor'),
1350
+ 'type' => Controls_Manager::COLOR,
1351
+ 'scheme' => [
1352
+ 'type' => Scheme_Color::get_type(),
1353
+ 'value' => Scheme_Color::COLOR_1,
1354
+ ],
1355
+ 'selectors' => [
1356
+ '{{WRAPPER}} .premium-gallery-cats-container li a.active span' => 'color: {{VALUE}};',
1357
+ ],
1358
+ ]
1359
+ );
1360
 
1361
  $this->add_control('premium_gallery_background_active_color',
1362
  [
1363
+ 'label' => __('Background Color', 'premium-addons-for-elementor'),
1364
  'type' => Controls_Manager::COLOR,
 
1365
  'selectors' => [
1366
  '{{WRAPPER}} .premium-gallery-cats-container li a.active' => 'background-color: {{VALUE}};',
1367
  ],
 
 
 
1368
  ]
1369
  );
1370
 
1371
  $this->add_group_control(
1372
  Group_Control_Border::get_type(),
1373
  [
1374
+ 'name' => 'premium_gallery_filter_border_active',
1375
+ 'selector' => '{{WRAPPER}} .premium-gallery-cats-container li a.active',
1376
  ]
1377
  );
1378
 
1379
+ $this->add_control('premium_gallery_filter_border_radius_active',
 
1380
  [
1381
  'label' => __('Border Radius', 'premium-addons-for-elementor'),
1382
  'type' => Controls_Manager::SLIDER,
1383
  'size_units' => ['px','em','%'],
1384
  'selectors' => [
1385
+ '{{WRAPPER}} .premium-gallery-cats-container li a.active' => 'border-radius: {{SIZE}}{{UNIT}};',
1386
  ]
1387
  ]
1388
  );
1389
 
1390
+ $this->end_controls_tab();
1391
+
1392
+ $this->end_controls_tabs();
1393
+
1394
  $this->add_group_control(
1395
  Group_Control_Box_Shadow::get_type(),
1396
  [
widgets/premium-image-button.php CHANGED
@@ -741,8 +741,6 @@ class Premium_Image_Button extends Widget_Base {
741
 
742
  $button_size = 'premium-image-button-' . $settings['premium_image_button_size'];
743
 
744
- $button_icon = $settings['premium_image_button_icon_selection'];
745
-
746
  $image_event = $settings['premium_image_button_event_function'];
747
 
748
  if ( ! empty ( $settings['premium_image_button_icon_selection'] ) ) {
741
 
742
  $button_size = 'premium-image-button-' . $settings['premium_image_button_size'];
743
 
 
 
744
  $image_event = $settings['premium_image_button_event_function'];
745
 
746
  if ( ! empty ( $settings['premium_image_button_icon_selection'] ) ) {
widgets/premium-modalbox.php CHANGED
@@ -1262,9 +1262,7 @@ class Premium_Modalbox extends Widget_Base {
1262
 
1263
  $this->add_inline_editing_attributes('premium_modal_box_selector_text');
1264
 
1265
- $button_icon = $settings['premium_modal_box_button_icon_selection'];
1266
-
1267
- if ( ! empty ( $button_icon ) ) {
1268
  $this->add_render_attribute( 'icon', 'class', $settings['premium_modal_box_button_icon_selection'] );
1269
  $this->add_render_attribute( 'icon', 'aria-hidden', 'true' );
1270
  }
1262
 
1263
  $this->add_inline_editing_attributes('premium_modal_box_selector_text');
1264
 
1265
+ if ( ! empty ( $settings['premium_modal_box_button_icon_selection'] ) ) {
 
 
1266
  $this->add_render_attribute( 'icon', 'class', $settings['premium_modal_box_button_icon_selection'] );
1267
  $this->add_render_attribute( 'icon', 'aria-hidden', 'true' );
1268
  }
widgets/premium-pricing-table.php CHANGED
@@ -1868,8 +1868,11 @@ class Premium_Pricing_Table extends Widget_Base {
1868
  $this->add_inline_editing_attributes('button_text');
1869
 
1870
  $title_tag = $settings['premium_pricing_table_title_size'];
 
1871
  $link_type = $settings['premium_pricing_table_button_url_type'];
 
1872
  $badge_position = 'premium-badge-' . $settings['premium_pricing_table_badge_position'];
 
1873
  if($link_type == 'link'){
1874
  $link_url = get_permalink($settings['premium_pricing_table_button_link_existing_content']);
1875
  } elseif ($link_type == 'url') {
1868
  $this->add_inline_editing_attributes('button_text');
1869
 
1870
  $title_tag = $settings['premium_pricing_table_title_size'];
1871
+
1872
  $link_type = $settings['premium_pricing_table_button_url_type'];
1873
+
1874
  $badge_position = 'premium-badge-' . $settings['premium_pricing_table_badge_position'];
1875
+
1876
  if($link_type == 'link'){
1877
  $link_url = get_permalink($settings['premium_pricing_table_button_link_existing_content']);
1878
  } elseif ($link_type == 'url') {
widgets/premium-title.php CHANGED
@@ -560,7 +560,7 @@ class Premium_Title extends Widget_Base {
560
  }
561
 
562
  protected function render() {
563
- // get our input from the widget settings.
564
  $settings = $this->get_settings_for_display();
565
 
566
  $this->add_inline_editing_attributes('premium_title_text', 'none');
560
  }
561
 
562
  protected function render() {
563
+
564
  $settings = $this->get_settings_for_display();
565
 
566
  $this->add_inline_editing_attributes('premium_title_text', 'none');
widgets/premium-vscroll.php CHANGED
@@ -45,7 +45,9 @@ class Premium_Vscroll extends Widget_Base {
45
 
46
  public function get_script_depends() {
47
  return [
48
- 'vscroll-js'
 
 
49
  ];
50
  }
51
 
45
 
46
  public function get_script_depends() {
47
  return [
48
+ 'iscroll-js',
49
+ // 'slimscroll-js',
50
+ // 'vscroll-js'
51
  ];
52
  }
53