PowerPack Addons for Elementor (Instagram Feed, Pricing Table, Forms Stylers, Display Conditions, Free Elementor Widgets and Elementor Templates) - Version 2.1.2

Version Description

  • August 25, 2020 =
  • Enhancement: Compatibility to Elementor 3.0
Download this release

Release Info

Developer ideaboxcreations
Plugin Icon 128x128 PowerPack Addons for Elementor (Instagram Feed, Pricing Table, Forms Stylers, Display Conditions, Free Elementor Widgets and Elementor Templates)
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  == 2.1.1 ==
2
  Release date: August 25, 2020
3
  * Fixed: Posts - Ajax error after updating to WP 5.5
1
+ == 2.1.2 ==
2
+ Release date: August 25, 2020
3
+ * Enhancement: Compatibility to Elementor 3.0
4
+
5
  == 2.1.1 ==
6
  Release date: August 25, 2020
7
  * Fixed: Posts - Ajax error after updating to WP 5.5
modules/advanced-accordion/widgets/advanced-accordion.php CHANGED
@@ -291,8 +291,8 @@ class Advanced_Accordion extends Powerpack_Widget {
291
  [ 'tab_title' => esc_html__( 'Accordion Tab Title 2', 'powerpack' ) ],
292
  [ 'tab_title' => esc_html__( 'Accordion Tab Title 3', 'powerpack' ) ],
293
  ],
294
- 'fields' => array_values( $repeater->get_controls() ),
295
- 'title_field' => '{{tab_title}}',
296
  ]
297
  );
298
 
291
  [ 'tab_title' => esc_html__( 'Accordion Tab Title 2', 'powerpack' ) ],
292
  [ 'tab_title' => esc_html__( 'Accordion Tab Title 3', 'powerpack' ) ],
293
  ],
294
+ 'fields' => $repeater->get_controls(),
295
+ 'title_field' => '{{{ tab_title }}}',
296
  ]
297
  );
298
 
modules/business-hours/widgets/business-hours.php CHANGED
@@ -150,6 +150,126 @@ class Business_Hours extends Powerpack_Widget {
150
  '24:30' => '12:30 PM',
151
  );
