Premium Addons for Elementor - Version 3.0.0

Version Description

  • Tweak: Dynamic Input Fields support for more widgets.
  • Fixed: Insert an Icon/Image category in Premium Grid widget.
Download this release

Release Info

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

Code changes from version 2.9.9 to 3.0.0

admin/settings/version-control.php CHANGED
@@ -79,7 +79,7 @@ class PA_Version_Control {
79
<tr class="pa-roll-row">
80
<th>Rollback Version</th>
81
<td>
82
- <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.9.8</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
83
<p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
84
</td>
85
</tr>
79
<tr class="pa-roll-row">
80
<th>Rollback Version</th>
81
<td>
82
+ <div><?php echo sprintf( '<a target="_blank" href="%s" class="button pa-btn pa-rollback-button elementor-button-spinner">Reinstall Version 2.9.9</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ) ); ?> </div>
83
<p class="pa-roll-desc"><span>Warning: Please backup your database before making the rollback.</span></p>
84
</td>
85
</tr>
assets/js/premium-addons.js CHANGED
@@ -125,7 +125,6 @@
125
.removeClass("active");
126
$(this).addClass("active");
127
var selector = $(this).attr("data-filter");
128
- console.log(selector);
129
htmlContent.isotope({ filter: selector });
130
return false;
131
});
125
.removeClass("active");
126
$(this).addClass("active");
127
var selector = $(this).attr("data-filter");
128
htmlContent.isotope({ filter: selector });
129
return false;
130
});
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Premium Addons for Elementor
4
Description: Premium Addons Plugin Includes 21+ premium widgets for Elementor Page Builder.
5
Plugin URI: https://premiumaddons.com
6
- Version: 2.9.9
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
@@ -22,12 +22,12 @@ if (! function_exists('add_action')) {
22
if ( ! defined('ABSPATH') ) exit; // No access of directly access
23
24
// Define Constants
25
- define('PREMIUM_ADDONS_VERSION', '2.9.9');
26
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
define('PREMIUM_ADDONS_FILE', __FILE__);
29
define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
- define('PREMIUM_ADDONS_STABLE_VERSION', '2.9.8');
31
32
if( ! class_exists('Premium_Addons_Elementor') ) {
33
/*
3
Plugin Name: Premium Addons for Elementor
4
Description: Premium Addons Plugin Includes 21+ premium widgets for Elementor Page Builder.
5
Plugin URI: https://premiumaddons.com
6
+ Version: 3.0.0
7
Author: Leap13
8
Author URI: http://leap13.com/
9
Text Domain: premium-addons-for-elementor
22
if ( ! defined('ABSPATH') ) exit; // No access of directly access
23
24
// Define Constants
25
+ define('PREMIUM_ADDONS_VERSION', '3.0.0');
26
define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
27
define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
28
define('PREMIUM_ADDONS_FILE', __FILE__);
29
define('PREMIUM_ADDONS_BASENAME', plugin_basename(__FILE__));
30
+ define('PREMIUM_ADDONS_STABLE_VERSION', '2.9.9');
31
32
if( ! class_exists('Premium_Addons_Elementor') ) {
33
/*
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: leap13
3
Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, page builder
4
Donate link: http://premiumaddons.com
5
Requires at least: 4.5
6
- Tested up to: 5.0.2
7
Requires PHP: 5.4
8
- Stable tag: 2.9.9
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
@@ -137,6 +137,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
137
138
== Changelog ==
139
140
= 2.9.9 =
141
142
- Fixed: Image Button Border radius hover issue on iOS devices.
3
Tags: Elementor, Elementor Page Builder, Elements, Elementor Addons, Add-ons, page builder
4
Donate link: http://premiumaddons.com
5
Requires at least: 4.5
6
+ Tested up to: 5.0.3
7
Requires PHP: 5.4
8
+ Stable tag: 3.0.0
9
License: GPL v3.0
10
License URI: https://opensource.org/licenses/GPL-3.0
11
137
138
== Changelog ==
139
140
+ = 3.0.0 =
141
+
142
+ - Tweak: Dynamic Input Fields support for more widgets.
143
+ - Fixed: Insert an Icon/Image category in Premium Grid widget.
144
+
145
= 2.9.9 =
146
147
- Fixed: Image Button Border radius hover issue on iOS devices.
widgets/premium-banner.php CHANGED
@@ -217,6 +217,7 @@ class Premium_Banner extends Widget_Base {
217
[
218
'label' => __( 'Extra Class', 'premium-addons-for-elementor' ),
219
'type' => Controls_Manager::TEXT,
220
'description' => __( 'Add extra class name that will be applied to the banner, and you can use this class for your customizations.', 'premium-addons-for-elementor' )
221
]
222
);
217
[
218
'label' => __( 'Extra Class', 'premium-addons-for-elementor' ),
219
'type' => Controls_Manager::TEXT,
220
+ 'dynamic' => [ 'active' => true ],
221
'description' => __( 'Add extra class name that will be applied to the banner, and you can use this class for your customizations.', 'premium-addons-for-elementor' )
222
]
223
);
widgets/premium-button.php CHANGED
@@ -451,6 +451,7 @@ class Premium_Button extends Widget_Base {
451
[
452
'label' => __('Example: myFunction();', 'premium-addons-for-elementor'),
453
'type' => Controls_Manager::TEXTAREA,
454
'condition' => [
455
'premium_button_event_switcher' => 'yes',
456
],
451
[
452
'label' => __('Example: myFunction();', 'premium-addons-for-elementor'),
453
'type' => Controls_Manager::TEXTAREA,
454
+ 'dynamic' => [ 'active' => true ],
455
'condition' => [
456
'premium_button_event_switcher' => 'yes',
457
],
widgets/premium-countdown.php CHANGED
@@ -160,6 +160,7 @@ class Premium_Countdown extends Widget_Base {
160
[
161
'label' => __('On expiry Text', 'premium-addons-for-elementor'),
162
'type' => Controls_Manager::WYSIWYG,
163
'default' => __('Countdown is finished!','prmeium_elementor'),
164
'condition' => [
165
'premium_countdown_expire_text_url' => 'text'
@@ -172,6 +173,7 @@ class Premium_Countdown extends Widget_Base {
172
[
173
'label' => __('Redirect To', 'premium-addons-for-elementor'),
174
'type' => Controls_Manager::TEXT,
175
'condition' => [
176
'premium_countdown_expire_text_url' => 'url'
177
],
@@ -193,6 +195,7 @@ class Premium_Countdown extends Widget_Base {
193
[
194
'label' => __( 'Day (Singular)', 'premium-addons-for-elementor' ),
195
'type' => Controls_Manager::TEXT,
196
'default' => 'Day'
197
]
198
);
@@ -202,6 +205,7 @@ class Premium_Countdown extends Widget_Base {
202
[
203
'label' => __( 'Day (Plural)', 'premium-addons-for-elementor' ),
204
'type' => Controls_Manager::TEXT,
205
'default' => 'Days'
206
]
207
);
@@ -211,6 +215,7 @@ class Premium_Countdown extends Widget_Base {
211
[
212
'label' => __( 'Week (Singular)', 'premium-addons-for-elementor' ),
213
'type' => Controls_Manager::TEXT,
214
'default' => 'Week'
215
]
216
);
@@ -220,6 +225,7 @@ class Premium_Countdown extends Widget_Base {
220
[
221
'label' => __( 'Weeks (Plural)', 'premium-addons-for-elementor' ),
222
'type' => Controls_Manager::TEXT,
223
'default' => 'Weeks'
224
]
225
);
@@ -230,6 +236,7 @@ class Premium_Countdown extends Widget_Base {
230
[
231
'label' => __( 'Month (Singular)', 'premium-addons-for-elementor' ),
232
'type' => Controls_Manager::TEXT,
233
'default' => 'Month'
234
]
235
);
@@ -240,6 +247,7 @@ class Premium_Countdown extends Widget_Base {
240
[
241
'label' => __( 'Months (Plural)', 'premium-addons-for-elementor' ),
242
'type' => Controls_Manager::TEXT,
243
'default' => 'Months'
244
]
245
);
@@ -250,6 +258,7 @@ class Premium_Countdown extends Widget_Base {
250
[
251
'label' => __( 'Year (Singular)', 'premium-addons-for-elementor' ),
252
'type' => Controls_Manager::TEXT,
253
'default' => 'Year'
254
]
255
);
@@ -260,6 +269,7 @@ class Premium_Countdown extends Widget_Base {
260
[
261
'label' => __( 'Years (Plural)', 'premium-addons-for-elementor' ),
262
'type' => Controls_Manager::TEXT,
263
'default' => 'Years'
264
]
265
);
@@ -270,6 +280,7 @@ class Premium_Countdown extends Widget_Base {
270
[
271
'label' => __( 'Hour (Singular)', 'premium-addons-for-elementor' ),
272
'type' => Controls_Manager::TEXT,
273
'default' => 'Hour'
274
]
275
);
@@ -280,6 +291,7 @@ class Premium_Countdown extends Widget_Base {
280
[
281
'label' => __( 'Hours (Plural)', 'premium-addons-for-elementor' ),
282
'type' => Controls_Manager::TEXT,
283
'default' => 'Hours'
284
]
285
);
@@ -290,6 +302,7 @@ class Premium_Countdown extends Widget_Base {
290
[
291
'label' => __( 'Minute (Singular)', 'premium-addons-for-elementor' ),
292
'type' => Controls_Manager::TEXT,
293
'default' => 'Minute'
294
]
295
);
@@ -299,6 +312,7 @@ class Premium_Countdown extends Widget_Base {
299
[
300
'label' => __( 'Minutes (Plural)', 'premium-addons-for-elementor' ),
301
'type' => Controls_Manager::TEXT,
302
'default' => 'Minutes'
303
]
304
);
@@ -308,6 +322,7 @@ class Premium_Countdown extends Widget_Base {
308
[
309
'label' => __( 'Second (Singular)', 'premium-addons-for-elementor' ),
310
'type' => Controls_Manager::TEXT,
311
'default' => 'Second',
312
]
313
);
@@ -317,6 +332,7 @@ class Premium_Countdown extends Widget_Base {
317
[
318
'label' => __( 'Seconds (Plural)', 'premium-addons-for-elementor' ),
319
'type' => Controls_Manager::TEXT,
320
'default' => 'Seconds'
321
]
322
);
@@ -469,7 +485,7 @@ class Premium_Countdown extends Widget_Base {
469
470
protected function render( ) {
471
472
- $settings = $this->get_settings();
473
474
$target_date = str_replace('-', '/', $settings['premium_countdown_date_time'] );
475
160
[
161
'label' => __('On expiry Text', 'premium-addons-for-elementor'),
162
'type' => Controls_Manager::WYSIWYG,
163
+ 'dynamic' => [ 'active' => true ],
164
'default' => __('Countdown is finished!','prmeium_elementor'),
165
'condition' => [
166
'premium_countdown_expire_text_url' => 'text'
173
[
174
'label' => __('Redirect To', 'premium-addons-for-elementor'),
175
'type' => Controls_Manager::TEXT,
176
+ 'dynamic' => [ 'active' => true ],
177
'condition' => [
178
'premium_countdown_expire_text_url' => 'url'
179
],
195
[
196
'label' => __( 'Day (Singular)', 'premium-addons-for-elementor' ),
197
'type' => Controls_Manager::TEXT,
198
+ 'dynamic' => [ 'active' => true ],
199
'default' => 'Day'
200
]
201
);
205
[
206
'label' => __( 'Day (Plural)', 'premium-addons-for-elementor' ),
207
'type' => Controls_Manager::TEXT,
208
+ 'dynamic' => [ 'active' => true ],
209
'default' => 'Days'
210
]
211
);
215
[
216
'label' => __( 'Week (Singular)', 'premium-addons-for-elementor' ),
217
'type' => Controls_Manager::TEXT,
218
+ 'dynamic' => [ 'active' => true ],
219
'default' => 'Week'
220
]
221
);
225
[
226
'label' => __( 'Weeks (Plural)', 'premium-addons-for-elementor' ),
227
'type' => Controls_Manager::TEXT,
228
+ 'dynamic' => [ 'active' => true ],
229
'default' => 'Weeks'
230
]
231
);
236
[
237
'label' => __( 'Month (Singular)', 'premium-addons-for-elementor' ),
238
'type' => Controls_Manager::TEXT,
239
+ 'dynamic' => [ 'active' => true ],
240
'default' => 'Month'
241
]
242
);
247
[
248
'label' => __( 'Months (Plural)', 'premium-addons-for-elementor' ),
249
'type' => Controls_Manager::TEXT,
250
+ 'dynamic' => [ 'active' => true ],
251
'default' => 'Months'
252
]
253
);
258
[
259
'label' => __( 'Year (Singular)', 'premium-addons-for-elementor' ),
260
'type' => Controls_Manager::TEXT,
261
+ 'dynamic' => [ 'active' => true ],
262
'default' => 'Year'
263
]
264
);
269
[
270
'label' => __( 'Years (Plural)', 'premium-addons-for-elementor' ),
271
'type' => Controls_Manager::TEXT,
272
+ 'dynamic' => [ 'active' => true ],
273
'default' => 'Years'
274
]
275
);
280
[
281
'label' => __( 'Hour (Singular)', 'premium-addons-for-elementor' ),
282
'type' => Controls_Manager::TEXT,
283
+ 'dynamic' => [ 'active' => true ],
284
'default' => 'Hour'
285
]
286
);
291
[
292
'label' => __( 'Hours (Plural)', 'premium-addons-for-elementor' ),
293
'type' => Controls_Manager::TEXT,
294
+ 'dynamic' => [ 'active' => true ],
295
'default' => 'Hours'
296
]
297
);
302
[
303
'label' => __( 'Minute (Singular)', 'premium-addons-for-elementor' ),
304
'type' => Controls_Manager::TEXT,
305
+ 'dynamic' => [ 'active' => true ],
306
'default' => 'Minute'
307
]
308
);
312
[
313
'label' => __( 'Minutes (Plural)', 'premium-addons-for-elementor' ),
314
'type' => Controls_Manager::TEXT,
315
+ 'dynamic' => [ 'active' => true ],
316
'default' => 'Minutes'
317
]
318
);
322
[
323
'label' => __( 'Second (Singular)', 'premium-addons-for-elementor' ),
324
'type' => Controls_Manager::TEXT,
325
+ 'dynamic' => [ 'active' => true ],
326
'default' => 'Second',
327
]
328
);
332
[
333
'label' => __( 'Seconds (Plural)', 'premium-addons-for-elementor' ),
334
'type' => Controls_Manager::TEXT,
335
+ 'dynamic' => [ 'active' => true ],
336
'default' => 'Seconds'
337
]
338
);
485
486
protected function render( ) {
487
488
+ $settings = $this->get_settings_for_display();
489
490
$target_date = str_replace('-', '/', $settings['premium_countdown_date_time'] );
491
widgets/premium-counter.php CHANGED
@@ -60,6 +60,7 @@ class Premium_Counter extends Widget_Base {
60
[
61
'label' => __( 'Thousands Separator', 'premium-addons-for-elementor' ),
62
'type' => Controls_Manager::TEXT,
63
'description' => __( 'Separate coverts 125000 into 125,000', 'premium-addons-for-elementor' ),
64
'default' => ','
65
]
@@ -69,6 +70,7 @@ class Premium_Counter extends Widget_Base {
69
[
70
'label' => __( 'Decimal Point', 'premium-addons-for-elementor' ),
71
'type' => Controls_Manager::TEXT,
72
'description' => __( 'Set a decimal number (Eg - 12.76). The decimal point '.' will be replaced with the value that you will enter above', 'premium-addons-for-elementor' ),
73
'default' => '.'
74
]
60
[
61
'label' => __( 'Thousands Separator', 'premium-addons-for-elementor' ),
62
'type' => Controls_Manager::TEXT,
63
+ 'dynamic' => [ 'active' => true ],
64
'description' => __( 'Separate coverts 125000 into 125,000', 'premium-addons-for-elementor' ),
65
'default' => ','
66
]
70
[
71
'label' => __( 'Decimal Point', 'premium-addons-for-elementor' ),
72
'type' => Controls_Manager::TEXT,
73
+ 'dynamic' => [ 'active' => true ],
74
'description' => __( 'Set a decimal number (Eg - 12.76). The decimal point '.' will be replaced with the value that you will enter above', 'premium-addons-for-elementor' ),
75
'default' => '.'
76
]
widgets/premium-fancytext.php CHANGED
@@ -225,6 +225,7 @@ class Premium_Fancytext extends Widget_Base {
225
[
226
'label' => __('Cursor Mark', 'premium-addons-for-elementor'),
227
'type' => Controls_Manager::TEXT,
228
'default' => '|',
229
'condition' => [
230
'premium_fancy_text_effect' => 'typing',
225
[
226
'label' => __('Cursor Mark', 'premium-addons-for-elementor'),
227
'type' => Controls_Manager::TEXT,
228
+ 'dynamic' => [ 'active' => true ],
229
'default' => '|',
230
'condition' => [
231
'premium_fancy_text_effect' => 'typing',
widgets/premium-grid.php CHANGED
@@ -1067,6 +1067,12 @@ class Premium_Grid extends Widget_Base {
1067
1068
public function filter_cats( $string ) {
1069
$cat_filtered = strtolower( $string );
1070
$cat_filtered = preg_replace("/[\s_]/", "-", $cat_filtered);
1071
$cat_filtered = str_replace(',', ' ', $cat_filtered);
1072
return $cat_filtered;
1067
1068
public function filter_cats( $string ) {
1069
$cat_filtered = strtolower( $string );
1070
+ if( strpos( $cat_filtered, 'class' ) || strpos( $cat_filtered, 'src' ) ) {
1071
+ $cat_filtered = substr( $cat_filtered, strpos( $cat_filtered, '"' ) + 1 );
1072
+ $cat_filtered = strtok($cat_filtered, '"');
1073
+ $cat_filtered = preg_replace('/[http:.]/','',$cat_filtered);
1074
+ $cat_filtered = str_replace('/','',$cat_filtered);
1075
+ }
1076
$cat_filtered = preg_replace("/[\s_]/", "-", $cat_filtered);
1077
$cat_filtered = str_replace(',', ' ', $cat_filtered);
1078
return $cat_filtered;
widgets/premium-image-button.php CHANGED
@@ -351,6 +351,7 @@ class Premium_Image_Button extends Widget_Base {
351
[
352
'label' => __('Example: myFunction();', 'premium-addons-for-elementor'),
353
'type' => Controls_Manager::TEXTAREA,
354
'condition' => [
355
'premium_image_button_event_switcher' => 'yes',
356
],
351
[
352
'label' => __('Example: myFunction();', 'premium-addons-for-elementor'),
353
'type' => Controls_Manager::TEXTAREA,
354
+ 'dynamic' => [ 'active' => true ],
355
'condition' => [
356
'premium_image_button_event_switcher' => 'yes',
357
],
widgets/premium-maps.php CHANGED
@@ -91,6 +91,7 @@ class Premium_Maps extends Widget_Base {
91
[
92
'label' => __('Center Latitude', 'premium-addons-for-elementor'),
93
'type' => Controls_Manager::TEXT,
94
'description' => __('Center latitude and longitude are required to identify your location', 'premium-addons-for-elementor'),
95
'default' => '18.591212',
96
'label_block' => true,
@@ -104,6 +105,7 @@ class Premium_Maps extends Widget_Base {
104
[
105
'label' => __('Center Longitude', 'premium-addons-for-elementor'),
106
'type' => Controls_Manager::TEXT,
107
'description' => __('Center latitude and longitude are required to identify your location', 'premium-addons-for-elementor'),
108
'default' => '73.741261',
109
'label_block' => true,
@@ -154,6 +156,7 @@ class Premium_Maps extends Widget_Base {
154
[
155
'label' => __('Latitude', 'premium-addons-for-elementor'),
156
'type' => Controls_Manager::TEXT,
157
'description' => 'Click <a href="https://www.latlong.net/" target="_blank">here</a> to get your location coordinates',
158
'label_block' => true,
159
]
@@ -164,6 +167,7 @@ class Premium_Maps extends Widget_Base {
164
'name' => 'map_longitude',
165
'label' => __('Longitude', 'premium-addons-for-elementor'),
166
'type' => Controls_Manager::TEXT,
167
'description' => 'Click <a href="https://www.latlong.net/" target="_blank">here</a> to get your location coordinates',
168
'label_block' => true,
169
]
91
[
92
'label' => __('Center Latitude', 'premium-addons-for-elementor'),
93
'type' => Controls_Manager::TEXT,
94
+ 'dynamic' => [ 'active' => true ],
95
'description' => __('Center latitude and longitude are required to identify your location', 'premium-addons-for-elementor'),
96
'default' => '18.591212',
97
'label_block' => true,
105
[
106
'label' => __('Center Longitude', 'premium-addons-for-elementor'),
107
'type' => Controls_Manager::TEXT,
108
+ 'dynamic' => [ 'active' => true ],
109
'description' => __('Center latitude and longitude are required to identify your location', 'premium-addons-for-elementor'),
110
'default' => '73.741261',
111
'label_block' => true,
156
[
157
'label' => __('Latitude', 'premium-addons-for-elementor'),
158
'type' => Controls_Manager::TEXT,
159
+ 'dynamic' => [ 'active' => true ],
160
'description' => 'Click <a href="https://www.latlong.net/" target="_blank">here</a> to get your location coordinates',
161
'label_block' => true,
162
]
167
'name' => 'map_longitude',
168
'label' => __('Longitude', 'premium-addons-for-elementor'),
169
'type' => Controls_Manager::TEXT,
170
+ 'dynamic' => [ 'active' => true ],
171
'description' => 'Click <a href="https://www.latlong.net/" target="_blank">here</a> to get your location coordinates',
172
'label_block' => true,
173
]
widgets/premium-pricing-table.php CHANGED
@@ -108,6 +108,7 @@ class Premium_Pricing_Table extends Widget_Base {
108
[
109
'label' => __('Slashed Price', 'premium-addons-for-elementor'),
110
'type' => Controls_Manager::TEXT,
111
'label_block' => true,
112
]
113
);
@@ -116,8 +117,9 @@ class Premium_Pricing_Table extends Widget_Base {
116
$this->add_control('premium_pricing_table_price_currency',
117
[
118
'label' => __('Currency', 'premium-addons-for-elementor'),
119
- 'default' => '#x27;,
120
'type' => Controls_Manager::TEXT,
121
'label_block' => true,
122
]
123
);
@@ -126,8 +128,9 @@ class Premium_Pricing_Table extends Widget_Base {
126
$this->add_control('premium_pricing_table_price_value',
127
[
128
'label' => __('Price', 'premium-addons-for-elementor'),
129
- 'default' => '25',
130
'type' => Controls_Manager::TEXT,
131
'label_block' => true,
132
]
133
);
@@ -136,8 +139,9 @@ class Premium_Pricing_Table extends Widget_Base {
136
$this->add_control('premium_pricing_table_price_separator',
137
[
138
'label' => __('Divider', 'premium-addons-for-elementor'),
139
- 'default' => '/',
140
'type' => Controls_Manager::TEXT,
141
'label_block' => true,
142
]
143
);
@@ -146,8 +150,9 @@ class Premium_Pricing_Table extends Widget_Base {
146
$this->add_control('premium_pricing_table_price_duration',
147
[
148
'label' => __('Duration', 'premium-addons-for-elementor'),
149
- 'default' => 'm',
150
'type' => Controls_Manager::TEXT,
151
'label_block' => true,
152
]
153
);
@@ -248,6 +253,7 @@ class Premium_Pricing_Table extends Widget_Base {
248
[
249
'label' => __('Description', 'premium-addons-for-elementor'),
250
'type' => Controls_Manager::WYSIWYG,
251
'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit'
252
]
253
);
@@ -296,6 +302,7 @@ class Premium_Pricing_Table extends Widget_Base {
296
[
297
'label' => __('Link', 'premium-addons-for-elementor'),
298
'type' => Controls_Manager::TEXT,
299
'condition' => [
300
'premium_pricing_table_button_url_type' => 'url',
301
],
108
[
109
'label' => __('Slashed Price', 'premium-addons-for-elementor'),
110
'type' => Controls_Manager::TEXT,
111
+ 'dynamic' => [ 'active' => true ],
112
'label_block' => true,
113
]
114
);
117
$this->add_control('premium_pricing_table_price_currency',
118
[
119
'label' => __('Currency', 'premium-addons-for-elementor'),
120
'type' => Controls_Manager::TEXT,
121
+ 'dynamic' => [ 'active' => true ],
122
+ 'default' => '#x27;,
123
'label_block' => true,
124
]
125
);
128
$this->add_control('premium_pricing_table_price_value',
129
[
130
'label' => __('Price', 'premium-addons-for-elementor'),
131
'type' => Controls_Manager::TEXT,
132
+ 'dynamic' => [ 'active' => true ],
133
+ 'default' => '25',
134
'label_block' => true,
135
]
136
);
139
$this->add_control('premium_pricing_table_price_separator',
140
[
141
'label' => __('Divider', 'premium-addons-for-elementor'),
142
'type' => Controls_Manager::TEXT,
143
+ 'dynamic' => [ 'active' => true ],
144
+ 'default' => '/',
145
'label_block' => true,
146
]
147
);
150
$this->add_control('premium_pricing_table_price_duration',
151
[
152
'label' => __('Duration', 'premium-addons-for-elementor'),
153
'type' => Controls_Manager::TEXT,
154
+ 'dynamic' => [ 'active' => true ],
155
+ 'default' => 'm',
156
'label_block' => true,
157
]
158
);
253
[
254
'label' => __('Description', 'premium-addons-for-elementor'),
255
'type' => Controls_Manager::WYSIWYG,
256
+ 'dynamic' => [ 'active' => true ],
257
'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit'
258
]
259
);
302
[
303
'label' => __('Link', 'premium-addons-for-elementor'),
304
'type' => Controls_Manager::TEXT,
305
+ 'dynamic' => [ 'active' => true ],
306
'condition' => [
307
'premium_pricing_table_button_url_type' => 'url',
308
],
widgets/premium-progressbar.php CHANGED
@@ -69,6 +69,7 @@ class Premium_Progressbar extends Widget_Base {
69
[
70
'label' => __('Percentage', 'premium-addons-for-elementor'),
71
'type' => Controls_Manager::TEXT,
72
'default' => __('50%','premium-addons-for-elementor'),
73
'label_block' => true,
74
'condition' =>[
69
[
70
'label' => __('Percentage', 'premium-addons-for-elementor'),
71
'type' => Controls_Manager::TEXT,
72
+ 'dynamic' => [ 'active' => true ],
73
'default' => __('50%','premium-addons-for-elementor'),
74
'label_block' => true,
75
'condition' =>[
widgets/premium-testimonials.php CHANGED
@@ -144,6 +144,7 @@ class Premium_Testimonials extends Widget_Base {
144
[
145
'label' => __('Link', 'premium-addons-for-elementor'),
146
'type' => Controls_Manager::TEXT,
147
'description' => __( 'Add company URL', 'premium-addons-for-elementor' ),
148
'label_block' => true,
149
'condition' => [
144
[
145
'label' => __('Link', 'premium-addons-for-elementor'),
146
'type' => Controls_Manager::TEXT,
147
+ 'dynamic' => [ 'active' => true ],
148
'description' => __( 'Add company URL', 'premium-addons-for-elementor' ),
149
'label_block' => true,
150
'condition' => [
widgets/premium-videobox.php CHANGED
@@ -87,6 +87,7 @@ class Premium_Videobox extends Widget_Base {
87
'label' => esc_html__('Video ID', 'premium-addons-for-elementor'),
88
'description' => esc_html__('Enter the numbers and letters after the equal sign which located in your YouTube video link or after the slash sign in your Vimeo video link. For example, z1hQgVpfTKU', 'premium-addons-for-elementor'),
89
'type' => Controls_Manager::TEXT,
90
'condition' => [
91
'premium_video_box_video_type!' => 'self',
92
'premium_video_box_video_id_embed_selection' => 'id',
@@ -100,6 +101,7 @@ class Premium_Videobox extends Widget_Base {
100
'label' => esc_html__('Embed URL', 'premium-addons-for-elementor'),
101
'description' => esc_html__('Enter your YouTube/Vimeo video link. For example, https://www.youtube.com/embed/z1hQgVpfTKU', 'premium-addons-for-elementor'),
102
'type' => Controls_Manager::TEXT,
103
'condition' => [
104
'premium_video_box_video_type!' => 'self',
105
'premium_video_box_video_id_embed_selection' => 'embed',
@@ -232,7 +234,8 @@ class Premium_Videobox extends Widget_Base {
232
[
233
'label' => esc_html__('Text', 'premium-addons-for-elementor'),
234
'type' => Controls_Manager::TEXTAREA,
235
- 'default' => esc_html__('Play Video','premium-addons-for-elementor'),
236
'condition' => [
237
'premium_video_box_video_text_switcher' => 'yes'
238
],
87
'label' => esc_html__('Video ID', 'premium-addons-for-elementor'),
88
'description' => esc_html__('Enter the numbers and letters after the equal sign which located in your YouTube video link or after the slash sign in your Vimeo video link. For example, z1hQgVpfTKU', 'premium-addons-for-elementor'),
89
'type' => Controls_Manager::TEXT,
90
+ 'dynamic' => [ 'active' => true ],
91
'condition' => [
92
'premium_video_box_video_type!' => 'self',
93
'premium_video_box_video_id_embed_selection' => 'id',
101
'label' => esc_html__('Embed URL', 'premium-addons-for-elementor'),
102
'description' => esc_html__('Enter your YouTube/Vimeo video link. For example, https://www.youtube.com/embed/z1hQgVpfTKU', 'premium-addons-for-elementor'),
103
'type' => Controls_Manager::TEXT,
104
+ 'dynamic' => [ 'active' => true ],
105
'condition' => [
106
'premium_video_box_video_type!' => 'self',
107
'premium_video_box_video_id_embed_selection' => 'embed',
234
[
235
'label' => esc_html__('Text', 'premium-addons-for-elementor'),
236
'type' => Controls_Manager::TEXTAREA,
237
+ 'dynamic' => [ 'active' => true ],
238
+ 'default' => __('Play Video','premium-addons-for-elementor'),
239
'condition' => [
240
'premium_video_box_video_text_switcher' => 'yes'
241
],
widgets/premium-vscroll.php CHANGED
@@ -95,7 +95,8 @@ class Premium_Vscroll extends Widget_Base {
95
$id_repeater->add_control('section_id',
96
[
97
'label' => __( 'Section ID', 'premium-addons-for-elementor' ),
98
- 'type' => Controls_Manager::TEXT
99
]
100
);
101
@@ -122,6 +123,7 @@ class Premium_Vscroll extends Widget_Base {
122
[
123
'label' => __('Dots Tooltips Text', 'premium-addons-for-elementor'),
124
'type' => Controls_Manager::TEXT,
125
'description' => __('Add text for each navigation dot separated by \',\'','premium-addons-for-elementor'),
126
'condition' => [
127
'dots_tooltips_switcher' => 'yes'
@@ -210,6 +212,7 @@ class Premium_Vscroll extends Widget_Base {
210
[
211
'label' => __( 'List Item', 'premium-addons-for-elementor' ),
212
'type' => Controls_Manager::TEXT,
213
]
214
);
215
95
$id_repeater->add_control('section_id',
96
[
97
'label' => __( 'Section ID', 'premium-addons-for-elementor' ),
98
+ 'type' => Controls_Manager::TEXT,
99
+ 'dynamic' => [ 'active' => true ],
100
]
101
);
102
123
[
124
'label' => __('Dots Tooltips Text', 'premium-addons-for-elementor'),
125
'type' => Controls_Manager::TEXT,
126
+ 'dynamic' => [ 'active' => true ],
127
'description' => __('Add text for each navigation dot separated by \',\'','premium-addons-for-elementor'),
128
'condition' => [
129
'dots_tooltips_switcher' => 'yes'
212
[
213
'label' => __( 'List Item', 'premium-addons-for-elementor' ),
214
'type' => Controls_Manager::TEXT,
215
+ 'dynamic' => [ 'active' => true ],
216
]
217
);
218