Version Description
- Tweak: Amended inline documentation.
- Tweak: Changed admin icon.
- Fixed: Premium Banner Custom URL/existing Page bug.
- Fixed: Premium Button hover background color issue.
Download this release
Release Info
Developer | leap13 |
Plugin | Premium Addons for Elementor |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
- admin/assets/pa-elements-font/css/pa-elements.css +5 -12
- admin/assets/pa-elements-font/css/pafont.css +7 -7
- admin/assets/pa-elements-font/fonts/pa-elements.eot +0 -0
- admin/assets/pa-elements-font/fonts/pa-elements.svg +1 -1
- admin/assets/pa-elements-font/fonts/pa-elements.ttf +0 -0
- admin/assets/pa-elements-font/fonts/pa-elements.woff +0 -0
- admin/settings-page.php +3 -2
- assets/css/premium-addons.css +1 -7
- premium-addons-for-elementor.php +1 -1
- readme.txt +7 -0
- widgets/premium-banner.php +17 -16
- widgets/premium-button.php +3 -23
- widgets/premium-maps.php +2 -2
admin/assets/pa-elements-font/css/pa-elements.css
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
@font-face {
|
2 |
font-family: 'pa-elements';
|
3 |
-
src: url('../fonts/pa-elements.eot?
|
4 |
-
src: url('f../onts/pa-elements.eot?
|
5 |
-
url('../fonts/pa-elements.ttf?
|
6 |
-
url('../fonts/pa-elements.woff?
|
7 |
-
url('../fonts/pa-elements.svg?
|
8 |
font-weight: normal;
|
9 |
font-style: normal;
|
10 |
}
|
@@ -22,10 +22,6 @@
|
|
22 |
-webkit-font-smoothing: antialiased;
|
23 |
-moz-osx-font-smoothing: grayscale;
|
24 |
}
|
25 |
-
.pa-pa-star:before {
|
26 |
-
content: "\e900";
|
27 |
-
color: #9ea3a8;
|
28 |
-
}
|
29 |
.pa-pricing-table:before {
|
30 |
content: "\e901";
|
31 |
}
|
@@ -53,9 +49,6 @@
|
|
53 |
.pa-image-separator:before {
|
54 |
content: "\e90a";
|
55 |
}
|
56 |
-
.pa-flip-box:before {
|
57 |
-
content: "\e90b";
|
58 |
-
}
|
59 |
.pa-fancy-text:before {
|
60 |
content: "\e90c";
|
61 |
}
|
1 |
@font-face {
|
2 |
font-family: 'pa-elements';
|
3 |
+
src: url('../fonts/pa-elements.eot?1dbt8b');
|
4 |
+
src: url('f../onts/pa-elements.eot?1dbt8b#iefix') format('embedded-opentype'),
|
5 |
+
url('../fonts/pa-elements.ttf?1dbt8b') format('truetype'),
|
6 |
+
url('../fonts/pa-elements.woff?1dbt8b') format('woff'),
|
7 |
+
url('../fonts/pa-elements.svg?1dbt8b#pa-elements') format('svg');
|
8 |
font-weight: normal;
|
9 |
font-style: normal;
|
10 |
}
|
22 |
-webkit-font-smoothing: antialiased;
|
23 |
-moz-osx-font-smoothing: grayscale;
|
24 |
}
|
|
|
|
|
|
|
|
|
25 |
.pa-pricing-table:before {
|
26 |
content: "\e901";
|
27 |
}
|
49 |
.pa-image-separator:before {
|
50 |
content: "\e90a";
|
51 |
}
|
|
|
|
|
|
|
52 |
.pa-fancy-text:before {
|
53 |
content: "\e90c";
|
54 |
}
|
admin/assets/pa-elements-font/css/pafont.css
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
@font-face {
|
2 |
font-family: 'pa-elements';
|
3 |
-
src: url('../fonts/pa-elements.eot?
|
4 |
-
src: url('f../onts/pa-elements.eot?
|
5 |
-
url('../fonts/pa-elements.ttf?
|
6 |
-
url('../fonts/pa-elements.woff?
|
7 |
-
url('../fonts/pa-elements.svg?
|
8 |
font-weight: normal;
|
9 |
font-style: normal;
|
10 |
}
|
11 |
.toplevel_page_pa-settings-page > div.wp-menu-image::before {
|
12 |
position: relative;
|
13 |
top: 5px;
|
14 |
-
content: "\
|
15 |
/* use !important to prevent issues with browser extensions that change fonts */
|
16 |
font-family: 'pa-elements' !important;
|
17 |
speak: none;
|
18 |
font-style: normal;
|
19 |
-
font-weight: bold;
|
20 |
font-variant: normal;
|
21 |
text-transform: none;
|
22 |
line-height: 1;
|
23 |
/* Better Font Rendering =========== */
|
24 |
-webkit-font-smoothing: antialiased;
|
25 |
-moz-osx-font-smoothing: grayscale;
|
|
|
26 |
}
|
1 |
@font-face {
|
2 |
font-family: 'pa-elements';
|
3 |
+
src: url('../fonts/pa-elements.eot?1dbt8b');
|
4 |
+
src: url('f../onts/pa-elements.eot?1dbt8b#iefix') format('embedded-opentype'),
|
5 |
+
url('../fonts/pa-elements.ttf?1dbt8b') format('truetype'),
|
6 |
+
url('../fonts/pa-elements.woff?1dbt8b') format('woff'),
|
7 |
+
url('../fonts/pa-elements.svg?1dbt8b#pa-elements') format('svg');
|
8 |
font-weight: normal;
|
9 |
font-style: normal;
|
10 |
}
|
11 |
.toplevel_page_pa-settings-page > div.wp-menu-image::before {
|
12 |
position: relative;
|
13 |
top: 5px;
|
14 |
+
content: "\e900";
|
15 |
/* use !important to prevent issues with browser extensions that change fonts */
|
16 |
font-family: 'pa-elements' !important;
|
17 |
speak: none;
|
18 |
font-style: normal;
|
|
|
19 |
font-variant: normal;
|
20 |
text-transform: none;
|
21 |
line-height: 1;
|
22 |
/* Better Font Rendering =========== */
|
23 |
-webkit-font-smoothing: antialiased;
|
24 |
-moz-osx-font-smoothing: grayscale;
|
25 |
+
font-size: 21px;
|
26 |
}
|
admin/assets/pa-elements-font/fonts/pa-elements.eot
CHANGED
Binary file
|
admin/assets/pa-elements-font/fonts/pa-elements.svg
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8 |
<missing-glyph horiz-adv-x="1024" />
|
9 |
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10 |
-
<glyph unicode="" glyph-name="pa-
|
11 |
<glyph unicode="" glyph-name="pricing-table" d="M791.893 925.867h-559.787c-23.893 0-44.373-20.48-44.373-44.373v-868.693c0-23.893 20.48-44.373 44.373-44.373h561.493c23.893 0 44.373 20.48 44.373 44.373v868.693c-1.707 23.893-22.187 44.373-46.080 44.373zM802.133 14.507c0-5.12-3.413-10.24-10.24-10.24h-559.787c-5.12 0-10.24 3.413-10.24 10.24v92.16h580.267v-92.16zM802.133 140.8h-580.267v740.693c0 6.827 3.413 10.24 10.24 10.24h561.493c5.12 0 8.533-3.413 8.533-10.24v-740.693zM563.2 669.867c0-8.533 8.533-17.067 17.067-17.067s17.067 8.533 17.067 17.067c0 40.96-29.013 75.093-68.267 83.627v18.773c0 8.533-8.533 17.067-17.067 17.067s-17.067-8.533-17.067-17.067v-18.773c-18.773-3.413-35.84-13.653-47.787-29.013-10.24-11.947-15.36-27.307-13.653-44.373s10.24-32.427 23.893-42.667l37.547-29.013v-92.16c-20.48 6.827-34.133 25.6-34.133 47.787 0 8.533-8.533 17.067-17.067 17.067s-17.067-8.533-17.067-17.067c0-40.96 29.013-75.093 68.267-83.627v-15.36c0-8.533 8.533-17.067 17.067-17.067s17.067 8.533 17.067 17.067v15.36c18.773 3.413 35.84 13.653 47.787 29.013 10.24 11.947 15.36 29.013 13.653 44.373-1.707 17.067-10.24 32.427-23.893 42.667l-37.547 29.013v92.16c20.48-6.827 34.133-25.6 34.133-47.787zM494.933 651.093l-17.067 13.653c-5.12 5.12-10.24 11.947-10.24 18.773s1.707 13.653 5.12 18.773c5.12 6.827 13.653 11.947 22.187 15.36v-66.56zM546.133 569.173c5.12-5.12 10.24-11.947 10.24-18.773s-1.707-13.653-5.12-18.773c-5.12-6.827-13.653-11.947-22.187-15.36v66.56l17.067-13.653zM375.467 328.533h273.067c10.24 0 17.067 6.827 17.067 17.067s-6.827 17.067-17.067 17.067h-273.067c-10.24 0-17.067-6.827-17.067-17.067s6.827-17.067 17.067-17.067zM375.467 243.2h273.067c10.24 0 17.067 6.827 17.067 17.067s-6.827 17.067-17.067 17.067h-273.067c-10.24 0-17.067-6.827-17.067-17.067s6.827-17.067 17.067-17.067z" />
|
12 |
<glyph unicode="" glyph-name="video-box" d="M409.954 478.217c2.793-1.527 5.883-2.29 8.955-2.29 3.482 0 6.945 0.987 9.998 2.904l204.8 130.327c5.362 3.426 8.62 9.346 8.62 15.714s-3.258 12.288-8.62 15.714l-204.8 130.327c-5.772 3.631-12.977 3.873-18.972 0.614-5.939-3.277-9.644-9.533-9.644-16.328v-260.655c0-6.796 3.705-13.051 9.663-16.328zM437.527 721.296l151.515-96.424-151.515-96.424v192.847zM9.309 960v-1024h1005.382v1024h-1005.382zM977.455 922.764v-614.4h-930.909v614.4h930.909zM46.545-26.764v297.891h930.909v-297.891h-930.909zM884.364 140.8h-446.836v37.236c0 10.296-8.322 18.618-18.618 18.618s-18.618-8.322-18.618-18.618v-37.236h-74.473c-10.296 0-18.618-8.322-18.618-18.618s8.322-18.618 18.618-18.618h74.473v-37.236c0-10.296 8.322-18.618 18.618-18.618s18.618 8.322 18.618 18.618v37.236h446.836c10.296 0 18.618 8.322 18.618 18.618s-8.322 18.618-18.618 18.618zM139.636 196.655c-10.296 0-18.618-8.322-18.618-18.618v-111.709c0-10.296 8.322-18.618 18.618-18.618s18.618 8.322 18.618 18.618v111.709c0 10.296-8.322 18.618-18.618 18.618zM214.109 196.655c-10.296 0-18.618-8.322-18.618-18.618v-111.709c0-10.296 8.322-18.618 18.618-18.618s18.618 8.322 18.618 18.618v111.709c0 10.296-8.322 18.618-18.618 18.618z" />
|
13 |
<glyph unicode="" glyph-name="title" d="M864.893 960h-705.786c-14.195 0-25.696-11.505-25.696-25.696v-117.63c0-14.191 11.502-25.696 25.696-25.696s25.696 11.505 25.696 25.696v91.934h301.501v-921.216h-63.243c-14.195 0-25.696-11.505-25.696-25.696s11.502-25.696 25.696-25.696h177.879c14.195 0 25.696 11.505 25.696 25.696s-11.502 25.696-25.696 25.696h-63.243v921.216h301.501v-91.934c0-14.191 11.502-25.696 25.696-25.696s25.696 11.505 25.696 25.696v117.63c0 14.191-11.502 25.696-25.696 25.696z" />
|
7 |
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8 |
<missing-glyph horiz-adv-x="1024" />
|
9 |
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10 |
+
<glyph unicode="" glyph-name="pa-admin-icon" d="M918.187 628.907c0-13.653-13.653-27.307-27.307-27.307h-249.173c-13.653 0-30.72 10.24-34.133 23.893l-81.92 256c-3.413 13.653 3.413 23.893 6.827 23.893s17.067-6.827 30.72-17.067l314.027-180.907c13.653-6.827 37.547-27.307 40.96-37.547-3.413-6.827 0-27.307 0-40.96zM501.76 881.493l-81.92-256c-3.413-13.653-20.48-23.893-34.133-23.893h-252.587c-13.653 0-27.307 13.653-27.307 27.307s6.827 47.787 10.24 54.613c6.827 6.827 20.48 20.48 34.133 27.307l314.027 180.907c13.653 6.827 30.72 17.067 37.547 17.067 3.413 0 3.413-13.653 0-27.307zM723.627 103.253l-163.84-98.987c-13.653-6.827-44.373-20.48-51.2-17.067-10.24 3.413-27.307 10.24-40.96 17.067l-167.253 95.573c-13.653 6.827-13.653 20.48 0 30.72l191.147 139.947c13.653 6.827 30.72 6.827 44.373 0l191.147-139.947c10.24-6.827 10.24-20.48-3.413-27.307zM918.187 553.813v-286.72c0-13.653-6.827-47.787-10.24-54.613-6.827-6.827-20.48-17.067-34.133-27.307l-81.92-44.373c-13.653-6.827-27.307-3.413-30.72 10.24l-75.093 228.693c-3.413 13.653 0 34.133 13.653 40.96l197.973 143.36c10.24 10.24 20.48 6.827 20.48-10.24zM337.92 383.147l-75.093-228.693c-3.413-13.653-20.48-20.48-30.72-10.24l-78.507 47.787c-13.653 6.827-37.547 27.307-40.96 37.547s-6.827 27.307-6.827 44.373v286.72c0 13.653 10.24 20.48 20.48 10.24l197.973-143.36c13.653-13.653 17.067-30.72 13.653-44.373z" />
|
11 |
<glyph unicode="" glyph-name="pricing-table" d="M791.893 925.867h-559.787c-23.893 0-44.373-20.48-44.373-44.373v-868.693c0-23.893 20.48-44.373 44.373-44.373h561.493c23.893 0 44.373 20.48 44.373 44.373v868.693c-1.707 23.893-22.187 44.373-46.080 44.373zM802.133 14.507c0-5.12-3.413-10.24-10.24-10.24h-559.787c-5.12 0-10.24 3.413-10.24 10.24v92.16h580.267v-92.16zM802.133 140.8h-580.267v740.693c0 6.827 3.413 10.24 10.24 10.24h561.493c5.12 0 8.533-3.413 8.533-10.24v-740.693zM563.2 669.867c0-8.533 8.533-17.067 17.067-17.067s17.067 8.533 17.067 17.067c0 40.96-29.013 75.093-68.267 83.627v18.773c0 8.533-8.533 17.067-17.067 17.067s-17.067-8.533-17.067-17.067v-18.773c-18.773-3.413-35.84-13.653-47.787-29.013-10.24-11.947-15.36-27.307-13.653-44.373s10.24-32.427 23.893-42.667l37.547-29.013v-92.16c-20.48 6.827-34.133 25.6-34.133 47.787 0 8.533-8.533 17.067-17.067 17.067s-17.067-8.533-17.067-17.067c0-40.96 29.013-75.093 68.267-83.627v-15.36c0-8.533 8.533-17.067 17.067-17.067s17.067 8.533 17.067 17.067v15.36c18.773 3.413 35.84 13.653 47.787 29.013 10.24 11.947 15.36 29.013 13.653 44.373-1.707 17.067-10.24 32.427-23.893 42.667l-37.547 29.013v92.16c20.48-6.827 34.133-25.6 34.133-47.787zM494.933 651.093l-17.067 13.653c-5.12 5.12-10.24 11.947-10.24 18.773s1.707 13.653 5.12 18.773c5.12 6.827 13.653 11.947 22.187 15.36v-66.56zM546.133 569.173c5.12-5.12 10.24-11.947 10.24-18.773s-1.707-13.653-5.12-18.773c-5.12-6.827-13.653-11.947-22.187-15.36v66.56l17.067-13.653zM375.467 328.533h273.067c10.24 0 17.067 6.827 17.067 17.067s-6.827 17.067-17.067 17.067h-273.067c-10.24 0-17.067-6.827-17.067-17.067s6.827-17.067 17.067-17.067zM375.467 243.2h273.067c10.24 0 17.067 6.827 17.067 17.067s-6.827 17.067-17.067 17.067h-273.067c-10.24 0-17.067-6.827-17.067-17.067s6.827-17.067 17.067-17.067z" />
|
12 |
<glyph unicode="" glyph-name="video-box" d="M409.954 478.217c2.793-1.527 5.883-2.29 8.955-2.29 3.482 0 6.945 0.987 9.998 2.904l204.8 130.327c5.362 3.426 8.62 9.346 8.62 15.714s-3.258 12.288-8.62 15.714l-204.8 130.327c-5.772 3.631-12.977 3.873-18.972 0.614-5.939-3.277-9.644-9.533-9.644-16.328v-260.655c0-6.796 3.705-13.051 9.663-16.328zM437.527 721.296l151.515-96.424-151.515-96.424v192.847zM9.309 960v-1024h1005.382v1024h-1005.382zM977.455 922.764v-614.4h-930.909v614.4h930.909zM46.545-26.764v297.891h930.909v-297.891h-930.909zM884.364 140.8h-446.836v37.236c0 10.296-8.322 18.618-18.618 18.618s-18.618-8.322-18.618-18.618v-37.236h-74.473c-10.296 0-18.618-8.322-18.618-18.618s8.322-18.618 18.618-18.618h74.473v-37.236c0-10.296 8.322-18.618 18.618-18.618s18.618 8.322 18.618 18.618v37.236h446.836c10.296 0 18.618 8.322 18.618 18.618s-8.322 18.618-18.618 18.618zM139.636 196.655c-10.296 0-18.618-8.322-18.618-18.618v-111.709c0-10.296 8.322-18.618 18.618-18.618s18.618 8.322 18.618 18.618v111.709c0 10.296-8.322 18.618-18.618 18.618zM214.109 196.655c-10.296 0-18.618-8.322-18.618-18.618v-111.709c0-10.296 8.322-18.618 18.618-18.618s18.618 8.322 18.618 18.618v111.709c0 10.296-8.322 18.618-18.618 18.618z" />
|
13 |
<glyph unicode="" glyph-name="title" d="M864.893 960h-705.786c-14.195 0-25.696-11.505-25.696-25.696v-117.63c0-14.191 11.502-25.696 25.696-25.696s25.696 11.505 25.696 25.696v91.934h301.501v-921.216h-63.243c-14.195 0-25.696-11.505-25.696-25.696s11.502-25.696 25.696-25.696h177.879c14.195 0 25.696 11.505 25.696 25.696s-11.502 25.696-25.696 25.696h-63.243v921.216h301.501v-91.934c0-14.191 11.502-25.696 25.696-25.696s25.696 11.505 25.696 25.696v117.63c0 14.191-11.502 25.696-25.696 25.696z" />
|
admin/assets/pa-elements-font/fonts/pa-elements.ttf
CHANGED
Binary file
|
admin/assets/pa-elements-font/fonts/pa-elements.woff
CHANGED
Binary file
|
admin/settings-page.php
CHANGED
@@ -19,6 +19,7 @@ class PA_admin_settings {
|
|
19 |
}
|
20 |
|
21 |
public function pa_admin_page_scripts () {
|
|
|
22 |
if( isset( $_GET['page'] ) && $_GET['page'] == 'pa-settings-page' ) {
|
23 |
wp_enqueue_style( 'premium_addons_elementor-css', plugins_url( '/', __FILE__ ).'assets/admin.css' );
|
24 |
wp_enqueue_style( 'premium_addons-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/js/sweetalert2/css/sweetalert2.min.css' );
|
@@ -29,7 +30,7 @@ class PA_admin_settings {
|
|
29 |
}
|
30 |
|
31 |
public function pa_admin_menu() {
|
32 |
-
add_menu_page( 'Premium Addons for Elementor', 'Premium Addons for Elementor', 'manage_options', 'pa-settings-page', array( $this , 'pa_admin_page' ),
|
33 |
}
|
34 |
|
35 |
public function pa_admin_page(){
|
@@ -307,7 +308,7 @@ class PA_admin_settings {
|
|
307 |
<table class="pa-maps-table">
|
308 |
<tr>
|
309 |
<p class="pa-maps-api-notice">
|
310 |
-
Premium Maps Element requires Google API key to be entered below. If you don’t have one, Click <a href="https://developers.google.com/maps/documentation/javascript/" target="_blank"> Here</a> to get your key.
|
311 |
</p>
|
312 |
</tr>
|
313 |
<tr>
|
19 |
}
|
20 |
|
21 |
public function pa_admin_page_scripts () {
|
22 |
+
wp_enqueue_style( 'pa_admin_icon', plugins_url( '/', __FILE__ ).'assets/pa-elements-font/css/pafont.css' );
|
23 |
if( isset( $_GET['page'] ) && $_GET['page'] == 'pa-settings-page' ) {
|
24 |
wp_enqueue_style( 'premium_addons_elementor-css', plugins_url( '/', __FILE__ ).'assets/admin.css' );
|
25 |
wp_enqueue_style( 'premium_addons-sweetalert2-css', plugins_url( '/', __FILE__ ).'assets/js/sweetalert2/css/sweetalert2.min.css' );
|
30 |
}
|
31 |
|
32 |
public function pa_admin_menu() {
|
33 |
+
add_menu_page( 'Premium Addons for Elementor', 'Premium Addons for Elementor', 'manage_options', 'pa-settings-page', array( $this , 'pa_admin_page' ), '' , 100 );
|
34 |
}
|
35 |
|
36 |
public function pa_admin_page(){
|
308 |
<table class="pa-maps-table">
|
309 |
<tr>
|
310 |
<p class="pa-maps-api-notice">
|
311 |
+
Premium Maps Element requires Google API key to be entered below. If you don’t have one, Click <a href="https://developers.google.com/maps/documentation/javascript/get-api-key" target="_blank"> Here</a> to get your key.
|
312 |
</p>
|
313 |
</tr>
|
314 |
<tr>
|
assets/css/premium-addons.css
CHANGED
@@ -20,11 +20,6 @@
|
|
20 |
.wpb_column>.wpb_wrapper .premium_addons-banner-ib {
|
21 |
margin-bottom: 0px
|
22 |
}
|
23 |
-
/*.premium_addons-banner-ib * {
|
24 |
-
-webkit-box-sizing: border-box;
|
25 |
-
-moz-box-sizing: border-box;
|
26 |
-
box-sizing: border-box;
|
27 |
-
}*/
|
28 |
.elementor-widget-premium-addon-banner .premium_addons-banner-ib-title {
|
29 |
background: transparent;
|
30 |
}
|
@@ -1103,10 +1098,9 @@ button.close {
|
|
1103 |
transform: translateX(-50%);
|
1104 |
}
|
1105 |
.premium-progressbar-pin {
|
1106 |
-
border-left: 1px solid
|
1107 |
height: 12px;
|
1108 |
left:50%;
|
1109 |
-
/*transform: translateX(-4%);*/
|
1110 |
display: inline-block;
|
1111 |
}
|
1112 |
@-webkit-keyframes progress-bar-stripes {
|
20 |
.wpb_column>.wpb_wrapper .premium_addons-banner-ib {
|
21 |
margin-bottom: 0px
|
22 |
}
|
|
|
|
|
|
|
|
|
|
|
23 |
.elementor-widget-premium-addon-banner .premium_addons-banner-ib-title {
|
24 |
background: transparent;
|
25 |
}
|
1098 |
transform: translateX(-50%);
|
1099 |
}
|
1100 |
.premium-progressbar-pin {
|
1101 |
+
border-left: 1px solid;
|
1102 |
height: 12px;
|
1103 |
left:50%;
|
|
|
1104 |
display: inline-block;
|
1105 |
}
|
1106 |
@-webkit-keyframes progress-bar-stripes {
|
premium-addons-for-elementor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Premium Addons for Elementor
|
4 |
Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
|
5 |
Plugin URI: https://premiumaddons.com
|
6 |
-
Version: 2.0.
|
7 |
Author: Leap13
|
8 |
Author URI: http://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
3 |
Plugin Name: Premium Addons for Elementor
|
4 |
Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
|
5 |
Plugin URI: https://premiumaddons.com
|
6 |
+
Version: 2.0.8
|
7 |
Author: Leap13
|
8 |
Author URI: http://leap13.com/
|
9 |
Text Domain: premium-addons-for-elementor
|
readme.txt
CHANGED
@@ -79,6 +79,13 @@ Premium Addons for Elementor is light weight and we also gave you the control to
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
= 2.0.7 =
|
83 |
|
84 |
- Tweak: Added multiple labels option for Premium Progressbar widget.
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 2.0.8 =
|
83 |
+
|
84 |
+
- Tweak: Amended inline documentation.
|
85 |
+
- Tweak: Changed admin icon.
|
86 |
+
- Fixed: Premium Banner Custom URL/existing Page bug.
|
87 |
+
- Fixed: Premium Button hover background color issue.
|
88 |
+
|
89 |
= 2.0.7 =
|
90 |
|
91 |
- Tweak: Added multiple labels option for Premium Progressbar widget.
|
widgets/premium-banner.php
CHANGED
@@ -51,21 +51,6 @@ class Premium_Banner_Widget extends Widget_Base {
|
|
51 |
]
|
52 |
);
|
53 |
|
54 |
-
$this->add_control(
|
55 |
-
'premium_banner_image_bg_color',
|
56 |
-
[
|
57 |
-
'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
|
58 |
-
'type' => Controls_Manager::COLOR,
|
59 |
-
'scheme' => [
|
60 |
-
'type' => Scheme_Color::get_type(),
|
61 |
-
'value' => Scheme_Color::COLOR_1,
|
62 |
-
],
|
63 |
-
'selectors' => [
|
64 |
-
'{{WRAPPER}} .premium_addons-banner-ib' => 'background: {{VALUE}};',
|
65 |
-
]
|
66 |
-
]
|
67 |
-
);
|
68 |
-
|
69 |
$this->add_control('premium_banner_link_url_switch',
|
70 |
[
|
71 |
'label' => esc_html__('Banner Link/URL', 'premium-addons-for-elementor'),
|
@@ -367,6 +352,21 @@ class Premium_Banner_Widget extends Widget_Base {
|
|
367 |
]
|
368 |
);
|
369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
$this->add_control(
|
371 |
'premium_banner_image_opacity',
|
372 |
[
|
@@ -495,9 +495,10 @@ class Premium_Banner_Widget extends Widget_Base {
|
|
495 |
$link = isset( $settings['premium_banner_image_link_switcher'] ) && $settings['premium_banner_image_link_switcher'] != '' ? $settings['premium_banner_image_custom_link']['url'] : get_permalink( $settings['premium_banner_image_existing_page_link'] );
|
496 |
|
497 |
$link_title = $settings['premium_banner_image_link_switcher'] != 'yes' ? get_the_title( $settings['premium_banner_image_existing_page_link'] ) : '';
|
|
|
498 |
$open_new_tab = $settings['premium_banner_image_link_open_new_tab'] == 'yes' ? ' target="_blank"' : '';
|
499 |
$nofollow_link = $settings['premium_banner_image_link_add_nofollow'] == 'yes' ? ' rel="nofollow"' : '';
|
500 |
-
$full_link = '<a class="premium_addons-banner-ib-link" href="'. $link .'" title="'. $link_title .'"'
|
501 |
$animation_class = $settings['premium_banner_image_animation'];
|
502 |
$extra_class = isset( $settings['premium_banner_extra_class'] ) && $settings['premium_banner_extra_class'] != '' ? ' '. $settings['premium_banner_extra_class'] : '';
|
503 |
$min_height_class = $settings['premium_banner_height'] == 'custom' ? '' : '';
|
51 |
]
|
52 |
);
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
$this->add_control('premium_banner_link_url_switch',
|
55 |
[
|
56 |
'label' => esc_html__('Banner Link/URL', 'premium-addons-for-elementor'),
|
352 |
]
|
353 |
);
|
354 |
|
355 |
+
$this->add_control(
|
356 |
+
'premium_banner_image_bg_color',
|
357 |
+
[
|
358 |
+
'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
|
359 |
+
'type' => Controls_Manager::COLOR,
|
360 |
+
'scheme' => [
|
361 |
+
'type' => Scheme_Color::get_type(),
|
362 |
+
'value' => Scheme_Color::COLOR_1,
|
363 |
+
],
|
364 |
+
'selectors' => [
|
365 |
+
'{{WRAPPER}} .premium_addons-banner-ib' => 'background: {{VALUE}};',
|
366 |
+
]
|
367 |
+
]
|
368 |
+
);
|
369 |
+
|
370 |
$this->add_control(
|
371 |
'premium_banner_image_opacity',
|
372 |
[
|
495 |
$link = isset( $settings['premium_banner_image_link_switcher'] ) && $settings['premium_banner_image_link_switcher'] != '' ? $settings['premium_banner_image_custom_link']['url'] : get_permalink( $settings['premium_banner_image_existing_page_link'] );
|
496 |
|
497 |
$link_title = $settings['premium_banner_image_link_switcher'] != 'yes' ? get_the_title( $settings['premium_banner_image_existing_page_link'] ) : '';
|
498 |
+
|
499 |
$open_new_tab = $settings['premium_banner_image_link_open_new_tab'] == 'yes' ? ' target="_blank"' : '';
|
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 |
$extra_class = isset( $settings['premium_banner_extra_class'] ) && $settings['premium_banner_extra_class'] != '' ? ' '. $settings['premium_banner_extra_class'] : '';
|
504 |
$min_height_class = $settings['premium_banner_height'] == 'custom' ? '' : '';
|
widgets/premium-button.php
CHANGED
@@ -412,7 +412,7 @@ class Premium_Button_Widget extends Widget_Base
|
|
412 |
'value' => Scheme_Color::COLOR_2,
|
413 |
],
|
414 |
'selectors' => [
|
415 |
-
'{{WRAPPER}} .premium-button' => 'color: {{VALUE}};',
|
416 |
]
|
417 |
]);
|
418 |
|
@@ -541,7 +541,7 @@ class Premium_Button_Widget extends Widget_Base
|
|
541 |
'value' => Scheme_Color::COLOR_1,
|
542 |
],
|
543 |
'selectors' => [
|
544 |
-
'{{WRAPPER}} .premium-button:hover' => 'color: {{VALUE}};',
|
545 |
],
|
546 |
'condition' => [
|
547 |
'premium_button_hover_effect!' => 'style4'
|
@@ -580,23 +580,6 @@ class Premium_Button_Widget extends Widget_Base
|
|
580 |
'premium_button_hover_effect' => 'style4'
|
581 |
]
|
582 |
]);
|
583 |
-
|
584 |
-
$this->add_control('premium_button_background_none_hover',
|
585 |
-
[
|
586 |
-
'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
|
587 |
-
'type' => Controls_Manager::COLOR,
|
588 |
-
'scheme' => [
|
589 |
-
'type' => Scheme_Color::get_type(),
|
590 |
-
'value' => Scheme_Color::COLOR_2,
|
591 |
-
],
|
592 |
-
'selectors' => [
|
593 |
-
'{{WRAPPER}} .premium-button-none:hover' => 'background-color: {{VALUE}};',
|
594 |
-
],
|
595 |
-
'condition' => [
|
596 |
-
'premium_button_hover_effect' => 'none'
|
597 |
-
]
|
598 |
-
]
|
599 |
-
);
|
600 |
|
601 |
$this->add_control('premium_button_background_hover',
|
602 |
[
|
@@ -608,11 +591,8 @@ class Premium_Button_Widget extends Widget_Base
|
|
608 |
],
|
609 |
'selectors' => [
|
610 |
''
|
611 |
-
. '{{WRAPPER}} .premium-button-style1-bottom:before, {{WRAPPER}} .premium-button-style1-top:before, {{WRAPPER}} .premium-button-style1-right:before, {{WRAPPER}} .premium-button-style1-left:before, {{WRAPPER}} .premium-button-style2-shutouthor:before, {{WRAPPER}} .premium-button-style2-shutoutver:before, {{WRAPPER}} .premium-button-style2-shutinhor, {{WRAPPER}} .premium-button-style2-shutinver , {{WRAPPER}} .premium-button-style2-dshutinhor:before , {{WRAPPER}} .premium-button-style2-dshutinver:before , {{WRAPPER}} .premium-button-style2-scshutouthor:before , {{WRAPPER}} .premium-button-style2-scshutoutver:before, {{WRAPPER}} .premium-button-style3-after:hover , {{WRAPPER}} .premium-button-style3-before:hover,{{WRAPPER}} .premium-button-style4-icon-wrapper , {{WRAPPER}} .premium-button-style5-radialin , {{WRAPPER}} .premium-button-style5-radialout:before, {{WRAPPER}} .premium-button-style5-rectin , {{WRAPPER}} .premium-button-style5-rectout:before' => 'background-color: {{VALUE}};',
|
612 |
],
|
613 |
-
'condition' => [
|
614 |
-
'premium_button_hover_effect' => ['style1', 'style2', 'style3', 'style4', 'style5']
|
615 |
-
]
|
616 |
]
|
617 |
);
|
618 |
|
412 |
'value' => Scheme_Color::COLOR_2,
|
413 |
],
|
414 |
'selectors' => [
|
415 |
+
'{{WRAPPER}} .premium-button .premium-button-text-icon-wrapper span' => 'color: {{VALUE}};',
|
416 |
]
|
417 |
]);
|
418 |
|
541 |
'value' => Scheme_Color::COLOR_1,
|
542 |
],
|
543 |
'selectors' => [
|
544 |
+
'{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper span' => 'color: {{VALUE}};',
|
545 |
],
|
546 |
'condition' => [
|
547 |
'premium_button_hover_effect!' => 'style4'
|
580 |
'premium_button_hover_effect' => 'style4'
|
581 |
]
|
582 |
]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
583 |
|
584 |
$this->add_control('premium_button_background_hover',
|
585 |
[
|
591 |
],
|
592 |
'selectors' => [
|
593 |
''
|
594 |
+
. '{{WRAPPER}} .premium-button-none:hover ,{{WRAPPER}} .premium-button-style1-bottom:before, {{WRAPPER}} .premium-button-style1-top:before, {{WRAPPER}} .premium-button-style1-right:before, {{WRAPPER}} .premium-button-style1-left:before, {{WRAPPER}} .premium-button-style2-shutouthor:before, {{WRAPPER}} .premium-button-style2-shutoutver:before, {{WRAPPER}} .premium-button-style2-shutinhor, {{WRAPPER}} .premium-button-style2-shutinver , {{WRAPPER}} .premium-button-style2-dshutinhor:before , {{WRAPPER}} .premium-button-style2-dshutinver:before , {{WRAPPER}} .premium-button-style2-scshutouthor:before , {{WRAPPER}} .premium-button-style2-scshutoutver:before, {{WRAPPER}} .premium-button-style3-after:hover , {{WRAPPER}} .premium-button-style3-before:hover,{{WRAPPER}} .premium-button-style4-icon-wrapper , {{WRAPPER}} .premium-button-style5-radialin , {{WRAPPER}} .premium-button-style5-radialout:before, {{WRAPPER}} .premium-button-style5-rectin , {{WRAPPER}} .premium-button-style5-rectout:before' => 'background-color: {{VALUE}};',
|
595 |
],
|
|
|
|
|
|
|
596 |
]
|
597 |
);
|
598 |
|
widgets/premium-maps.php
CHANGED
@@ -87,14 +87,14 @@ class Premium_Maps_Widget extends Widget_Base
|
|
87 |
'name' => 'map_latitude',
|
88 |
'label' => esc_html__('Latitude', 'premium-addons-for-elementor'),
|
89 |
'type' => Controls_Manager::TEXT,
|
90 |
-
'description' => 'Click <a href="
|
91 |
'label_block' => true,
|
92 |
],
|
93 |
[
|
94 |
'name' => 'map_longitude',
|
95 |
'label' => esc_html__('Longitude', 'premium-addons-for-elementor'),
|
96 |
'type' => Controls_Manager::TEXT,
|
97 |
-
'description' => 'Click <a href="
|
98 |
'label_block' => true,
|
99 |
],
|
100 |
[
|
87 |
'name' => 'map_latitude',
|
88 |
'label' => esc_html__('Latitude', 'premium-addons-for-elementor'),
|
89 |
'type' => Controls_Manager::TEXT,
|
90 |
+
'description' => 'Click <a href="https://www.latlong.net/" target="_blank">here</a> to get your location coordinates',
|
91 |
'label_block' => true,
|
92 |
],
|
93 |
[
|
94 |
'name' => 'map_longitude',
|
95 |
'label' => esc_html__('Longitude', 'premium-addons-for-elementor'),
|
96 |
'type' => Controls_Manager::TEXT,
|
97 |
+
'description' => 'Click <a href="https://www.latlong.net/" target="_blank">here</a> to get your location coordinates',
|
98 |
'label_block' => true,
|
99 |
],
|
100 |
[
|