Premium Addons for Elementor - Version 3.4.3

Version Description

  • Tweak: Load widgets CSS file only on pages including Premium elements.
  • Tweak: Added Images Fit option for Metro layout in Grid widget.
Download this release

Release Info

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

Code changes from version 3.4.2 to 3.4.3

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.4.1', '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.4.2', '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/css/premium-addons.css CHANGED
@@ -3389,7 +3389,6 @@ button.premium-modal-box-modal-close {
3389
  .premium-img-gallery-metro .pa-gallery-image {
3390
  min-height: 100%;
3391
  width: 100%;
3392
- object-fit: fill;
3393
  }
3394
  .premium-gallery-load-more.premium-gallery-btn-hidden {
3395
  display: none;
3389
  .premium-img-gallery-metro .pa-gallery-image {
3390
  min-height: 100%;
3391
  width: 100%;
 
3392
  }
3393
  .premium-gallery-load-more.premium-gallery-btn-hidden {
3394
  display: none;
includes/class-addons-integration.php CHANGED
@@ -12,6 +12,12 @@ class Addons_Integration {
12
  //Class instance
13
  private static $instance = null;
14
 
 
 
 
 
 
 
15
  //Elementor Frontend Class instance
16
  public static $frontend = null;
17
 
@@ -22,6 +28,10 @@ class Addons_Integration {
22
  */
23
  public function __construct() {
24
 
 
 
 
 
25
  add_action( 'elementor/editor/before_enqueue_styles', array( $this, 'premium_font_setup' ) );
26
 
27
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'widgets_area' ) );
@@ -89,6 +99,14 @@ class Addons_Integration {
89
  'all'
90
  );
91
 
 
 
 
 
 
 
 
 
92
  }
93
 
94
  /**
@@ -103,6 +121,8 @@ class Addons_Integration {
103
  wp_enqueue_style('pa-prettyphoto');
104
 
105
  wp_enqueue_style('pa-preview');
 
 
106
 
107
  }
108
 
@@ -114,13 +134,7 @@ class Addons_Integration {
114
  */
115
  public function enqueue_frontend_styles() {
116
 
117
- wp_enqueue_style(
118
- 'premium-addons',
119
- PREMIUM_ADDONS_URL . 'assets/css/premium-addons.css',
120
- array(),
121
- PREMIUM_ADDONS_VERSION,
122
- 'all'
123
- );
124
 
125
  }
126
 
@@ -143,7 +157,7 @@ class Addons_Integration {
143
  */
144
  private function widgets_register() {
145
 
146
- $check_component_active = Modules_Settings::get_enabled_keys();
147
 
148
  foreach ( glob( PREMIUM_ADDONS_PATH . 'widgets/' . '*.php' ) as $file ) {
149
 
@@ -166,7 +180,7 @@ class Addons_Integration {
166
  */
167
  public function register_frontend_scripts() {
168
 
169
- $maps_settings = Maps::get_enabled_keys();
170
 
171
  wp_register_script(
172
  'premium-addons-js',
@@ -276,11 +290,11 @@ class Addons_Integration {
276
  */
277
  public function enqueue_editor_scripts() {
278
 
279
- $premium_maps_api = Maps::get_enabled_keys()['premium-map-api'];
280
 
281
- $premium_maps_disable_api = Maps::get_enabled_keys()['premium-map-disable-api'];
282
 
283
- $map_enabled = Modules_Settings::get_enabled_keys()['premium-maps'];
284
 
285
  $premium_maps_enabled = isset( $map_enabled ) ? $map_enabled : 1;
286
 
12
  //Class instance
13
  private static $instance = null;
14
 
15
+ //Modules Keys
16
+ private static $modules = null;
17
+
18
+ //Maps Keys
19
+ private static $maps = null;
20
+
21
  //Elementor Frontend Class instance
22
  public static $frontend = null;
23
 
28
  */
29
  public function __construct() {
30
 
31
+ self::$modules = Modules_Settings::get_enabled_keys();
32
+
33
+ self::$maps = Maps::get_enabled_keys();
34
+
35
  add_action( 'elementor/editor/before_enqueue_styles', array( $this, 'premium_font_setup' ) );
36
 
37
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'widgets_area' ) );
99
  'all'
100
  );
101
 
102
+ wp_register_style(
103
+ 'premium-addons',
104
+ PREMIUM_ADDONS_URL . 'assets/css/premium-addons.css',
105
+ array(),
106
+ PREMIUM_ADDONS_VERSION,
107
+ 'all'
108
+ );
109
+
110
  }
111
 
112
  /**
121
  wp_enqueue_style('pa-prettyphoto');
122
 
123
  wp_enqueue_style('pa-preview');
124
+
125
+ wp_enqueue_style('premium-addons');
126
 
127
  }
128
 
134
  */
135
  public function enqueue_frontend_styles() {
136
 
137
+
 
 
 
 
 
 
138
 
139
  }
140
 
157
  */
158
  private function widgets_register() {
159
 
160
+ $check_component_active = self::$modules;
161
 
162
  foreach ( glob( PREMIUM_ADDONS_PATH . 'widgets/' . '*.php' ) as $file ) {
163
 
180
  */
181
  public function register_frontend_scripts() {
182
 
183
+ $maps_settings = self::$maps;
184
 
185
  wp_register_script(
186
  'premium-addons-js',
290
  */
291
  public function enqueue_editor_scripts() {
292
 
293
+ $premium_maps_api = self::$maps['premium-map-api'];
294
 
295
+ $premium_maps_disable_api = self::$maps['premium-map-disable-api'];
296
 
297
+ $map_enabled = self::$modules['premium-maps'];
298
 
299
  $premium_maps_enabled = isset( $map_enabled ) ? $map_enabled : 1;
300
 
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.4.2
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.4.2');
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.4.1');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 3.4.3
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.4.3');
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.4.2');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.2
7
  Requires PHP: 5.4
8
- Stable tag: 3.4.2
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -139,6 +139,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
142
  = 3.4.2 =
143
 
144
  - Tweak: Added `Box Shadow` option for Modal Box.
5
  Requires at least: 4.5
6
  Tested up to: 5.2
7
  Requires PHP: 5.4
8
+ Stable tag: 3.4.3
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
139
 
140
  == Changelog ==
141
 
142
+ = 3.4.3 =
143
+
144
+ - Tweak: Load widgets CSS file only on pages including Premium elements.
145
+ - Tweak: Added `Images Fit` option for Metro layout in Grid widget.
146
+
147
  = 3.4.2 =
148
 
149
  - Tweak: Added `Box Shadow` option for Modal Box.
widgets/premium-banner.php CHANGED
@@ -41,6 +41,12 @@ class Premium_Banner extends Widget_Base {
41
  return [ 'premium-elements' ];
42
  }
43
 
 
 
 
 
 
 
44
  public function get_script_depends() {
45
  return ['premium-addons-js'];
46
  }
41
  return [ 'premium-elements' ];
42
  }
43
 
44
+ public function get_style_depends() {
45
+ return [
46
+ 'premium-addons'
47
+ ];
48
+ }
49
+
50
  public function get_script_depends() {
51
  return ['premium-addons-js'];
52
  }
widgets/premium-blog.php CHANGED
@@ -27,6 +27,12 @@ class Premium_Blog extends Widget_Base {
27
  return true;
28
  }
29
 
 
 
 
 
 
 
30
  public function get_script_depends() {
31
  return [
32
  'isotope-js',
27
  return true;
28
  }
29
 
30
+ public function get_style_depends() {
31
+ return [
32
+ 'premium-addons'
33
+ ];
34
+ }
35
+
36
  public function get_script_depends() {
37
  return [
38
  'isotope-js',
widgets/premium-button.php CHANGED
@@ -28,6 +28,12 @@ class Premium_Button extends Widget_Base {
28
  public function getTemplateInstance() {
29
  return $this->templateInstance = Includes\premium_Template_Tags::getInstance();
30
  }
 
 
 
 
 
 
31
 
32
  public function get_title() {
33
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Button', 'premium-addons-for-elementor') );
28
  public function getTemplateInstance() {
29
  return $this->templateInstance = Includes\premium_Template_Tags::getInstance();
30
  }
31
+
32
+ public function get_style_depends() {
33
+ return [
34
+ 'premium-addons'
35
+ ];
36
+ }
37
 
38
  public function get_title() {
39
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Button', 'premium-addons-for-elementor') );
widgets/premium-carousel.php CHANGED
@@ -35,6 +35,12 @@ class Premium_Carousel extends Widget_Base {
35
  public function is_reload_preview_required() {
36
  return true;
37
  }
 
 
 
 
 
 
38
 
39
  public function get_script_depends() {
40
  return [
35
  public function is_reload_preview_required() {
36
  return true;
37
  }
38
+
39
+ public function get_style_depends() {
40
+ return [
41
+ 'premium-addons'
42
+ ];
43
+ }
44
 
45
  public function get_script_depends() {
46
  return [
widgets/premium-contactform.php CHANGED
@@ -18,6 +18,12 @@ class Premium_Contactform extends Widget_Base {
18
  public function get_name() {
19
  return 'premium-contact-form';
20
  }
 
 
 
 
 
 
21
 
22
  public function get_title() {
23
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Contact Form7', 'premium-addons-for-elementor') );
18
  public function get_name() {
19
  return 'premium-contact-form';
20
  }
21
+
22
+ public function get_style_depends() {
23
+ return [
24
+ 'premium-addons'
25
+ ];
26
+ }
27
 
28
  public function get_title() {
29
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Contact Form7', 'premium-addons-for-elementor') );
widgets/premium-countdown.php CHANGED
@@ -29,7 +29,13 @@ class Premium_Countdown extends Widget_Base {
29
 
30
  public function is_reload_preview_required() {
31
  return true;
32
- }
 
 
 
 
 
 
33
 
34
  public function get_script_depends() {
35
  return [ 'premium-addons-js','count-down-timer-js' ];
29
 
30
  public function is_reload_preview_required() {
31
  return true;
32
+ }
33
+
34
+ public function get_style_depends() {
35
+ return [
36
+ 'premium-addons'
37
+ ];
38
+ }
39
 
40
  public function get_script_depends() {
41
  return [ 'premium-addons-js','count-down-timer-js' ];
widgets/premium-counter.php CHANGED
@@ -28,6 +28,12 @@ class Premium_Counter extends Widget_Base {
28
  public function get_icon() {
29
  return 'pa-counter';
30
  }
 
 
 
 
 
 
31
 
32
  public function get_script_depends() {
33
  return [
28
  public function get_icon() {
29
  return 'pa-counter';
30
  }
31
+
32
+ public function get_style_depends() {
33
+ return [
34
+ 'premium-addons'
35
+ ];
36
+ }
37
 
38
  public function get_script_depends() {
39
  return [
widgets/premium-dual-header.php CHANGED
@@ -30,6 +30,11 @@ class Premium_Dual_Header extends Widget_Base {
30
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Dual Heading', 'premium-addons-for-elementor') );
31
  }
32
 
 
 
 
 
 
33
 
34
  public function get_icon() {
35
  return 'pa-dual-header';
30
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Dual Heading', 'premium-addons-for-elementor') );
31
  }
32
 
33
+ public function get_style_depends() {
34
+ return [
35
+ 'premium-addons'
36
+ ];
37
+ }
38
 
39
  public function get_icon() {
40
  return 'pa-dual-header';
widgets/premium-fancytext.php CHANGED
@@ -27,9 +27,18 @@ class Premium_Fancytext extends Widget_Base {
27
  return 'pa-fancy-text';
28
  }
29
 
30
- public function get_script_depends()
31
- {
32
- return ['typed-js','vticker-js','premium-addons-js'];
 
 
 
 
 
 
 
 
 
33
  }
34
 
35
  public function get_categories() {
27
  return 'pa-fancy-text';
28
  }
29
 
30
+ public function get_style_depends() {
31
+ return [
32
+ 'premium-addons'
33
+ ];
34
+ }
35
+
36
+ public function get_script_depends() {
37
+ return [
38
+ 'typed-js',
39
+ 'vticker-js',
40
+ 'premium-addons-js'
41
+ ];
42
  }
43
 
44
  public function get_categories() {
widgets/premium-grid.php CHANGED
@@ -42,6 +42,7 @@ class Premium_Grid extends Widget_Base {
42
  public function get_style_depends() {
43
  return [
44
  'pa-prettyphoto',
 
45
  ];
46
  }
47
 
@@ -81,6 +82,24 @@ class Premium_Grid extends Widget_Base {
81
  'default' => 'fitRows',
82
  ]
83
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
  $this->add_group_control(
86
  Group_Control_Image_Size::get_type(),
42
  public function get_style_depends() {
43
  return [
44
  'pa-prettyphoto',
45
+ 'premium-addons'
46
  ];
47
  }
48
 
82
  'default' => 'fitRows',
83
  ]
84
  );
85
+
86
+ $this->add_control('premium_gallery_metro_fit',
87
+ [
88
+ 'label' => __('Images Fit', 'premium-addons-for-elementor'),
89
+ 'type' => Controls_Manager::SELECT,
90
+ 'options' => [
91
+ 'fill' => __('Fill', 'premium-addons-for-elementor'),
92
+ 'cover' => __('Cover', 'premium-addons-for-elementor'),
93
+ ],
94
+ 'default' => 'fill',
95
+ 'selectors' => [
96
+ '{{WRAPPER}} .premium-img-gallery-metro .pa-gallery-image' => 'object-fit: {{VALUE}}'
97
+ ],
98
+ 'condition' => [
99
+ 'premium_gallery_img_size_select' => 'metro'
100
+ ]
101
+ ]
102
+ );
103
 
104
  $this->add_group_control(
105
  Group_Control_Image_Size::get_type(),
widgets/premium-image-button.php CHANGED
@@ -28,6 +28,12 @@ class Premium_Image_Button extends Widget_Base {
28
  public function getTemplateInstance() {
29
  return $this->templateInstance = Includes\premium_Template_Tags::getInstance();
30
  }
 
 
 
 
 
 
31
 
32
  public function get_icon() {
33
  return 'pa-image-button';
28
  public function getTemplateInstance() {
29
  return $this->templateInstance = Includes\premium_Template_Tags::getInstance();
30
  }
31
+
32
+ public function get_style_depends() {
33
+ return [
34
+ 'premium-addons'
35
+ ];
36
+ }
37
 
38
  public function get_icon() {
39
  return 'pa-image-button';
widgets/premium-image-scroll.php CHANGED
@@ -45,6 +45,12 @@ class Premium_Image_Scroll extends Widget_Base {
45
  public function get_categories() {
46
  return [ 'premium-elements' ];
47
  }
 
 
 
 
 
 
48
 
49
  public function get_script_depends() {
50
  return [
45
  public function get_categories() {
46
  return [ 'premium-elements' ];
47
  }
48
+
49
+ public function get_style_depends() {
50
+ return [
51
+ 'premium-addons'
52
+ ];
53
+ }
54
 
55
  public function get_script_depends() {
56
  return [
widgets/premium-image-separator.php CHANGED
@@ -28,6 +28,12 @@ class Premium_Image_Separator extends Widget_Base {
28
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Image Separator', 'premium-addons-for-elementor') );
29
  }
30
 
 
 
 
 
 
 
31
  public function get_icon() {
32
  return 'pa-image-separator';
33
  }
28
  return sprintf( '%1$s %2$s', Helper_Functions::get_prefix(), __('Image Separator', 'premium-addons-for-elementor') );
29
  }
30
 
31
+ public function get_style_depends() {
32
+ return [
33
+ 'premium-addons'
34
+ ];
35
+ }
36
+
37
  public function get_icon() {
38
  return 'pa-image-separator';
39
  }
widgets/premium-maps.php CHANGED
@@ -38,6 +38,12 @@ class Premium_Maps extends Widget_Base {
38
  return [ 'premium-elements' ];
39
  }
40
 
 
 
 
 
 
 
41
  public function get_script_depends() {
42
  return [
43
  'google-maps-cluster',
38
  return [ 'premium-elements' ];
39
  }
40
 
41
+ public function get_style_depends() {
42
+ return [
43
+ 'premium-addons'
44
+ ];
45
+ }
46
+
47
  public function get_script_depends() {
48
  return [
49
  'google-maps-cluster',
widgets/premium-modalbox.php CHANGED
@@ -40,6 +40,12 @@ class Premium_Modalbox extends Widget_Base {
40
  public function get_icon() {
41
  return 'pa-modal-box';
42
  }
 
 
 
 
 
 
43
 
44
  public function get_script_depends() {
45
  return [
40
  public function get_icon() {
41
  return 'pa-modal-box';
42
  }
43
+
44
+ public function get_style_depends() {
45
+ return [
46
+ 'premium-addons'
47
+ ];
48
+ }
49
 
50
  public function get_script_depends() {
51
  return [
widgets/premium-person.php CHANGED
@@ -27,6 +27,12 @@ class Premium_Person extends Widget_Base {
27
  public function get_icon() {
28
  return 'pa-person';
29
  }
 
 
 
 
 
 
30
 
31
  public function get_categories() {
32
  return [ 'premium-elements' ];
27
  public function get_icon() {
28
  return 'pa-person';
29
  }
30
+
31
+ public function get_style_depends() {
32
+ return [
33
+ 'premium-addons'
34
+ ];
35
+ }
36
 
37
  public function get_categories() {
38
  return [ 'premium-elements' ];
widgets/premium-pricing-table.php CHANGED
@@ -35,6 +35,12 @@ class Premium_Pricing_Table extends Widget_Base {
35
  public function get_icon() {
36
  return 'pa-pricing-table';
37
  }
 
 
 
 
 
 
38
 
39
  public function get_categories() {
40
  return [ 'premium-elements' ];
35
  public function get_icon() {
36
  return 'pa-pricing-table';
37
  }
38
+
39
+ public function get_style_depends() {
40
+ return [
41
+ 'premium-addons'
42
+ ];
43
+ }
44
 
45
  public function get_categories() {
46
  return [ 'premium-elements' ];
widgets/premium-progressbar.php CHANGED
@@ -31,8 +31,13 @@ class Premium_Progressbar extends Widget_Base {
31
  return [ 'premium-elements' ];
32
  }
33
 
34
- public function get_script_depends()
35
- {
 
 
 
 
 
36
  return [
37
  'elementor-waypoints',
38
  'premium-addons-js'
31
  return [ 'premium-elements' ];
32
  }
33
 
34
+ public function get_style_depends() {
35
+ return [
36
+ 'premium-addons'
37
+ ];
38
+ }
39
+
40
+ public function get_script_depends() {
41
  return [
42
  'elementor-waypoints',
43
  'premium-addons-js'
widgets/premium-testimonials.php CHANGED
@@ -27,6 +27,12 @@ class Premium_Testimonials extends Widget_Base {
27
  public function get_icon() {
28
  return 'pa-testimonials';
29
  }
 
 
 
 
 
 
30
 
31
  public function get_categories() {
32
  return [ 'premium-elements' ];
27
  public function get_icon() {
28
  return 'pa-testimonials';
29
  }
30
+
31
+ public function get_style_depends() {
32
+ return [
33
+ 'premium-addons'
34
+ ];
35
+ }
36
 
37
  public function get_categories() {
38
  return [ 'premium-elements' ];
widgets/premium-title.php CHANGED
@@ -27,6 +27,12 @@ class Premium_Title extends Widget_Base {
27
  public function get_icon() {
28
  return 'pa-title';
29
  }
 
 
 
 
 
 
30
 
31
  public function get_categories() {
32
  return [ 'premium-elements' ];
27
  public function get_icon() {
28
  return 'pa-title';
29
  }
30
+
31
+ public function get_style_depends() {
32
+ return [
33
+ 'premium-addons'
34
+ ];
35
+ }
36
 
37
  public function get_categories() {
38
  return [ 'premium-elements' ];
widgets/premium-videobox.php CHANGED
@@ -35,6 +35,12 @@ class Premium_Videobox extends Widget_Base {
35
  return [ 'premium-elements' ];
36
  }
37
 
 
 
 
 
 
 
38
  public function get_script_depends() {
39
  return [
40
  'premium-addons-js'
35
  return [ 'premium-elements' ];
36
  }
37
 
38
+ public function get_style_depends() {
39
+ return [
40
+ 'premium-addons'
41
+ ];
42
+ }
43
+
44
  public function get_script_depends() {
45
  return [
46
  'premium-addons-js'
widgets/premium-vscroll.php CHANGED
@@ -38,6 +38,12 @@ class Premium_Vscroll extends Widget_Base {
38
  return [ 'premium-elements' ];
39
  }
40
 
 
 
 
 
 
 
41
  public function get_script_depends() {
42
  return [
43
  'vscroll-js'
38
  return [ 'premium-elements' ];
39
  }
40
 
41
+ public function get_style_depends() {
42
+ return [
43
+ 'premium-addons'
44
+ ];
45
+ }
46
+
47
  public function get_script_depends() {
48
  return [
49
  'vscroll-js'