152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  $this->add_control(
154
  'business_hours',
155
  array(
@@ -184,102 +304,7 @@ class Business_Hours extends Powerpack_Widget {
184
  'highlight_color' => '#bc1705',
185
  ),
186
  ),
187
- 'fields' => array(
188
- array(
189
- 'name' => 'day',
190
- 'label' => __( 'Day', 'powerpack' ),
191
- 'type' => Controls_Manager::SELECT,
192
- 'default' => 'Monday',
193
- 'options' => array(
194
- 'Monday' => __( 'Monday', 'powerpack' ),
195
- 'Tuesday' => __( 'Tuesday', 'powerpack' ),
196
- 'Wednesday' => __( 'Wednesday', 'powerpack' ),
197
- 'Thursday' => __( 'Thursday', 'powerpack' ),
198
- 'Friday' => __( 'Friday', 'powerpack' ),
199
- 'Saturday' => __( 'Saturday', 'powerpack' ),
200
- 'Sunday' => __( 'Sunday', 'powerpack' ),
201
- ),
202
- ),
203
- array(
204
- 'name' => 'closed',
205
- 'label' => __( 'Closed?', 'powerpack' ),
206
- 'type' => Controls_Manager::SWITCHER,
207
- 'default' => 'no',
208
- 'label_on' => __( 'No', 'powerpack' ),
209
- 'label_off' => __( 'Yes', 'powerpack' ),
210
- 'return_value' => 'no',
211
- ),
212
- array(
213
- 'name' => 'opening_hours',
214
- 'label' => __( 'Opening Hours', 'powerpack' ),
215
- 'type' => Controls_Manager::SELECT,
216
- 'default' => '09:00',
217
- 'options' => $pp_hours,
218
- 'condition' => array(
219
- 'closed' => 'no',
220
- ),
221
- ),
222
- array(
223
- 'name' => 'closing_hours',
224
- 'label' => __( 'Closing Hours', 'powerpack' ),
225
- 'type' => Controls_Manager::SELECT,
226
- 'default' => '17:00',
227
- 'options' => $pp_hours,
228
- 'condition' => array(
229
- 'closed' => 'no',
230
- ),
231
- ),
232
- array(
233
- 'name' => 'closed_text',
234
- 'label' => __( 'Closed Text', 'powerpack' ),
235
- 'type' => Controls_Manager::TEXT,
236
- 'label_block' => true,
237
- 'placeholder' => __( 'Closed', 'powerpack' ),
238
- 'default' => __( 'Closed', 'powerpack' ),
239
- 'conditions' => array(
240
- 'terms' => array(
241
- array(
242
- 'name' => 'closed',
243
- 'operator' => '!=',
244
- 'value' => 'no',
245
- ),
246
- ),
247
- ),
248
- ),
249
- array(
250
- 'name' => 'highlight',
251
- 'label' => __( 'Highlight', 'powerpack' ),
252
- 'type' => Controls_Manager::SWITCHER,
253
- 'default' => 'no',
254
- 'label_on' => __( 'Yes', 'powerpack' ),
255
- 'label_off' => __( 'No', 'powerpack' ),
256
- 'return_value' => 'yes',
257
- ),
258
- array(
259
- 'name' => 'highlight_bg',
260
- 'label' => __( 'Background Color', 'powerpack' ),
261
- 'type' => Controls_Manager::COLOR,
262
- 'default' => '',
263
- 'selectors' => array(
264
- '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}}' => 'background-color: {{VALUE}}',
265
- ),
266
- 'condition' => array(
267
- 'highlight' => 'yes',
268
- ),
269
- ),
270
- array(
271
- 'name' => 'highlight_color',
272
- 'label' => __( 'Text Color', 'powerpack' ),
273
- 'type' => Controls_Manager::COLOR,
274
- 'default' => '',
275
- 'selectors' => array(
276
- '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-day, {{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-timing' => 'color: {{VALUE}}',
277
- ),
278
- 'condition' => array(
279
- 'highlight' => 'yes',
280
- ),
281
- ),
282
- ),
283
  'title_field' => '{{{ day }}}',
284
  'condition' => array(
285
  'business_timings' => 'predefined',
@@ -287,6 +312,103 @@ class Business_Hours extends Powerpack_Widget {
287
  )
288
  );
289
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
  $this->add_control(
291
  'business_hours_custom',
292
  array(
@@ -321,82 +443,7 @@ class Business_Hours extends Powerpack_Widget {
321
  'highlight_color' => '#bc1705',
322
  ),
323
  ),
324
- 'fields' => array(
325
- array(
326
- 'name' => 'day',
327
- 'label' => __( 'Day', 'powerpack' ),
328
- 'type' => Controls_Manager::TEXT,
329
- 'default' => 'Monday',
330
- ),
331
- array(
332
- 'name' => 'closed',
333
- 'label' => __( 'Closed?', 'powerpack' ),
334
- 'type' => Controls_Manager::SWITCHER,
335
- 'default' => 'no',
336
- 'label_on' => __( 'No', 'powerpack' ),
337
- 'label_off' => __( 'Yes', 'powerpack' ),
338
- 'return_value' => 'no',
339
- ),
340
- array(
341
- 'name' => 'time',
342
- 'label' => __( 'Time', 'powerpack' ),
343
- 'type' => Controls_Manager::TEXT,
344
- 'default' => '09:00 AM - 05:00 PM',
345
- 'condition' => array(
346
- 'closed' => 'no',
347
- ),
348
- ),
349
- array(
350
- 'name' => 'closed_text',
351
- 'label' => __( 'Closed Text', 'powerpack' ),
352
- 'type' => Controls_Manager::TEXT,
353
- 'label_block' => true,
354
- 'placeholder' => __( 'Closed', 'powerpack' ),
355
- 'default' => __( 'Closed', 'powerpack' ),
356
- 'conditions' => array(
357
- 'terms' => array(
358
- array(
359
- 'name' => 'closed',
360
- 'operator' => '!=',
361
- 'value' => 'no',
362
- ),
363
- ),
364
- ),
365
- ),
366
- array(
367
- 'name' => 'highlight',
368
- 'label' => __( 'Highlight', 'powerpack' ),
369
- 'type' => Controls_Manager::SWITCHER,
370
- 'default' => 'no',
371
- 'label_on' => __( 'Yes', 'powerpack' ),
372
- 'label_off' => __( 'No', 'powerpack' ),
373
- 'return_value' => 'yes',
374
- ),
375
- array(
376
- 'name' => 'highlight_bg',
377
- 'label' => __( 'Background Color', 'powerpack' ),
378
- 'type' => Controls_Manager::COLOR,
379
- 'default' => '',
380
- 'selectors' => array(
381
- '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}}' => 'background-color: {{VALUE}}',
382
- ),
383
- 'condition' => array(
384
- 'highlight' => 'yes',
385
- ),
386
- ),
387
- array(
388
- 'name' => 'highlight_color',
389
- 'label' => __( 'Text Color', 'powerpack' ),
390
- 'type' => Controls_Manager::COLOR,
391
- 'default' => '',
392
- 'selectors' => array(
393
- '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-day, {{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-timing' => 'color: {{VALUE}}',
394
- ),
395
- 'condition' => array(
396
- 'highlight' => 'yes',
397
- ),
398
- ),
399
- ),
400
  'title_field' => '{{{ day }}}',
401
  'condition' => array(
402
  'business_timings' => 'custom',
150
  '24:30' => '12:30 PM',
151
  );
152
 
153
+ $repeater = new Repeater();
154
+
155
+ $repeater->add_control(
156
+ 'day',
157
+ array(
158
+ 'label' => __( 'Day', 'powerpack' ),
159
+ 'type' => Controls_Manager::SELECT,
160
+ 'default' => 'Monday',
161
+ 'options' => array(
162
+ 'Monday' => __( 'Monday', 'powerpack' ),
163
+ 'Tuesday' => __( 'Tuesday', 'powerpack' ),
164
+ 'Wednesday' => __( 'Wednesday', 'powerpack' ),
165
+ 'Thursday' => __( 'Thursday', 'powerpack' ),
166
+ 'Friday' => __( 'Friday', 'powerpack' ),
167
+ 'Saturday' => __( 'Saturday', 'powerpack' ),
168
+ 'Sunday' => __( 'Sunday', 'powerpack' ),
169
+ ),
170
+ )
171
+ );
172
+
173
+ $repeater->add_control(
174
+ 'closed',
175
+ array(
176
+ 'label' => __( 'Closed?', 'powerpack' ),
177
+ 'type' => Controls_Manager::SWITCHER,
178
+ 'default' => 'no',
179
+ 'label_on' => __( 'No', 'powerpack' ),
180
+ 'label_off' => __( 'Yes', 'powerpack' ),
181
+ 'return_value' => 'no',
182
+ )
183
+ );
184
+
185
+ $repeater->add_control(
186
+ 'opening_hours',
187
+ array(
188
+ 'label' => __( 'Opening Hours', 'powerpack' ),
189
+ 'type' => Controls_Manager::SELECT,
190
+ 'default' => '09:00',
191
+ 'options' => $pp_hours,
192
+ 'condition' => array(
193
+ 'closed' => 'no',
194
+ ),
195
+ )
196
+ );
197
+
198
+ $repeater->add_control(
199
+ 'closing_hours',
200
+ array(
201
+ 'label' => __( 'Closing Hours', 'powerpack' ),
202
+ 'type' => Controls_Manager::SELECT,
203
+ 'default' => '17:00',
204
+ 'options' => $pp_hours,
205
+ 'condition' => array(
206
+ 'closed' => 'no',
207
+ ),
208
+ )
209
+ );
210
+
211
+ $repeater->add_control(
212
+ 'closed_text',
213
+ array(
214
+ 'label' => __( 'Closed Text', 'powerpack' ),
215
+ 'type' => Controls_Manager::TEXT,
216
+ 'label_block' => true,
217
+ 'placeholder' => __( 'Closed', 'powerpack' ),
218
+ 'default' => __( 'Closed', 'powerpack' ),
219
+ 'conditions' => array(
220
+ 'terms' => array(
221
+ array(
222
+ 'name' => 'closed',
223
+ 'operator' => '!=',
224
+ 'value' => 'no',
225
+ ),
226
+ ),
227
+ ),
228
+ )
229
+ );
230
+
231
+ $repeater->add_control(
232
+ 'highlight',
233
+ array(
234
+ 'label' => __( 'Highlight', 'powerpack' ),
235
+ 'type' => Controls_Manager::SWITCHER,
236
+ 'default' => 'no',
237
+ 'label_on' => __( 'Yes', 'powerpack' ),
238
+ 'label_off' => __( 'No', 'powerpack' ),
239
+ 'return_value' => 'yes',
240
+ )
241
+ );
242
+
243
+ $repeater->add_control(
244
+ 'highlight_bg',
245
+ array(
246
+ 'label' => __( 'Background Color', 'powerpack' ),
247
+ 'type' => Controls_Manager::COLOR,
248
+ 'default' => '',
249
+ 'selectors' => array(
250
+ '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}}' => 'background-color: {{VALUE}}',
251
+ ),
252
+ 'condition' => array(
253
+ 'highlight' => 'yes',
254
+ ),
255
+ )
256
+ );
257
+
258
+ $repeater->add_control(
259
+ 'highlight_color',
260
+ array(
261
+ 'label' => __( 'Text Color', 'powerpack' ),
262
+ 'type' => Controls_Manager::COLOR,
263
+ 'default' => '',
264
+ 'selectors' => array(
265
+ '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-day, {{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-timing' => 'color: {{VALUE}}',
266
+ ),
267
+ 'condition' => array(
268
+ 'highlight' => 'yes',
269
+ ),
270
+ )
271
+ );
272
+
273
  $this->add_control(
274
  'business_hours',
275
  array(
304
  'highlight_color' => '#bc1705',
305
  ),
306
  ),
307
+ 'fields' => $repeater->get_controls(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
  'title_field' => '{{{ day }}}',
309
  'condition' => array(
310
  'business_timings' => 'predefined',
312
  )
313
  );
314
 
315
+ $repeater_custom = new Repeater();
316
+
317
+ $repeater_custom->add_control(
318
+ 'day',
319
+ array(
320
+ 'label' => __( 'Day', 'powerpack' ),
321
+ 'type' => Controls_Manager::TEXT,
322
+ 'default' => 'Monday',
323
+ )
324
+ );
325
+
326
+ $repeater_custom->add_control(
327
+ 'closed',
328
+ array(
329
+ 'label' => __( 'Closed?', 'powerpack' ),
330
+ 'type' => Controls_Manager::SWITCHER,
331
+ 'default' => 'no',
332
+ 'label_on' => __( 'No', 'powerpack' ),
333
+ 'label_off' => __( 'Yes', 'powerpack' ),
334
+ 'return_value' => 'no',
335
+ )
336
+ );
337
+
338
+ $repeater_custom->add_control(
339
+ 'time',
340
+ array(
341
+ 'label' => __( 'Time', 'powerpack' ),
342
+ 'type' => Controls_Manager::TEXT,
343
+ 'default' => '09:00 AM - 05:00 PM',
344
+ 'condition' => array(
345
+ 'closed' => 'no',
346
+ ),
347
+ )
348
+ );
349
+
350
+ $repeater_custom->add_control(
351
+ 'closed_text',
352
+ array(
353
+ 'label' => __( 'Closed Text', 'powerpack' ),
354
+ 'type' => Controls_Manager::TEXT,
355
+ 'label_block' => true,
356
+ 'placeholder' => __( 'Closed', 'powerpack' ),
357
+ 'default' => __( 'Closed', 'powerpack' ),
358
+ 'conditions' => array(
359
+ 'terms' => array(
360
+ array(
361
+ 'name' => 'closed',
362
+ 'operator' => '!=',
363
+ 'value' => 'no',
364
+ ),
365
+ ),
366
+ ),
367
+ )
368
+ );
369
+
370
+ $repeater_custom->add_control(
371
+ 'highlight',
372
+ array(
373
+ 'label' => __( 'Highlight', 'powerpack' ),
374
+ 'type' => Controls_Manager::SWITCHER,
375
+ 'default' => 'no',
376
+ 'label_on' => __( 'Yes', 'powerpack' ),
377
+ 'label_off' => __( 'No', 'powerpack' ),
378
+ 'return_value' => 'yes',
379
+ )
380
+ );
381
+
382
+ $repeater_custom->add_control(
383
+ 'highlight_bg',
384
+ array(
385
+ 'label' => __( 'Background Color', 'powerpack' ),
386
+ 'type' => Controls_Manager::COLOR,
387
+ 'default' => '',
388
+ 'selectors' => array(
389
+ '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}}' => 'background-color: {{VALUE}}',
390
+ ),
391
+ 'condition' => array(
392
+ 'highlight' => 'yes',
393
+ ),
394
+ )
395
+ );
396
+
397
+ $repeater_custom->add_control(
398
+ 'highlight_color',
399
+ array(
400
+ 'label' => __( 'Text Color', 'powerpack' ),
401
+ 'type' => Controls_Manager::COLOR,
402
+ 'default' => '',
403
+ 'selectors' => array(
404
+ '{{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-day, {{WRAPPER}} .pp-business-hours .pp-business-hours-row{{CURRENT_ITEM}} .pp-business-timing' => 'color: {{VALUE}}',
405
+ ),
406
+ 'condition' => array(
407
+ 'highlight' => 'yes',
408
+ ),
409
+ )
410
+ );
411
+
412
  $this->add_control(
413
  'business_hours_custom',
414
  array(
443
  'highlight_color' => '#bc1705',
444
  ),
445
  ),
446
+ 'fields' => $repeater_custom->get_controls(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
447
  'title_field' => '{{{ day }}}',
448
  'condition' => array(
449
  'business_timings' => 'custom',
modules/buttons/widgets/buttons.php CHANGED
@@ -504,7 +504,7 @@ class Buttons extends Powerpack_Widget {
504
  'label' => __( 'Buttons', 'powerpack' ),
505
  'type' => Controls_Manager::REPEATER,
506
  'show_label' => true,
507
- 'fields' => array_values( $repeater->get_controls() ),
508
  'title_field' => '{{{ text }}}',
509
  'default' => array(
510
  array(
504
  'label' => __( 'Buttons', 'powerpack' ),
505
  'type' => Controls_Manager::REPEATER,
506
  'show_label' => true,
507
+ 'fields' => $repeater->get_controls(),
508
  'title_field' => '{{{ text }}}',
509
  'default' => array(
510
  array(
modules/content-ticker/widgets/content-ticker.php CHANGED
@@ -427,7 +427,7 @@ class Content_Ticker extends Powerpack_Widget {
427
  'ticker_title' => __( 'Content Ticker Item 4', 'powerpack' ),
428
  ),
429
  ),
430
- 'fields' => array_values( $repeater->get_controls() ),
431
  'title_field' => '{{{ ticker_title }}}',
432
  'condition' => array(
433
  'source' => 'custom',
427
  'ticker_title' => __( 'Content Ticker Item 4', 'powerpack' ),
428
  ),
429
  ),
430
+ 'fields' => $repeater->get_controls(),
431
  'title_field' => '{{{ ticker_title }}}',
432
  'condition' => array(
433
  'source' => 'custom',
modules/hotspots/widgets/hotspots.php CHANGED
@@ -387,7 +387,7 @@ class Hotspots extends Powerpack_Widget {
387
  'top_position' => 30,
388
  ),
389
  ),
390
- 'fields' => array_values( $repeater->get_controls() ),
391
  'title_field' => '{{{ hotspot_admin_label }}}',
392
  )
393
  );
387
  'top_position' => 30,
388
  ),
389
  ),
390
+ 'fields' => $repeater->get_controls(),
391
  'title_field' => '{{{ hotspot_admin_label }}}',
392
  )
393
  );
modules/icon-list/widgets/icon-list.php CHANGED
@@ -117,6 +117,110 @@ class Icon_List extends Powerpack_Widget {
117
  )
118
  );
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  $this->add_control(
121
  'list_items',
122
  array(
@@ -136,92 +240,7 @@ class Icon_List extends Powerpack_Widget {
136
  'icon' => __( 'fa fa-check', 'powerpack' ),
137
  ),
138
  ),
139
- 'fields' => array(
140
- array(
141
- 'name' => 'text',
142
- 'label' => __( 'Text', 'powerpack' ),
143
- 'label_block' => true,
144
- 'type' => Controls_Manager::TEXT,
145
- 'dynamic' => array(
146
- 'active' => true,
147
- ),
148
- 'default' => __( 'List Item #1', 'powerpack' ),
149
- ),
150
- array(
151
- 'name' => 'pp_icon_type',
152
- 'label' => esc_html__( 'Icon Type', 'powerpack' ),
153
- 'type' => Controls_Manager::CHOOSE,
154
- 'label_block' => false,
155
- 'options' => array(
156
- 'none' => array(
157
- 'title' => esc_html__( 'None', 'powerpack' ),
158
- 'icon' => 'fa fa-ban',
159
- ),
160
- 'icon' => array(
161
- 'title' => esc_html__( 'Icon', 'powerpack' ),
162
- 'icon' => 'fa fa-star',
163
- ),
164
- 'image' => array(
165
- 'title' => esc_html__( 'Image', 'powerpack' ),
166
- 'icon' => 'fa fa-picture-o',
167
- ),
168
- 'number' => array(
169
- 'title' => esc_html__( 'Number', 'powerpack' ),
170
- 'icon' => 'fa fa-hashtag',
171
- ),
172
- ),
173
- 'default' => 'icon',
174
- ),
175
- array(
176
- 'name' => 'icon',
177
- 'label' => __( 'Icon', 'powerpack' ),
178
- 'type' => Controls_Manager::ICONS,
179
- 'label_block' => true,
180
- 'default' => array(
181
- 'value' => 'fas fa-check',
182
- 'library' => 'fa-solid',
183
- ),
184
- 'fa4compatibility' => 'list_icon',
185
- 'condition' => array(
186
- 'pp_icon_type' => 'icon',
187
- ),
188
- ),
189
- array(
190
- 'name' => 'list_image',
191
- 'label' => __( 'Image', 'powerpack' ),
192
- 'label_block' => true,
193
- 'type' => Controls_Manager::MEDIA,
194
- 'dynamic' => array(
195
- 'active' => true,
196
- ),
197
- 'default' => array(
198
- 'url' => Utils::get_placeholder_image_src(),
199
- ),
200
- 'condition' => array(
201
- 'pp_icon_type' => 'image',
202
- ),
203
- ),
204
- array(
205
- 'name' => 'icon_text',
206
- 'label' => __( 'Number/Text', 'powerpack' ),
207
- 'label_block' => false,
208
- 'type' => Controls_Manager::TEXT,
209
- 'default' => '',
210
- 'condition' => array(
211
- 'pp_icon_type' => 'number',
212
- ),
213
- ),
214
- array(
215
- 'name' => 'link',
216
- 'label' => __( 'Link', 'powerpack' ),
217
- 'type' => Controls_Manager::URL,
218
- 'label_block' => true,
219
- 'dynamic' => array(
220
- 'active' => true,
221
- ),
222
- 'placeholder' => __( 'http://your-link.com', 'powerpack' ),
223
- ),
224
- ),
225
  'title_field' => '<i class="{{ icon }}" aria-hidden="true"></i> {{{ text }}}',
226
  )
