Version Description
- Tweak: Added five hover effects for Premium Banner widget.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 2.3.0 |
Comparing to | |
See all releases |
Code changes from version 2.2.9 to 2.3.0
- admin/settings-page.php +1 -1
- assets/css/premium-addons.css +108 -17
- premium-addons-for-elementor.php +3 -3
- readme.txt +5 -1
- widgets/premium-banner.php +19 -1
admin/settings-page.php
CHANGED
@@ -373,7 +373,7 @@ class PA_admin_settings {
|
|
373 |
|
374 |
<tr class="pa-roll-row">
|
375 |
<th>Rollback Version</th>
|
376 |
-
<td><div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.2.
|
377 |
</tr>
|
378 |
<tr>
|
379 |
<th><h4 class="pa-beta-test">Become a Beta Tester</h4><span class="pa-beta-test-span">Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.</span></th>
|
373 |
|
374 |
<tr class="pa-roll-row">
|
375 |
<th>Rollback Version</th>
|
376 |
+
<td><div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.2.9</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div><p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p></td>
|
377 |
</tr>
|
378 |
<tr>
|
379 |
<th><h4 class="pa-beta-test">Become a Beta Tester</h4><span class="pa-beta-test-span">Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.</span></th>
|
assets/css/premium-addons.css
CHANGED
@@ -66,10 +66,10 @@
|
|
66 |
width: calc(100% + 50px)!important;
|
67 |
max-width: -webkit-calc(100% + 50px)!important;
|
68 |
max-width: calc(100% + 50px)!important;
|
69 |
-
-webkit-transition: opacity .35s, -webkit-transform .35s;
|
70 |
-
transition: opacity .35s, -webkit-transform .35s;
|
71 |
-
transition: opacity .35s, transform .35s;
|
72 |
-
transition: opacity .35s, transform .35s, -webkit-transform .35s;
|
73 |
-webkit-transform: translate3d(-40px, 0, 0);
|
74 |
transform: translate3d(-40px, 0, 0);
|
75 |
}
|
@@ -124,6 +124,11 @@
|
|
124 |
-webkit-transition-duration: .35s;
|
125 |
transition-duration: .35s;
|
126 |
}
|
|
|
|
|
|
|
|
|
|
|
127 |
.premium_banner_animation1.premium-banner-min-height img,
|
128 |
.premium_banner_animation2.premium-banner-min-height img,
|
129 |
.premium_banner_animation4.premium-banner-min-height img,
|
@@ -132,11 +137,9 @@
|
|
132 |
.premium_banner_animation13.premium-banner-min-height img {
|
133 |
height: auto;
|
134 |
}
|
135 |
-
|
136 |
.premium_banner_animation2 img {
|
137 |
width: 100%;
|
138 |
}
|
139 |
-
|
140 |
.premium_banner_animation2 .premium_addons-banner-ib-desc::before {
|
141 |
position: absolute;
|
142 |
content: "";
|
@@ -190,7 +193,6 @@
|
|
190 |
-webkit-transform: translate3d(0, 0, 0);
|
191 |
transform: translate3d(0, 0, 0);;
|
192 |
}
|
193 |
-
|
194 |
.premium_banner_animation3 .premium_addons-banner-ib-title {
|
195 |
position: absolute;
|
196 |
bottom: 0;
|
@@ -281,6 +283,11 @@
|
|
281 |
-webkit-transform: translate3d(-30px, 0, 0);
|
282 |
transform: translate3d(-30px, 0, 0);
|
283 |
}
|
|
|
|
|
|
|
|
|
|
|
284 |
.premium_banner_animation4 .premium_addons-banner-ib-content,
|
285 |
.premium_banner_animation4 .premium_addons-banner-ib-desc::after,
|
286 |
.premium_banner_animation4 .premium_addons-banner-ib-desc::before,
|
@@ -290,7 +297,6 @@
|
|
290 |
transition: opacity .35s, transform .35s;
|
291 |
transition: opacity .35s, transform .35s, -webkit-transform .35s;
|
292 |
}
|
293 |
-
|
294 |
.premium_banner_animation4:hover img {
|
295 |
-webkit-transform: translate3d(0, 0, 0);
|
296 |
transform: translate3d(0, 0, 0);
|
@@ -369,6 +375,54 @@
|
|
369 |
-webkit-transition-delay: .05s;
|
370 |
transition-delay: .05s;
|
371 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
.premium_banner_animation6 .premium_addons-banner-ib-desc {
|
373 |
padding: 45px;
|
374 |
}
|
@@ -412,9 +466,6 @@
|
|
412 |
-ms-transform: scale(1);
|
413 |
transform: scale(1);
|
414 |
}
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
.premium_banner_animation8 img {
|
419 |
-webkit-transition: opacity .35s, -webkit-transform .35s;
|
420 |
transition: opacity .35s, -webkit-transform .35s;
|
@@ -459,7 +510,6 @@
|
|
459 |
-webkit-transform: translate3d(0, 0, 0) scale(1);
|
460 |
transform: translate3d(0, 0, 0) scale(1);
|
461 |
}
|
462 |
-
|
463 |
.premium_banner_animation12 .premium_addons-banner-ib-desc::after {
|
464 |
position: absolute;
|
465 |
content: "";
|
@@ -507,19 +557,60 @@
|
|
507 |
width: calc(100% + 20px)!important;
|
508 |
max-width: -webkit-calc(100% + 20px)!important;
|
509 |
max-width: calc(100% + 20px)!important;
|
510 |
-
-webkit-transition: opacity .35s, -webkit-transform .35s;
|
511 |
-
transition: opacity .35s,
|
512 |
-
transition: opacity .35s, transform .35s;
|
513 |
-
transition: opacity .35s, transform .35s, -webkit-transform .35s;
|
514 |
-webkit-transform: translate3d(-10px, 0, 0);
|
515 |
transform: translate3d(-10px, 0, 0);
|
516 |
-webkit-backface-visibility: hidden;
|
517 |
backface-visibility: hidden;
|
518 |
}
|
519 |
-
.premium_banner_animation13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
-webkit-transform: translate3d(0, 0, 0);
|
521 |
transform: translate3d(0, 0, 0);
|
522 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523 |
.premium_banner_animation13 .premium_addons-banner-ib-desc {
|
524 |
text-align: left;
|
525 |
}
|
66 |
width: calc(100% + 50px)!important;
|
67 |
max-width: -webkit-calc(100% + 50px)!important;
|
68 |
max-width: calc(100% + 50px)!important;
|
69 |
+
-webkit-transition: opacity .35s,filter 0.35s, -webkit-transform .35s;
|
70 |
+
transition: opacity .35s, filter 0.35s, -webkit-transform .35s;
|
71 |
+
transition: opacity .35s, filter 0.35s, transform .35s;
|
72 |
+
transition: opacity .35s, filter 0.35s, transform .35s, -webkit-transform .35s;
|
73 |
-webkit-transform: translate3d(-40px, 0, 0);
|
74 |
transform: translate3d(-40px, 0, 0);
|
75 |
}
|
124 |
-webkit-transition-duration: .35s;
|
125 |
transition-duration: .35s;
|
126 |
}
|
127 |
+
.premium_banner_animation1.zoomout img,
|
128 |
+
.premium_banner_animation1.scale img {
|
129 |
+
-webkit-transform: translate3d(-40px, 0, 0) scale(1.1);
|
130 |
+
transform: translate3d(-40px, 0, 0) scale(1.1);
|
131 |
+
}
|
132 |
.premium_banner_animation1.premium-banner-min-height img,
|
133 |
.premium_banner_animation2.premium-banner-min-height img,
|
134 |
.premium_banner_animation4.premium-banner-min-height img,
|
137 |
.premium_banner_animation13.premium-banner-min-height img {
|
138 |
height: auto;
|
139 |
}
|
|
|
140 |
.premium_banner_animation2 img {
|
141 |
width: 100%;
|
142 |
}
|
|
|
143 |
.premium_banner_animation2 .premium_addons-banner-ib-desc::before {
|
144 |
position: absolute;
|
145 |
content: "";
|
193 |
-webkit-transform: translate3d(0, 0, 0);
|
194 |
transform: translate3d(0, 0, 0);;
|
195 |
}
|
|
|
196 |
.premium_banner_animation3 .premium_addons-banner-ib-title {
|
197 |
position: absolute;
|
198 |
bottom: 0;
|
283 |
-webkit-transform: translate3d(-30px, 0, 0);
|
284 |
transform: translate3d(-30px, 0, 0);
|
285 |
}
|
286 |
+
.premium_banner_animation4.zoomout img,
|
287 |
+
.premium_banner_animation4.scale img {
|
288 |
+
-webkit-transform: translate3d(-30px, 0, 0) scale(1.1);
|
289 |
+
transform: translate3d(-30px, 0, 0) scale(1.1);
|
290 |
+
}
|
291 |
.premium_banner_animation4 .premium_addons-banner-ib-content,
|
292 |
.premium_banner_animation4 .premium_addons-banner-ib-desc::after,
|
293 |
.premium_banner_animation4 .premium_addons-banner-ib-desc::before,
|
297 |
transition: opacity .35s, transform .35s;
|
298 |
transition: opacity .35s, transform .35s, -webkit-transform .35s;
|
299 |
}
|
|
|
300 |
.premium_banner_animation4:hover img {
|
301 |
-webkit-transform: translate3d(0, 0, 0);
|
302 |
transform: translate3d(0, 0, 0);
|
375 |
-webkit-transition-delay: .05s;
|
376 |
transition-delay: .05s;
|
377 |
}
|
378 |
+
.premium_banner_animation5 img,
|
379 |
+
.premium_banner_animation2 img,
|
380 |
+
.premium_banner_animation4 img,
|
381 |
+
.premium_banner_animation6 img{
|
382 |
+
-webkit-transition: opacity .35s,filter 0.35s, -webkit-transform .35s;
|
383 |
+
transition: opacity .35s,filter 0.35s ,-webkit-transform .35s;
|
384 |
+
transition: opacity .35s,filter 0.35s, transform .35s;
|
385 |
+
transition: opacity .35s,filter 0.35s, transform .35s, -webkit-transform .35s;
|
386 |
+
}
|
387 |
+
.premium_banner_animation5.zoomout img,
|
388 |
+
.premium_banner_animation5.scale img,
|
389 |
+
.premium_banner_animation2.zoomout img,
|
390 |
+
.premium_banner_animation2.scale img,
|
391 |
+
.premium_banner_animation6.zoomout img,
|
392 |
+
.premium_banner_animation6.scale img {
|
393 |
+
-webkit-transform: scale(1.1);
|
394 |
+
transform: scale(1.1);
|
395 |
+
}
|
396 |
+
.premium_banner_animation5.zoomin:hover img,
|
397 |
+
.premium_banner_animation2.zoomin:hover img,
|
398 |
+
.premium_banner_animation6.zoomin:hover img{
|
399 |
+
-webkit-transform: scale(1.1);
|
400 |
+
transform: scale(1.1);
|
401 |
+
}
|
402 |
+
.premium_banner_animation5.zoomout:hover img,
|
403 |
+
.premium_banner_animation2.zoomout:hover img,
|
404 |
+
.premium_banner_animation6.zoomout:hover img{
|
405 |
+
-webkit-transform: scale(1.0);
|
406 |
+
transform: scale(1.0);
|
407 |
+
}
|
408 |
+
.premium_banner_animation5.scale:hover img,
|
409 |
+
.premium_banner_animation2.scale:hover img,
|
410 |
+
.premium_banner_animation6.scale:hover img {
|
411 |
+
-webkit-transform: scale(1.2) rotate(5deg);
|
412 |
+
transform: scale(1.2) rotate(5deg);
|
413 |
+
}
|
414 |
+
.premium_banner_animation5.grayscale:hover img,
|
415 |
+
.premium_banner_animation2.grayscale:hover img,
|
416 |
+
.premium_banner_animation6.grayscale:hover img{
|
417 |
+
-webkit-filter: grayscale(100%);
|
418 |
+
filter: grayscale(100%);
|
419 |
+
}
|
420 |
+
.premium_banner_animation5.blur:hover img,
|
421 |
+
.premium_banner_animation2.blur:hover img,
|
422 |
+
.premium_banner_animation6.blur:hover img {
|
423 |
+
-webkit-filter: blur(3px);
|
424 |
+
filter: blur(3px);
|
425 |
+
}
|
426 |
.premium_banner_animation6 .premium_addons-banner-ib-desc {
|
427 |
padding: 45px;
|
428 |
}
|
466 |
-ms-transform: scale(1);
|
467 |
transform: scale(1);
|
468 |
}
|
|
|
|
|
|
|
469 |
.premium_banner_animation8 img {
|
470 |
-webkit-transition: opacity .35s, -webkit-transform .35s;
|
471 |
transition: opacity .35s, -webkit-transform .35s;
|
510 |
-webkit-transform: translate3d(0, 0, 0) scale(1);
|
511 |
transform: translate3d(0, 0, 0) scale(1);
|
512 |
}
|
|
|
513 |
.premium_banner_animation12 .premium_addons-banner-ib-desc::after {
|
514 |
position: absolute;
|
515 |
content: "";
|
557 |
width: calc(100% + 20px)!important;
|
558 |
max-width: -webkit-calc(100% + 20px)!important;
|
559 |
max-width: calc(100% + 20px)!important;
|
560 |
+
-webkit-transition: opacity .35s,filter 0.35s, -webkit-transform .35s;
|
561 |
+
transition: opacity .35s,filter 0.35s ,-webkit-transform .35s;
|
562 |
+
transition: opacity .35s,filter 0.35s, transform .35s;
|
563 |
+
transition: opacity .35s,filter 0.35s, transform .35s, -webkit-transform .35s;
|
564 |
-webkit-transform: translate3d(-10px, 0, 0);
|
565 |
transform: translate3d(-10px, 0, 0);
|
566 |
-webkit-backface-visibility: hidden;
|
567 |
backface-visibility: hidden;
|
568 |
}
|
569 |
+
.premium_banner_animation13.zoomout img,
|
570 |
+
.premium_banner_animation13.scale img {
|
571 |
+
-webkit-transform: translate3d(-10px, 0, 0) scale(1.1);
|
572 |
+
transform: translate3d(-10px, 0, 0) scale(1.1);
|
573 |
+
}
|
574 |
+
.premium_banner_animation13.none:hover img,
|
575 |
+
.premium_banner_animation1.none:hover img,
|
576 |
+
.premium_banner_animation4.none:hover img {
|
577 |
-webkit-transform: translate3d(0, 0, 0);
|
578 |
transform: translate3d(0, 0, 0);
|
579 |
}
|
580 |
+
.premium_banner_animation13.zoomin:hover img,
|
581 |
+
.premium_banner_animation1.zoomin:hover img,
|
582 |
+
.premium_banner_animation4.zoomin:hover img{
|
583 |
+
-webkit-transform: translate3d(0, 0, 0) scale(1.1);
|
584 |
+
transform: translate3d(0, 0, 0) scale(1.1);
|
585 |
+
}
|
586 |
+
.premium_banner_animation13.zoomout:hover img,
|
587 |
+
.premium_banner_animation1.zoomout:hover img,
|
588 |
+
.premium_banner_animation4.zoomout:hover img {
|
589 |
+
-webkit-transform: translate3d(0, 0, 0) scale(1.0);
|
590 |
+
transform: translate3d(0, 0, 0) scale(1.0);
|
591 |
+
}
|
592 |
+
.premium_banner_animation13.scale:hover img,
|
593 |
+
.premium_banner_animation1.scale:hover img,
|
594 |
+
.premium_banner_animation4.scale:hover img {
|
595 |
+
-webkit-transform: translate3d(0, 0, 0) scale(1.2) rotate(5deg);
|
596 |
+
transform: translate3d(0, 0, 0) scale(1.2) rotate(5deg);
|
597 |
+
}
|
598 |
+
.premium_banner_animation13.grayscale:hover img,
|
599 |
+
.premium_banner_animation1.grayscale:hover img,
|
600 |
+
.premium_banner_animation4.grayscale:hover img{
|
601 |
+
-webkit-transform: translate3d(0, 0, 0);
|
602 |
+
transform: translate3d(0, 0, 0);
|
603 |
+
-webkit-filter: grayscale(100%);
|
604 |
+
filter: grayscale(100%);
|
605 |
+
}
|
606 |
+
.premium_banner_animation13.blur:hover img,
|
607 |
+
.premium_banner_animation1.blur:hover img,
|
608 |
+
.premium_banner_animation4.blur:hover img {
|
609 |
+
-webkit-transform: translate3d(0, 0, 0);
|
610 |
+
transform: translate3d(0, 0, 0);
|
611 |
+
-webkit-filter: blur(3px);
|
612 |
+
filter: blur(3px);
|
613 |
+
}
|
614 |
.premium_banner_animation13 .premium_addons-banner-ib-desc {
|
615 |
text-align: left;
|
616 |
}
|
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.
|
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 |
|
23 |
if( !defined( 'ABSPATH' ) ) exit; // No access of directly access
|
24 |
|
25 |
-
define( 'PREMIUM_ADDONS_VERSION', '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.2.
|
31 |
|
32 |
|
33 |
/**
|
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.3.0
|
7 |
Author: Leap13
|
8 |
Author URI: http://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
22 |
|
23 |
if( !defined( 'ABSPATH' ) ) exit; // No access of directly access
|
24 |
|
25 |
+
define( 'PREMIUM_ADDONS_VERSION', '2.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', '2.2.9');
|
31 |
|
32 |
|
33 |
/**
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.6
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 2.
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
@@ -99,6 +99,10 @@ Premium Addons for Elementor is light weight and we also gave you the control to
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
|
|
102 |
= 2.2.9 =
|
103 |
|
104 |
- Tweak: Keep grid aligned for posts with no featured image in Premium Blog.
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.6
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 2.3.0
|
9 |
License: GPL v3.0
|
10 |
License URI: https://opensource.org/licenses/GPL-3.0
|
11 |
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 2.3.0 =
|
103 |
+
|
104 |
+
- Tweak: Added five hover effects for Premium Banner widget.
|
105 |
+
|
106 |
= 2.2.9 =
|
107 |
|
108 |
- Tweak: Keep grid aligned for posts with no featured image in Premium Blog.
|
widgets/premium-banner.php
CHANGED
@@ -149,6 +149,23 @@ class Premium_Banner_Widget extends Widget_Base {
|
|
149 |
]
|
150 |
]
|
151 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
$this->add_control(
|
154 |
'premium_banner_height',
|
@@ -483,9 +500,10 @@ class Premium_Banner_Widget extends Widget_Base {
|
|
483 |
$nofollow_link = $settings['premium_banner_image_link_add_nofollow'] == 'yes' ? ' rel="nofollow"' : '';
|
484 |
$full_link = '<a class="premium_addons-banner-ib-link" href="'. $link .'" title="'. $link_title .'"'. $open_new_tab . $nofollow_link . '></a>';
|
485 |
$animation_class = $settings['premium_banner_image_animation'];
|
|
|
486 |
$extra_class = isset( $settings['premium_banner_extra_class'] ) && $settings['premium_banner_extra_class'] != '' ? ' '. $settings['premium_banner_extra_class'] : '';
|
487 |
$min_height_class = $settings['premium_banner_height'] == 'custom' ? '' : '';
|
488 |
-
$full_class = $animation_class.$extra_class.$min_height_class;
|
489 |
$min_size = $settings['premium_banner_min_range'].'px';
|
490 |
$max_size = $settings['premium_banner_max_range'].'px';
|
491 |
|
149 |
]
|
150 |
]
|
151 |
);
|
152 |
+
|
153 |
+
$this->add_control(
|
154 |
+
'premium_banner_hover_effect',
|
155 |
+
[
|
156 |
+
'label' => esc_html__('Hover Effect', 'premium-addons-for-elementor'),
|
157 |
+
'type' => Controls_Manager::SELECT,
|
158 |
+
'options' => [
|
159 |
+
'none' => esc_html__('None', 'premium-addons-for-elementor'),
|
160 |
+
'zoomin' => esc_html__('Zoom In', 'premium-addons-for-elementor'),
|
161 |
+
'zoomout' => esc_html__('Zoom Out', 'premium-addons-for-elementor'),
|
162 |
+
'scale' => esc_html__('Scale', 'premium-addons-for-elementor'),
|
163 |
+
'grayscale' => esc_html__('Grayscale', 'premium-addons-for-elementor'),
|
164 |
+
'blur' => esc_html__('Blur', 'premium-addons-for-elementor'),
|
165 |
+
],
|
166 |
+
'default' => 'none',
|
167 |
+
]
|
168 |
+
);
|
169 |
|
170 |
$this->add_control(
|
171 |
'premium_banner_height',
|
500 |
$nofollow_link = $settings['premium_banner_image_link_add_nofollow'] == 'yes' ? ' rel="nofollow"' : '';
|
501 |
$full_link = '<a class="premium_addons-banner-ib-link" href="'. $link .'" title="'. $link_title .'"'. $open_new_tab . $nofollow_link . '></a>';
|
502 |
$animation_class = $settings['premium_banner_image_animation'];
|
503 |
+
$hover_class = ' ' . $settings['premium_banner_hover_effect'];
|
504 |
$extra_class = isset( $settings['premium_banner_extra_class'] ) && $settings['premium_banner_extra_class'] != '' ? ' '. $settings['premium_banner_extra_class'] : '';
|
505 |
$min_height_class = $settings['premium_banner_height'] == 'custom' ? '' : '';
|
506 |
+
$full_class = $animation_class.$hover_class.$extra_class.$min_height_class;
|
507 |
$min_size = $settings['premium_banner_min_range'].'px';
|
508 |
$max_size = $settings['premium_banner_max_range'].'px';
|
509 |
|