Version Description
- Tweak: Added
Border
option for Heading in Premium Modal Box. - Fixed: Modal Box heading
<h3>
when heading text empty.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- admin/settings/version-control.php +1 -1
- premium-addons-for-elementor.php +3 -3
- readme.txt +6 -1
- widgets/premium-modalbox.php +19 -8
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.3</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
|
@@ -22,12 +22,12 @@ if (! function_exists('add_action')) {
|
|
22 |
if ( ! defined('ABSPATH') ) exit; // No access of directly access
|
23 |
|
24 |
// Define Constants
|
25 |
-
define('PREMIUM_ADDONS_VERSION', '3.0.
|
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', '3.0.
|
31 |
|
32 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
33 |
/*
|
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.4
|
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 |
// Define Constants
|
25 |
+
define('PREMIUM_ADDONS_VERSION', '3.0.4');
|
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', '3.0.3');
|
31 |
|
32 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
33 |
/*
|
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 |
|
@@ -137,6 +137,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
|
|
|
|
140 |
= 3.0.3 =
|
141 |
|
142 |
- Tweak: Added `CSS Filters` option for image in Banner and Image Separator widgets.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.0.3
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 3.0.4
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 3.0.4 =
|
141 |
+
|
142 |
+
- Tweak: Added `Border` option for Heading in Premium Modal Box.
|
143 |
+
- Fixed: Modal Box heading `<h3>` when heading text empty.
|
144 |
+
|
145 |
= 3.0.3 =
|
146 |
|
147 |
- Tweak: Added `CSS Filters` option for image in Banner and Image Separator widgets.
|
widgets/premium-modalbox.php
CHANGED
@@ -810,6 +810,15 @@ class Premium_Modalbox extends Widget_Base {
|
|
810 |
]
|
811 |
);
|
812 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
813 |
/*End Header Settings Section*/
|
814 |
$this->end_controls_section();
|
815 |
|
@@ -1342,14 +1351,16 @@ class Premium_Modalbox extends Widget_Base {
|
|
1342 |
<button type="button" class="premium-modal-box-modal-close" data-dismiss="premium-modal">×</button>
|
1343 |
</div>
|
1344 |
<?php endif; ?>
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
|
|
|
|
1353 |
</div>
|
1354 |
<?php endif; ?>
|
1355 |
<div class="premium-modal-box-modal-body">
|
810 |
]
|
811 |
);
|
812 |
|
813 |
+
/*Heading Border*/
|
814 |
+
$this->add_group_control(
|
815 |
+
Group_Control_Border::get_type(),
|
816 |
+
[
|
817 |
+
'name' => 'premium_modal_header_border',
|
818 |
+
'selector' => '{{WRAPPER}} .premium-modal-box-modal-header',
|
819 |
+
]
|
820 |
+
);
|
821 |
+
|
822 |
/*End Header Settings Section*/
|
823 |
$this->end_controls_section();
|
824 |
|
1351 |
<button type="button" class="premium-modal-box-modal-close" data-dismiss="premium-modal">×</button>
|
1352 |
</div>
|
1353 |
<?php endif; ?>
|
1354 |
+
<?php if ( !empty( $settings['premium_modal_box_title'] ) ) : ?>
|
1355 |
+
<h3 class="premium-modal-box-modal-title">
|
1356 |
+
<?php if( $settings['premium_modal_box_icon_selection'] === 'fonticon' ) : ?>
|
1357 |
+
<i class="fa <?php echo $settings['premium_modal_box_font_icon'];?>"></i>
|
1358 |
+
<?php elseif( $settings['premium_modal_box_icon_selection'] === 'image' ) : ?>
|
1359 |
+
<img src="<?php echo $settings['premium_modal_box_image_icon']['url'];?>">
|
1360 |
+
<?php endif;
|
1361 |
+
echo $settings['premium_modal_box_title']; ?>
|
1362 |
+
</h3>
|
1363 |
+
<?php endif; ?>
|
1364 |
</div>
|
1365 |
<?php endif; ?>
|
1366 |
<div class="premium-modal-box-modal-body">
|