227
  );
@@ -968,18 +987,16 @@ endforeach;
968
  <ul {{{ view.getRenderAttributeString( 'list_items' ) }}}>
969
  <# var i = 1; #>
970
  <# _.each( settings.list_items, function( item, index ) {
 
 
 
971
 
972
- var itemKey = view.getRepeaterSettingKey( 'item', 'list_items', index ),
973
- textKey = view.getRepeaterSettingKey( 'text', 'list_items', index );
974
-
975
- view.addRenderAttribute( {
976
- itemKey: {
977
- 'class': 'pp-icon-list-item'
978
- },
979
- textKey: {
980
- 'class': 'pp-icon-list-text'
981
- }
982
- } );
983
 
984
  view.addInlineEditingAttributes( textKey );
985
  #>
@@ -1043,7 +1060,7 @@ endforeach;
1043
  <#
1044
  var text = item.text;
1045
 
1046
- var text_html = '<span' + ' ' + view.getRenderAttributeString( textKey ) + '>' + text + '</span>';
1047
 
1048
  print( text_html );
1049
  #>
117
  )
118
  );
119
 
120
+ $repeater = new Repeater();
121
+
122
+ $repeater->add_control(
123
+ 'text',
124
+ array(
125
+ 'label' => __( 'Text', 'powerpack' ),
126
+ 'label_block' => true,
127
+ 'type' => Controls_Manager::TEXT,
128
+ 'dynamic' => array(
129
+ 'active' => true,
130
+ ),
131
+ 'default' => __( 'List Item #1', 'powerpack' ),
132
+ )
133
+ );
134
+
135
+ $repeater->add_control(
136
+ 'pp_icon_type',
137
+ array(
138
+ 'label' => esc_html__( 'Icon Type', 'powerpack' ),
139
+ 'type' => Controls_Manager::CHOOSE,
140
+ 'label_block' => false,
141
+ 'options' => array(
142
+ 'none' => array(
143
+ 'title' => esc_html__( 'None', 'powerpack' ),
144
+ 'icon' => 'fa fa-ban',
145
+ ),
146
+ 'icon' => array(
147
+ 'title' => esc_html__( 'Icon', 'powerpack' ),
148
+ 'icon' => 'fa fa-star',
149
+ ),
150
+ 'image' => array(
151
+ 'title' => esc_html__( 'Image', 'powerpack' ),
152
+ 'icon' => 'fa fa-picture-o',
153
+ ),
154
+ 'number' => array(
155
+ 'title' => esc_html__( 'Number', 'powerpack' ),
156
+ 'icon' => 'fa fa-hashtag',
157
+ ),
158
+ ),
159
+ 'default' => 'icon',
160
+ )
161
+ );
162
+
163
+ $repeater->add_control(
164
+ 'icon',
165
+ array(
166
+ 'label' => __( 'Icon', 'powerpack' ),
167
+ 'type' => Controls_Manager::ICONS,
168
+ 'label_block' => true,
169
+ 'default' => array(
170
+ 'value' => 'fas fa-check',
171
+ 'library' => 'fa-solid',
172
+ ),
173
+ 'fa4compatibility' => 'list_icon',
174
+ 'condition' => array(
175
+ 'pp_icon_type' => 'icon',
176
+ ),
177
+ )
178
+ );
179
+
180
+ $repeater->add_control(
181
+ 'list_image',
182
+ array(
183
+ 'label' => __( 'Image', 'powerpack' ),
184
+ 'label_block' => true,
185
+ 'type' => Controls_Manager::MEDIA,
186
+ 'dynamic' => array(
187
+ 'active' => true,
188
+ ),
189
+ 'default' => array(
190
+ 'url' => Utils::get_placeholder_image_src(),
191
+ ),
192
+ 'condition' => array(
193
+ 'pp_icon_type' => 'image',
194
+ ),
195
+ )
196
+ );
197
+
198
+ $repeater->add_control(
199
+ 'icon_text',
200
+ array(
201
+ 'label' => __( 'Number/Text', 'powerpack' ),
202
+ 'label_block' => false,
203
+ 'type' => Controls_Manager::TEXT,
204
+ 'default' => '',
205
+ 'condition' => array(
206
+ 'pp_icon_type' => 'number',
207
+ ),
208
+ )
209
+ );
210
+
211
+ $repeater->add_control(
212
+ 'link',
213
+ array(
214
+ 'label' => __( 'Link', 'powerpack' ),
215
+ 'type' => Controls_Manager::URL,
216
+ 'label_block' => true,
217
+ 'dynamic' => array(
218
+ 'active' => true,
219
+ ),
220
+ 'placeholder' => __( 'http://your-link.com', 'powerpack' ),
221
+ )
222
+ );
223
+
224
  $this->add_control(
225
  'list_items',
226
  array(
240
  'icon' => __( 'fa fa-check', 'powerpack' ),
241
  ),
242
  ),
