Premium Addons for Elementor - Version 2.5.8

Version Description

  • Tweak: Added border and border radius options to Premium Banner widget.
  • Fixed: Existing Page Link issue.
Download this release

Release Info

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

Code changes from version 2.5.7 to 2.5.8

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.5.6</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.5.7</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>
elementor-helper.php CHANGED
@@ -47,7 +47,7 @@ class premium_Template_Tags {
47
  public function get_all_post() {
48
 
49
  $post_types = get_post_types();
50
- $post_type_not__in = array('attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'elementor_library');
51
 
52
  foreach ( $post_type_not__in as $post_type_not ) {
53
  unset( $post_types[$post_type_not] );
47
  public function get_all_post() {
48
 
49
  $post_types = get_post_types();
50
+ $post_type_not__in = array('attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'elementor_library', 'post');
51
 
52
  foreach ( $post_type_not__in as $post_type_not ) {
53
  unset( $post_types[$post_type_not] );
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.5.7
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.5.7');
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.5.6');
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.5.8
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.5.8');
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.5.7');
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.5.7
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -138,6 +138,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
138
 
139
  == Changelog ==
140
 
 
 
 
 
 
141
  = 2.5.7 =
142
 
143
  - Tweak: Added max width option for markers description box in Premium Maps widget.
5
  Requires at least: 4.5
6
  Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
+ Stable tag: 2.5.8
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
138
 
139
  == Changelog ==
140
 
141
+ = 2.5.8 =
142
+
143
+ - Tweak: Added border and border radius options to Premium Banner widget.
144
+ - Fixed: Existing Page Link issue.
145
+
146
  = 2.5.7 =
147
 
148
  - Tweak: Added max width option for markers description box in Premium Maps widget.
widgets/premium-banner.php CHANGED
@@ -506,6 +506,26 @@ class Premium_Banner_Widget extends Widget_Base {
506
  ]
507
  );
508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  $this->end_controls_section();
510
 
511
  $this->start_controls_section(
@@ -673,7 +693,7 @@ class Premium_Banner_Widget extends Widget_Base {
673
  );
674
 
675
  $this->add_control(
676
- 'premium_banner_hover_backcolor_of_buttin',
677
  [
678
  'label' => esc_html__( 'Hover Background Color', 'premium-addons-for-elementor' ),
679
  'type' => Controls_Manager::COLOR,
506
  ]
507
  );
508
 
509
+ $this->add_group_control(
510
+ Group_Control_Border::get_type(),
511
+ [
512
+ 'name' => 'premium_banner_image_border',
513
+ 'selector' => '{{WRAPPER}} .premium_addons-banner-ib',
514
+ ]
515
+ );
516
+
517
+ $this->add_responsive_control(
518
+ 'premium_banner_image_border_radius',
519
+ [
520
+ 'label' => esc_html__( 'Border Radius', 'premium-addons-for-elementor' ),
521
+ 'type' => Controls_Manager::SLIDER,
522
+ 'size_units' => ['px', '%' ,'em'],
523
+ 'selectors' => [
524
+ '{{WRAPPER}} .premium_addons-banner-ib' => 'border-radius: {{SIZE}}{{UNIT}};',
525
+ ],
526
+ ]
527
+ );
528
+
529
  $this->end_controls_section();
530
 
531
  $this->start_controls_section(
693
  );
694
 
695
  $this->add_control(
696
+ 'premium_banner_hover_backcolor_of_button',
697
  [
698
  'label' => esc_html__( 'Hover Background Color', 'premium-addons-for-elementor' ),
699
  'type' => Controls_Manager::COLOR,