Version Description
- Tweak: Added
2/3 Column
option forMetro Layout Image Width
in Grid widget. - Fixed: Grid widget images don't appear while editing on Google Chrome.
- Fixed: Slides dissappear when animation option is set in Carousel widget.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 3.1.5 |
Comparing to | |
See all releases |
Code changes from version 3.1.4 to 3.1.5
- admin/settings/version-control.php +1 -1
- assets/css/premium-addons.css +5 -2
- assets/js/premium-addons.js +11 -4
- includes/class-addons-integration.php +0 -16
- premium-addons-for-elementor.php +3 -3
- readme.txt +7 -1
- widgets/premium-carousel.php +1 -1
- widgets/premium-grid.php +1 -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.1.
|
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.1.4</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>
|
assets/css/premium-addons.css
CHANGED
@@ -3149,7 +3149,7 @@ button.premium-modal-box-modal-close {
|
|
3149 |
}
|
3150 |
.premium-gallery-container .premium-gallery-item {
|
3151 |
padding: 10px;
|
3152 |
-
|
3153 |
}
|
3154 |
.premium-gallery-container .grid-sizer {
|
3155 |
width: 25%;
|
@@ -3185,6 +3185,9 @@ button.premium-modal-box-modal-close {
|
|
3185 |
-ms-transition: all 0.3s ease-in-out;
|
3186 |
-o-transition: all 0.3s ease-in-out;
|
3187 |
}
|
|
|
|
|
|
|
3188 |
.pa-gallery-img-container.zoomout img,
|
3189 |
.pa-gallery-img-container.scale img{
|
3190 |
transform: scale(1.2);
|
@@ -3252,7 +3255,7 @@ button.premium-modal-box-modal-close {
|
|
3252 |
transform: scale(1.3) rotate(5deg);
|
3253 |
}
|
3254 |
.pa-gallery-img:hover .pa-gallery-img-container.gray img {
|
3255 |
-
filter: grayscale(
|
3256 |
}
|
3257 |
.pa-gallery-img:hover .pa-gallery-img-container.blur img {
|
3258 |
filter: blur(3px);
|
3149 |
}
|
3150 |
.premium-gallery-container .premium-gallery-item {
|
3151 |
padding: 10px;
|
3152 |
+
float: left; /* Google Chrome isotope issue */
|
3153 |
}
|
3154 |
.premium-gallery-container .grid-sizer {
|
3155 |
width: 25%;
|
3185 |
-ms-transition: all 0.3s ease-in-out;
|
3186 |
-o-transition: all 0.3s ease-in-out;
|
3187 |
}
|
3188 |
+
.pa-gallery-img .pa-gallery-img-container.gray img {
|
3189 |
+
filter: grayscale(100%);
|
3190 |
+
}
|
3191 |
.pa-gallery-img-container.zoomout img,
|
3192 |
.pa-gallery-img-container.scale img{
|
3193 |
transform: scale(1.2);
|
3255 |
transform: scale(1.3) rotate(5deg);
|
3256 |
}
|
3257 |
.pa-gallery-img:hover .pa-gallery-img-container.gray img {
|
3258 |
+
filter: grayscale(0%);
|
3259 |
}
|
3260 |
.pa-gallery-img:hover .pa-gallery-img-container.blur img {
|
3261 |
filter: blur(3px);
|
assets/js/premium-addons.js
CHANGED
@@ -339,21 +339,28 @@
|
|
339 |
slideToAnimate +
|
340 |
"']"
|
341 |
);
|
342 |
-
|
343 |
-
|
|
|
|
|
344 |
}
|
345 |
} else {
|
346 |
for (var i = slidesScrolled + currentSlide; i >= 0; i--) {
|
347 |
$inViewPort = $(
|
348 |
"#" + $currentParent + " [data-slick-index='" + i + "']"
|
349 |
);
|
350 |
-
|
|
|
|
|
351 |
}
|
352 |
}
|
353 |
});
|
354 |
$(this).on("beforeChange", function(event, slick, currentSlide) {
|
355 |
$inViewPort = $("[data-slick-index='" + currentSlide + "']");
|
356 |
-
|
|
|
|
|
|
|
357 |
});
|
358 |
if (carouselSettings["vertical"]) {
|
359 |
var maxHeight = -1;
|
339 |
slideToAnimate +
|
340 |
"']"
|
341 |
);
|
342 |
+
if( undefined != $inViewPort.data("animation") ) {
|
343 |
+
$inViewPort.find('p, h1, h2, h3, h4, h5, h6, span, a, img, i, button').addClass($inViewPort.data("animation")).removeClass("premium-carousel-content-hidden");
|
344 |
+
}
|
345 |
+
|
346 |
}
|
347 |
} else {
|
348 |
for (var i = slidesScrolled + currentSlide; i >= 0; i--) {
|
349 |
$inViewPort = $(
|
350 |
"#" + $currentParent + " [data-slick-index='" + i + "']"
|
351 |
);
|
352 |
+
if( undefined != $inViewPort.data("animation") ) {
|
353 |
+
$inViewPort.find('p, h1, h2,h3,h4,h5,h6,span, img, i, button').addClass($inViewPort.data("animation")).removeClass("premium-carousel-content-hidden");
|
354 |
+
}
|
355 |
}
|
356 |
}
|
357 |
});
|
358 |
$(this).on("beforeChange", function(event, slick, currentSlide) {
|
359 |
$inViewPort = $("[data-slick-index='" + currentSlide + "']");
|
360 |
+
console.log('' !== $inViewPort.data("animation"));
|
361 |
+
if( undefined != $inViewPort.data("animation") ) {
|
362 |
+
$inViewPort.siblings().find('p, h1, h2, h3, h4, h5,h6, span, a, img, i, button').removeClass($inViewPort.data("animation")).addClass("premium-carousel-content-hidden");
|
363 |
+
}
|
364 |
});
|
365 |
if (carouselSettings["vertical"]) {
|
366 |
var maxHeight = -1;
|
includes/class-addons-integration.php
CHANGED
@@ -140,22 +140,6 @@ class Premium_Addons_Integration {
|
|
140 |
true
|
141 |
);
|
142 |
|
143 |
-
// wp_register_script(
|
144 |
-
// 'counter-up-js',
|
145 |
-
// PREMIUM_ADDONS_URL . 'assets/js/lib/countUpmin.js',
|
146 |
-
// array('jquery'),
|
147 |
-
// PREMIUM_ADDONS_VERSION,
|
148 |
-
// true
|
149 |
-
// );
|
150 |
-
|
151 |
-
wp_register_script(
|
152 |
-
'isotope-js',
|
153 |
-
PREMIUM_ADDONS_URL . 'assets/js/lib/isotope.js',
|
154 |
-
array('jquery'),
|
155 |
-
PREMIUM_ADDONS_VERSION,
|
156 |
-
true
|
157 |
-
);
|
158 |
-
|
159 |
wp_register_script(
|
160 |
'prettyPhoto-js',
|
161 |
PREMIUM_ADDONS_URL . 'assets/js/lib/prettyPhoto.js',
|
140 |
true
|
141 |
);
|
142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
wp_register_script(
|
144 |
'prettyPhoto-js',
|
145 |
PREMIUM_ADDONS_URL . 'assets/js/lib/prettyPhoto.js',
|
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.1.
|
7 |
Author: Leap13
|
8 |
Author URI: http://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.1.
|
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.1.
|
23 |
|
24 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
25 |
/*
|
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.1.5
|
7 |
Author: Leap13
|
8 |
Author URI: http://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.1.5');
|
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.1.4');
|
23 |
|
24 |
if( ! class_exists('Premium_Addons_Elementor') ) {
|
25 |
/*
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 3.1.
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
@@ -139,6 +139,12 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
= 3.1.4 =
|
143 |
|
144 |
- Tweak: Added `Skype` social link for Persons widget.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.1
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 3.1.5
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
+
= 3.1.5 =
|
143 |
+
|
144 |
+
- Tweak: Added `2/3 Column` option for `Metro Layout Image Width` in Grid widget.
|
145 |
+
- Fixed: Grid widget images don't appear while editing on Google Chrome.
|
146 |
+
- Fixed: Slides dissappear when animation option is set in Carousel widget.
|
147 |
+
|
148 |
= 3.1.4 =
|
149 |
|
150 |
- Tweak: Added `Skype` social link for Persons widget.
|
widgets/premium-carousel.php
CHANGED
@@ -949,7 +949,7 @@ class Premium_Carousel extends Widget_Base {
|
|
949 |
$extra_class = $settings['premium_carousel_extra_class'] !== '' ? ' '.$settings['premium_carousel_extra_class'] : '';
|
950 |
|
951 |
$animation_class = $settings['premium_carousel_animation_list'];
|
952 |
-
$animation = 'class="item-wrapper" data-animation="animated ' . $animation_class .'"';
|
953 |
|
954 |
$dot_anim = $settings['premium_carousel_navigation_effect'] == 'yes' ? 'hvr-ripple-out' : '';
|
955 |
|
949 |
$extra_class = $settings['premium_carousel_extra_class'] !== '' ? ' '.$settings['premium_carousel_extra_class'] : '';
|
950 |
|
951 |
$animation_class = $settings['premium_carousel_animation_list'];
|
952 |
+
$animation = ! empty( $animation_class ) ? 'class="item-wrapper" data-animation="animated ' . $animation_class .'"' : '';
|
953 |
|
954 |
$dot_anim = $settings['premium_carousel_navigation_effect'] == 'yes' ? 'hvr-ripple-out' : '';
|
955 |
|
widgets/premium-grid.php
CHANGED
@@ -220,6 +220,7 @@ class Premium_Grid extends Widget_Base {
|
|
220 |
'75%' => __( '3/4 Column', 'premium-addons-for-elementor' ),
|
221 |
'50%' => __( '1/2 Column', 'premium-addons-for-elementor' ),
|
222 |
'33.330%' => __( '1/3 Column', 'premium-addons-for-elementor' ),
|
|
|
223 |
'25%' => __( '1/4 Column', 'premium-addons-for-elementor' ),
|
224 |
'20%' => __( '1/5 Column', 'premium-addons-for-elementor' ),
|
225 |
'16.66%' => __( '1/6 Column', 'premium-addons-for-elementor' ),
|
220 |
'75%' => __( '3/4 Column', 'premium-addons-for-elementor' ),
|
221 |
'50%' => __( '1/2 Column', 'premium-addons-for-elementor' ),
|
222 |
'33.330%' => __( '1/3 Column', 'premium-addons-for-elementor' ),
|
223 |
+
'66.66%' => __( '2/3 Column', 'premium-addons-for-elementor' ),
|
224 |
'25%' => __( '1/4 Column', 'premium-addons-for-elementor' ),
|
225 |
'20%' => __( '1/5 Column', 'premium-addons-for-elementor' ),
|
226 |
'16.66%' => __( '1/6 Column', 'premium-addons-for-elementor' ),
|