243
+ 'fields' => $repeater->get_controls(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  'title_field' => '<i class="{{ icon }}" aria-hidden="true"></i> {{{ text }}}',
245
  )
246
  );
987
  <ul {{{ view.getRenderAttributeString( 'list_items' ) }}}>
988
  <# var i = 1; #>
989
  <# _.each( settings.list_items, function( item, index ) {
990
+
991
+ var itemKey = view.getRepeaterSettingKey( 'item', 'list_items', index ),
992
+ textKey = view.getRepeaterSettingKey( 'text', 'list_items', index );
993
 
994
+ view.addRenderAttribute( itemKey, {
995
+ 'class': 'pp-icon-list-item'
996
+ });
997
+ view.addRenderAttribute( textKey, {
998
+ 'class': 'pp-icon-list-text'
999
+ });
 
 
 
 
 
1000
 
1001
  view.addInlineEditingAttributes( textKey );
1002
  #>
1060
  <#
1061
  var text = item.text;
1062
 
1063
+ var text_html = '<span' + ' ' + view.getRenderAttributeString( textKey ) + ' >' + text + '</span>';
1064
 
1065
  print( text_html );
1066
  #>
modules/image-accordion/widgets/image-accordion.php CHANGED
@@ -279,7 +279,7 @@ class Image_Accordion extends Powerpack_Widget {
279
  ),
280
  ),
281
  ),
282
- 'fields' => array_values( $repeater->get_controls() ),
283
  'title_field' => '{{title}}',
284
  )
285
  );
279
  ),
280
  ),
281
  ),
282
+ 'fields' => $repeater->get_controls(),
283
  'title_field' => '{{title}}',
284
  )
285
  );
modules/info-box/widgets/info-box-carousel.php CHANGED
@@ -341,7 +341,7 @@ class Info_Box_Carousel extends Powerpack_Widget {
341
  'title' => __( 'Info Box 3', 'powerpack' ),
342
  ),
343
  ),
344
- 'fields' => array_values( $repeater->get_controls() ),
345
  'title_field' => '{{{ title }}}',
346
  )
347
  );
341
  'title' => __( 'Info Box 3', 'powerpack' ),
342
  ),
343
  ),
344
+ 'fields' => $repeater->get_controls(),
345
  'title_field' => '{{{ title }}}',
346
  )
347
  );
modules/info-list/widgets/info-list.php CHANGED
@@ -6,6 +6,7 @@ use PowerpackElementsLite\Base\Powerpack_Widget;
6
  // Elementor Classes
7
  use Elementor\Controls_Manager;
8
  use Elementor\Control_Media;
 
9
  use Elementor\Utils;
10
  use Elementor\Icons_Manager;
11
  use Elementor\Group_Control_Background;
@@ -113,6 +114,192 @@ class Info_List extends Powerpack_Widget {
113
  )
114
  );
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  $this->add_control(
117
  'list_items',
118
  array(
@@ -128,158 +315,7 @@ class Info_List extends Powerpack_Widget {
128
  'icon' => __( 'fa fa-check', 'powerpack' ),
129
  ),
130
  ),
131
- 'fields' => array(
132
- array(
133
- 'name' => 'text',
134
- 'label' => __( 'Title', 'powerpack' ),
135
- 'label_block' => true,
136
- 'type' => Controls_Manager::TEXT,
137
- 'dynamic' => array(
138
- 'active' => true,
139
- ),
140
- 'default' => __( 'List Item #1', 'powerpack' ),
141
- ),
142
- array(
143
- 'name' => 'description',
144
- 'label' => __( 'Description', 'powerpack' ),
145
- 'label_block' => true,
146
- 'type' => Controls_Manager::TEXTAREA,
147
- 'dynamic' => array(
148
- 'active' => true,
149
- ),
150
- 'default' => __( 'List Item Description', 'powerpack' ),
151
- ),
152
- array(
153
- 'name' => 'pp_icon_type',
154
- 'label' => esc_html__( 'Icon Type', 'powerpack' ),
155
- 'type' => Controls_Manager::CHOOSE,
156
- 'label_block' => false,
157
- 'options' => array(
158
- 'none' => array(
159
- 'title' => esc_html__( 'None', 'powerpack' ),
160
- 'icon' => 'fa fa-ban',
161
- ),
162
- 'icon' => array(
163
- 'title' => esc_html__( 'Icon', 'powerpack' ),
164
- 'icon' => 'fa fa-gear',
165
- ),
166
- 'image' => array(
167
- 'title' => esc_html__( 'Image', 'powerpack' ),
168
- 'icon' => 'fa fa-picture-o',
169
- ),
170
- 'text' => array(
171
- 'title' => esc_html__( 'Text', 'powerpack' ),
172
- 'icon' => 'fa fa-hashtag',
173
- ),
174
- ),
175
- 'default' => 'icon',
176
- ),
177
- array(
178
- 'name' => 'icon',
179
- 'label' => __( 'Icon', 'powerpack' ),
180
- 'type' => Controls_Manager::ICONS,
181
- 'label_block' => true,
182
- 'default' => array(
183
- 'value' => 'fas fa-check',
184
- 'library' => 'fa-solid',
185
- ),
186
- 'fa4compatibility' => 'list_icon',
187
- 'condition' => array(
188
- 'pp_icon_type' => 'icon',
189
- ),
190
- ),
191
- array(
192
- 'name' => 'list_image',
193
- 'label' => __( 'Image', 'powerpack' ),
194
- 'label_block' => true,
195
- 'type' => Controls_Manager::MEDIA,
196
- 'default' => array(
197
- 'url' => Utils::get_placeholder_image_src(),
198
- ),
199
- 'condition' => array(
200
- 'pp_icon_type' => 'image',
201
- ),
202
- ),
203
- array(
204
- 'name' => 'icon_text',
205
- 'label' => __( 'Icon Text', 'powerpack' ),
206
- 'label_block' => false,
207
- 'type' => Controls_Manager::TEXT,
208
- 'default' => __( '1', 'powerpack' ),
209
- 'condition' => array(
210
- 'pp_icon_type' => 'text',
211
- ),
212
- ),
213
- array(
214
- 'name' => 'link_type',
215
- 'label' => __( 'Link Type', 'powerpack' ),
216
- 'type' => Controls_Manager::SELECT,
217
- 'options' => array(
218
- 'none' => __( 'None', 'powerpack' ),
219
- 'box' => __( 'Box', 'powerpack' ),
220
- 'title' => __( 'Title', 'powerpack' ),
221
- 'button' => __( 'Button', 'powerpack' ),
222
- ),
223
- 'default' => 'none',
224
- ),
225
- array(
226
- 'name' => 'button_text',
227
- 'label' => __( 'Button Text', 'powerpack' ),
228
- 'type' => Controls_Manager::TEXT,
229
- 'dynamic' => array(
230
- 'active' => true,
231
- ),
232
- 'default' => __( 'Get Started', 'powerpack' ),
233
- 'condition' => array(
234
- 'link_type' => 'button',
235
- ),
236
- ),
237
- array(
238
- 'name' => 'selected_icon',
239
- 'label' => __( 'Button Icon', 'powerpack' ),
240
- 'type' => Controls_Manager::ICONS,
241
- 'label_block' => true,
242
- 'fa4compatibility' => 'button_icon',
243
- 'condition' => array(
244
- 'link_type' => 'button',
245
- ),
246
- ),
247
- array(
248
- 'name' => 'button_icon_position',
249
- 'label' => __( 'Icon Position', 'powerpack' ),
250
- 'type' => Controls_Manager::SELECT,
251
- 'default' => 'after',
252
- 'options' => array(
253
- 'after' => __( 'After', 'powerpack' ),
254
- 'before' => __( 'Before', 'powerpack' ),
255
- ),
256
- 'condition' => array(
257
- 'link_type' => 'button',
258
- ),
259
- ),
260
- array(
261
- 'name' => 'link',
262
- 'label' => __( 'Link', 'powerpack' ),
263
- 'type' => Controls_Manager::URL,
264
- 'dynamic' => array(
265
- 'active' => true,
266
- ),
267
- 'label_block' => true,
268
- 'placeholder' => __( 'http://your-link.com', 'powerpack' ),
269
- 'default' => array(
270
- 'url' => '#',
271
- ),
272
- 'conditions' => array(
273
- 'terms' => array(
274
- array(
275
- 'name' => 'link_type',
276
- 'operator' => '!=',
277
- 'value' => 'none',
278
- ),
279
- ),
280
- ),
281
- ),
282
- ),
283
  'title_field' => '{{{ text }}}',
284
  )
