Version Description
- Tweak: Added paragraph and span for HTML Tag option in Dual Heading widget.
- Tweak: Added Wrapper Tag option for Dual Heading widget.
- Fix: Image stretch issue in Banner widget.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- admin/settings/version-control.php +1 -1
- assets/css/premium-addons.css +16 -13
- premium-addons-for-elementor.php +3 -3
- readme.txt +7 -1
- widgets/premium-banner.php +2 -2
- widgets/premium-dual-header.php +35 -3
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.
|
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.1</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>
|
assets/css/premium-addons.css
CHANGED
@@ -2074,24 +2074,27 @@ button.premium-modal-box-modal-close {
|
|
2074 |
-webkit-transform: translate(0,0);
|
2075 |
transform: translate(0,0);
|
2076 |
}
|
2077 |
-
@media (max-width: 500px) {
|
2078 |
-
.premium-dual-header-container {
|
2079 |
-
display: -ms-flexbox;
|
2080 |
-
display: -webkit-flex;
|
2081 |
-
display: -moz-flex;
|
2082 |
-
display: -ms-flex;
|
2083 |
-
display: flex;
|
2084 |
-
align-items: center;
|
2085 |
-
}
|
2086 |
-
}
|
2087 |
-
.premium-dual-header-first-container {
|
2088 |
-
margin-right: 5px;
|
2089 |
-
}
|
2090 |
.premium-dual-header-first-clip,
|
2091 |
.premium-dual-header-second-clip {
|
2092 |
-webkit-text-fill-color: transparent;
|
2093 |
-webkit-background-clip: text;
|
2094 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2095 |
/**************** Premium Fancy Text *******************/
|
2096 |
/*******************************************************/
|
2097 |
.premium-suffix-text,
|
2074 |
-webkit-transform: translate(0,0);
|
2075 |
transform: translate(0,0);
|
2076 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2077 |
.premium-dual-header-first-clip,
|
2078 |
.premium-dual-header-second-clip {
|
2079 |
-webkit-text-fill-color: transparent;
|
2080 |
-webkit-background-clip: text;
|
2081 |
}
|
2082 |
+
@media (max-width: 500px) {
|
2083 |
+
.premium-dual-header-container .premium-dual-header-first-header,
|
2084 |
+
.premium-dual-header-container .premium-dual-header-second-header {
|
2085 |
+
display: block;
|
2086 |
+
word-wrap: break-word;
|
2087 |
+
}
|
2088 |
+
.premium-dual-header-first-container,
|
2089 |
+
.premium-dual-header-second-container {
|
2090 |
+
margin: 0;
|
2091 |
+
}
|
2092 |
+
}
|
2093 |
+
@media (min-width: 501px) {
|
2094 |
+
.premium-dual-header-first-container {
|
2095 |
+
margin-right: 5px;
|
2096 |
+
}
|
2097 |
+
}
|
2098 |
/**************** Premium Fancy Text *******************/
|
2099 |
/*******************************************************/
|
2100 |
.premium-suffix-text,
|
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 |
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.
|
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.
|
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.2
|
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.2');
|
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.1');
|
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.7
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 2.5.
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
@@ -130,6 +130,12 @@ Premium Addons for Elementor is light weight and we also gave you the control to
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
= 2.5.1 =
|
134 |
|
135 |
- Tweak: Added image vertical align option in Premium Banner widget.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.7
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 2.5.2
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 2.5.2 =
|
134 |
+
|
135 |
+
- Tweak: Added paragraph and span for HTML Tag option in Dual Heading widget.
|
136 |
+
- Tweak: Added Wrapper Tag option for Dual Heading widget.
|
137 |
+
- Fix: Image stretch issue in Banner widget.
|
138 |
+
|
139 |
= 2.5.1 =
|
140 |
|
141 |
- Tweak: Added image vertical align option in Premium Banner widget.
|
widgets/premium-banner.php
CHANGED
@@ -212,13 +212,13 @@ class Premium_Banner_Widget extends Widget_Base {
|
|
212 |
'flex-end' => esc_html__('Bottom', 'premium-addons-for-elementor'),
|
213 |
'inherit' => esc_html__('Full', 'premium-addons-for-elementor'),
|
214 |
],
|
215 |
-
'default' => '
|
216 |
'selectors' => [
|
217 |
'{{WRAPPER}} .premium_addons-banner-img-wrap' => 'align-items: {{VALUE}}; -webkit-align-items: {{VALUE}};'
|
218 |
]
|
219 |
]
|
220 |
);
|
221 |
-
|
222 |
$this->add_control(
|
223 |
'premium_banner_extra_class',
|
224 |
[
|
212 |
'flex-end' => esc_html__('Bottom', 'premium-addons-for-elementor'),
|
213 |
'inherit' => esc_html__('Full', 'premium-addons-for-elementor'),
|
214 |
],
|
215 |
+
'default' => 'flex-start',
|
216 |
'selectors' => [
|
217 |
'{{WRAPPER}} .premium_addons-banner-img-wrap' => 'align-items: {{VALUE}}; -webkit-align-items: {{VALUE}};'
|
218 |
]
|
219 |
]
|
220 |
);
|
221 |
+
|
222 |
$this->add_control(
|
223 |
'premium_banner_extra_class',
|
224 |
[
|
widgets/premium-dual-header.php
CHANGED
@@ -63,6 +63,22 @@ class Premium_Dual_Header_Widget extends Widget_Base
|
|
63 |
'h4' => 'H4',
|
64 |
'h5' => 'H5',
|
65 |
'h6' => 'H6',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
],
|
67 |
'label_block' => true,
|
68 |
]
|
@@ -92,6 +108,22 @@ class Premium_Dual_Header_Widget extends Widget_Base
|
|
92 |
'h4' => 'H4',
|
93 |
'h5' => 'H5',
|
94 |
'h6' => 'H6',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
],
|
96 |
'label_block' => true,
|
97 |
]
|
@@ -499,10 +531,10 @@ class Premium_Dual_Header_Widget extends Widget_Base
|
|
499 |
|
500 |
<div class="premium-dual-header-container">
|
501 |
<?php if( $settings['premium_dual_header_link_switcher'] == 'yes' && ( !empty( $settings['premium_dual_heading_link']['url'] ) || !empty( $settings['premium_dual_heading_existing_link'] ) ) ) : ?>
|
502 |
-
<a <?php if( !empty( $link ) ) : ?> href="<?php echo esc_attr($link); ?>" <?php endif; ?> <?php if(!empty($settings['premium_dual_heading_link']['is_external'])) : ?>target="_blank"<?php endif; ?><?php if(!empty($settings['premium_dual_heading_link']['nofollow'])) : ?>rel="nofollow"<?php endif; ?>>
|
503 |
<?php endif; ?>
|
504 |
-
|
505 |
-
|
506 |
<?php if( $settings['premium_dual_header_link_switcher'] == 'yes' && ( !empty( $settings['premium_dual_heading_link']['url'] ) || !empty( $settings['premium_dual_heading_existing_link'] ) ) ) : ?>
|
507 |
</a>
|
508 |
<?php endif; ?>
|
63 |
'h4' => 'H4',
|
64 |
'h5' => 'H5',
|
65 |
'h6' => 'H6',
|
66 |
+
'p' => 'p',
|
67 |
+
'span' => 'span',
|
68 |
+
],
|
69 |
+
'label_block' => true,
|
70 |
+
]
|
71 |
+
);
|
72 |
+
|
73 |
+
/*First Wrapper*/
|
74 |
+
$this->add_control('premium_dual_header_first_wrap',
|
75 |
+
[
|
76 |
+
'label' => esc_html__('Wrapper Tag', 'premium-addons-for-elementor'),
|
77 |
+
'type' => Controls_Manager::SELECT,
|
78 |
+
'default' => 'div',
|
79 |
+
'options' => [
|
80 |
+
'div' => 'div',
|
81 |
+
'span' => 'span',
|
82 |
],
|
83 |
'label_block' => true,
|
84 |
]
|
108 |
'h4' => 'H4',
|
109 |
'h5' => 'H5',
|
110 |
'h6' => 'H6',
|
111 |
+
'p' => 'p',
|
112 |
+
'span' => 'span',
|
113 |
+
],
|
114 |
+
'label_block' => true,
|
115 |
+
]
|
116 |
+
);
|
117 |
+
|
118 |
+
/*Second Wrapper*/
|
119 |
+
$this->add_control('premium_dual_header_second_wrap',
|
120 |
+
[
|
121 |
+
'label' => esc_html__('Wrapper Tag', 'premium-addons-for-elementor'),
|
122 |
+
'type' => Controls_Manager::SELECT,
|
123 |
+
'default' => 'div',
|
124 |
+
'options' => [
|
125 |
+
'div' => 'div',
|
126 |
+
'span' => 'span',
|
127 |
],
|
128 |
'label_block' => true,
|
129 |
]
|
531 |
|
532 |
<div class="premium-dual-header-container">
|
533 |
<?php if( $settings['premium_dual_header_link_switcher'] == 'yes' && ( !empty( $settings['premium_dual_heading_link']['url'] ) || !empty( $settings['premium_dual_heading_existing_link'] ) ) ) : ?>
|
534 |
+
<a <?php if( !empty( $link ) ) : ?> href="<?php echo esc_attr($link); ?>" <?php endif; ?> <?php if(!empty($settings['premium_dual_heading_link']['is_external'])) : ?> target="_blank" <?php endif; ?><?php if(!empty($settings['premium_dual_heading_link']['nofollow'])) : ?> rel="nofollow" <?php endif; ?>>
|
535 |
<?php endif; ?>
|
536 |
+
<<?php echo $settings['premium_dual_header_first_wrap']; ?> class="premium-dual-header-first-container"><?php if ( !empty ( $settings['premium_dual_header_first_header_text'] ) ) : echo $full_first_title_tag; endif; ?></<?php echo $settings['premium_dual_header_first_wrap']; ?>>
|
537 |
+
<<?php echo $settings['premium_dual_header_second_wrap']; ?> class="premium-dual-header-second-container"><?php if ( !empty ( $settings['premium_dual_header_second_header_text'] ) ) : echo $full_second_title_tag; endif; ?></<?php echo $settings['premium_dual_header_second_wrap']; ?>>
|
538 |
<?php if( $settings['premium_dual_header_link_switcher'] == 'yes' && ( !empty( $settings['premium_dual_heading_link']['url'] ) || !empty( $settings['premium_dual_heading_existing_link'] ) ) ) : ?>
|
539 |
</a>
|
540 |
<?php endif; ?>
|