Version Description
- Tweak: Added
CSS Filters
option for image in Grid and Person widgets. - Fixed: Fancy Text stops working with strings contain comma.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 3.0.8 |
Comparing to | |
See all releases |
Code changes from version 3.0.7 to 3.0.8
- admin/settings/version-control.php +1 -1
- premium-addons-for-elementor.php +3 -3
- readme.txt +6 -1
- widgets/premium-fancytext.php +1 -1
- widgets/premium-grid.php +8 -0
- widgets/premium-person.php +20 -0
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 3.0.
|
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 3.0.7</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>
|
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: 3.0.
|
7 |
Author: Leap13
|
8 |
Author URI: http://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
@@ -23,12 +23,12 @@ if ( ! defined('ABSPATH') ) exit; // No access of directly access
|
|
23 |
|
24 |
|
25 |
// Define Constants
|
26 |
-
define('PREMIUM_ADDONS_VERSION', '3.0.
|
27 |
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
|
28 |
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
|
29 |
define('PREMIUM_ADDONS_FILE', __FILE__);
|
30 |
define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
|
31 |
-
define('PREMIUM_ADDONS_STABLE_VERSION', '3.0.
|
32 |
|
33 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
34 |
/*
|
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: 3.0.8
|
7 |
Author: Leap13
|
8 |
Author URI: http://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
23 |
|
24 |
|
25 |
// Define Constants
|
26 |
+
define('PREMIUM_ADDONS_VERSION', '3.0.8');
|
27 |
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
|
28 |
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
|
29 |
define('PREMIUM_ADDONS_FILE', __FILE__);
|
30 |
define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
|
31 |
+
define('PREMIUM_ADDONS_STABLE_VERSION', '3.0.7');
|
32 |
|
33 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
34 |
/*
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.0.3
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 3.0.
|
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 |
= 3.0.7 =
|
142 |
|
143 |
- Tweak: Added responsive controls for arrows size/position in Premium Carousel widget.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.0.3
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 3.0.8
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
138 |
|
139 |
== Changelog ==
|
140 |
|
141 |
+
= 3.0.8 =
|
142 |
+
|
143 |
+
- Tweak: Added `CSS Filters` option for image in Grid and Person widgets.
|
144 |
+
- Fixed: Fancy Text stops working with strings contain comma.
|
145 |
+
|
146 |
= 3.0.7 =
|
147 |
|
148 |
- Tweak: Added responsive controls for arrows size/position in Premium Carousel widget.
|
widgets/premium-fancytext.php
CHANGED
@@ -447,7 +447,7 @@ class Premium_Fancytext extends Widget_Base {
|
|
447 |
$strings = array();
|
448 |
foreach ( $settings['premium_fancy_text_strings'] as $item ) :
|
449 |
if ( ! empty( $item['premium_text_strings_text_field'] ) ) :
|
450 |
-
array_push($strings, $item['premium_text_strings_text_field']);
|
451 |
endif;
|
452 |
endforeach;
|
453 |
$fancytext_settings = [
|
447 |
$strings = array();
|
448 |
foreach ( $settings['premium_fancy_text_strings'] as $item ) :
|
449 |
if ( ! empty( $item['premium_text_strings_text_field'] ) ) :
|
450 |
+
array_push( $strings, str_replace('\'','`', $item['premium_text_strings_text_field'] ) );
|
451 |
endif;
|
452 |
endforeach;
|
453 |
$fancytext_settings = [
|
widgets/premium-grid.php
CHANGED
@@ -543,6 +543,14 @@ class Premium_Grid extends Widget_Base {
|
|
543 |
]
|
544 |
);
|
545 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
/*First Margin*/
|
547 |
$this->add_responsive_control('premium_gallery_img_margin',
|
548 |
[
|
543 |
]
|
544 |
);
|
545 |
|
546 |
+
$this->add_group_control(
|
547 |
+
Group_Control_Css_Filter::get_type(),
|
548 |
+
[
|
549 |
+
'name' => 'css_filters',
|
550 |
+
'selector' => '{{WRAPPER}} .pa-gallery-img-container img',
|
551 |
+
]
|
552 |
+
);
|
553 |
+
|
554 |
/*First Margin*/
|
555 |
$this->add_responsive_control('premium_gallery_img_margin',
|
556 |
[
|
widgets/premium-person.php
CHANGED
@@ -339,6 +339,26 @@ class Premium_Person extends Widget_Base {
|
|
339 |
/*End Social Links Section*/
|
340 |
$this->end_controls_section();
|
341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
342 |
/*Start Name Style Section*/
|
343 |
$this->start_controls_section('premium_person_name_style',
|
344 |
[
|
339 |
/*End Social Links Section*/
|
340 |
$this->end_controls_section();
|
341 |
|
342 |
+
/*Start Image Style Section*/
|
343 |
+
$this->start_controls_section('premium_person_image_style',
|
344 |
+
[
|
345 |
+
'label' => __('Image', 'premium-addons-for-elementor'),
|
346 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
347 |
+
]
|
348 |
+
);
|
349 |
+
|
350 |
+
/*Image CSS Filter */
|
351 |
+
$this->add_group_control(
|
352 |
+
Group_Control_Css_Filter::get_type(),
|
353 |
+
[
|
354 |
+
'name' => 'css_filters',
|
355 |
+
'selector' => '{{WRAPPER}} .premium-person-image-container img',
|
356 |
+
]
|
357 |
+
);
|
358 |
+
|
359 |
+
/*End Image Style Section*/
|
360 |
+
$this->end_controls_section();
|
361 |
+
|
362 |
/*Start Name Style Section*/
|
363 |
$this->start_controls_section('premium_person_name_style',
|
364 |
[
|