285
  );
6
  // Elementor Classes
7
  use Elementor\Controls_Manager;
8
  use Elementor\Control_Media;
9
+ use Elementor\Repeater;
10
  use Elementor\Utils;
11
  use Elementor\Icons_Manager;
12
  use Elementor\Group_Control_Background;
114
  )
115
  );
116
 
117
+ $repeater = new Repeater();
118
+
119
+ $repeater->add_control(
120
+ 'text',
121
+ array(
122
+ 'label' => __( 'Title', 'powerpack' ),
123
+ 'label_block' => true,
124
+ 'type' => Controls_Manager::TEXT,
125
+ 'dynamic' => array(
126
+ 'active' => true,
127
+ ),
128
+ 'default' => __( 'List Item #1', 'powerpack' ),
129
+ )
130
+ );
131
+
132
+ $repeater->add_control(
133
+ 'description',
134
+ array(
135
+ 'label' => __( 'Description', 'powerpack' ),
136
+ 'label_block' => true,
137
+ 'type' => Controls_Manager::TEXTAREA,
138
+ 'dynamic' => array(
139
+ 'active' => true,
140
+ ),
141
+ 'default' => __( 'List Item Description', 'powerpack' ),
142
+ )
143
+ );
144
+
145
+ $repeater->add_control(
146
+ 'pp_icon_type',
147
+ array(
148
+ 'label' => esc_html__( 'Icon Type', 'powerpack' ),
149
+ 'type' => Controls_Manager::CHOOSE,
150
+ 'label_block' => false,
151
+ 'options' => array(
152
+ 'none' => array(
153
+ 'title' => esc_html__( 'None', 'powerpack' ),
154
+ 'icon' => 'fa fa-ban',
155
+ ),
156
+ 'icon' => array(
157
+ 'title' => esc_html__( 'Icon', 'powerpack' ),
158
+ 'icon' => 'fa fa-gear',
159
+ ),
160
+ 'image' => array(
161
+ 'title' => esc_html__( 'Image', 'powerpack' ),
162
+ 'icon' => 'fa fa-picture-o',
163
+ ),
164
+ 'text' => array(
165
+ 'title' => esc_html__( 'Text', 'powerpack' ),
166
+ 'icon' => 'fa fa-hashtag',
167
+ ),
168
+ ),
169
+ 'default' => 'icon',
170
+ )
171
+ );
172
+
173
+ $repeater->add_control(
174
+ 'icon',
175
+ array(
176
+ 'label' => __( 'Icon', 'powerpack' ),
177
+ 'type' => Controls_Manager::ICONS,
178
+ 'label_block' => true,
179
+ 'default' => array(
180
+ 'value' => 'fas fa-check',
181
+ 'library' => 'fa-solid',
182
+ ),
183
+ 'fa4compatibility' => 'list_icon',
184
+ 'condition' => array(
185
+ 'pp_icon_type' => 'icon',
186
+ ),
187
+ )
188
+ );
189
+
190
+ $repeater->add_control(
191
+ 'list_image',
192
+ array(
193
+ 'label' => __( 'Image', 'powerpack' ),
194
+ 'label_block' => true,
195
+ 'type' => Controls_Manager::MEDIA,
196
+ 'default' => array(
197
+ 'url' => Utils::get_placeholder_image_src(),
198
+ ),
199
+ 'condition' => array(
200
+ 'pp_icon_type' => 'image',
201
+ ),
202
+ )
203
+ );
204
+
205
+ $repeater->add_control(
206
+ 'icon_text',
207
+ array(
208
+ 'label' => __( 'Icon Text', 'powerpack' ),
209
+ 'label_block' => false,
210
+ 'type' => Controls_Manager::TEXT,
211
+ 'default' => __( '1', 'powerpack' ),
212
+ 'condition' => array(
213
+ 'pp_icon_type' => 'text',
214
+ ),
215
+ )
216
+ );
217
+
218
+ $repeater->add_control(
219
+ 'link_type',
220
+ array(
221
+ 'label' => __( 'Link Type', 'powerpack' ),
222
+ 'type' => Controls_Manager::SELECT,
223
+ 'options' => array(
224
+ 'none' => __( 'None', 'powerpack' ),
225
+ 'box' => __( 'Box', 'powerpack' ),
226
+ 'title' => __( 'Title', 'powerpack' ),
227
+ 'button' => __( 'Button', 'powerpack' ),
228
+ ),
229
+ 'default' => 'none',
230
+ )
231
+ );
232
+
233
+ $repeater->add_control(
234
+ 'button_text',
235
+ array(
236
+ 'label' => __( 'Button Text', 'powerpack' ),
237
+ 'type' => Controls_Manager::TEXT,
238
+ 'dynamic' => array(
239
+ 'active' => true,
240
+ ),
241
+ 'default' => __( 'Get Started', 'powerpack' ),
242
+ 'condition' => array(
243
+ 'link_type' => 'button',
244
+ ),
245
+ )
246
+ );
247
+
248
+ $repeater->add_control(
249
+ 'selected_icon',
250
+ array(
251
+ 'label' => __( 'Button Icon', 'powerpack' ),
252
+ 'type' => Controls_Manager::ICONS,
253
+ 'label_block' => true,
254
+ 'fa4compatibility' => 'button_icon',
255
+ 'condition' => array(
256
+ 'link_type' => 'button',
257
+ ),
258
+ )
259
+ );
260
+
261
+
262
+ $repeater->add_control(
263
+ 'button_icon_position',
264
+ array(
265
+ 'label' => __( 'Icon Position', 'powerpack' ),
266
+ 'type' => Controls_Manager::SELECT,
267
+ 'default' => 'after',
268
+ 'options' => array(
269
+ 'after' => __( 'After', 'powerpack' ),
270
+ 'before' => __( 'Before', 'powerpack' ),
271
+ ),
272
+ 'condition' => array(
273
+ 'link_type' => 'button',
274
+ ),
275
+ )
276
+ );
277
+
278
+ $repeater->add_control(
279
+ 'link',
280
+ array(
281
+ 'label' => __( 'Link', 'powerpack' ),
282
+ 'type' => Controls_Manager::URL,
283
+ 'dynamic' => array(
284
+ 'active' => true,
285
+ ),
286
+ 'label_block' => true,
287
+ 'placeholder' => __( 'http://your-link.com', 'powerpack' ),
288
+ 'default' => array(
289
+ 'url' => '#',
290
+ ),
291
+ 'conditions' => array(
292
+ 'terms' => array(
293
+ array(
294
+ 'name' => 'link_type',
295
+ 'operator' => '!=',
296
+ 'value' => 'none',
297
+ ),
298
+ ),
299
+ ),
300
+ )
301
+ );
302
+
303
  $this->add_control(
304
  'list_items',
305
  array(
315
  'icon' => __( 'fa fa-check', 'powerpack' ),
316
  ),
317
  ),
