Premium Addons for Elementor - Version 3.5.9

Version Description

  • Tweak: Added Title Border and Inner Border color option for Effect 3,4 and 6 in Banner widget.
Download this release

Release Info

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

Code changes from version 3.5.8 to 3.5.9

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.5.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>
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.5.8', '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>
includes/class-addons-integration.php CHANGED
@@ -91,13 +91,13 @@ class Addons_Integration {
91
  'all'
92
  );
93
 
94
- // wp_register_style(
95
- // 'pa-preview',
96
- // PREMIUM_ADDONS_URL . 'assets/editor/templates/css/preview.css',
97
- // array(),
98
- // PREMIUM_ADDONS_VERSION,
99
- // 'all'
100
- // );
101
 
102
  wp_register_style(
103
  'premium-addons',
@@ -120,7 +120,7 @@ class Addons_Integration {
120
 
121
  wp_enqueue_style('pa-prettyphoto');
122
 
123
- // wp_enqueue_style('pa-preview');
124
 
125
  wp_enqueue_style('premium-addons');
126
 
91
  'all'
92
  );
93
 
94
+ /*wp_register_style(
95
+ 'pa-preview',
96
+ PREMIUM_ADDONS_URL . 'assets/editor/templates/css/preview.css',
97
+ array(),
98
+ PREMIUM_ADDONS_VERSION,
99
+ 'all'
100
+ );*/
101
 
102
  wp_register_style(
103
  'premium-addons',
120
 
121
  wp_enqueue_style('pa-prettyphoto');
122
 
123
+ //wp_enqueue_style('pa-preview');
124
 
125
  wp_enqueue_style('premium-addons');
126
 
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.5.8
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.5.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.5.7');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
@@ -190,7 +190,7 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
190
 
191
  $this->init_addons();
192
 
193
- // $this->init_templates();
194
 
195
  }
196
 
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.5.9
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.5.9');
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.5.8');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
190
 
191
  $this->init_addons();
192
 
193
+ //$this->init_templates();
194
 
195
  }
196
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.2.2
7
  Requires PHP: 5.4
8
- Stable tag: 3.5.8
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -141,6 +141,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
141
 
142
  == Changelog ==
143
 
 
 
 
 
144
  = 3.5.8 =
145
 
146
  - Tweak: Updated `Related Videos` control due to YouTube API changes in Video Box widget.
5
  Requires at least: 4.5
6
  Tested up to: 5.2.2
7
  Requires PHP: 5.4
8
+ Stable tag: 3.5.9
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
141
 
142
  == Changelog ==
143
 
144
+ = 3.5.9 =
145
+
146
+ - Tweak: Added `Title Border` and `Inner Border` color option for Effect 3,4 and 6 in Banner widget.
147
+
148
  = 3.5.8 =
149
 
150
  - Tweak: Updated `Related Videos` control due to YouTube API changes in Video Box widget.
widgets/premium-banner.php CHANGED
@@ -575,6 +575,7 @@ class Premium_Banner extends Widget_Base {
575
  'label' => __( 'Title Background', 'premium-addons-for-elementor' ),
576
  'type' => Controls_Manager::COLOR,
577
  'default' => '#f2f2f2',
 
578
  'description' => __( 'Choose a background color for the title', 'premium-addons-for-elementor' ),
579
  'condition' => [
580
  'premium_banner_image_animation' => 'animation5'
@@ -585,6 +586,19 @@ class Premium_Banner extends Widget_Base {
585
  ]
586
  );
587
 
 
 
 
 
 
 
 
 
 
 
 
 
 
588
  $this->add_group_control(
589
  Group_Control_Typography::get_type(),
590
  [
@@ -626,6 +640,19 @@ class Premium_Banner extends Widget_Base {
626
  ]
627
  );
628
 
 
 
 
 
 
 
 
 
 
 
 
 
 
629
  $this->add_group_control(
630
  Group_Control_Typography::get_type(),
631
  [
575
  'label' => __( 'Title Background', 'premium-addons-for-elementor' ),
576
  'type' => Controls_Manager::COLOR,
577
  'default' => '#f2f2f2',
578
+ 'label_block' => true,
579
  'description' => __( 'Choose a background color for the title', 'premium-addons-for-elementor' ),
580
  'condition' => [
581
  'premium_banner_image_animation' => 'animation5'
586
  ]
587
  );
588
 
589
+ $this->add_control('premium_banner_style3_title_border',
590
+ [
591
+ 'label' => __( 'Title Border Color', 'premium-addons-for-elementor' ),
592
+ 'type' => Controls_Manager::COLOR,
593
+ 'condition' => [
594
+ 'premium_banner_image_animation' => 'animation13'
595
+ ],
596
+ 'selectors' => [
597
+ '{{WRAPPER}} .premium-banner-animation13 .premium-banner-ib-title::after' => 'background: {{VALUE}};',
598
+ ]
599
+ ]
600
+ );
601
+
602
  $this->add_group_control(
603
  Group_Control_Typography::get_type(),
604
  [
640
  ]
641
  );
642
 
643
+ $this->add_control('premium_banner_scaled_border_color',
644
+ [
645
+ 'label' => __( 'Inner Border Color', 'premium-addons-for-elementor' ),
646
+ 'type' => Controls_Manager::COLOR,
647
+ 'condition' => [
648
+ 'premium_banner_image_animation' => ['animation4', 'animation6']
649
+ ],
650
+ 'selectors' => [
651
+ '{{WRAPPER}} .premium-banner-animation4 .premium-banner-ib-desc::after, {{WRAPPER}} .premium-banner-animation4 .premium-banner-ib-desc::before, {{WRAPPER}} .premium-banner-animation6 .premium-banner-ib-desc::before' => 'border-color: {{VALUE}};'
652
+ ],
653
+ ]
654
+ );
655
+
656
  $this->add_group_control(
657
  Group_Control_Typography::get_type(),
658
  [