Premium Addons for Elementor - Version 3.6.5

Version Description

  • Tweak: Added Autoplay option for self hosted videos in Video Box widget.
  • Fixed: Youtube videos thumbnails broken when Overlay option is disabled in Video Box widget.
  • Fixed: Strip Alignment option issue for Style 7 in Title widget.
  • Fixed: Starting Number option doesn't work with large values in Counter widget.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.6.5
Comparing to
See all releases

Code changes from version 3.6.4 to 3.6.5

admin/includes/version-control.php CHANGED
@@ -91,7 +91,7 @@ class Version_Control {
91
<tr class="pa-roll-row">
92
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
<td>
94
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.6.3', 'premium-addons-for-elementor') ); ?></div>
95
<p class="pa-roll-desc">
96
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
</p>
91
<tr class="pa-roll-row">
92
<th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
<td>
94
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.6.4', 'premium-addons-for-elementor') ); ?></div>
95
<p class="pa-roll-desc">
96
<span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
</p>
assets/frontend/css/premium-addons.css CHANGED
@@ -1545,18 +1545,17 @@ button.premium-modal-box-modal-close {
1545
content: '';
1546
border: 3px solid transparent;
1547
}
1548
.premium-title-style7:before {
1549
display: none;
1550
}
1551
/*Stripe Style*/
1552
- .premium-title-style7-strip:before {
1553
- display: block;
1554
- position: relative;
1555
- margin-left: auto;
1556
- margin-right: auto;
1557
- content: '';
1558
- float: none;
1559
- }
1560
/**************** Premium Video Box ************/
1561
/***********************************************/
1562
.premium-video-box-container {
1545
content: '';
1546
border: 3px solid transparent;
1547
}
1548
+ .premium-title-style7-stripe-wrap {
1549
+ display: -ms-flexbox;
1550
+ display: -webkit-flex;
1551
+ display: -moz-flex;
1552
+ display: -ms-flex;
1553
+ display: flex;
1554
+ }
1555
.premium-title-style7:before {
1556
display: none;
1557
}
1558
/*Stripe Style*/
1559
/**************** Premium Video Box ************/
1560
/***********************************************/
1561
.premium-video-box-container {
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.6.4
7
Author: Leap13
8
Author URI: https://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.6.4');
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.6.3');
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.6.5
7
Author: Leap13
8
Author URI: https://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.6.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.6.4');
23
24
if( ! class_exists('Premium_Addons_Elementor') ) {
25
readme.txt CHANGED
@@ -1,94 +1,126 @@
1
=== Premium Addons for Elementor ===
2
- Contributors: leap13
3
- Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, page builder, widgets, Elementor widgets
4
- Donate link: http://premiumaddons.com
5
- Requires at least: 4.5
6
- Tested up to: 5.2.2
7
Requires PHP: 5.4
8
- Stable tag: 3.6.4
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
12
- Elementor Widgets and Addons like Grid, Modal Box, Carousel, Google Maps, Pricing Tables, Countdown, Testimonials, Blog, and much more.
13
14
== Description ==
15
- Premium Elementor addons & widgets with numerous customization options that extends Elementor Page Builder capabilities to help you build impressive websites with no coding required. Click [here](https://premiumaddons.com/) to check addon elements’ demos.
16
-
17
- Premium Addons for elementor plugin’s widgets & addons are cross browser compatible and also fully responsive, Your website will rock on all browsers as well as tables and mobile devices.
18
-
19
- When using Premium Addons’ widgets you will notice that it has more customization options than any other Elementor addons and widgets bundle, Meanwhile It’s totally free of charge.
20
-
21
- Premium Addons for Elementor can be used only as a complement of Elementor page builder plugin as it’s not a standalone plugin.
22
-
23
-
24
- ### Features
25
-
26
- * NEW: Pre-Made [Premium Elementor Templates](https://premiumaddons.com/premium-templates-for-elementor/?utm_source=templates-notification&utm_medium=wp-dash). Import it with just ONE click.
27
- * 22+ Fully Customizable Elementor add-on widgets.
28
- * Options panel for enabling desired widgets only for faster performance.
29
- * Free Support through online forums and our Facebook group.
30
- * Fully Responsive and Cross Browser Compatible, Tested By [Browserstack](https://www.browserstack.com)
31
-
32
- ### Fully Modular
33
- * Enable/disable specific elements and their related assets files to prevent overloading your site.
34
-
35
- ### Available Elements
36
-
37
- 1. [Image Scroll Elementor Widget](https://premiumaddons.com/elementor-image-scroll-widget/) Allows you to represent your images in a brand new yet attractive way
38
- 2. [Vertical Scroll Elementor Widget](https://premiumaddons.com/vertical-scroll-widget-for-elementor-page-builder/) Allows you to create beautiful vertical scroll pages using Elementor.
39
- 3. [Grid Elementor Widget](https://premiumaddons.com/grid-widget-for-elementor-page-builder/) Highly customizable grid widget that can be used for creating attractive looking image galleries and portfolios.
40
- 4. [Carousel Elementor Widget](https://premiumaddons.com/carousel-widget-for-elementor-page-builder/) The best all purpose carousel widget for Elementor, It can be used to create testimonials carousel, client logos carousel, or any kind of content.
41
- 5. [Banner Elementor Widget](https://premiumaddons.com/banner-widget-for-elementor-page-builder/) Animated and interactive banner widget with multiple styles.
42
- 6. [Google Maps Elementor Widget](https://premiumaddons.com/google-maps-widget-for-elementor-page-builder/) Advanced Google Maps widget with multiple markers, custom styling and much more options.
43
- 7. [Pricing Table Elementor Widget](https://premiumaddons.com/pricing-table-widget-for-elementor-page-builder/) The most customizable Elementor Pricing Table Widget with tons of customization options.
44
- 8. [Image Separator Elementor Widget](https://premiumaddons.com/image-separator-widget-elementor-page-builder/) This element adds image separator between sections.
45
- 9. [Fancy Text Elementor Widget](https://premiumaddons.com/fancy-text-widget-for-elementor-page-builder/) Animated fancy text with many animation styles.
46
- 10. [Heading Elementor Widget](https://premiumaddons.com/heading-widget-for-elementor-page-builder/) This widget has many customizable ready made styles for headings.
47
- 11. [Dual Header Elementor Widget](https://premiumaddons.com/dual-header-widget-for-elementor-page-builder/) Create a header with 2 styles with numerous customization options.
48
- 12. [Testimonials Elementor Widget](https://premiumaddons.com/testimonials-widget-for-elementor-page-builder/) Modern testimonials widget with many customization options.
49
- 13. [Persons Elementor Widget](https://premiumaddons.com/persons-widget-for-elementor-page-builder/) Very good element for listing team members.
50
- 14. [Countdown Elementor Widget](https://premiumaddons.com/countdown-widget-for-elementor-page-builder/) Advanced countdown addon for elementor.
51
- 15. [Blog Elementor Widget](https://premiumaddons.com/blog-widget-for-elementor-page-builder/) Blog posts widget with modern style.
52
- 16. [Counter Elementor Widget](https://premiumaddons.com/counter-widget-for-elementor-page-builder/) Advanced counter elements with lots of options.
53
- 17. [Video Box Elementor Widget](https://premiumaddons.com/video-box-widget-for-elementor-page-builder/) Video box element with many customization features.
54
- 18. [Modal Box Elementor Widget](https://premiumaddons.com/modal-box-widget-for-elementor-page-builder/) All purpose Elementor modal box with many options.
55
- 19. [Progress Bar Elementor Widget](https://premiumaddons.com/progress-bar-widget-for-elementor-page-builder/) The most advanced progress bar available for Elementor.
56
- 20. [Button Elementor Widget](https://premiumaddons.com/button-widget-for-elementor-page-builder/) Advanced button with lots of interactive animation and styling options and onClick event option.
57
- 21. [Contact Form 7 Elementor Widget](https://premiumaddons.com/contact-form-7-widget-for-elementor-page-builder/) Elementor contact form 7 add-on with 2 readymade styles.
58
- 22. [Image Button Elementor Widget](https://premiumaddons.com/image-button-widget-for-elementor-page-builder/) A unique element that can be used for innovative call to action ideas.
59
-
60
- ### PRO addons & widgets [Click here](https://premiumaddons.com/pro/)
61
-
62
- 1. [Premium Alert Box Widget](https://premiumaddons.com/alert-box-widget-for-elementor-page-builder/)
63
- 2. [Premium Animated Gradient Section Addon](https://premiumaddons.com/animated-section-gradients-for-elementor-page-builder/)
64
- 3. [Premium Behance Feed Widget](https://premiumaddons.com/behance-feed-widget-for-elementor-page-builder/)
65
- 4. [Premium Charts Widget](https://premiumaddons.com/charts-widget-for-elementor-page-builder/)
66
- 5. [Premium Content Switcher Widget](https://premiumaddons.com/content-switcher-widget-for-elementor-page-builder/)
67
- 6. [Premium Divider Widget](https://premiumaddons.com/dual-header-widget-for-elementor-page-builder/)
68
- 7. [Premium Facebook Feed Widget](https://premiumaddons.com/facebook-feed-widget-for-elementor-page-builder-2/)
69
- 8. [Premium Facebook Messenger Widget](https://premiumaddons.com/facebook-messenger-widget-for-elementor-page-builder/)
70
- 9. [Premium Facebook Reviews Widget](https://premiumaddons.com/facebook-reviews-widget-for-elementor-page-builder/)
71
- 10. [Premium Flip Box Widget](https://premiumaddons.com/flip-box-widget-for-elementor-page-builder/)
72
- 11. [Premium Google Reviews Widget](https://premiumaddons.com/google-reviews-for-elementor-page-builder/)
73
- 12. [Premium Icon Box Widget](https://premiumaddons.com/icon-box-widget-for-elementor-page-builder/)
74
- 13. [Premium iHover Widget](https://premiumaddons.com/ihover-widget-for-elementor-page-builder/)
75
- 14. [Premium Image Accordion Widget](https://premiumaddons.com/elementor-image-accordion-widget/)
76
- 15. [Premium Image Comparison Widget](https://premiumaddons.com/image-comparison-widget-for-elementor-page-builder/)
77
- 16. [Premium Image Hotspots Widget](https://premiumaddons.com/image-hotspots-widget-for-elementor-page-builder/)
78
- 17. [Premium Image Layers Widget](https://premiumaddons.com/image-layers-widget-for-elementor-page-builder/)
79
- 18. [Premium Instagram Feed Widget](https://premiumaddons.com/instagram-feed-widget-for-elementor-page-builder/)
80
- 19. [Premium Ken Burns Section Addon](https://premiumaddons.com/ken-burns-section-addon-for-elementor-page-builder/)
81
- 20. [Premium Magic Section Widget](https://premiumaddons.com/magic-section-widget-for-elementor-page-builder/)
82
- 21. [Premium Multi Scroll Widget](https://premiumaddons.com/multi-scroll-widget-for-elementor-page-builder/)
83
- 22. [Premium Parallax Section Addon](https://premiumaddons.com/parallax-section-addon-for-elementor-page-builder/)
84
- 23. [Premium Particles Section Addon](https://premiumaddons.com/particles-section-addon-for-elementor-page-builder/)
85
- 24. [Premium Preview Window Widget](https://premiumaddons.com/preview-window-widget-for-elementor-page-builder/)
86
- 25. [Premium Tables Widget](https://premiumaddons.com/table-widget-for-elementor-page-builder/)
87
- 26. [Premium Twitter Feed Widget](https://premiumaddons.com/twitter-feed-widget-for-elementor-page-builder/)
88
- 27. [Premium Tabs Widget](https://premiumaddons.com/tabs-widget-for-elementor-page-builder-2/)
89
- 28. [Premium Unfold Widget](https://premiumaddons.com/unfold-widget-for-elementor-page-builder/)
90
- 29. [Premium Whatsapp Chat Widget](https://premiumaddons.com/whatsapp-widget-for-elementor-page-builder/)
91
- 30. [Premium Yelp Reviews Widget](https://premiumaddons.com/elementor-yelp-reviews-widget/)
92
93
== Installation ==
94
@@ -142,6 +174,13 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
142
143
== Changelog ==
144
145
= 3.6.4 =
146
147
- Tweak: Grid widget code refactored for better performance.
1
=== Premium Addons for Elementor ===
2
+ Contributors: Leap13, Rimoun
3
+ Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, Page Builder, Widgets, Elementor Widgets
4
+ Donate Link: https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme
5
+ Requires at Least: 4.5
6
+ Tested Up To: 5.2.2
7
Requires PHP: 5.4
8
+ Stable Tag: 3.6.5
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
12
+ Elementor Widgets and Addons like Vertical Scroll, Grid, Carousel, Google Maps, Pricing Tables, Countdown, Testimonials, Blog and more.
13
14
== Description ==
15
+
16
+ Supercharge your Elementor Page Builder with 50+ highly customizable widgets and add-ons that will give you the ability to build sophisticated websites in less time with no coding required. Both Elementor and Premium Addons plugins take your WordPress website to the next level.
17
+
18
+ [**Check Elementor Widgets & Addons Demo Pages**](https://premiumaddons.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme)
19
+
20
+ #### NEW: Elementor Templates
21
+ NEW: Ever-growing [Elementor Section Templates Library](https://premiumaddons.com/premium-templates-for-elementor/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) Available on both Premium Addons Free and PRO versions. Browse, preview, and insert the template you like in your page/post with just ONE click.
22
+
23
+ #### NEW: Freehand Design Experience
24
+ Following Elementor's steps, we've implemented freehand design experience in many widgets and addons to make it easier to design amazing layouts using your mouse.
25
+
26
+ #### 50+ Elementor Widgets & Addons
27
+ Besides adding new widgets on monthly bases, we don't mainly focus on the number, we focus on adding as much customization options to our widgets as possible more than anywhere else.
28
+
29
+ #### Modular & Lightweight
30
+ Premium Addons has been built the same way Elementor was built so it's fully modular. You can enable/disable specific elements to prevent overloading your website with code you will not actually use which helps your website have a blazing fast performance.
31
+
32
+ #### WPML Ready
33
+ You can use Premium Addons for Elementor to build multilingual websites easily as our plugin is 100% compatible with WPML.
34
+
35
+ #### Fully Responsive & Cross Browser Ready
36
+ Each widget and addon has been tested on different screen sizes, mobile devices, and tablets keeping in mind to add special responsive controls for the tricky widgets and addons we create. We always test Premium Addons on [BrowserStack](https://www.browserstack.com) to make sure that everything is stable.
37
+
38
+ ## Elementor Widgets & Addons Included
39
+
40
+ ### Content Widgets
41
+ * [**Carousel Widget**](https://premiumaddons.com/carousel-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: The best all purpose Elementor carousel widget. It can be used to create any kind of carousel you want like: Testimonials Carousel, Client Logos Carousel, and some of our users even used it as Advanced Slider in a combination with other widgets.
42
+ * [**Blog Widget**](https://premiumaddons.com/blog-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Blog Posts Widget comes with a modern style, advanced posts filtering options, and also it allows you to create posts carousel.
43
+ * [**Google Maps Widget**](https://premiumaddons.com/google-maps-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Advanced Google Maps Widget comes with features like adding multiple markers, custom skins, and much more options.
44
+ * [**Persons Widget**](https://premiumaddons.com/persons-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Very good Elementor Widget to list team members, co-workers, etc. Persons Widget for Elementor comes with many customization options.
45
+ * [**Tabs Widget**](https://premiumaddons.com/tabs-widget-for-elementor-page-builder-2/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Create both Vertical and Horizontal tabs inside Elementor with tons of styling features. You can also use Elementor Templates as tabs content.
46
+ * [**Content Switcher**](https://premiumaddons.com/content-switcher-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Present multiple content in a smart way using Content Switcher Widget for Elementor. This widget is ideal for to present pricing plans. It works with simple text editor or Elementor templates.
47
+
48
+ ### Image Widgets
49
+ * [**Image Grid Widget**](https://premiumaddons.com/grid-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Highly customizable grid widget that can be used for creating attractive looking image galleries and portfolios.
50
+ * [**Image Scroll Widget**](https://premiumaddons.com/elementor-image-scroll-widget/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Allows you to represent your images in a brand new yet attractive way.
51
+ * [**Image Comparison Widget**](https://premiumaddons.com/image-comparison-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Create vertical or horizontal image comparisons easily using this amazing widget inside Elementor Page Builder.
52
+ * [**Image Hotspots Widget**](https://premiumaddons.com/image-hotspots-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: The only Image Hotspots Widget with 100% freehand design experience. Add hotspots to your image using mouse drag n' drop.
53
+ * [**Image Layers Widget**](https://premiumaddons.com/image-layers-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Unleash your creativity with Image Layers Widget that allows you to combine multiple images, order them in layers and make them animated and/or interactive with mouse and/or with scrolling.
54
+ * [**Image Accordion Widget**](https://premiumaddons.com/elementor-image-accordion-widget/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Create eye-catching Image Accordions in both vertical and horizontal orientations inside Elementor Page Builder.
55
+ * [**Image Separator Widget**](https://premiumaddons.com/image-separator-widget-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Add an Image Separator between Elementor sections with this handy yet fully responsive widget.
56
+
57
+ ### Section Addons & Widgets
58
+ * [**Vertical Scroll Widget**](https://premiumaddons.com/vertical-scroll-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Create beautiful vertical scroll pages with advanced responsive control options using Premium Vertical Scroll Widget for Elementor Page Builder.
59
+ * [**Multi-Scroll Widget**](https://premiumaddons.com/multi-scroll-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: The only Elementor widget available that allows you to create attractive multi-scroll effect. It can be used to create full landing pages or use it inside any page.
60
+ * [**Parallax Section Addon**](https://premiumaddons.com/parallax-section-addon-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: The only Elementor Parallax Section Addon with freehand design experience and many styles to choose from.
61
+ * [**Particles Section Addon**](https://premiumaddons.com/particles-section-addon-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Create eye-catching particles background using Elementor and Premium Addons with many customization options.
62
+ * [**Animated Gradient Addon**](https://premiumaddons.com/animated-section-gradients-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Subtle animated gradients effect that makes your backgrounds super attractive. It's highly recommended for sections with call to actions.
63
+ * [**Ken Burns Section Addon**](https://premiumaddons.com/ken-burns-section-addon-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Add multiple images to your Elementor section background and animate them with the popular Ken Burns effect.
64
+
65
+ ### Off-Grid Widgets
66
+
67
+ * [**Modal Box Widget**](https://premiumaddons.com/modal-box-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: All purpose Elementor modal box widget with the ability to use Elementor Templates and many other options.
68
+ * [**Alert Box Widget**](https://premiumaddons.com/alert-box-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Show a popups, GDPR alerts and much more with this handy widget from Premium Addons.
69
+ * [**Magic Section Widget**](https://premiumaddons.com/magic-section-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Another Elementor off-grid widget allows you to slide in a section from any direction with a trigger.
70
+ * [**Preview Window Widget**](https://premiumaddons.com/preview-window-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Very clever way to show more data in less content area. Elementor templates can be used with Preview Window Widget.
71
+
72
+
73
+ ### Reviews & Testimonials Widgets
74
+ * [**Testimonials Widget**](https://premiumaddons.com/testimonials-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: The modern Testimonials Widget us available with many customization options. It can be used with Carousel Widget to create testimonials carousel.
75
+ * [**Facebook Reviews Widget**](https://premiumaddons.com/facebook-reviews-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: The only Elementor widget that allows you to show off your Facebook Reviews on your website.
76
+ * [**Google Reviews Widget**](https://premiumaddons.com/google-reviews-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Show your business's latest Google Reviews right on your webpage inside Elementor Page Builder.
77
+ * [**Yelp Reviews Widget**](https://premiumaddons.com/elementor-yelp-reviews-widget/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Show your business's Yelp Reviews in your website pages with this useful widget.
78
+
79
+ ### Blurbs & CTA Widgets
80
+ * [**Banner Widget**](https://premiumaddons.com/banner-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Animated and interactive Banner Widget for Elementor comes with multiple styles and customization features.
81
+ * [**Button Widget**](https://premiumaddons.com/button-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Advanced Button Widget comes with lots of interactive animation, styling options, and onClick event option.
82
+ * [**Image Button Widget**](https://premiumaddons.com/image-button-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Image Button Widget is a unique element that can be used for creative and innovative call to action ideas.
83
+ * [**Flip Box Widget**](https://premiumaddons.com/flip-box-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Flip Box Widget comes with cool 3D interactive flipping effect. This widget can be used as a banner, for listing your company's services, and much more uses.
84
+ * [**Icon Box Widget**](https://premiumaddons.com/icon-box-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: An advanced Icon Box Widget for Elementor with endless customization options.
85
+ * [**iHover Widget**](https://premiumaddons.com/ihover-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: The popular iHover Widget with various interactive animations and styling options.
86
+ * [**Unfold Widget**](https://premiumaddons.com/unfold-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Advanced way to fit long text in small area. Unfold Widget is a great trick as it will make your layout design look better.
87
+
88
+ ### Social Feed Widgets
89
+ * [**Facebook Feed Widget**](https://premiumaddons.com/elementor-facebook-feed-widget/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Show your Facebook Feed directly inside your website.
90
+ * [**Twitter Feed Widget**](https://premiumaddons.com/twitter-feed-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Display your Twitter Feed on your website pages.
91
+ * [**Instagram Feed Widget**](https://premiumaddons.com/instagram-feed-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Show your Instagram photos right on your webpage using Instagram Feed Widget for Elementor.
92
+ * [**Behance Feed Widget**](https://premiumaddons.com/behance-feed-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Show off your amazing profolio projects using Behance Feed Widget for Elementor Page Builder.
93
+
94
+ ### Tables, Charts & Anything Data Widgets
95
+ * [**Progress Bar Widget**](https://premiumaddons.com/progress-bar-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: The most advanced Progress Bar Widget comes with multiple labels option. You can use it inside Elementor Page Builder.
96
+ * [**Pricing Table Widget**](https://premiumaddons.com/pricing-table-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Highly customizable Elementor Pricing Table Widget with tons of styling options.
97
+ * [**Charts Widget**](https://premiumaddons.com/charts-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: The only advanced Elementor Charts Widget is available in Premium Addons. Create Line Chart, Bar Chart, Doughnut Chart, Radar Chart, and more.
98
+ * [**Tables Widget**](https://premiumaddons.com/table-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Create sophisticated tables with unique styling and interactivity options.
99
+
100
+ ### Contact Widgets
101
+ * [**Contact Form 7 Widget**](https://premiumaddons.com/contact-form-7-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Include contact forms in your contact us page using Contact Form 7 Widget for Elementor.
102
+ * [**Facebook Messenger Widget**](https://premiumaddons.com/facebook-messenger-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Let your website users message you directly using Facebook Messenger Widget.
103
+ * [**WhatsApp Chat Widget**](https://premiumaddons.com/whatsapp-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Get instant WhatsApp messages right from your website visitors.
104
+
105
+ ### More Widgets
106
+ * [**Fancy Text Widget**](https://premiumaddons.com/fancy-text-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: The animated Fancy Text Widget comes with very useful options to help you create attractive marketing messages.
107
+ * [**Heading Widget**](https://premiumaddons.com/heading-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Elementor Heading Widget has many customization options and ready-made heading styles.
108
+ * [**Dual Heading Widget**](https://premiumaddons.com/dual-header-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Create a headeline with 2 different unique styles. Dual Heading Widget has numerous customization options.
109
+ * [**Video Box Widget**](https://premiumaddons.com/video-box-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Bring videos from YouTube, Vimeo, or upload your own using Video Box Widget for Elementor. The widget comes with many customization features.
110
+ * [**Counter Widget**](https://premiumaddons.com/counter-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Show your facts & figures with Elementor Counter Widget.
111
+ * [**Countdown Widget**](https://premiumaddons.com/countdown-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(FREE)*: Create sense of urgency with this widget. It's perfect for under construction pages, events, sale items, etc.
112
+ * [**Divider Widget**](https://premiumaddons.com/divider-widget-for-elementor-page-builder/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) *(PRO)*: Design beautiful dividers with this unique Elementor widget.
113
+
114
+ ## Support & Documentation
115
+ * [**Documentation**](https://premiumaddons.com/docs/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) Search here first if you need to know how a widget or feature works or for troubleshooting.
116
+ * [**Video Tutorials**](https://www.youtube.com/playlist?list=PLLpZVOYpMtTArB4hrlpSnDJB36D2sdoTv) This playlist includes many widgets’ video tutorials. We are adding more regularly.
117
+ * [**Facebook Group**](https://www.facebook.com/groups/PremiumAddons/) A great place to get help or ask a question about Premium Addons.
118
+ * [**Community Forums**](https://my.leap13.com/forums/forum/premium-addons-for-elementor-plugin-community-support/) Another good place to search for answers or post your own question.
119
+ * [**Support Ticket System**](https://my.leap13.com/contact-support/) We also welcome Free users’ issues which require access credentials to check.
120
+
121
+
122
+
123
+ For More information about Premium Addons PRO
124
125
== Installation ==
126
174
175
== Changelog ==
176
177
+ = 3.6.5 =
178
+
179
+ - Tweak: Added `Autoplay` option for self hosted videos in Video Box widget.
180
+ - Fixed: Youtube videos thumbnails broken when `Overlay` option is disabled in Video Box widget.
181
+ - Fixed: `Strip Alignment` option issue for Style 7 in Title widget.
182
+ - Fixed: `Starting Number` option doesn't work with large values in Counter widget.
183
+
184
= 3.6.4 =
185
186
- Tweak: Grid widget code refactored for better performance.
widgets/premium-blog.php CHANGED
@@ -730,7 +730,7 @@ class Premium_Blog extends Widget_Base {
730
731
$this->add_control('premium_blog_plus_color',
732
[
733
- 'label' => __('Icon Color', 'premium-addons-for-elementor'),
734
'type' => Controls_Manager::COLOR,
735
'scheme' => [
736
'type' => Scheme_Color::get_type(),
730
731
$this->add_control('premium_blog_plus_color',
732
[
733
+ 'label' => __('Plus Sign Color', 'premium-addons-for-elementor'),
734
'type' => Controls_Manager::COLOR,
735
'scheme' => [
736
'type' => Scheme_Color::get_type(),
widgets/premium-counter.php CHANGED
@@ -67,7 +67,7 @@ class Premium_Counter extends Widget_Base {
67
68
$this->add_control('premium_counter_start_value',
69
[
70
- 'label' => __( 'Start Number', 'premium-addons-for-elementor' ),
71
'type' => Controls_Manager::NUMBER,
72
'default' => 0
73
]
@@ -75,7 +75,7 @@ class Premium_Counter extends Widget_Base {
75
76
$this->add_control('premium_counter_end_value',
77
[
78
- 'label' => __( 'End Number', 'premium-addons-for-elementor' ),
79
'type' => Controls_Manager::NUMBER,
80
'default' => 500
81
]
@@ -509,10 +509,7 @@ class Premium_Counter extends Widget_Base {
509
}
510
511
public function get_counter_content($settings, $direction) {
512
-
513
- // $d_after = intval( $settings['premium_counter_d_after'] );
514
- // $d_s = $settings['premium_counter_d_separator'];
515
- // $t_s = $settings['premium_counter_t_separator'];
516
$start_value = $settings['premium_counter_start_value'];
517
518
?>
@@ -572,18 +569,7 @@ class Premium_Counter extends Widget_Base {
572
$settings = $this->get_settings_for_display();
573
574
$this->add_inline_editing_attributes('premium_counter_title');
575
-
576
- // $separator = $settings['premium_counter_t_separator'];
577
- //
578
- // $decimal = $settings['premium_counter_d_separator'];
579
-
580
- // if( $settings['premium_counter_icon_image'] == 'icon' ) {
581
- // $icon_image = '<i class="' . $settings['premium_counter_icon'] .'"></i>';
582
- // } else {
583
- // $alt = esc_attr( Control_Media::get_image_alt( $settings['premium_counter_image_upload'] ) );
584
- // $icon_image = '<img class="custom-image" src="'.$settings['premium_counter_image_upload']['url'] . '" alt="' . $alt . '">';
585
- // }
586
-
587
$position = $settings['premium_counter_icon_position'];
588
589
$center = $position == 'top' ? ' center' : '';
@@ -594,27 +580,14 @@ class Premium_Counter extends Widget_Base {
594
if( $settings['premium_counter_icon_image'] == 'custom' && $settings['premium_counter_icon_style'] == 'simple' ) {
595
$flex_width = ' flex-width ';
596
}
597
-
598
- // $counter_settings = [
599
- // 'id' => $this->get_id(),
600
- // 'toValue' => $settings['premium_counter_end_value'],
601
- // 'speed' => $settings['premium_counter_speed'],
602
- // 'separator' => $separator,
603
- // 'decimal' => $decimal,
604
- // ];
605
-
606
- //$this->add_render_attribute( 'counter', 'id', 'counter-wrapper-'. $this->get_id() );
607
-
608
- //$this->add_render_attribute( 'counter', 'class', [ 'premium-counter', 'premium-counter-area' . $center ] );
609
-
610
- //$this->add_render_attribute( 'counter', 'data-settings', wp_json_encode( $counter_settings ) );
611
612
$this->add_render_attribute( 'counter', [
613
- 'class' => [ 'premium-counter', 'premium-counter-area' . $center ],
614
- 'data-duration' => $settings['premium_counter_speed'] * 1000,
615
- 'data-to-value' => $settings['premium_counter_end_value'],
616
- 'data-delimiter'=> empty( $settings['premium_counter_t_separator'] ) ? ',' : $settings['premium_counter_t_separator'],
617
- 'data-rounding' => empty ( $settings['premium_counter_d_after'] ) ? 0 : $settings['premium_counter_d_after']
618
]
619
);
620
@@ -664,6 +637,7 @@ class Premium_Counter extends Widget_Base {
664
665
view.addRenderAttribute( 'counter', 'class', [ 'premium-counter', 'premium-counter-area' + center ] );
666
view.addRenderAttribute( 'counter', 'data-duration', settings.premium_counter_speed * 1000 );
667
view.addRenderAttribute( 'counter', 'data-to-value', settings.premium_counter_end_value );
668
view.addRenderAttribute( 'counter', 'data-delimiter', delimiter );
669
view.addRenderAttribute( 'counter', 'data-rounding', round );
67
68
$this->add_control('premium_counter_start_value',
69
[
70
+ 'label' => __( 'Starting Number', 'premium-addons-for-elementor' ),
71
'type' => Controls_Manager::NUMBER,
72
'default' => 0
73
]
75
76
$this->add_control('premium_counter_end_value',
77
[
78
+ 'label' => __( 'Ending Number', 'premium-addons-for-elementor' ),
79
'type' => Controls_Manager::NUMBER,
80
'default' => 500
81
]
509
}
510
511
public function get_counter_content($settings, $direction) {
512
+
513
$start_value = $settings['premium_counter_start_value'];
514
515
?>
569
$settings = $this->get_settings_for_display();
570
571
$this->add_inline_editing_attributes('premium_counter_title');
572
+
573
$position = $settings['premium_counter_icon_position'];
574
575
$center = $position == 'top' ? ' center' : '';
580
if( $settings['premium_counter_icon_image'] == 'custom' && $settings['premium_counter_icon_style'] == 'simple' ) {
581
$flex_width = ' flex-width ';
582
}
583
584
$this->add_render_attribute( 'counter', [
585
+ 'class' => [ 'premium-counter', 'premium-counter-area' . $center ],
586
+ 'data-duration' => $settings['premium_counter_speed'] * 1000,
587
+ 'data-from-value' => $settings['premium_counter_start_value'],
588
+ 'data-to-value' => $settings['premium_counter_end_value'],
589
+ 'data-delimiter' => empty( $settings['premium_counter_t_separator'] ) ? ',' : $settings['premium_counter_t_separator'],
590
+ 'data-rounding' => empty ( $settings['premium_counter_d_after'] ) ? 0 : $settings['premium_counter_d_after']
591
]
592
);
593
637
638
view.addRenderAttribute( 'counter', 'class', [ 'premium-counter', 'premium-counter-area' + center ] );
639
view.addRenderAttribute( 'counter', 'data-duration', settings.premium_counter_speed * 1000 );
640
+ view.addRenderAttribute( 'counter', 'data-from-value', settings.premium_counter_start_value );
641
view.addRenderAttribute( 'counter', 'data-to-value', settings.premium_counter_end_value );
642
view.addRenderAttribute( 'counter', 'data-delimiter', delimiter );
643
view.addRenderAttribute( 'counter', 'data-rounding', round );
widgets/premium-title.php CHANGED
@@ -136,6 +136,7 @@ class Premium_Title extends Widget_Base {
136
],
137
],
138
'default' => 'left',
139
'selectors' => [
140
'{{WRAPPER}} .premium-title-container' => 'text-align: {{VALUE}};',
141
],
@@ -156,7 +157,7 @@ class Premium_Title extends Widget_Base {
156
'size' => '120',
157
],
158
'selectors' => [
159
- '{{WRAPPER}} .premium-title-style7-strip:before' => 'width: {{SIZE}}{{UNIT}};',
160
],
161
'label_block' => true,
162
'condition' => [
@@ -177,7 +178,7 @@ class Premium_Title extends Widget_Base {
177
],
178
'label_block' => true,
179
'selectors' => [
180
- '{{WRAPPER}} .premium-title-style7-strip,{{WRAPPER}} .premium-title-style7-strip:before ' => 'height: {{SIZE}}{{UNIT}};',
181
],
182
'condition' => [
183
'premium_title_style' => 'style7',
@@ -192,7 +193,7 @@ class Premium_Title extends Widget_Base {
192
'type' => Controls_Manager::SLIDER,
193
'size_units' => ['px', '%', 'em'],
194
'selectors' => [
195
- '{{WRAPPER}} .premium-title-style7-strip' => 'margin-top: {{SIZE}}{{UNIT}};',
196
],
197
'label_block' => true,
198
'condition' => [
@@ -209,7 +210,7 @@ class Premium_Title extends Widget_Base {
209
'size_units' => ['px', '%', 'em'],
210
'label_block' => true,
211
'selectors' => [
212
- '{{WRAPPER}} .premium-title-style7-strip' => 'margin-bottom: {{SIZE}}{{UNIT}};',
213
],
214
'condition' => [
215
'premium_title_style' => 'style7',
@@ -217,28 +218,29 @@ class Premium_Title extends Widget_Base {
217
]
218
);
219
220
- /*Title Align*/
221
$this->add_responsive_control('premium_title_style7_strip_align',
222
[
223
- 'label' => __( 'Align', 'premium-addons-for-elementor' ),
224
'type' => Controls_Manager::CHOOSE,
225
'options' => [
226
- 'left' => [
227
- 'title'=> __( 'Left', 'premium-addons-for-elementor' ),
228
- 'icon' => 'fa fa-align-left',
229
],
230
- 'none' => [
231
- 'title'=> __( 'Center', 'premium-addons-for-elementor' ),
232
- 'icon' => 'fa fa-align-center',
233
],
234
- 'right' => [
235
'title'=> __( 'Right', 'premium-addons-for-elementor' ),
236
'icon' => 'fa fa-align-right',
237
- ],
238
- ],
239
- 'default' => 'none',
240
'selectors' => [
241
- '{{WRAPPER}} .premium-title-style7-strip:before' => 'float: {{VALUE}};',
242
],
243
'condition' => [
244
'premium_title_style' => 'style7',
@@ -388,7 +390,7 @@ class Premium_Title extends Widget_Base {
388
]
389
);
390
391
- /*Triangle Color*/
392
$this->add_control('premium_title_style6_triangle_color',
393
[
394
'label' => __('Triangle Color', 'premium-addons-for-elementor'),
@@ -416,7 +418,7 @@ class Premium_Title extends Widget_Base {
416
'value' => Scheme_Color::COLOR_1
417
],
418
'selectors' => [
419
- '{{WRAPPER}} .premium-title-style7-strip:before' => 'background-color: {{VALUE}};'
420
],
421
'condition' => [
422
'premium_title_style' => 'style7'
@@ -575,7 +577,9 @@ class Premium_Title extends Widget_Base {
575
<div <?php echo $this->get_render_attribute_string('container'); ?>>
576
<<?php echo $title_tag . ' ' . $this->get_render_attribute_string('title') ; ?>>
577
<?php if ( $settings['premium_title_style'] === 'style7' ) : ?>
578
- <span class="premium-title-style7-strip"></span>
579
<?php endif; ?>
580
<?php if( ! empty( $settings['premium_title_icon'] ) ) : ?>
581
<i class="premium-title-icon <?php echo $settings['premium_title_icon'];?>"></i>
@@ -615,7 +619,9 @@ class Premium_Title extends Widget_Base {
615
<div {{{ view.getRenderAttributeString('premium_title_container') }}}>
616
<{{{titleTag}}} {{{view.getRenderAttributeString('premium_title')}}}>
617
<# if( selectedStyle == 'style7' ) { #>
618
- <span class="premium-title-style7-strip"></span>
619
<# }
620
if( '' != settings.premium_title_icon && 'yes' == settings.premium_title_icon_switcher ) { #>
621
<i {{{ view.getRenderAttributeString('premium_title_icon') }}}></i>
136
],
137
],
138
'default' => 'left',
139
+ 'toggle' => false,
140
'selectors' => [
141
'{{WRAPPER}} .premium-title-container' => 'text-align: {{VALUE}};',
142
],
157
'size' => '120',
158
],
159
'selectors' => [
160
+ '{{WRAPPER}} .premium-title-style7-stripe' => 'width: {{SIZE}}{{UNIT}};',
161
],
162
'label_block' => true,
163
'condition' => [
178
],
179
'label_block' => true,
180
'selectors' => [
181
+ '{{WRAPPER}} .premium-title-style7-stripe' => 'height: {{SIZE}}{{UNIT}};',
182
],
183
'condition' => [
184
'premium_title_style' => 'style7',
193
'type' => Controls_Manager::SLIDER,
194
'size_units' => ['px', '%', 'em'],
195
'selectors' => [
196
+ '{{WRAPPER}} .premium-title-style7-stripe-wrap' => 'margin-top: {{SIZE}}{{UNIT}};',
197
],
198
'label_block' => true,
199
'condition' => [
210
'size_units' => ['px', '%', 'em'],
211
'label_block' => true,
212
'selectors' => [
213
+ '{{WRAPPER}} .premium-title-style7-stripe-wrap' => 'margin-bottom: {{SIZE}}{{UNIT}};',
214
],
215
'condition' => [
216
'premium_title_style' => 'style7',
218
]
219
);
220
221
+ /*Stripe Align*/
222
$this->add_responsive_control('premium_title_style7_strip_align',
223
[
224
+ 'label' => __( 'Stripe Alignment', 'premium-addons-for-elementor' ),
225
'type' => Controls_Manager::CHOOSE,
226
'options' => [
227
+ 'flex-start' => [
228
+ 'title' => __( 'Left', 'premium-addons-for-elementor' ),
229
+ 'icon' => 'fa fa-align-left',
230
],
231
+ 'center' => [
232
+ 'title' => __( 'Center', 'premium-addons-for-elementor' ),
233
+ 'icon' => 'fa fa-align-center',
234
],
235
+ 'flex-end' => [
236
'title'=> __( 'Right', 'premium-addons-for-elementor' ),
237
'icon' => 'fa fa-align-right',
238
+ ],
239
+ ],
240
+ 'toggle' => false,
241
+ 'default' => 'center',
242
'selectors' => [
243
+ '{{WRAPPER}} .premium-title-style7-stripe-wrap' => 'justify-content: {{VALUE}};',
244
],
245
'condition' => [
246
'premium_title_style' => 'style7',
390
]
391
);
392
393
+ /*Arrow Color*/
394
$this->add_control('premium_title_style6_triangle_color',
395
[
396
'label' => __('Triangle Color', 'premium-addons-for-elementor'),
418
'value' => Scheme_Color::COLOR_1
419
],
420
'selectors' => [
421
+ '{{WRAPPER}} .premium-title-style7-stripe' => 'background-color: {{VALUE}};'
422
],
423
'condition' => [
424
'premium_title_style' => 'style7'
577
<div <?php echo $this->get_render_attribute_string('container'); ?>>
578
<<?php echo $title_tag . ' ' . $this->get_render_attribute_string('title') ; ?>>
579
<?php if ( $settings['premium_title_style'] === 'style7' ) : ?>
580
+ <span class="premium-title-style7-stripe-wrap">
581
+ <span class="premium-title-style7-stripe"></span>
582
+ </span>
583
<?php endif; ?>
584
<?php if( ! empty( $settings['premium_title_icon'] ) ) : ?>
585
<i class="premium-title-icon <?php echo $settings['premium_title_icon'];?>"></i>
619
<div {{{ view.getRenderAttributeString('premium_title_container') }}}>
620
<{{{titleTag}}} {{{view.getRenderAttributeString('premium_title')}}}>
621
<# if( selectedStyle == 'style7' ) { #>
622
+ <span class="premium-title-style7-stripe-wrap">
623
+ <span class="premium-title-style7-stripe"></span>
624
+ </span>
625
<# }
626
if( '' != settings.premium_title_icon && 'yes' == settings.premium_title_icon_switcher ) { #>
627
<i {{{ view.getRenderAttributeString('premium_title_icon') }}}></i>
widgets/premium-videobox.php CHANGED
@@ -166,7 +166,17 @@ class Premium_Videobox extends Widget_Base {
166
[
167
'label' => __('Mute', 'premium-addons-for-elementor'),
168
'type' => Controls_Manager::SWITCHER,
169
- 'description' => __('This will play the video muted')
170
]
171
);
172
@@ -629,17 +639,15 @@ class Premium_Videobox extends Widget_Base {
629
630
protected function render() {
631
632
- $settings = $this->get_settings_for_display();
633
634
- $id = $this->get_id();
635
636
- $params = $this->get_video_params();
637
638
- $image = $this->get_video_thumbnail( $params['id'] );
639
640
- $link = $params['link'];
641
-
642
- $this->add_inline_editing_attributes('premium_video_box_description_text');
643
644
$video_type = $settings['premium_video_box_video_type'];
645
@@ -695,7 +703,11 @@ class Premium_Videobox extends Widget_Base {
695
}
696
697
if( 'self' === $video_type ) {
698
$video_params = '';
699
if( $controls ) {
700
$video_params .= 'controls ';
701
}
@@ -705,9 +717,14 @@ class Premium_Videobox extends Widget_Base {
705
if( $loop ) {
706
$video_params .= 'loop ';
707
}
708
709
}
710
711
$this->add_render_attribute('container', [
712
'id' => 'premium-video-box-container-' . $id,
713
'class' => 'premium-video-box-container',
@@ -756,17 +773,17 @@ class Premium_Videobox extends Widget_Base {
756
757
private function get_video_thumbnail( $id = '' ) {
758
759
- $settings = $this->get_settings_for_display();
760
761
- $type = $settings['premium_video_box_video_type'];
762
763
- $thumbnail = $settings['premium_video_box_image_switcher'];
764
765
- $thumbnail_src = $settings['premium_video_box_image']['url'];
766
767
if ( 'yes' !== $thumbnail ) {
768
if ('youtube' === $type ) {
769
- $thumbnail_src = sprintf('https://i.ytimg.com/vi/%s/maxresdefault.jpg', $id );
770
} elseif ('vimeo' === $type ) {
771
772
$vimeo_data = wp_remote_get( 'http://www.vimeo.com/api/v2/video/' . intval( $id ) . '.php' );
@@ -786,17 +803,17 @@ class Premium_Videobox extends Widget_Base {
786
787
private function get_video_params() {
788
789
- $settings = $this->get_settings_for_display();
790
791
- $type = $settings['premium_video_box_video_type'];
792
793
$identifier = $settings['premium_video_box_video_id_embed_selection'];
794
795
- $id = $settings['premium_video_box_video_id'];
796
797
- $embed = $settings['premium_video_box_video_embed'];
798
799
- $link = $settings['premium_video_box_link'];
800
801
if ( ! empty( $link ) ) {
802
if ( 'youtube' === $type ) {
166
[
167
'label' => __('Mute', 'premium-addons-for-elementor'),
168
'type' => Controls_Manager::SWITCHER,
169
+ 'description' => __('This will play the video muted', 'premium-addons-for-elementor')
170
+ ]
171
+ );
172
+
173
+ $this->add_control('premium_video_box_self_autoplay',
174
+ [
175
+ 'label' => __('Autoplay', 'premium-addons-for-elementor'),
176
+ 'type' => Controls_Manager::SWITCHER,
177
+ 'condition' => [
178
+ 'premium_video_box_video_type' => 'self'
179
+ ]
180
]
181
);
182
639
640
protected function render() {
641
642
+ $settings = $this->get_settings_for_display();
643
644
+ $id = $this->get_id();
645
646
+ $params = $this->get_video_params();
647
648
+ $image = $this->get_video_thumbnail( $params['id'] );
649
650
+ $link = $params['link'];
651
652
$video_type = $settings['premium_video_box_video_type'];
653
703
}
704
705
if( 'self' === $video_type ) {
706
+
707
$video_params = '';
708
+
709
+ $autoplay = $settings['premium_video_box_self_autoplay'];
710
+
711
if( $controls ) {
712
$video_params .= 'controls ';
713
}
717
if( $loop ) {
718
$video_params .= 'loop ';
719
}
720
+ if( $autoplay ) {
721
+ $video_params .= 'autoplay';
722
+ }
723
724
}
725
726
+ $this->add_inline_editing_attributes( 'premium_video_box_description_text' );
727
+
728
$this->add_render_attribute('container', [
729
'id' => 'premium-video-box-container-' . $id,
730
'class' => 'premium-video-box-container',
773
774
private function get_video_thumbnail( $id = '' ) {
775
776
+ $settings = $this->get_settings_for_display();
777
778
+ $type = $settings['premium_video_box_video_type'];
779
780
+ $thumbnail = $settings['premium_video_box_image_switcher'];
781
782
+ $thumbnail_src = $settings['premium_video_box_image']['url'];
783
784
if ( 'yes' !== $thumbnail ) {
785
if ('youtube' === $type ) {
786
+ $thumbnail_src = sprintf('https://i.ytimg.com/vi/%s/sddefault.jpg', $id );
787
} elseif ('vimeo' === $type ) {
788
789
$vimeo_data = wp_remote_get( 'http://www.vimeo.com/api/v2/video/' . intval( $id ) . '.php' );
803
804
private function get_video_params() {
805
806
+ $settings = $this->get_settings_for_display();
807
808
+ $type = $settings['premium_video_box_video_type'];
809
810
$identifier = $settings['premium_video_box_video_id_embed_selection'];
811
812
+ $id = $settings['premium_video_box_video_id'];
813
814
+ $embed = $settings['premium_video_box_video_embed'];
815
816
+ $link = $settings['premium_video_box_link'];
817
818
if ( ! empty( $link ) ) {
819
if ( 'youtube' === $type ) {