318
+ 'fields' => $repeater->get_controls(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
  'title_field' => '{{{ text }}}',
320
  )
321
  );
modules/logos/widgets/logo-grid.php CHANGED
@@ -228,7 +228,7 @@ class Logo_Grid extends Powerpack_Widget {
228
  ),
229
  ),
230
  ),
231
- 'fields' => array_values( $repeater->get_controls() ),
232
  'title_field' => __( 'Logo Image', 'powerpack' ),
233
  )
234
  );
228
  ),
229
  ),
230
  ),
231
+ 'fields' => $repeater->get_controls(),
232
  'title_field' => __( 'Logo Image', 'powerpack' ),
233
  )
234
  );
modules/pricing/widgets/price-menu.php CHANGED
@@ -7,6 +7,7 @@ use PowerpackElementsLite\Base\Powerpack_Widget;
7
  use Elementor\Controls_Manager;
8
  use Elementor\Control_Media;
9
  use Elementor\Utils;
 
10
  use Elementor\Group_Control_Background;
11
  use Elementor\Group_Control_Box_Shadow;
12
  use Elementor\Group_Control_Text_Shadow;
@@ -67,6 +68,130 @@ class Price_Menu extends Powerpack_Widget {
67
  )
68
  );
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  $this->add_control(
71
  'menu_items',
72
  array(
@@ -86,104 +211,7 @@ class Price_Menu extends Powerpack_Widget {
86
  'menu_price' => '$49',
87
  ),
88
  ),
89
- 'fields' => array(
90
- array(
91
- 'name' => 'menu_title',
92
- 'label' => __( 'Title', 'powerpack' ),
93
- 'type' => Controls_Manager::TEXT,
94
- 'dynamic' => array(
95
- 'active' => true,
96
- ),
97
- 'label_block' => true,
98
- 'placeholder' => __( 'Title', 'powerpack' ),
99
- 'default' => __( 'Title', 'powerpack' ),
100
- ),
101
- array(
102
- 'name' => 'menu_description',
103
- 'label' => __( 'Description', 'powerpack' ),
104
- 'type' => Controls_Manager::TEXTAREA,
105
- 'dynamic' => array(
106
- 'active' => true,
107
- ),
108
- 'label_block' => true,
109
- 'placeholder' => __( 'Description', 'powerpack' ),
110
- 'default' => __( 'Description', 'powerpack' ),
111
- ),
112
- array(
113
- 'name' => 'menu_price',
114
- 'label' => __( 'Price', 'powerpack' ),
115
- 'type' => Controls_Manager::TEXT,
116
- 'dynamic' => array(
117
- 'active' => true,
118
- ),
119
- 'default' => '$49',
120
- ),
121
- array(
122
- 'name' => 'discount',
123
- 'label' => __( 'Discount', 'powerpack' ),
124
- 'type' => Controls_Manager::SWITCHER,
125
- 'default' => 'no',
126
- 'label_on' => __( 'On', 'powerpack' ),
127
- 'label_off' => __( 'Off', 'powerpack' ),
128
- 'return_value' => 'yes',
129
- ),
130
- array(
131
- 'name' => 'original_price',
132
- 'label' => __( 'Original Price', 'powerpack' ),
133
- 'type' => Controls_Manager::TEXT,
134
- 'dynamic' => array(
135
- 'active' => true,
136
- ),
137
- 'default' => '$69',
138
- 'conditions' => array(
139
- 'terms' => array(
140
- array(
141
- 'name' => 'discount',
142
- 'operator' => '==',
143
- 'value' => 'yes',
144
- ),
145
- ),
146
- ),
147
- ),
148
- array(
149
- 'name' => 'image_switch',
150
- 'label' => __( 'Show Image', 'powerpack' ),
151
- 'type' => Controls_Manager::SWITCHER,
152
- 'default' => '',
153
- 'label_on' => __( 'On', 'powerpack' ),
154
- 'label_off' => __( 'Off', 'powerpack' ),
155
- 'return_value' => 'yes',
156
- ),
157
- array(
158
- 'name' => 'image',
159
- 'label' => __( 'Image', 'powerpack' ),
160
- 'type' => Controls_Manager::MEDIA,
161
- 'default' => array(
162
- 'url' => \Elementor\Utils::get_placeholder_image_src(),
163
- ),
164
- 'dynamic' => array(
165
- 'active' => true,
166
- ),
167
- 'conditions' => array(
168
- 'terms' => array(
169
- array(
170
- 'name' => 'image_switch',
171
- 'operator' => '==',
172
- 'value' => 'yes',
173
- ),
174
- ),
175
- ),
176
- ),
177
- array(
178
- 'name' => 'link',
179
- 'label' => __( 'Link', 'powerpack' ),
180
- 'type' => Controls_Manager::URL,
181
- 'dynamic' => array(
182
- 'active' => true,
183
- ),
184
- 'placeholder' => 'https://www.your-link.com',
185
- ),
186
- ),
187
  'title_field' => '{{{ menu_title }}}',
188
  )
189
  );
7
  use Elementor\Controls_Manager;
8
  use Elementor\Control_Media;
9
  use Elementor\Utils;
10
+ use Elementor\Repeater;
11
  use Elementor\Group_Control_Background;
12
  use Elementor\Group_Control_Box_Shadow;
13
  use Elementor\Group_Control_Text_Shadow;
68
  )
69
  );
70
 
71
+ $repeater = new Repeater();
72
+
73
+ $repeater->add_control(
74
+ 'menu_title',
75
+ array(
76
+ 'label' => __( 'Title', 'powerpack' ),
77
+ 'type' => Controls_Manager::TEXT,
78
+ 'dynamic' => array(
79
+ 'active' => true,
80
+ ),
81
+ 'label_block' => true,
82
+ 'placeholder' => __( 'Title', 'powerpack' ),
83
+ 'default' => __( 'Title', 'powerpack' ),
84
+ )
85
+ );
86
+
87
+ $repeater->add_control(
88
+ 'menu_description',
89
+ array(
90
+ 'label' => __( 'Description', 'powerpack' ),
91
+ 'type' => Controls_Manager::TEXTAREA,
92
+ 'dynamic' => array(
93
+ 'active' => true,
94
+ ),
95
+ 'label_block' => true,
96
+ 'placeholder' => __( 'Description', 'powerpack' ),
97
+ 'default' => __( 'Description', 'powerpack' ),
98
+ )
99
+ );
100
+
101
+ $repeater->add_control(
102
+ 'menu_price',
103
+ array(
104
+ 'label' => __( 'Price', 'powerpack' ),
105
+ 'type' => Controls_Manager::TEXT,
106
+ 'dynamic' => array(
107
+ 'active' => true,
108
+ ),
109
+ 'default' => '$49',
110
+ )
111
+ );
112
+
113
+ $repeater->add_control(
114
+ 'discount',
115
+ array(
116
+ 'label' => __( 'Discount', 'powerpack' ),
117
+ 'type' => Controls_Manager::SWITCHER,
118
+ 'default' => 'no',
119
+ 'label_on' => __( 'On', 'powerpack' ),
120
+ 'label_off' => __( 'Off', 'powerpack' ),
121
+ 'return_value' => 'yes',
122
+ )
123
+ );
124
+
125
+ $repeater->add_control(
126
+ 'original_price',
127
+ array(
128
+ 'label' => __( 'Original Price', 'powerpack' ),
129
+ 'type' => Controls_Manager::TEXT,
130
+ 'dynamic' => array(
131
+ 'active' => true,
132
+ ),
133
+ 'default' => '$69',
134
+ 'conditions' => array(
135
+ 'terms' => array(
136
+ array(
137
+ 'name' => 'discount',
138
+ 'operator' => '==',
139
+ 'value' => 'yes',
140
+ ),
141
+ ),
142
+ ),
143
+ )
144
+ );
145
+
146
+ $repeater->add_control(
147
+ 'image_switch',
148
+ array(
149
+ 'label' => __( 'Show Image', 'powerpack' ),
150
+ 'type' => Controls_Manager::SWITCHER,
151
+ 'default' => '',
152
+ 'label_on' => __( 'On', 'powerpack' ),
153
+ 'label_off' => __( 'Off', 'powerpack' ),
154
+ 'return_value' => 'yes',
155
+ )
156
+ );
157
+
158
+ $repeater->add_control(
159
+ 'image',
160
+ array(
161
+ 'name' => 'image',
162
+ 'label' => __( 'Image', 'powerpack' ),
163
+ 'type' => Controls_Manager::MEDIA,
164
+ 'default' => array(
165
+ 'url' => \Elementor\Utils::get_placeholder_image_src(),
166
+ ),
167
+ 'dynamic' => array(
168
+ 'active' => true,
169
+ ),
170
+ 'conditions' => array(
171
+ 'terms' => array(
172
+ array(
173
+ 'name' => 'image_switch',
174
+ 'operator' => '==',
175
+ 'value' => 'yes',
176
+ ),
177
+ ),
178
+ ),
179
+ )
180
+ );
181
+
182
+ $repeater->add_control(
183
+ 'link',
184
+ array(
185
+ 'name' => 'link',
186
+ 'label' => __( 'Link', 'powerpack' ),
187
+ 'type' => Controls_Manager::URL,
188
+ 'dynamic' => array(
189
+ 'active' => true,
190
+ ),
191
+ 'placeholder' => 'https://www.your-link.com',
192
+ )
193
+ );
194
+
195
  $this->add_control(
196
  'menu_items',
197
  array(
211
  'menu_price' => '$49',
212
  ),
213
  ),
214
+ 'fields' => $repeater->get_controls(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  'title_field' => '{{{ menu_title }}}',
216
  )
217
  );
modules/pricing/widgets/pricing-table.php CHANGED
@@ -6,6 +6,7 @@ use PowerpackElementsLite\Base\Powerpack_Widget;
6
  // Elementor Classes
7
  use Elementor\Controls_Manager;
8
  use Elementor\Utils;
 
9
  use Elementor\Icons_Manager;
10
  use Elementor\Group_Control_Background;
11
  use Elementor\Group_Control_Box_Shadow;
@@ -323,6 +324,88 @@ class Pricing_Table extends Powerpack_Widget {
323
  )
324
  );
325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  $this->add_control(
327
  'table_features',
328
  array(
@@ -342,69 +425,7 @@ class Pricing_Table extends Powerpack_Widget {
342
  'select_feature_icon' => 'fa fa-check',
343
  ),
344
  ),
345
- 'fields' => array(
346
- array(
347
- 'name' => 'feature_text',
348
- 'label' => __( 'Text', 'powerpack' ),
349
- 'type' => Controls_Manager::TEXT,
350
- 'dynamic' => array(
351
- 'active' => true,
352
- ),
353
- 'placeholder' => __( 'Feature', 'powerpack' ),
354
- 'default' => __( 'Feature', 'powerpack' ),
355
- ),
356
- array(
357
- 'name' => 'exclude',
358
- 'label' => __( 'Exclude', 'powerpack' ),
359
- 'type' => Controls_Manager::SWITCHER,
360
- 'default' => '',
361
- 'label_on' => __( 'Yes', 'powerpack' ),
362
- 'label_off' => __( 'No', 'powerpack' ),
363
- 'return_value' => 'yes',
364
- ),
365
- array(
366
- 'name' => 'select_feature_icon',
367
- 'label' => __( 'Icon', 'powerpack' ),
368
- 'type' => Controls_Manager::ICONS,
369
- 'label_block' => true,
370
- 'default' => array(
371
- 'value' => 'fas fa-check',
372
- 'library' => 'fa-solid',
373
- ),
374
- 'fa4compatibility' => 'feature_icon',
375
- ),
376
- array(
377
- 'name' => 'feature_icon_color',
378
- 'label' => __( 'Icon Color', 'powerpack' ),
379
- 'type' => Controls_Manager::COLOR,
380
- 'default' => '',
381
- 'selectors' => array(
382
- '{{WRAPPER}} {{CURRENT_ITEM}} .pp-icon i' => 'color: {{VALUE}}',
383
- '{{WRAPPER}} {{CURRENT_ITEM}} .pp-icon svg' => 'fill: {{VALUE}}',
384
- ),
385
- 'condition' => array(
386
- 'select_feature_icon[value]!' => '',
387
- ),
388
- ),
389
- array(
390
- 'name' => 'feature_text_color',
391
- 'label' => __( 'Text Color', 'powerpack' ),
392
- 'type' => Controls_Manager::COLOR,
393
- 'default' => '',
394
- 'selectors' => array(
395
- '{{WRAPPER}} {{CURRENT_ITEM}}' => 'color: {{VALUE}}',
396
- ),
397
- ),
398
- array(
399
- 'name' => 'feature_bg_color',
400
- 'label' => __( 'Background Color', 'powerpack' ),
401
- 'type' => Controls_Manager::COLOR,
402
- 'default' => '',
403
- 'selectors' => array(
404
- '{{WRAPPER}} {{CURRENT_ITEM}}' => 'background-color: {{VALUE}}',
405
- ),
406
- ),
407
- ),
408
  'title_field' => '{{{ feature_text }}}',
409
  )
410
  );
6
  // Elementor Classes
7
  use Elementor\Controls_Manager;
8
  use Elementor\Utils;
9
+ use Elementor\Repeater;
10
  use Elementor\Icons_Manager;
11
  use Elementor\Group_Control_Background;
12
  use Elementor\Group_Control_Box_Shadow;
324
  )
325
  );
326
 
327
+ $repeater = new Repeater();
328
+
329
+ $repeater->add_control(
330
+ 'feature_text',
331
+ array(
332
+ 'label' => __( 'Text', 'powerpack' ),
333
+ 'type' => Controls_Manager::TEXT,
334
+ 'dynamic' => array(
335
+ 'active' => true,
336
+ ),
337
+ 'placeholder' => __( 'Feature', 'powerpack' ),
338
+ 'default' => __( 'Feature', 'powerpack' ),
339
+ )
340
+ );
341
+
342
+ $repeater->add_control(
343
+ 'exclude',
344
+ array(
345
+ 'label' => __( 'Exclude', 'powerpack' ),
346
+ 'type' => Controls_Manager::SWITCHER,
347
+ 'default' => '',
348
+ 'label_on' => __( 'Yes', 'powerpack' ),
349
+ 'label_off' => __( 'No', 'powerpack' ),
350
+ 'return_value' => 'yes',
351
+ )
352
+ );
353
+
354
+ $repeater->add_control(
355
+ 'select_feature_icon',
356
+ array(
357
+ 'label' => __( 'Icon', 'powerpack' ),
358
+ 'type' => Controls_Manager::ICONS,
359
+ 'label_block' => true,
360
+ 'default' => array(
361
+ 'value' => 'fas fa-check',
362
+ 'library' => 'fa-solid',
363
+ ),
364
+ 'fa4compatibility' => 'feature_icon',
365
+ )
366
+ );
367
+
368
+ $repeater->add_control(
369
+ 'feature_icon_color',
370
+ array(
371
+ 'label' => __( 'Icon Color', 'powerpack' ),
372
+ 'type' => Controls_Manager::COLOR,
373
+ 'default' => '',
374
+ 'selectors' => array(
375
+ '{{WRAPPER}} {{CURRENT_ITEM}} .pp-icon i' => 'color: {{VALUE}}',
376
+ '{{WRAPPER}} {{CURRENT_ITEM}} .pp-icon svg' => 'fill: {{VALUE}}',
377
+ ),
378
+ 'condition' => array(
379
+ 'select_feature_icon[value]!' => '',
380
+ ),
381
+ )
382
+ );
383
+
384
+ $repeater->add_control(
385
+ 'feature_text_color',
386
+ array(
387
+ 'label' => __( 'Text Color', 'powerpack' ),
388
+ 'type' => Controls_Manager::COLOR,
389
+ 'default' => '',
390
+ 'selectors' => array(
391
+ '{{WRAPPER}} {{CURRENT_ITEM}}' => 'color: {{VALUE}}',
392
+ ),
393
+ )
394
+ );
395
+
396
+ $repeater->add_control(
397
+ 'feature_bg_color',
398
+ array(
399
+ 'name' => 'feature_bg_color',
400
+ 'label' => __( 'Background Color', 'powerpack' ),
401
+ 'type' => Controls_Manager::COLOR,
402
+ 'default' => '',
403
+ 'selectors' => array(
404
+ '{{WRAPPER}} {{CURRENT_ITEM}}' => 'background-color: {{VALUE}}',
405
+ ),
406
+ )
407
+ );
408
+
409
  $this->add_control(
410
  'table_features',
411
  array(
425
  'select_feature_icon' => 'fa fa-check',
426
  ),
427
  ),
428
+ 'fields' => $repeater->get_controls(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429
  'title_field' => '{{{ feature_text }}}',
430
  )
431
  );
modules/team-member/widgets/team-member-carousel.php CHANGED
@@ -374,7 +374,7 @@ class Team_Member_Carousel extends Powerpack_Widget {
374
  'instagram_url' => '#',
375
  ),
376
  ),
377
- 'fields' => array_values( $repeater->get_controls() ),
378
  'title_field' => '{{{ team_member_name }}}',
379
  )
380
  );
374
  'instagram_url' => '#',
375
  ),
376
  ),
377
+ 'fields' => $repeater->get_controls(),
378
  'title_field' => '{{{ team_member_name }}}',
379
  )
380
  );
modules/twitter/widgets/twitter-buttons.php CHANGED
@@ -285,4 +285,58 @@ class Twitter_Buttons extends Powerpack_Widget {
285
  </div>
286
  <?php
287
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
288
  }
285
  </div>
286
  <?php
287
  }
288
+
289
+ /**
290
+ * Render Twitter Buttons widget output in the editor.
291
+ *
292
+ * Written as a Backbone JavaScript template and used to generate the live preview.
293
+ *
294
+ * @access protected
295
+ */
296
+ protected function _content_template() {
297
+ ?>
298
+ <#
299
+ var text = ( settings.default_text ) ? '&text='+settings.default_text : '';
300
+ var type = settings.button_type;
301
+
302
+ if ( 'share' == type || 'mention' == type || 'hashtag' == type ) {
303
+
304
+ view.addRenderAttribute( 'atts', {
305
+ 'data-via': settings.via,
306
+ 'data-text': settings.share_text,
307
+ 'data-url': settings.share_url,
308
+ });
309
+ }
310
+ if ( 'follow' == type ) {
311
+ view.addRenderAttribute( 'atts', {
312
+ 'data-show-count': ( 'yes' == settings.show_count ) ? 'true' : 'false',
313
+ });
314
+ }
315
+
316
+ if ( 'message' == type ) {
317
+ view.addRenderAttribute( 'atts', {
318
+ 'data-screen-name': settings.profile,
319
+ });
320
+ }
321
+
322
+ view.addRenderAttribute( 'atts', {
323
+ 'data-size': ( 'yes' == settings.large_button ) ? 'large' : '',
324
+ 'data-lang': '',
325
+ });
326
+ #>
327
+ <div class="pp-twitter-buttons">
328
+ <# if ( 'share' == settings.button_type ) { #>
329
+ <a href="https://twitter.com/share" class="twitter-share-button" {{{ view.getRenderAttributeString( 'atts' ) }}}>Share</a>
330
+ <# } else if ( 'follow' == settings.button_type ) { #>
331
+ <a href="https://twitter.com/{{ settings.profile }}" class="twitter-follow-button" {{{ view.getRenderAttributeString( 'atts' ) }}}>Follow</a>
332
+ <# } else if ( 'mention' == settings.button_type ) { #>
333
+ <a href="https://twitter.com/intent/tweet?screen_name={{ settings.profile }}" class="twitter-mention-button" {{{ view.getRenderAttributeString( 'atts' ) }}}>Mention</a>
334
+ <# } else if ( 'hashtag' == settings.button_type ) { #>
335
+ <a href="https://twitter.com/intent/tweet?button_hashtag={{ settings.hashtag_url }}" class="twitter-hashtag-button" {{{ view.getRenderAttributeString( 'atts' ) }}}>Hashtag</a>
336
+ <# } else { #>
337
+ <a href="https://twitter.com/messages/compose?recipient_id={{ settings.recipient_id }}{{ text }}" class="twitter-dm-button" {{{ view.getRenderAttributeString( 'atts' ) }}}>Message</a>
338
+ <# } #>
339
+ </div>
340
+ <?php
341
+ }
342
  }
modules/twitter/widgets/twitter-grid.php CHANGED
@@ -181,4 +181,26 @@ class Twitter_Grid extends Powerpack_Widget {
181
  </div>
182
  <?php
183
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  }
181
  </div>
182
  <?php
183
  }
184
+
185
+ /**
186
+ * Render Twitter Grid widget output in the editor.
187
+ *
188
+ * Written as a Backbone JavaScript template and used to generate the live preview.
189
+ *
190
+ * @access protected
191
+ */
192
+ protected function _content_template() {
193
+ ?>
194
+ <#
195
+ view.addRenderAttribute( 'atts', {
196
+ 'data-limit': ( settings.tweet_limit ) ? settings.tweet_limit : '',
197
+ 'data-chrome': ( 'yes' != settings.footer ) ? 'nofooter' : '',
198
+ 'data-width': settings.width.size,
199
+ });
200
+ #>
201
+ <div class="pp-twitter-grid" {{{ view.getRenderAttributeString( 'atts' ) }}}>
202
+ <a class="twitter-grid" href="{{ settings.url }}?ref_src=twsrc%5Etfw" {{{ view.getRenderAttributeString( 'atts' ) }}}></a>
203
+ </div>
204
+ <?php
205
+ }
206
  }
modules/twitter/widgets/twitter-timeline.php CHANGED
@@ -265,4 +265,32 @@ class Twitter_Timeline extends Powerpack_Widget {
265
  </div>
266
  <?php
267
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  }
265
  </div>
266
  <?php
267
  }
268
+
269
+ /**
270
+ * Render Twitter Timeline widget output in the editor.
271
+ *
272
+ * Written as a Backbone JavaScript template and used to generate the live preview.
273
+ *
274
+ * @access protected
275
+ */
276
+ protected function _content_template() {
277
+ ?>
278
+ <#
279
+ view.addRenderAttribute( 'atts', {
280
+ 'data-theme': settings.theme,
281
+ 'data-show-replies': ( 'yes' == settings.show_replies ) ? 'true' : 'false',
282
+ 'link_color': settings.link_color,
283
+ 'data-width': settings.width.size,
284
+ 'data-height': settings.height.size,
285
+ 'data-chrome': settings.layout,
286
+ 'data-tweet-limit': settings.tweet_limit,
287
+ 'data-link-color': settings.link_color,
288
+ 'data-border-color': settings.border_color,
289
+ });
290
+ #>
291
+ <div class="pp-twitter-timeline" {{{ view.getRenderAttributeString( 'atts' ) }}}>
292
+ <a class="twitter-timeline" href="https://twitter.com/{{ settings.username }}" {{{ view.getRenderAttributeString( 'atts' ) }}}>Tweets by <# {{ settings.username }} #></a>
293
+ </div>
294
+ <?php
295
+ }
296
  }
modules/twitter/widgets/twitter-tweet.php CHANGED
@@ -220,4 +220,5 @@ class Twitter_Tweet extends Powerpack_Widget {
220
  </div>
221
  <?php
222
  }
 
223
  }
220
  </div>
221
  <?php
222
  }
223
+
224
  }
package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "powerpack-lite-for-elementor",
3
- "version": "2.1.1",
4
  "description": "Extend Elementor Page Builder with 50+ Creative Widgets.",
5
  "keywords": [],
6
  "author": "IdeaBox Creations",
1
  {
2
  "name": "powerpack-lite-for-elementor",
3
+ "version": "2.1.2",
4
  "description": "Extend Elementor Page Builder with 50+ Creative Widgets.",
5
  "keywords": [],
6
  "author": "IdeaBox Creations",
powerpack-lite-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: PowerPack Lite for Elementor
4
  * Plugin URI: https://powerpackelements.com
5
  * Description: Custom addons for Elementor page builder.
6
- * Version: 2.1.1
7
  * Author: IdeaBox Creations
8
  * Author URI: http://ideabox.io/
9
  * License: GNU General Public License v2.0
@@ -14,7 +14,7 @@
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
16
 
17
- define( 'POWERPACK_ELEMENTS_LITE_VER', '2.1.1' );
18
  define( 'POWERPACK_ELEMENTS_LITE_PATH', plugin_dir_path( __FILE__ ) );
19
  define( 'POWERPACK_ELEMENTS_LITE_BASE', plugin_basename( __FILE__ ) );
20
  define( 'POWERPACK_ELEMENTS_LITE_URL', plugins_url( '/', __FILE__ ) );
3
  * Plugin Name: PowerPack Lite for Elementor
4
  * Plugin URI: https://powerpackelements.com
5
  * Description: Custom addons for Elementor page builder.
6
+ * Version: 2.1.2
7
  * Author: IdeaBox Creations
8
  * Author URI: http://ideabox.io/
9
  * License: GNU General Public License v2.0
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
16
 
17
+ define( 'POWERPACK_ELEMENTS_LITE_VER', '2.1.2' );
18
  define( 'POWERPACK_ELEMENTS_LITE_PATH', plugin_dir_path( __FILE__ ) );
19
  define( 'POWERPACK_ELEMENTS_LITE_BASE', plugin_basename( __FILE__ ) );
20
  define( 'POWERPACK_ELEMENTS_LITE_URL', plugins_url( '/', __FILE__ ) );
readme.txt CHANGED
@@ -196,6 +196,9 @@ Not at all! All the widgets and settings are easy to use with drag & drop interf
196
 
197
  == Changelog ==
198
 
 
 
 
199
  = 2.1.1 - August 25, 2020 =
200
  * Fixed: Posts - Ajax error after updating to WP 5.5
201
 
196
 
197
  == Changelog ==
198
 
199
+ = 2.1.2 - August 25, 2020 =
200
+ * Enhancement: Compatibility to Elementor 3.0
201
+
202
  = 2.1.1 - August 25, 2020 =
203
  * Fixed: Posts - Ajax error after updating to WP 5.5
204