Premium Addons for Elementor - Version 2.0.4

Version Description

  • Tweak: Changed the way it loads Js files for better performance.
  • Fix: Translation ready bug.
Download this release

Release Info

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

Code changes from version 2.0.3 to 2.0.4

admin/settings-page.php CHANGED
@@ -57,8 +57,8 @@ class PA_admin_settings {
57
  <form action="" method="POST" id="pa-settings" name="pa-settings">
58
  <div class="pa-header-wrapper">
59
  <div class="pa-title-left">
60
- <h1 class="pa-title-main"><?php echo esc_html__('Premium Addons for Elementor', 'premium_elementor'); ?></h1>
61
- <h3 class="pa-title-sub"><?php echo esc_html__('Thank you for using Premium Addons for Elementor. This plugin has been developed by Leap13 and we hope you enjoy using it.', 'premium_elementor'); ?></h3>
62
  </div>
63
  <div class="pa-title-right">
64
 
@@ -131,14 +131,14 @@ class PA_admin_settings {
131
  <table class="pa-elements-table">
132
  <tbody>
133
  <tr>
134
- <th><?php echo esc_html__('Premium Banner', 'premium_elementor'); ?></th>
135
  <td>
136
  <label class="switch">
137
  <input type="checkbox" id="premium-banner" name="premium-banner" <?php checked(1, $this->pa_get_settings['premium-banner'], true) ?>>
138
  <span class="slider round"></span>
139
  </label>
140
  </td>
141
- <th><?php echo esc_html__('Premium Blog', 'premium_elementor'); ?></th>
142
  <td>
143
  <label class="switch">
144
  <input type="checkbox" id="premium-blog" name="premium-blog" <?php checked(1, $this->pa_get_settings['premium-blog'], true) ?>>
@@ -149,14 +149,14 @@ class PA_admin_settings {
149
 
150
 
151
  <tr>
152
- <th><?php echo esc_html__('Premium Carousel', 'premium_elementor'); ?></th>
153
  <td>
154
  <label class="switch">
155
  <input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
156
  <span class="slider round"></span>
157
  </label>
158
  </td>
159
- <th><?php echo esc_html__('Premium Countdown', 'premium_elementor'); ?></th>
160
  <td>
161
  <label class="switch">
162
  <input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
@@ -166,14 +166,14 @@ class PA_admin_settings {
166
  </tr>
167
 
168
  <tr>
169
- <th><?php echo esc_html__('Premium Counter', 'premium_elementor'); ?></th>
170
  <td>
171
  <label class="switch">
172
  <input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
173
  <span class="slider round"></span>
174
  </label>
175
  </td>
176
- <th><?php echo esc_html__('Premium Dual Header', 'premium_elementor'); ?></th>
177
  <td>
178
  <label class="switch">
179
  <input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
@@ -184,14 +184,14 @@ class PA_admin_settings {
184
 
185
 
186
  <tr>
187
- <th><?php echo esc_html__('Premium Fancy Text', 'premium_elementor'); ?></th>
188
  <td>
189
  <label class="switch">
190
  <input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
191
  <span class="slider round"></span>
192
  </label>
193
  </td>
194
- <th><?php echo esc_html__('Premium Image Separator', 'premium_elementor'); ?></th>
195
  <td>
196
  <label class="switch">
197
  <input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
@@ -203,14 +203,14 @@ class PA_admin_settings {
203
 
204
  <tr>
205
 
206
- <th><?php echo esc_html__('Premium Maps', 'premium_elementor'); ?></th>
207
  <td>
208
  <label class="switch">
209
  <input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
210
  <span class="slider round"></span>
211
  </label>
212
  </td>
213
- <th><?php echo esc_html__('Premium Modal Box', 'premium_elementor'); ?></th>
214
  <td>
215
  <label class="switch">
216
  <input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
@@ -220,14 +220,14 @@ class PA_admin_settings {
220
  </tr>
221
 
222
  <tr>
223
- <th><?php echo esc_html__('Premium Person', 'premium_elementor'); ?></th>
224
  <td>
225
  <label class="switch">
226
  <input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
227
  <span class="slider round"></span>
228
  </label>
229
  </td>
230
- <th><?php echo esc_html__('Premium Progress Bar', 'premium_elementor'); ?></th>
231
  <td>
232
  <label class="switch">
233
  <input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
@@ -238,14 +238,14 @@ class PA_admin_settings {
238
  </tr>
239
 
240
  <tr>
241
- <th><?php echo esc_html__('Premium Testimonials', 'premium_elementor'); ?></th>
242
  <td>
243
  <label class="switch">
244
  <input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
245
  <span class="slider round"></span>
246
  </label>
247
  </td>
248
- <th><?php echo esc_html__('Premium Title', 'premium_elementor'); ?></th>
249
  <td>
250
  <label class="switch">
251
  <input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
@@ -255,14 +255,14 @@ class PA_admin_settings {
255
  </tr>
256
 
257
  <tr>
258
- <th><?php echo esc_html__('Premium Video Box', 'premium_elementor'); ?></th>
259
  <td>
260
  <label class="switch">
261
  <input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
262
  <span class="slider round"></span>
263
  </label>
264
  </td>
265
- <th><?php echo esc_html__('Premium Pricing Table', 'premium_elementor'); ?></th>
266
  <td>
267
  <label class="switch">
268
  <input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
@@ -272,14 +272,14 @@ class PA_admin_settings {
272
  </tr>
273
 
274
  <tr>
275
- <th><?php echo esc_html__('Premium Button', 'premium_elementor'); ?></th>
276
  <td>
277
  <label class="switch">
278
  <input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
279
  <span class="slider round"></span>
280
  </label>
281
  </td>
282
- <th><?php echo esc_html__('Premium Contact Form7', 'premium_elementor'); ?></th>
283
  <td>
284
  <label class="switch">
285
  <input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
@@ -289,7 +289,7 @@ class PA_admin_settings {
289
  </tr>
290
 
291
  <tr>
292
- <th><?php echo esc_html__('Premium Image Button', 'premium_elementor'); ?></th>
293
  <td>
294
  <label class="switch">
295
  <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
@@ -319,7 +319,7 @@ class PA_admin_settings {
319
  </div>
320
  <div id="pa-system" class="pa-settings-tab">
321
  <div class="pa-row">
322
- <h3><?php echo esc_html__('System setup information useful for debugging purposes.','premium_elementor');?></h3>
323
  <div class="pa-system-info-container">
324
  <?php
325
  echo nl2br(pa_get_sysinfo());
57
  <form action="" method="POST" id="pa-settings" name="pa-settings">
58
  <div class="pa-header-wrapper">
59
  <div class="pa-title-left">
60
+ <h1 class="pa-title-main"><?php echo esc_html__('Premium Addons for Elementor', 'premium-addons-for-elementor'); ?></h1>
61
+ <h3 class="pa-title-sub"><?php echo esc_html__('Thank you for using Premium Addons for Elementor. This plugin has been developed by Leap13 and we hope you enjoy using it.', 'premium-addons-for-elementor'); ?></h3>
62
  </div>
63
  <div class="pa-title-right">
64
 
131
  <table class="pa-elements-table">
132
  <tbody>
133
  <tr>
134
+ <th><?php echo esc_html__('Premium Banner', 'premium-addons-for-elementor'); ?></th>
135
  <td>
136
  <label class="switch">
137
  <input type="checkbox" id="premium-banner" name="premium-banner" <?php checked(1, $this->pa_get_settings['premium-banner'], true) ?>>
138
  <span class="slider round"></span>
139
  </label>
140
  </td>
141
+ <th><?php echo esc_html__('Premium Blog', 'premium-addons-for-elementor'); ?></th>
142
  <td>
143
  <label class="switch">
144
  <input type="checkbox" id="premium-blog" name="premium-blog" <?php checked(1, $this->pa_get_settings['premium-blog'], true) ?>>
149
 
150
 
151
  <tr>
152
+ <th><?php echo esc_html__('Premium Carousel', 'premium-addons-for-elementor'); ?></th>
153
  <td>
154
  <label class="switch">
155
  <input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
156
  <span class="slider round"></span>
157
  </label>
158
  </td>
159
+ <th><?php echo esc_html__('Premium Countdown', 'premium-addons-for-elementor'); ?></th>
160
  <td>
161
  <label class="switch">
162
  <input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
166
  </tr>
167
 
168
  <tr>
169
+ <th><?php echo esc_html__('Premium Counter', 'premium-addons-for-elementor'); ?></th>
170
  <td>
171
  <label class="switch">
172
  <input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
173
  <span class="slider round"></span>
174
  </label>
175
  </td>
176
+ <th><?php echo esc_html__('Premium Dual Header', 'premium-addons-for-elementor'); ?></th>
177
  <td>
178
  <label class="switch">
179
  <input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
184
 
185
 
186
  <tr>
187
+ <th><?php echo esc_html__('Premium Fancy Text', 'premium-addons-for-elementor'); ?></th>
188
  <td>
189
  <label class="switch">
190
  <input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
191
  <span class="slider round"></span>
192
  </label>
193
  </td>
194
+ <th><?php echo esc_html__('Premium Image Separator', 'premium-addons-for-elementor'); ?></th>
195
  <td>
196
  <label class="switch">
197
  <input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
203
 
204
  <tr>
205
 
206
+ <th><?php echo esc_html__('Premium Maps', 'premium-addons-for-elementor'); ?></th>
207
  <td>
208
  <label class="switch">
209
  <input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
210
  <span class="slider round"></span>
211
  </label>
212
  </td>
213
+ <th><?php echo esc_html__('Premium Modal Box', 'premium-addons-for-elementor'); ?></th>
214
  <td>
215
  <label class="switch">
216
  <input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
220
  </tr>
221
 
222
  <tr>
223
+ <th><?php echo esc_html__('Premium Person', 'premium-addons-for-elementor'); ?></th>
224
  <td>
225
  <label class="switch">
226
  <input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
227
  <span class="slider round"></span>
228
  </label>
229
  </td>
230
+ <th><?php echo esc_html__('Premium Progress Bar', 'premium-addons-for-elementor'); ?></th>
231
  <td>
232
  <label class="switch">
233
  <input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
238
  </tr>
239
 
240
  <tr>
241
+ <th><?php echo esc_html__('Premium Testimonials', 'premium-addons-for-elementor'); ?></th>
242
  <td>
243
  <label class="switch">
244
  <input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
245
  <span class="slider round"></span>
246
  </label>
247
  </td>
248
+ <th><?php echo esc_html__('Premium Title', 'premium-addons-for-elementor'); ?></th>
249
  <td>
250
  <label class="switch">
251
  <input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
255
  </tr>
256
 
257
  <tr>
258
+ <th><?php echo esc_html__('Premium Video Box', 'premium-addons-for-elementor'); ?></th>
259
  <td>
260
  <label class="switch">
261
  <input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
262
  <span class="slider round"></span>
263
  </label>
264
  </td>
265
+ <th><?php echo esc_html__('Premium Pricing Table', 'premium-addons-for-elementor'); ?></th>
266
  <td>
267
  <label class="switch">
268
  <input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
272
  </tr>
273
 
274
  <tr>
275
+ <th><?php echo esc_html__('Premium Button', 'premium-addons-for-elementor'); ?></th>
276
  <td>
277
  <label class="switch">
278
  <input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
279
  <span class="slider round"></span>
280
  </label>
281
  </td>
282
+ <th><?php echo esc_html__('Premium Contact Form7', 'premium-addons-for-elementor'); ?></th>
283
  <td>
284
  <label class="switch">
285
  <input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
289
  </tr>
290
 
291
  <tr>
292
+ <th><?php echo esc_html__('Premium Image Button', 'premium-addons-for-elementor'); ?></th>
293
  <td>
294
  <label class="switch">
295
  <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
319
  </div>
320
  <div id="pa-system" class="pa-settings-tab">
321
  <div class="pa-row">
322
+ <h3><?php echo esc_html__('System setup information useful for debugging purposes.','premium-addons-for-elementor');?></h3>
323
  <div class="pa-system-info-container">
324
  <?php
325
  echo nl2br(pa_get_sysinfo());
assets/js/lib/gomap.js DELETED
@@ -1,11 +0,0 @@
1
-
2
- /**
3
- * jQuery goMap
4
- *
5
- * @url http://www.pittss.lv/jquery/gomap/
6
- * @author Jevgenijs Shtrauss <pittss@gmail.com>
7
- * @version 1.3.3 2014.11.27
8
- * This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
9
- */
10
-
11
- eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(c($){b 2K=y h.g.3w();c 1o(t){3.16(t)};1o.1W=y h.g.3x();1o.1W.4h=c(){};1o.1W.42=c(){};1o.1W.3v=c(){};$.k={};$.3s.k=c(5){r 3.4f(c(){b k=$(3).o(\'k\');7(!k){b 1y=$.1H(B,{},$.1y);$(3).o(\'k\',1y.2H(3,5));$.k=1y}n{$.k=k}})};$.1y={2O:{D:\'\',G:3V.9,F:24.1,2B:4,1L:47,2X:B,38:B,39:\'3o\',3m:\'3u\',2F:\'3F\',1w:B,X:{u:\'49\',J:\'31\'},2j:B,Z:{u:\'3q\',J:\'31\'},2e:w,2d:B,3y:w,3E:H,2c:w,2A:w,e:[],C:[],1i:{O:\'#1j\',M:1.0,N:2},19:{O:\'#1j\',M:1.0,N:2,R:\'#1j\',S:0.2},U:{O:\'#1j\',M:1.0,N:2,R:\'#1j\',S:0.2},1Q:{O:\'#1j\',M:1.0,N:2,R:\'#1j\',S:0.2},3k:\'3J\',1p:\'<1l 3W="3Y">\',1v:\'</1l>\',1t:w},t:H,1K:0,e:[],2P:[],2Q:[],2R:[],2S:[],1A:[],1E:[],1g:w,1b:H,C:H,x:H,p:H,2g:H,29:H,2o:H,2z:H,8:H,1O:H,2H:c(2h,5){b 8=$.1H(B,{},$.1y.2O,5);3.p=$(2h);3.8=8;7(8.D)3.14({D:8.D,1d:B});n 7($.2T(8.e)&&8.e.v>0){7(8.e[0].D)3.14({D:8.e[0].D,1d:B});n 3.1O=y h.g.W(8.e[0].G,8.e[0].F)}n 3.1O=y h.g.W(8.G,8.F);b 33={1d:3.1O,2c:8.2c,2j:8.2j,2A:8.2A,Z:{u:h.g.1s[8.Z.u.11()],J:h.g.3b[8.Z.J.11()]},3f:h.g.3r[8.3k.11()],3g:8.1w,3i:8.1w,3j:{u:h.g.1s[8.X.u.11()]},1I:{u:h.g.1s[8.X.u.11()],J:h.g.28[8.X.J.11()]},2e:8.2e,2d:8.2d,2B:8.2B};3.t=y h.g.3B(2h,33);3.x=y 1o(3.t);3.C={1i:{q:\'2g\',z:\'2P\',1M:\'2I\'},19:{q:\'29\',z:\'2Q\',1M:\'2J\'},U:{q:\'2o\',z:\'2R\',1M:\'2L\'},1Q:{q:\'2z\',z:\'2S\',1M:\'2N\'}};3.2g=$(\'<1l J="Q:1Y;"/>\').21(3.p);3.29=$(\'<1l J="Q:1Y;"/>\').21(3.p);3.2o=$(\'<1l J="Q:1Y;"/>\').21(3.p);3.2z=$(\'<1l J="Q:1Y;"/>\').21(3.p);I(b j=0,l=8.e.v;j<l;j++)3.1J(8.e[j]);I(b j=0,l=8.C.v;j<l;j++)3[3.C[8.C[j].d].1M](8.C[j]);b k=3;7(8.1t==B||8.1t==\'3p\'){h.g.L.1n(k.t,\'2b\',c(L){b 5={u:L.3a,1z:B};b 6=k.1J(5);h.g.L.1n(6,\'2G\',c(L){6.16(H);k.2r(6.q)})})}n 7(8.1t==\'3D\'){h.g.L.1n(k.t,\'2b\',c(L){7(!k.1P){b 5={u:L.3a,1z:B};b 6=k.1J(5);k.1P=B;h.g.L.1n(6,\'2G\',c(L){6.16(H);k.2r(6.q);k.1P=w})}})}K 8.e;K 8.C;r 3},3G:c(f){h.g.L.3N(3.t,\'3R\',c(){r f()})},14:c(D,5){b k=3;1V(c(){2K.14({\'D\':D.D},c(1X,1F){7(1F==h.g.1Z.2k&&D.1d)k.t.44(1X[0].2l.2n);7(1F==h.g.1Z.2k&&5&&5.E)5.E.4a(1X[0].2l.2n);n 7(1F==h.g.1Z.2k&&5){7(k.1g){k.1g=w;5.u=1X[0].2l.2n;5.14=B;k.1J(5)}}n 7(1F==h.g.1Z.4c){k.14(D,5)}})},3.8.1L)},2q:c(){7(3.1E.v>0&&!3.1g){3.1g=B;b 18=3.1E.26(0,1);3.14({D:18[0].D},18[0])}n 7(3.1g){b k=3;1V(c(){k.2q()},3.8.1L)}},16:c(5){K 5.3f;7(5.D){3.14({D:5.D,1d:B});K 5.D}n 7(5.G&&5.F){5.1d=y h.g.W(5.G,5.F);K 5.F;K 5.G}7(5.Z&&5.Z.u)5.Z.u=h.g.1s[5.Z.u.11()];7(5.Z&&5.Z.J)5.Z.J=h.g.3b[5.Z.J.11()];7(1h 5.1w!==\'1G\'){5.3g=5.1w;5.3i=5.1w}7(5.X&&5.X.u){5.3j={u:h.g.1s[5.X.u.11()]};5.1I={u:h.g.1s[5.X.u.11()]}}7(5.X&&5.X.J){7(1h 5.1I===\'1G\')5.1I={J:h.g.28[5.X.J.11()]};n 5.1I.J=h.g.28[5.X.J.11()]}3.t.1U(5)},2U:c(){r 3.t},2W:c(d,L,o){b 1k;7(1h d!=\'2Y\')d={d:d};7(d.d==\'t\')1k=3.t;n 7(d.d==\'6\'&&d.6)1k=$(3.p).o(d.6);n 7(d.d==\'m\'&&d.6)1k=$(3.p).o(d.6+\'m\');7(1k)r h.g.L.1n(1k,L,o);n 7((d.d==\'6\'||d.d==\'m\')&&3.2E()!=3.2i())b k=3;1V(c(){k.2W(d,L,o)},3.8.1L)},34:c(35){h.g.L.34(35)},36:c(6,A){b k=3;A.1x=k.8.1p+A.1x+k.8.1v;b P=y h.g.3M(A);P.Y=w;$(k.p).o(6.q+\'m\',P);7(A.3O){k.2p(P,6,A);P.Y=B}h.g.L.1n(6,\'2b\',c(){7(P.Y&&k.8.2X){P.1u();P.Y=w}n{k.2p(P,6,A);P.Y=B}})},2p:c(P,6,A){b k=3;7(3.8.38)3.3h();7(A.25){P.2t(3.t,6);$.25({40:A.25,41:c(A){P.2u(k.8.1p+A+k.8.1v)}})}n 7(A.q){P.2u(k.8.1p+$(A.q).A()+k.8.1v);P.2t(3.t,6)}n P.2t(3.t,6)},43:c(q,1N){b m=$(3.p).o(q+\'m\');7(1h 1N==\'2Y\')m.1U(k.8.1p+1N+k.8.1v);n m.2u(k.8.1p+1N+k.8.1v)},45:c(q,3l){b m=$(3.p).o(q+\'m\').48();7(3l)r $(m).A();n r m},3h:c(){I(b i=0,l=3.e.v;i<l;i++){b m=$(3.p).o(3.e[i]+\'m\');7(m){m.1u();m.Y=w}}},2C:c(d,e){b k=3;7(3.2E()!=3.2i())1V(c(){k.2C(d,e)},3.8.1L);n{3.1b=y h.g.27();7(!d||(d&&d==\'4b\')){I(b i=0,l=3.e.v;i<l;i++){3.1b.1H($(3.p).o(3.e[i]).u)}}n 7(d&&d==\'1B\'){I(b i=0,l=3.e.v;i<l;i++){7(3.1C(3.e[i]))3.1b.1H($(3.p).o(3.e[i]).u)}}n 7(d&&d==\'e\'&&$.2T(e)){I(b i=0,l=e.v;i<l;i++){3.1b.1H($(3.p).o(e[i]).u)}}3.t.2C(3.1b)}},2a:c(){r 3.t.2a()},2I:c(a){a.d=\'1i\';r 3.1D(a)},2J:c(a){a.d=\'19\';r 3.1D(a)},2L:c(a){a.d=\'U\';r 3.1D(a)},2N:c(a){a.d=\'1Q\';r 3.1D(a)},1D:c(a){b x=[];7(!a.q){3.1K++;a.q=3.8.3m+3.1K}2M(a.d){17\'1i\':7(a.V.v>0){I(b j=0,l=a.V.v;j<l;j++)x.T(y h.g.W(a.V[j].G,a.V[j].F));x=y h.g.3t({t:3.t,2f:x,1R:a.O?a.O:3.8.1i.O,1S:a.M?a.M:3.8.1i.M,1T:a.N?a.N:3.8.1i.N})}n r w;10;17\'19\':7(a.V.v>0){I(b j=0,l=a.V.v;j<l;j++)x.T(y h.g.W(a.V[j].G,a.V[j].F));x=y h.g.3z({t:3.t,2f:x,1R:a.O?a.O:3.8.19.O,1S:a.M?a.M:3.8.19.M,1T:a.N?a.N:3.8.19.N,R:a.R?a.R:3.8.19.R,S:a.S?a.S:3.8.19.S})}n r w;10;17\'U\':x=y h.g.3A({t:3.t,1d:y h.g.W(a.G,a.F),2V:a.2V,1R:a.O?a.O:3.8.U.O,1S:a.M?a.M:3.8.U.M,1T:a.N?a.N:3.8.U.N,R:a.R?a.R:3.8.U.R,S:a.S?a.S:3.8.U.S});10;17\'1Q\':x=y h.g.3C({t:3.t,1b:y h.g.27(y h.g.W(a.1r.G,a.1r.F),y h.g.W(a.1q.G,a.1q.F)),1R:a.O?a.O:3.8.U.O,1S:a.M?a.M:3.8.U.M,1T:a.N?a.N:3.8.U.N,R:a.R?a.R:3.8.U.R,S:a.S?a.S:3.8.U.S});10;2m:r w;10}3.2Z(a,x);r x},2Z:c(a,x){$(3[3.C[a.d].q]).o(a.q,x);3[3.C[a.d].z].T(a.q)},3H:c(d,x,5){x=$(3[3.C[d].q]).o(x);7(5.V&&5.V.v>0){b z=[];I(b j=0,l=5.V.v;j<l;j++)z.T(y h.g.W(5.V[j].G,5.V[j].F));5.2f=z;K 5.V}n 7(5.1q&&5.1r){5.1b=y h.g.27(y h.g.W(5.1r.G,5.1r.F),y h.g.W(5.1q.G,5.1q.F));K 5.1q;K 5.1r}n 7(5.G&&5.F){5.1d=y h.g.W(5.G,5.F);K 5.G;K 5.F}x.1U(5)},3I:c(d,x,Q){7(1h Q===\'1G\'){7(3.30(d,x))Q=w;n Q=B}7(Q)$(3[3.C[d].q]).o(x).16(3.t);n $(3[3.C[d].q]).o(x).16(H)},30:c(d,x){7($(3[3.C[d].q]).o(x).2U())r B;n r w},3K:c(d){r 3[3.C[d].z].v},3L:c(d,x){b 1f=$.32(x,3[3.C[d].z]),18;7(1f>-1){18=3[3.C[d].z].26(1f,1);b E=18[0];$(3[3.C[d].q]).o(E).16(H);$(3[3.C[d].q]).1m(E);r B}r w},3P:c(d){I(b i=0,l=3[3.C[d].z].v;i<l;i++){b E=3[3.C[d].z][i];$(3[3.C[d].q]).o(E).16(H);$(3[3.C[d].q]).1m(E)}3[3.C[d].z]=[]},3Q:c(6,Q){7(1h Q===\'1G\'){7(3.1C(6)){$(3.p).o(6).1c(w);b m=$(3.p).o(6+\'m\');7(m&&m.Y){m.1u();m.Y=w}}n $(3.p).o(6).1c(B)}n $(3.p).o(6).1c(Q)},3S:c(13,Q){I(b i=0,l=3.e.v;i<l;i++){b E=3.e[i];b 6=$(3.p).o(E);7(6.13==13){7(1h Q===\'1G\'){7(3.1C(E)){6.1c(w);b m=$(3.p).o(E+\'m\');7(m&&m.Y){m.1u();m.Y=w}}n 6.1c(B)}n 6.1c(Q)}}},1C:c(6){r $(3.p).o(6).3T()},2E:c(){r 3.e.v},2i:c(){r 3.1A.v},3U:c(){r 3.20(\'37\').v},3X:c(13){r 3.20(\'13\',13).v},20:c(d,2s){b z=[];2M(d){17"3Z":I(b i=0,l=3.e.v;i<l;i++){b 1a="\'"+i+"\': \'"+$(3.p).o(3.e[i]).22().2v()+"\'";z.T(1a)}z="{\'e\':{"+z.3c(",")+"}}";10;17"o":I(b i=0,l=3.e.v;i<l;i++){b 1a="6["+i+"]="+$(3.p).o(3.e[i]).22().2v();z.T(1a)}z=z.3c("&");10;17"3d":I(b i=0,l=3.e.v;i<l;i++){7(3.3e($(3.p).o(3.e[i]).22()))z.T(3.e[i])}10;17"37":I(b i=0,l=3.e.v;i<l;i++){7(3.1C(3.e[i]))z.T(3.e[i])}10;17"13":7(2s)I(b i=0,l=3.e.v;i<l;i++){7($(3.p).o(3.e[i]).13==2s)z.T(3.e[i])}10;17"e":I(b i=0,l=3.e.v;i<l;i++){b 1a=$(3.p).o(3.e[i]);z.T(1a)}10;2m:I(b i=0,l=3.e.v;i<l;i++){b 1a=$(3.p).o(3.e[i]).22().2v();z.T(1a)}10}r z},46:c(){r 3.20(\'3d\')},1J:c(6){7(!6.14){3.1K++;7(!6.q)6.q=3.8.39+3.1K;3.1A.T(6.q)}7(6.D&&!6.14){3.1E.T(6);3.2q()}n 7(6.G&&6.F||6.u){b 5={t:3.t};5.q=6.q;5.13=6.13?6.13:3.8.2F;5.2w=6.2w?6.2w:0;5.2x=6.2x?6.2x:0;7(6.1B==w)5.1B=6.1B;7(6.2y)5.2y=6.2y;7(6.1z)5.1z=6.1z;7(6.s&&6.s.1e){5.s=6.s.1e;7(6.s.12)5.12=6.s.12}n 7(6.s)5.s=6.s;n 7(3.8.s&&3.8.s.1e){5.s=3.8.s.1e;7(3.8.s.12)5.12=3.8.s.12}n 7(3.8.s)5.s=3.8.s;5.u=6.u?6.u:y h.g.W(6.G,6.F);b 23=y h.g.4d(5);7(6.A){7(!6.A.1x&&!6.A.25&&!6.A.q)6.A={1x:6.A};n 7(!6.A.1x)6.A.1x=H;3.36(23,6.A)}3.1t(23);r 23}},1t:c(6){$(3.p).o(6.q,6);3.e.T(6.q)},4e:c(6,5){b 2D=$(3.p).o(6);K 5.q;K 5.1B;7(5.s){b 15=5.s;K 5.s;7(15&&15==\'2m\'){7(3.8.s&&3.8.s.1e){5.s=3.8.s.1e;7(3.8.s.12)5.12=3.8.s.12}n 7(3.8.s)5.s=3.8.s}n 7(15&&15.1e){5.s=15.1e;7(15.12)5.12=15.12}n 7(15)5.s=15}7(5.D){3.14({D:5.D},{E:2D});K 5.D;K 5.G;K 5.F;K 5.u}n 7(5.G&&5.F||5.u){7(!5.u)5.u=y h.g.W(5.G,5.F)}2D.1U(5)},2r:c(6){b 1f=$.32(6,3.e),18;7(1f>-1){3.1A.26(1f,1);18=3.e.26(1f,1);b E=18[0];b 6=$(3.p).o(E);b m=$(3.p).o(E+\'m\');6.1c(w);6.16(H);$(3.p).1m(E);7(m){m.1u();m.Y=w;$(3.p).1m(E+\'m\')}r B}r w},4g:c(){I(b i=0,l=3.e.v;i<l;i++){b E=3.e[i];b 6=$(3.p).o(E);b m=$(3.p).o(E+\'m\');6.1c(w);6.16(H);$(3.p).1m(E);7(m){m.1u();m.Y=w;$(3.p).1m(E+\'m\')}}3.1P=w;3.1g=w;3.e=[];3.1A=[];3.1E=[]},3e:c(3n){r 3.t.2a().4i(3n)}}})(4j);',62,268,'|||this||options|marker|if|opts||poly|var|function|type|markers||maps|google|||goMap||info|else|data|mapId|id|return|icon|map|position|length|false|overlay|new|array|html|true|overlays|address|markerId|longitude|latitude|null|for|style|delete|event|opacity|weight|color|infowindow|display|fillColor|fillOpacity|push|circle|coords|LatLng|navigationControlOptions|show|mapTypeControlOptions|break|toUpperCase|shadow|group|geocode|toption|setMap|case|current|polygon|temp|bounds|setVisible|center|image|index|lockGeocode|typeof|polyline|FF0000|target|div|removeData|addListener|MyOverlay|html_prepend|ne|sw|ControlPosition|addMarker|close|html_append|navigationControl|content|goMapBase|draggable|tmpMarkers|visible|getVisibleMarker|createOverlay|geoMarkers|status|undefined|extend|zoomControlOptions|createMarker|count|delay|create|text|centerLatLng|singleMarker|rectangle|strokeColor|strokeOpacity|strokeWeight|setOptions|setTimeout|prototype|results|none|GeocoderStatus|getMarkers|appendTo|getPosition|cmarker||ajax|splice|LatLngBounds|ZoomControlStyle|pgId|getBounds|click|disableDoubleClickZoom|scrollwheel|scaleControl|path|plId|el|getTmpMarkerCount|mapTypeControl|OK|geometry|default|location|cId|openWindow|geoMarker|removeMarker|name|open|setContent|toUrlValue|zIndex|zIndexOrg|title|rId|streetViewControl|zoom|fitBounds|tmarker|getMarkerCount|groupId|dblclick|init|createPolyline|createPolygon|geocoder|createCircle|switch|createRectangle|defaults|polylines|polygons|circles|rectangles|isArray|getMap|radius|createListener|hideByClick|object|addOverlay|getVisibleOverlay|DEFAULT|inArray|myOptions|removeListener|listener|setInfoWindow|visiblesInMap|oneInfoWindow|prefixId|latLng|MapTypeControlStyle|join|visiblesInBounds|isVisible|mapTypeId|panControl|clearInfo|zoomControl|panControlOptions|maptype|hideDiv|polyId|latlng|gomarker|multi|TOP_RIGHT|MapTypeId|fn|Polyline|gopoly|draw|Geocoder|OverlayView|directions|Polygon|Circle|Map|Rectangle|single|directionsResult|gogroup|ready|setOverlay|showHideOverlay|HYBRID|getOverlaysCount|removeOverlay|InfoWindow|addListenerOnce|popup|clearOverlays|showHideMarker|bounds_changed|showHideMarkerByGroup|getVisible|getVisibleMarkerCount|56|class|getMarkerByGroupCount|gomapMarker|json|url|success|onRemove|setInfo|setCenter|getInfo|getVisibleMarkers|200|getContent|TOP_LEFT|setPosition|all|OVER_QUERY_LIMIT|Marker|setMarker|each|clearMarkers|onAdd|contains|jQuery'.split('|'),0,{}))
 
 
 
 
 
 
 
 
 
 
 
assets/js/lib/typedmin.js CHANGED
@@ -1,3 +1,2 @@
1
  /* https://github.com/mattboldt/typed.js/ */
2
  !function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s-1).charAt(0)&&(e-=t.substr(s).charAt(0),s--,!(s<0)););s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.setAttribute(i.attr,r):i.isInput?i.el.value=r:"html"===i.contentType?i.el.innerHTML=r:i.el.textContent=r,s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);
3
-
1
  /* https://github.com/mattboldt/typed.js/ */
2
  !function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s-1).charAt(0)&&(e-=t.substr(s).charAt(0),s--,!(s<0)););s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.setAttribute(i.attr,r):i.isInput?i.el.value=r:"html"===i.contentType?i.el.innerHTML=r:i.el.textContent=r,s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);
 
elementor-helper.php CHANGED
@@ -75,7 +75,7 @@ class premium_Template_Tags {
75
 
76
  if ( ! empty( $pagelist ) && ! is_wp_error( $pagelist ) ){
77
  foreach ( $pagelist as $post ) {
78
- $options[ $post->ID ] = __( $post->post_title, 'premium_elemnetor' );
79
  }
80
  update_option( 'temp_count', $options );
81
  return $options;
75
 
76
  if ( ! empty( $pagelist ) && ! is_wp_error( $pagelist ) ){
77
  foreach ( $pagelist as $post ) {
78
+ $options[ $post->ID ] = __( $post->post_title, 'premium-addons-for-elementor' );
79
  }
80
  update_option( 'temp_count', $options );
81
  return $options;
languages/premium-addons-for-elementor.mo ADDED
Binary file
languages/premium-addons-for-elementor.pot ADDED
@@ -0,0 +1,2736 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Premium Addons for Elementor\n"
4
+ "POT-Creation-Date: 2018-02-15 10:41+0200\n"
5
+ "PO-Revision-Date: 2018-02-15 10:41+0200\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Leap13\n"
8
+ "Language: en_US\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7.1\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: esc_html__;__\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: assets/js\n"
19
+ "X-Poedit-SearchPathExcluded-1: admin/assets/js\n"
20
+
21
+ #: admin/settings-page.php:60
22
+ msgid "Premium Addons for Elementor"
23
+ msgstr ""
24
+
25
+ #: admin/settings-page.php:61
26
+ msgid ""
27
+ "Thank you for using Premium Addons for Elementor. This plugin has been "
28
+ "developed by Leap13 and we hope you enjoy using it."
29
+ msgstr ""
30
+
31
+ #: admin/settings-page.php:134 widgets/premium-banner.php:19
32
+ #: widgets/premium-banner.php:37 widgets/premium-banner.php:215
33
+ msgid "Premium Banner"
34
+ msgstr ""
35
+
36
+ #: admin/settings-page.php:141 widgets/premium-blog.php:19
37
+ msgid "Premium Blog"
38
+ msgstr ""
39
+
40
+ #: admin/settings-page.php:152 widgets/premium-carousel.php:18
41
+ msgid "Premium Carousel"
42
+ msgstr ""
43
+
44
+ #: admin/settings-page.php:159 widgets/premium-countdown.php:13
45
+ msgid "Premium Countdown"
46
+ msgstr ""
47
+
48
+ #: admin/settings-page.php:169 widgets/premium-counter.php:13
49
+ msgid "Premium Counter"
50
+ msgstr ""
51
+
52
+ #: admin/settings-page.php:176 widgets/premium-dual-header.php:19
53
+ msgid "Premium Dual Header"
54
+ msgstr ""
55
+
56
+ #: admin/settings-page.php:187 widgets/premium-fancytext.php:19
57
+ msgid "Premium Fancy Text"
58
+ msgstr ""
59
+
60
+ #: admin/settings-page.php:194 widgets/premium-imageseparator.php:19
61
+ msgid "Premium Image Separator"
62
+ msgstr ""
63
+
64
+ #: admin/settings-page.php:206 widgets/premium-maps.php:24
65
+ msgid "Premium Maps"
66
+ msgstr ""
67
+
68
+ #: admin/settings-page.php:213 widgets/premium-modalbox.php:19
69
+ #: widgets/premium-modalbox.php:118
70
+ msgid "Premium Modal Box"
71
+ msgstr ""
72
+
73
+ #: admin/settings-page.php:223 widgets/premium-person.php:19
74
+ msgid "Premium Person"
75
+ msgstr ""
76
+
77
+ #: admin/settings-page.php:230 widgets/premium-progressbar.php:19
78
+ msgid "Premium Progress Bar"
79
+ msgstr ""
80
+
81
+ #: admin/settings-page.php:241
82
+ msgid "Premium Testimonials"
83
+ msgstr ""
84
+
85
+ #: admin/settings-page.php:248 widgets/premium-title.php:19
86
+ #: widgets/premium-title.php:46
87
+ msgid "Premium Title"
88
+ msgstr ""
89
+
90
+ #: admin/settings-page.php:258 widgets/premium-videobox.php:19
91
+ msgid "Premium Video Box"
92
+ msgstr ""
93
+
94
+ #: admin/settings-page.php:265 widgets/premium-pricing-table.php:19
95
+ msgid "Premium Pricing Table"
96
+ msgstr ""
97
+
98
+ #: admin/settings-page.php:275 widgets/premium-button.php:19
99
+ msgid "Premium Button"
100
+ msgstr ""
101
+
102
+ #: admin/settings-page.php:282 widgets/premium-contactform.php:13
103
+ msgid "Premium Contact Form7"
104
+ msgstr ""
105
+
106
+ #: admin/settings-page.php:292 widgets/premium-image-button.php:19
107
+ msgid "Premium Image Button"
108
+ msgstr ""
109
+
110
+ #: admin/settings-page.php:322
111
+ msgid "System setup information useful for debugging purposes."
112
+ msgstr ""
113
+
114
+ #: premium-addons-for-elementor.php:232
115
+ msgid "Premium Addons"
116
+ msgstr ""
117
+
118
+ #: premium-addons-for-elementor.php:239
119
+ msgid "Visit Plugin Site"
120
+ msgstr ""
121
+
122
+ #: widgets/premium-banner.php:44
123
+ msgid "Premium Banner Image"
124
+ msgstr ""
125
+
126
+ #: widgets/premium-banner.php:45
127
+ msgid "Select an image for the Banner"
128
+ msgstr ""
129
+
130
+ #: widgets/premium-banner.php:57 widgets/premium-blog.php:449
131
+ #: widgets/premium-blog.php:569 widgets/premium-blog.php:632
132
+ #: widgets/premium-blog.php:666 widgets/premium-button.php:446
133
+ #: widgets/premium-button.php:594 widgets/premium-button.php:611
134
+ #: widgets/premium-carousel.php:211 widgets/premium-contactform.php:338
135
+ #: widgets/premium-contactform.php:394 widgets/premium-countdown.php:334
136
+ #: widgets/premium-counter.php:152 widgets/premium-modalbox.php:330
137
+ #: widgets/premium-modalbox.php:436 widgets/premium-modalbox.php:681
138
+ #: widgets/premium-modalbox.php:733 widgets/premium-modalbox.php:854
139
+ #: widgets/premium-modalbox.php:914 widgets/premium-title.php:291
140
+ #: widgets/premium-title.php:313 widgets/premium-videobox.php:462
141
+ msgid "Background Color"
142
+ msgstr ""
143
+
144
+ #: widgets/premium-banner.php:71
145
+ msgid "Banner Link/URL"
146
+ msgstr ""
147
+
148
+ #: widgets/premium-banner.php:79
149
+ msgid "Banner custom link"
150
+ msgstr ""
151
+
152
+ #: widgets/premium-banner.php:82
153
+ msgid "Add a custom link to the banner"
154
+ msgstr ""
155
+
156
+ #: widgets/premium-banner.php:92
157
+ msgid "Set Existing Page Link"
158
+ msgstr ""
159
+
160
+ #: widgets/premium-banner.php:94
161
+ msgid "Link the banner with an existing page"
162
+ msgstr ""
163
+
164
+ #: widgets/premium-banner.php:106
165
+ msgid "Set custom Link"
166
+ msgstr ""
167
+
168
+ #: widgets/premium-banner.php:108
169
+ msgid "What custom link you want to set to banner?"
170
+ msgstr ""
171
+
172
+ #: widgets/premium-banner.php:120
173
+ msgid "Open in New Tab"
174
+ msgstr ""
175
+
176
+ #: widgets/premium-banner.php:123
177
+ msgid "Choose if you want the link be opened in a new tab or not"
178
+ msgstr ""
179
+
180
+ #: widgets/premium-banner.php:133
181
+ msgid "Add Nofollow Option to Link"
182
+ msgstr ""
183
+
184
+ #: widgets/premium-banner.php:136
185
+ msgid "if you chose yes, the link will not be counted in search engines"
186
+ msgstr ""
187
+
188
+ #: widgets/premium-banner.php:146
189
+ msgid "Banner Effects"
190
+ msgstr ""
191
+
192
+ #: widgets/premium-banner.php:149
193
+ msgid "Choose a hover effect for the banner"
194
+ msgstr ""
195
+
196
+ #: widgets/premium-banner.php:164
197
+ msgid "Banner Height"
198
+ msgstr ""
199
+
200
+ #: widgets/premium-banner.php:167
201
+ msgid ""
202
+ "Choose if you want to set a custom height for the banner or keep it as it is"
203
+ msgstr ""
204
+
205
+ #: widgets/premium-banner.php:178
206
+ msgid "Min Height"
207
+ msgstr ""
208
+
209
+ #: widgets/premium-banner.php:180
210
+ msgid "Set a minimum height value in pixels"
211
+ msgstr ""
212
+
213
+ #: widgets/premium-banner.php:193 widgets/premium-carousel.php:164
214
+ msgid "Extra Class"
215
+ msgstr ""
216
+
217
+ #: widgets/premium-banner.php:204
218
+ msgid "Banner Content"
219
+ msgstr ""
220
+
221
+ #: widgets/premium-banner.php:211 widgets/premium-banner.php:381
222
+ #: widgets/premium-blog.php:319 widgets/premium-counter.php:346
223
+ #: widgets/premium-pricing-table.php:51 widgets/premium-pricing-table.php:121
224
+ #: widgets/premium-pricing-table.php:131 widgets/premium-pricing-table.php:758
225
+ #: widgets/premium-title.php:243
226
+ msgid "Title"
227
+ msgstr ""
228
+
229
+ #: widgets/premium-banner.php:212 widgets/premium-banner.php:213
230
+ msgid "Give a title to this banner"
231
+ msgstr ""
232
+
233
+ #: widgets/premium-banner.php:223 widgets/premium-pricing-table.php:141
234
+ #: widgets/premium-title.php:93
235
+ msgid "Title HTML Tag"
236
+ msgstr ""
237
+
238
+ #: widgets/premium-banner.php:224
239
+ msgid ""
240
+ "Select a heading tag for the title. Headings are defined with H1 to H6 tags"
241
+ msgstr ""
242
+
243
+ #: widgets/premium-banner.php:242
244
+ msgid "Title Background"
245
+ msgstr ""
246
+
247
+ #: widgets/premium-banner.php:245
248
+ msgid "Choose a background color for the title"
249
+ msgstr ""
250
+
251
+ #: widgets/premium-banner.php:258
252
+ msgid "Alignment"
253
+ msgstr ""
254
+
255
+ #: widgets/premium-banner.php:262 widgets/premium-banner.php:305
256
+ #: widgets/premium-blog.php:235 widgets/premium-button.php:134
257
+ #: widgets/premium-button.php:349 widgets/premium-counter.php:257
258
+ #: widgets/premium-dual-header.php:122 widgets/premium-fancytext.php:265
259
+ #: widgets/premium-image-button.php:297 widgets/premium-imageseparator.php:97
260
+ #: widgets/premium-maps.php:372 widgets/premium-maps.php:454
261
+ #: widgets/premium-modalbox.php:147 widgets/premium-person.php:193
262
+ #: widgets/premium-pricing-table.php:262 widgets/premium-pricing-table.php:403
263
+ #: widgets/premium-title.php:114 widgets/premium-title.php:215
264
+ msgid "Left"
265
+ msgstr ""
266
+
267
+ #: widgets/premium-banner.php:266 widgets/premium-banner.php:309
268
+ #: widgets/premium-blog.php:239 widgets/premium-button.php:353
269
+ #: widgets/premium-dual-header.php:126 widgets/premium-fancytext.php:269
270
+ #: widgets/premium-image-button.php:301 widgets/premium-imageseparator.php:101
271
+ #: widgets/premium-maps.php:376 widgets/premium-maps.php:458
272
+ #: widgets/premium-modalbox.php:151 widgets/premium-person.php:197
273
+ #: widgets/premium-pricing-table.php:266 widgets/premium-title.php:118
274
+ #: widgets/premium-title.php:219
275
+ msgid "Center"
276
+ msgstr ""
277
+
278
+ #: widgets/premium-banner.php:270 widgets/premium-banner.php:313
279
+ #: widgets/premium-blog.php:243 widgets/premium-button.php:135
280
+ #: widgets/premium-button.php:357 widgets/premium-counter.php:256
281
+ #: widgets/premium-dual-header.php:130 widgets/premium-fancytext.php:273
282
+ #: widgets/premium-image-button.php:305 widgets/premium-imageseparator.php:105
283
+ #: widgets/premium-maps.php:380 widgets/premium-maps.php:462
284
+ #: widgets/premium-modalbox.php:155 widgets/premium-person.php:201
285
+ #: widgets/premium-pricing-table.php:270 widgets/premium-pricing-table.php:402
286
+ #: widgets/premium-title.php:122 widgets/premium-title.php:223
287
+ msgid "Right"
288
+ msgstr ""
289
+
290
+ #: widgets/premium-banner.php:283 widgets/premium-banner.php:291
291
+ #: widgets/premium-banner.php:415 widgets/premium-person.php:218
292
+ #: widgets/premium-person.php:425 widgets/premium-pricing-table.php:75
293
+ #: widgets/premium-pricing-table.php:286 widgets/premium-pricing-table.php:297
294
+ #: widgets/premium-pricing-table.php:1233
295
+ msgid "Description"
296
+ msgstr ""
297
+
298
+ #: widgets/premium-banner.php:292
299
+ msgid "Give the description to this banner"
300
+ msgstr ""
301
+
302
+ #: widgets/premium-banner.php:294
303
+ msgid ""
304
+ "Premium Banner gives you a wide range of styles and options that you will "
305
+ "definitely fall in love with"
306
+ msgstr ""
307
+
308
+ #: widgets/premium-banner.php:301
309
+ msgid "Description Alignment"
310
+ msgstr ""
311
+
312
+ #: widgets/premium-banner.php:328 widgets/premium-blog.php:261
313
+ #: widgets/premium-imageseparator.php:44 widgets/premium-modalbox.php:100
314
+ #: widgets/premium-person.php:44 widgets/premium-testimonials.php:191
315
+ #: widgets/premium-videobox.php:44
316
+ msgid "Image"
317
+ msgstr ""
318
+
319
+ #: widgets/premium-banner.php:336
320
+ msgid "Opacity"
321
+ msgstr ""
322
+
323
+ #: widgets/premium-banner.php:358
324
+ msgid "Hover Opacity"
325
+ msgstr ""
326
+
327
+ #: widgets/premium-banner.php:389 widgets/premium-banner.php:423
328
+ #: widgets/premium-blog.php:327 widgets/premium-blog.php:375
329
+ #: widgets/premium-blog.php:470 widgets/premium-blog.php:520
330
+ #: widgets/premium-blog.php:619 widgets/premium-blog.php:653
331
+ #: widgets/premium-modalbox.php:670 widgets/premium-modalbox.php:722
332
+ #: widgets/premium-modalbox.php:839 widgets/premium-modalbox.php:899
333
+ #: widgets/premium-progressbar.php:212 widgets/premium-progressbar.php:257
334
+ msgid "Color"
335
+ msgstr ""
336
+
337
+ #: widgets/premium-blog.php:41
338
+ msgid "Thumbnail Settings"
339
+ msgstr ""
340
+
341
+ #: widgets/premium-blog.php:48 widgets/premium-person.php:106
342
+ msgid "Image Hover Effect"
343
+ msgstr ""
344
+
345
+ #: widgets/premium-blog.php:50
346
+ msgid "Choose a hover effect for the image"
347
+ msgstr ""
348
+
349
+ #: widgets/premium-blog.php:52 widgets/premium-person.php:109
350
+ msgid "Zoom In"
351
+ msgstr ""
352
+
353
+ #: widgets/premium-blog.php:53 widgets/premium-person.php:110
354
+ msgid "Zoom Out"
355
+ msgstr ""
356
+
357
+ #: widgets/premium-blog.php:54 widgets/premium-person.php:111
358
+ msgid "Scale"
359
+ msgstr ""
360
+
361
+ #: widgets/premium-blog.php:55 widgets/premium-person.php:112
362
+ msgid "Grayscale"
363
+ msgstr ""
364
+
365
+ #: widgets/premium-blog.php:56 widgets/premium-person.php:113
366
+ msgid "Blur"
367
+ msgstr ""
368
+
369
+ #: widgets/premium-blog.php:66
370
+ msgid "Color Hover Effect"
371
+ msgstr ""
372
+
373
+ #: widgets/premium-blog.php:68
374
+ msgid "Choose an overlay color effect"
375
+ msgstr ""
376
+
377
+ #: widgets/premium-blog.php:70 widgets/premium-button.php:73
378
+ #: widgets/premium-image-button.php:73
379
+ msgid "None"
380
+ msgstr ""
381
+
382
+ #: widgets/premium-blog.php:71
383
+ msgid "Framed"
384
+ msgstr ""
385
+
386
+ #: widgets/premium-blog.php:72
387
+ msgid "Diagonal"
388
+ msgstr ""
389
+
390
+ #: widgets/premium-blog.php:73
391
+ msgid "Bordered"
392
+ msgstr ""
393
+
394
+ #: widgets/premium-blog.php:74
395
+ msgid "Squares"
396
+ msgstr ""
397
+
398
+ #: widgets/premium-blog.php:87 widgets/premium-dual-header.php:37
399
+ msgid "Content Settings"
400
+ msgstr ""
401
+
402
+ #: widgets/premium-blog.php:95 widgets/premium-blog.php:512
403
+ msgid "Post Format Icon"
404
+ msgstr ""
405
+
406
+ #: widgets/premium-blog.php:104
407
+ msgid "Categories"
408
+ msgstr ""
409
+
410
+ #: widgets/premium-blog.php:106
411
+ msgid "Select the categories you want to show"
412
+ msgstr ""
413
+
414
+ #: widgets/premium-blog.php:116
415
+ msgid "Excerpt"
416
+ msgstr ""
417
+
418
+ #: widgets/premium-blog.php:118
419
+ msgid ""
420
+ "Excerpt is used for article summary with a link to the whole entry. The "
421
+ "default except length is 55"
422
+ msgstr ""
423
+
424
+ #: widgets/premium-blog.php:127
425
+ msgid "Excerpt Length"
426
+ msgstr ""
427
+
428
+ #: widgets/premium-blog.php:140
429
+ msgid "Author Meta"
430
+ msgstr ""
431
+
432
+ #: widgets/premium-blog.php:150
433
+ msgid "Date Meta"
434
+ msgstr ""
435
+
436
+ #: widgets/premium-blog.php:159
437
+ msgid "Categories Meta"
438
+ msgstr ""
439
+
440
+ #: widgets/premium-blog.php:161
441
+ msgid "Display or hide categories mata"
442
+ msgstr ""
443
+
444
+ #: widgets/premium-blog.php:169
445
+ msgid "Comments Meta"
446
+ msgstr ""
447
+
448
+ #: widgets/premium-blog.php:170
449
+ msgid "Display or hide comments mata"
450
+ msgstr ""
451
+
452
+ #: widgets/premium-blog.php:179
453
+ msgid "Tags Meta"
454
+ msgstr ""
455
+
456
+ #: widgets/premium-blog.php:181
457
+ msgid "Display or hide post tags"
458
+ msgstr ""
459
+
460
+ #: widgets/premium-blog.php:189
461
+ msgid "Edit Post"
462
+ msgstr ""
463
+
464
+ #: widgets/premium-blog.php:191
465
+ msgid "Display or hide edit post option"
466
+ msgstr ""
467
+
468
+ #: widgets/premium-blog.php:199
469
+ msgid "Pagination"
470
+ msgstr ""
471
+
472
+ #: widgets/premium-blog.php:201
473
+ msgid "Pagination is the process of dividing the posts into discrete pages"
474
+ msgstr ""
475
+
476
+ #: widgets/premium-blog.php:209
477
+ msgid "Posts Per Page"
478
+ msgstr ""
479
+
480
+ #: widgets/premium-blog.php:210
481
+ msgid "Choose how many posts do you want to be displayed per page"
482
+ msgstr ""
483
+
484
+ #: widgets/premium-blog.php:220
485
+ msgid "Offset Count"
486
+ msgstr ""
487
+
488
+ #: widgets/premium-blog.php:221
489
+ msgid "The index of post to start with"
490
+ msgstr ""
491
+
492
+ #: widgets/premium-blog.php:231 widgets/premium-dual-header.php:118
493
+ #: widgets/premium-fancytext.php:261 widgets/premium-maps.php:368
494
+ #: widgets/premium-maps.php:450 widgets/premium-person.php:189
495
+ msgid "Text Align"
496
+ msgstr ""
497
+
498
+ #: widgets/premium-blog.php:269
499
+ msgid "Plus Icon Color"
500
+ msgstr ""
501
+
502
+ #: widgets/premium-blog.php:284 widgets/premium-image-button.php:539
503
+ #: widgets/premium-image-button.php:556 widgets/premium-image-button.php:582
504
+ msgid "Overlay Color"
505
+ msgstr ""
506
+
507
+ #: widgets/premium-blog.php:299 widgets/premium-carousel.php:230
508
+ #: widgets/premium-contactform.php:405
509
+ msgid "Border Color"
510
+ msgstr ""
511
+
512
+ #: widgets/premium-blog.php:342 widgets/premium-blog.php:390
513
+ #: widgets/premium-blog.php:485 widgets/premium-blog.php:535
514
+ msgid "Hover Color"
515
+ msgstr ""
516
+
517
+ #: widgets/premium-blog.php:367
518
+ msgid "Meta"
519
+ msgstr ""
520
+
521
+ #: widgets/premium-blog.php:415 widgets/premium-person.php:225
522
+ #: widgets/premium-person.php:308
523
+ msgid "Content"
524
+ msgstr ""
525
+
526
+ #: widgets/premium-blog.php:423
527
+ msgid "Post Content Color"
528
+ msgstr ""
529
+
530
+ #: widgets/premium-blog.php:462
531
+ msgid "Tags"
532
+ msgstr ""
533
+
534
+ #: widgets/premium-blog.php:549 widgets/premium-modalbox.php:647
535
+ #: widgets/premium-modalbox.php:807 widgets/premium-pricing-table.php:671
536
+ msgid "Size"
537
+ msgstr ""
538
+
539
+ #: widgets/premium-blog.php:551
540
+ msgid "Choose icon size in (PX, EM)"
541
+ msgstr ""
542
+
543
+ #: widgets/premium-blog.php:584
544
+ msgid "Hover Background Color"
545
+ msgstr ""
546
+
547
+ #: widgets/premium-blog.php:602
548
+ msgid "Pagination Style"
549
+ msgstr ""
550
+
551
+ #: widgets/premium-blog.php:613 widgets/premium-button.php:410
552
+ #: widgets/premium-contactform.php:320 widgets/premium-image-button.php:358
553
+ #: widgets/premium-modalbox.php:320 widgets/premium-modalbox.php:663
554
+ #: widgets/premium-modalbox.php:832 widgets/premium-pricing-table.php:471
555
+ #: widgets/premium-pricing-table.php:1351
556
+ msgid "Normal"
557
+ msgstr ""
558
+
559
+ #: widgets/premium-blog.php:647 widgets/premium-button.php:539
560
+ #: widgets/premium-contactform.php:378 widgets/premium-image-button.php:484
561
+ #: widgets/premium-modalbox.php:426 widgets/premium-modalbox.php:715
562
+ #: widgets/premium-modalbox.php:892 widgets/premium-pricing-table.php:548
563
+ #: widgets/premium-pricing-table.php:1428
564
+ msgid "Hover"
565
+ msgstr ""
566
+
567
+ #: widgets/premium-blog.php:798
568
+ msgid "&lsaquo; Previous"
569
+ msgstr ""
570
+
571
+ #: widgets/premium-blog.php:799
572
+ msgid "Next &rsaquo;"
573
+ msgstr ""
574
+
575
+ #: widgets/premium-button.php:37 widgets/premium-image-button.php:37
576
+ msgid "Button Settings"
577
+ msgstr ""
578
+
579
+ #: widgets/premium-button.php:44 widgets/premium-image-button.php:44
580
+ #: widgets/premium-modalbox.php:68
581
+ msgid "Button Text"
582
+ msgstr ""
583
+
584
+ #: widgets/premium-button.php:46 widgets/premium-image-button.php:46
585
+ msgid "Click Me"
586
+ msgstr ""
587
+
588
+ #: widgets/premium-button.php:53 widgets/premium-countdown.php:123
589
+ #: widgets/premium-image-button.php:53 widgets/premium-imageseparator.php:131
590
+ #: widgets/premium-imageseparator.php:158 widgets/premium-pricing-table.php:332
591
+ #: widgets/premium-pricing-table.php:344
592
+ msgid "URL"
593
+ msgstr ""
594
+
595
+ #: widgets/premium-button.php:69 widgets/premium-image-button.php:69
596
+ msgid "Button Hover Effect"
597
+ msgstr ""
598
+
599
+ #: widgets/premium-button.php:74
600
+ msgid "Slide"
601
+ msgstr ""
602
+
603
+ #: widgets/premium-button.php:75
604
+ msgid "Shutter"
605
+ msgstr ""
606
+
607
+ #: widgets/premium-button.php:76
608
+ msgid "Icon Fade"
609
+ msgstr ""
610
+
611
+ #: widgets/premium-button.php:77 widgets/premium-image-button.php:76
612
+ msgid "Icon Slide"
613
+ msgstr ""
614
+
615
+ #: widgets/premium-button.php:78
616
+ msgid "In & Out"
617
+ msgstr ""
618
+
619
+ #: widgets/premium-button.php:86 widgets/premium-button.php:128
620
+ #: widgets/premium-image-button.php:85 widgets/premium-image-button.php:103
621
+ #: widgets/premium-image-button.php:121
622
+ msgid "Slide Direction"
623
+ msgstr ""
624
+
625
+ #: widgets/premium-button.php:90 widgets/premium-image-button.php:89
626
+ #: widgets/premium-image-button.php:126
627
+ msgid "Top to Bottom"
628
+ msgstr ""
629
+
630
+ #: widgets/premium-button.php:91 widgets/premium-image-button.php:90
631
+ #: widgets/premium-image-button.php:125
632
+ msgid "Bottom to Top"
633
+ msgstr ""
634
+
635
+ #: widgets/premium-button.php:92 widgets/premium-image-button.php:91
636
+ #: widgets/premium-image-button.php:128
637
+ msgid "Right to Left"
638
+ msgstr ""
639
+
640
+ #: widgets/premium-button.php:93 widgets/premium-image-button.php:92
641
+ #: widgets/premium-image-button.php:127
642
+ msgid "Left to Right"
643
+ msgstr ""
644
+
645
+ #: widgets/premium-button.php:104
646
+ msgid "Shutter Direction"
647
+ msgstr ""
648
+
649
+ #: widgets/premium-button.php:108
650
+ msgid "Shutter in Horizontal"
651
+ msgstr ""
652
+
653
+ #: widgets/premium-button.php:109
654
+ msgid "Shutter in Vertical"
655
+ msgstr ""
656
+
657
+ #: widgets/premium-button.php:110
658
+ msgid "Shutter out Horizontal"
659
+ msgstr ""
660
+
661
+ #: widgets/premium-button.php:111
662
+ msgid "Shutter out Vertical"
663
+ msgstr ""
664
+
665
+ #: widgets/premium-button.php:112
666
+ msgid "Scaled Shutter Vertical"
667
+ msgstr ""
668
+
669
+ #: widgets/premium-button.php:113
670
+ msgid "Scaled Shutter Horizontal"
671
+ msgstr ""
672
+
673
+ #: widgets/premium-button.php:114
674
+ msgid "Tilted Left"
675
+ msgstr ""
676
+
677
+ #: widgets/premium-button.php:115
678
+ msgid "Tilted Right"
679
+ msgstr ""
680
+
681
+ #: widgets/premium-button.php:132 widgets/premium-counter.php:255
682
+ #: widgets/premium-pricing-table.php:886 widgets/premium-testimonials.php:158
683
+ msgid "Top"
684
+ msgstr ""
685
+
686
+ #: widgets/premium-button.php:133 widgets/premium-pricing-table.php:894
687
+ msgid "Bottom"
688
+ msgstr ""
689
+
690
+ #: widgets/premium-button.php:146
691
+ msgid "Style"
692
+ msgstr ""
693
+
694
+ #: widgets/premium-button.php:150
695
+ msgid "Radial In"
696
+ msgstr ""
697
+
698
+ #: widgets/premium-button.php:151
699
+ msgid "Radial Out"
700
+ msgstr ""
701
+
702
+ #: widgets/premium-button.php:152
703
+ msgid "Rectangle In"
704
+ msgstr ""
705
+
706
+ #: widgets/premium-button.php:153
707
+ msgid "Rectangle Out"
708
+ msgstr ""
709
+
710
+ #: widgets/premium-button.php:165 widgets/premium-image-button.php:156
711
+ msgid "Button Icon"
712
+ msgstr ""
713
+
714
+ #: widgets/premium-button.php:170 widgets/premium-image-button.php:161
715
+ msgid "Enable or disable button icon"
716
+ msgstr ""
717
+
718
+ #: widgets/premium-button.php:177 widgets/premium-button.php:191
719
+ #: widgets/premium-image-button.php:168 widgets/premium-image-button.php:181
720
+ #: widgets/premium-pricing-table.php:44 widgets/premium-pricing-table.php:101
721
+ #: widgets/premium-pricing-table.php:632 widgets/premium-title.php:73
722
+ msgid "Icon"
723
+ msgstr ""
724
+
725
+ #: widgets/premium-button.php:203 widgets/premium-counter.php:250
726
+ #: widgets/premium-image-button.php:193
727
+ msgid "Icon Position"
728
+ msgstr ""
729
+
730
+ #: widgets/premium-button.php:207 widgets/premium-image-button.php:197
731
+ msgid "Before"
732
+ msgstr ""
733
+
734
+ #: widgets/premium-button.php:208 widgets/premium-image-button.php:198
735
+ msgid "After"
736
+ msgstr ""
737
+
738
+ #: widgets/premium-button.php:220 widgets/premium-button.php:234
739
+ #: widgets/premium-counter.php:76 widgets/premium-image-button.php:210
740
+ #: widgets/premium-image-button.php:224 widgets/premium-pricing-table.php:1137
741
+ #: widgets/premium-title.php:470 widgets/premium-videobox.php:321
742
+ msgid "Icon Size"
743
+ msgstr ""
744
+
745
+ #: widgets/premium-button.php:247 widgets/premium-button.php:266
746
+ #: widgets/premium-button.php:285 widgets/premium-button.php:306
747
+ #: widgets/premium-image-button.php:237 widgets/premium-image-button.php:256
748
+ #: widgets/premium-pricing-table.php:1147
749
+ msgid "Icon Spacing"
750
+ msgstr ""
751
+
752
+ #: widgets/premium-button.php:328 widgets/premium-image-button.php:276
753
+ #: widgets/premium-modalbox.php:81
754
+ msgid "Button Size"
755
+ msgstr ""
756
+
757
+ #: widgets/premium-button.php:332 widgets/premium-image-button.php:280
758
+ msgid "Small"
759
+ msgstr ""
760
+
761
+ #: widgets/premium-button.php:333 widgets/premium-image-button.php:281
762
+ msgid "Medium"
763
+ msgstr ""
764
+
765
+ #: widgets/premium-button.php:334 widgets/premium-image-button.php:282
766
+ msgid "Large"
767
+ msgstr ""
768
+
769
+ #: widgets/premium-button.php:335 widgets/premium-image-button.php:283
770
+ msgid "Block"
771
+ msgstr ""
772
+
773
+ #: widgets/premium-button.php:345 widgets/premium-image-button.php:293
774
+ msgid "Button Alignment"
775
+ msgstr ""
776
+
777
+ #: widgets/premium-button.php:370
778
+ msgid "Button onclick Event"
779
+ msgstr ""
780
+
781
+ #: widgets/premium-button.php:378 widgets/premium-image-button.php:326
782
+ msgid "Example: myFunction();"
783
+ msgstr ""
784
+
785
+ #: widgets/premium-button.php:392 widgets/premium-contactform.php:290
786
+ #: widgets/premium-image-button.php:340 widgets/premium-pricing-table.php:82
787
+ #: widgets/premium-pricing-table.php:308 widgets/premium-pricing-table.php:1314
788
+ msgid "Button"
789
+ msgstr ""
790
+
791
+ #: widgets/premium-button.php:416 widgets/premium-button.php:545
792
+ #: widgets/premium-contactform.php:325 widgets/premium-contactform.php:383
793
+ #: widgets/premium-dual-header.php:180 widgets/premium-dual-header.php:314
794
+ #: widgets/premium-image-button.php:364 widgets/premium-image-button.php:490
795
+ #: widgets/premium-modalbox.php:286 widgets/premium-modalbox.php:610
796
+ #: widgets/premium-pricing-table.php:769 widgets/premium-pricing-table.php:1114
797
+ #: widgets/premium-pricing-table.php:1244
798
+ #: widgets/premium-pricing-table.php:1325
799
+ #: widgets/premium-pricing-table.php:1556 widgets/premium-videobox.php:432
800
+ msgid "Text Color"
801
+ msgstr ""
802
+
803
+ #: widgets/premium-button.php:429 widgets/premium-button.php:561
804
+ #: widgets/premium-button.php:578 widgets/premium-counter.php:120
805
+ #: widgets/premium-image-button.php:377 widgets/premium-image-button.php:506
806
+ #: widgets/premium-image-button.php:523 widgets/premium-pricing-table.php:643
807
+ #: widgets/premium-pricing-table.php:1100 widgets/premium-title.php:455
808
+ #: widgets/premium-videobox.php:291
809
+ msgid "Icon Color"
810
+ msgstr ""
811
+
812
+ #: widgets/premium-button.php:470 widgets/premium-button.php:639
813
+ #: widgets/premium-contactform.php:136 widgets/premium-contactform.php:361
814
+ #: widgets/premium-countdown.php:375 widgets/premium-counter.php:225
815
+ #: widgets/premium-dual-header.php:233 widgets/premium-dual-header.php:367
816
+ #: widgets/premium-image-button.php:414 widgets/premium-image-button.php:609
817
+ #: widgets/premium-maps.php:266 widgets/premium-modalbox.php:360
818
+ #: widgets/premium-modalbox.php:463 widgets/premium-modalbox.php:532
819
+ #: widgets/premium-modalbox.php:701 widgets/premium-modalbox.php:753
820
+ #: widgets/premium-modalbox.php:878 widgets/premium-modalbox.php:938
821
+ #: widgets/premium-pricing-table.php:497 widgets/premium-pricing-table.php:574
822
+ #: widgets/premium-pricing-table.php:704 widgets/premium-pricing-table.php:1189
823
+ #: widgets/premium-pricing-table.php:1377
824
+ #: widgets/premium-pricing-table.php:1454 widgets/premium-progressbar.php:135
825
+ #: widgets/premium-title.php:501 widgets/premium-videobox.php:256
826
+ #: widgets/premium-videobox.php:356
827
+ msgid "Border Radius"
828
+ msgstr ""
829
+
830
+ #: widgets/premium-button.php:482 widgets/premium-button.php:651
831
+ #: widgets/premium-dual-header.php:245 widgets/premium-dual-header.php:379
832
+ #: widgets/premium-image-button.php:426 widgets/premium-image-button.php:621
833
+ #: widgets/premium-maps.php:278 widgets/premium-maps.php:356
834
+ #: widgets/premium-maps.php:438 widgets/premium-modalbox.php:588
835
+ #: widgets/premium-pricing-table.php:518 widgets/premium-pricing-table.php:595
836
+ #: widgets/premium-pricing-table.php:716 widgets/premium-pricing-table.php:804
837
+ #: widgets/premium-pricing-table.php:1054
838
+ #: widgets/premium-pricing-table.php:1201
839
+ #: widgets/premium-pricing-table.php:1279
840
+ #: widgets/premium-pricing-table.php:1398
841
+ #: widgets/premium-pricing-table.php:1475 widgets/premium-progressbar.php:237
842
+ #: widgets/premium-progressbar.php:282 widgets/premium-title.php:420
843
+ #: widgets/premium-title.php:513
844
+ msgid "Margin"
845
+ msgstr ""
846
+
847
+ #: widgets/premium-button.php:493 widgets/premium-button.php:662
848
+ #: widgets/premium-contactform.php:116 widgets/premium-contactform.php:307
849
+ #: widgets/premium-dual-header.php:257 widgets/premium-dual-header.php:391
850
+ #: widgets/premium-image-button.php:437 widgets/premium-image-button.php:632
851
+ #: widgets/premium-maps.php:290 widgets/premium-maps.php:345
852
+ #: widgets/premium-maps.php:427 widgets/premium-modalbox.php:379
853
+ #: widgets/premium-modalbox.php:770 widgets/premium-modalbox.php:955
854
+ #: widgets/premium-pricing-table.php:529 widgets/premium-pricing-table.php:606
855
+ #: widgets/premium-pricing-table.php:735 widgets/premium-pricing-table.php:823
856
+ #: widgets/premium-pricing-table.php:1074
857
+ #: widgets/premium-pricing-table.php:1219
858
+ #: widgets/premium-pricing-table.php:1299
859
+ #: widgets/premium-pricing-table.php:1409
860
+ #: widgets/premium-pricing-table.php:1486 widgets/premium-title.php:525
861
+ #: widgets/premium-videobox.php:372 widgets/premium-videobox.php:486
862
+ msgid "Padding"
863
+ msgstr ""
864
+
865
+ #: widgets/premium-button.php:505 widgets/premium-button.php:674
866
+ #: widgets/premium-button.php:687 widgets/premium-image-button.php:449
867
+ #: widgets/premium-image-button.php:644 widgets/premium-image-button.php:657
868
+ #: widgets/premium-title.php:538
869
+ msgid "Icon Shadow"
870
+ msgstr ""
871
+
872
+ #: widgets/premium-button.php:519 widgets/premium-button.php:700
873
+ #: widgets/premium-image-button.php:464 widgets/premium-image-button.php:670
874
+ msgid "Text Shadow"
875
+ msgstr ""
876
+
877
+ #: widgets/premium-button.php:529 widgets/premium-button.php:714
878
+ #: widgets/premium-image-button.php:474 widgets/premium-image-button.php:683
879
+ msgid "Button Shadow"
880
+ msgstr ""
881
+
882
+ #: widgets/premium-carousel.php:40
883
+ msgid "Carousel Settings"
884
+ msgstr ""
885
+
886
+ #: widgets/premium-carousel.php:47
887
+ msgid "Slider Content"
888
+ msgstr ""
889
+
890
+ #: widgets/premium-carousel.php:48
891
+ msgid ""
892
+ "Slider content is a template which you can choose from Elementor library. "
893
+ "Each template will be a slider content"
894
+ msgstr ""
895
+
896
+ #: widgets/premium-carousel.php:59
897
+ msgid "Slider Type"
898
+ msgstr ""
899
+
900
+ #: widgets/premium-carousel.php:60
901
+ msgid "Set a navigation type"
902
+ msgstr ""
903
+
904
+ #: widgets/premium-carousel.php:64 widgets/premium-image-button.php:143
905
+ msgid "Horizontal"
906
+ msgstr ""
907
+
908
+ #: widgets/premium-carousel.php:65 widgets/premium-image-button.php:144
909
+ msgid "Vertical"
910
+ msgstr ""
911
+
912
+ #: widgets/premium-carousel.php:73
913
+ msgid "Slides to Scroll"
914
+ msgstr ""
915
+
916
+ #: widgets/premium-carousel.php:77
917
+ msgid "All visible"
918
+ msgstr ""
919
+
920
+ #: widgets/premium-carousel.php:78
921
+ msgid "One at a time"
922
+ msgstr ""
923
+
924
+ #: widgets/premium-carousel.php:86
925
+ msgid "Slides on Desktop"
926
+ msgstr ""
927
+
928
+ #: widgets/premium-carousel.php:95
929
+ msgid "Slides on Tabs"
930
+ msgstr ""
931
+
932
+ #: widgets/premium-carousel.php:104
933
+ msgid "Slides on Mobile"
934
+ msgstr ""
935
+
936
+ #: widgets/premium-carousel.php:113
937
+ msgid "Infinite Loop"
938
+ msgstr ""
939
+
940
+ #: widgets/premium-carousel.php:115
941
+ msgid "Restart the slider automatically as it passes the last slide"
942
+ msgstr ""
943
+
944
+ #: widgets/premium-carousel.php:123
945
+ msgid "Transition Speed"
946
+ msgstr ""
947
+
948
+ #: widgets/premium-carousel.php:124
949
+ msgid ""
950
+ "Set a navigation speed value. The value will be counted in milliseconds (ms)"
951
+ msgstr ""
952
+
953
+ #: widgets/premium-carousel.php:133
954
+ msgid "AutoPlay Slides‏"
955
+ msgstr ""
956
+
957
+ #: widgets/premium-carousel.php:134
958
+ msgid "Slide will start automatically"
959
+ msgstr ""
960
+
961
+ #: widgets/premium-carousel.php:143
962
+ msgid "AutoPlay Speed"
963
+ msgstr ""
964
+
965
+ #: widgets/premium-carousel.php:144
966
+ msgid ""
967
+ "AutoPlay Speed means at which time the next slide should come. Set a value "
968
+ "in milliseconds (ms)"
969
+ msgstr ""
970
+
971
+ #: widgets/premium-carousel.php:156 widgets/premium-counter.php:243
972
+ msgid "Animations"
973
+ msgstr ""
974
+
975
+ #: widgets/premium-carousel.php:174
976
+ msgid "Navigation"
977
+ msgstr ""
978
+
979
+ #: widgets/premium-carousel.php:182
980
+ msgid "Navigation Arrows"
981
+ msgstr ""
982
+
983
+ #: widgets/premium-carousel.php:183
984
+ msgid "Enable or disable navigation arrows"
985
+ msgstr ""
986
+
987
+ #: widgets/premium-carousel.php:192
988
+ msgid "Arrow Style"
989
+ msgstr ""
990
+
991
+ #: widgets/premium-carousel.php:196
992
+ msgid "Default"
993
+ msgstr ""
994
+
995
+ #: widgets/premium-carousel.php:197 widgets/premium-counter.php:142
996
+ msgid "Circle Background"
997
+ msgstr ""
998
+
999
+ #: widgets/premium-carousel.php:198 widgets/premium-counter.php:143
1000
+ msgid "Square Background"
1001
+ msgstr ""
1002
+
1003
+ #: widgets/premium-carousel.php:199
1004
+ msgid "Circle border"
1005
+ msgstr ""
1006
+
1007
+ #: widgets/premium-carousel.php:200
1008
+ msgid "Square border"
1009
+ msgstr ""
1010
+
1011
+ #: widgets/premium-carousel.php:249
1012
+ msgid "Border Size"
1013
+ msgstr ""
1014
+
1015
+ #: widgets/premium-carousel.php:273
1016
+ msgid "Arrow Color"
1017
+ msgstr ""
1018
+
1019
+ #: widgets/premium-carousel.php:291
1020
+ msgid "Arrow Size"
1021
+ msgstr ""
1022
+
1023
+ #: widgets/premium-carousel.php:314
1024
+ msgid "Select Icon for 'Next Arrow'"
1025
+ msgstr ""
1026
+
1027
+ #: widgets/premium-carousel.php:345
1028
+ msgid "Select Icon for 'Bottom Arrow'"
1029
+ msgstr ""
1030
+
1031
+ #: widgets/premium-carousel.php:375
1032
+ msgid "Select Icon for 'Prev Arrow'"
1033
+ msgstr ""
1034
+
1035
+ #: widgets/premium-carousel.php:406
1036
+ msgid "Select Icon for 'Up Arrow'"
1037
+ msgstr ""
1038
+
1039
+ #: widgets/premium-carousel.php:436
1040
+ msgid "Navigation Dots"
1041
+ msgstr ""
1042
+
1043
+ #: widgets/premium-carousel.php:437
1044
+ msgid "Enable or disable navigation dots"
1045
+ msgstr ""
1046
+
1047
+ #: widgets/premium-carousel.php:446
1048
+ msgid "Navigation Dots Color"
1049
+ msgstr ""
1050
+
1051
+ #: widgets/premium-carousel.php:464
1052
+ msgid "Dot Active Color"
1053
+ msgstr ""
1054
+
1055
+ #: widgets/premium-carousel.php:482
1056
+ msgid "Navigation Dots Icon"
1057
+ msgstr ""
1058
+
1059
+ #: widgets/premium-carousel.php:513
1060
+ msgid "Advanced Settings"
1061
+ msgstr ""
1062
+
1063
+ #: widgets/premium-carousel.php:521
1064
+ msgid "Draggable Effect"
1065
+ msgstr ""
1066
+
1067
+ #: widgets/premium-carousel.php:522
1068
+ msgid "Allow the slides to be dragged by mouse click"
1069
+ msgstr ""
1070
+
1071
+ #: widgets/premium-carousel.php:531
1072
+ msgid "Touch Move"
1073
+ msgstr ""
1074
+
1075
+ #: widgets/premium-carousel.php:532
1076
+ msgid "Enable slide moving with touch"
1077
+ msgstr ""
1078
+
1079
+ #: widgets/premium-carousel.php:541
1080
+ msgid "RTL Mode"
1081
+ msgstr ""
1082
+
1083
+ #: widgets/premium-carousel.php:542
1084
+ msgid "Turn on RTL mode if your language starts from right to left"
1085
+ msgstr ""
1086
+
1087
+ #: widgets/premium-carousel.php:554
1088
+ msgid "Adaptive Height"
1089
+ msgstr ""
1090
+
1091
+ #: widgets/premium-carousel.php:555
1092
+ msgid ""
1093
+ "Adaptive height setting gives each slide a fixed height to avoid huge white "
1094
+ "space gaps"
1095
+ msgstr ""
1096
+
1097
+ #: widgets/premium-carousel.php:564 widgets/premium-fancytext.php:249
1098
+ msgid "Pause on Hover"
1099
+ msgstr ""
1100
+
1101
+ #: widgets/premium-carousel.php:565
1102
+ msgid "Pause the slider when mouse hover"
1103
+ msgstr ""
1104
+
1105
+ #: widgets/premium-carousel.php:574
1106
+ msgid "Center Mode"
1107
+ msgstr ""
1108
+
1109
+ #: widgets/premium-carousel.php:575
1110
+ msgid ""
1111
+ "Center mode enables a centered view with partial next/previous slides. "
1112
+ "Animations and all visible scroll type doesn't work with this mode"
1113
+ msgstr ""
1114
+
1115
+ #: widgets/premium-carousel.php:584
1116
+ msgid "Space Between Two Items"
1117
+ msgstr ""
1118
+
1119
+ #: widgets/premium-carousel.php:585
1120
+ msgid "Set a spacing value in pixels (px)"
1121
+ msgstr ""
1122
+
1123
+ #: widgets/premium-contactform.php:31
1124
+ msgid "Contact Form"
1125
+ msgstr ""
1126
+
1127
+ #: widgets/premium-contactform.php:39
1128
+ msgid "Select Your Contact Form"
1129
+ msgstr ""
1130
+
1131
+ #: widgets/premium-contactform.php:52
1132
+ msgid "Form"
1133
+ msgstr ""
1134
+
1135
+ #: widgets/premium-contactform.php:59
1136
+ msgid "Input Field Background"
1137
+ msgstr ""
1138
+
1139
+ #: widgets/premium-contactform.php:71
1140
+ msgid "Input Field Width"
1141
+ msgstr ""
1142
+
1143
+ #: widgets/premium-contactform.php:94
1144
+ msgid "Text-box Width"
1145
+ msgstr ""
1146
+
1147
+ #: widgets/premium-contactform.php:149
1148
+ msgid "Focus Border Color"
1149
+ msgstr ""
1150
+
1151
+ #: widgets/premium-contactform.php:160
1152
+ msgid "Focus Border Animation"
1153
+ msgstr ""
1154
+
1155
+ #: widgets/premium-contactform.php:173
1156
+ msgid "Focus Line Color"
1157
+ msgstr ""
1158
+
1159
+ #: widgets/premium-contactform.php:199 widgets/premium-progressbar.php:197
1160
+ msgid "Labels"
1161
+ msgstr ""
1162
+
1163
+ #: widgets/premium-contactform.php:209
1164
+ msgid "Default Typography"
1165
+ msgstr ""
1166
+
1167
+ #: widgets/premium-contactform.php:216
1168
+ msgid "Default Font Color"
1169
+ msgstr ""
1170
+
1171
+ #: widgets/premium-contactform.php:241
1172
+ msgid "Input Typography"
1173
+ msgstr ""
1174
+
1175
+ #: widgets/premium-contactform.php:249
1176
+ msgid "Input Text Color"
1177
+ msgstr ""
1178
+
1179
+ #: widgets/premium-contactform.php:274
1180
+ msgid "Placeholder Color"
1181
+ msgstr ""
1182
+
1183
+ #: widgets/premium-countdown.php:34
1184
+ msgid "Countdown Settings"
1185
+ msgstr ""
1186
+
1187
+ #: widgets/premium-countdown.php:41
1188
+ msgid "Countdown Style"
1189
+ msgstr ""
1190
+
1191
+ #: widgets/premium-countdown.php:44
1192
+ msgid "Digit and Unit Side by Side"
1193
+ msgstr ""
1194
+
1195
+ #: widgets/premium-countdown.php:45
1196
+ msgid "Digit and Unit Up and Down"
1197
+ msgstr ""
1198
+
1199
+ #: widgets/premium-countdown.php:54
1200
+ msgid "Target Date and Time"
1201
+ msgstr ""
1202
+
1203
+ #: widgets/premium-countdown.php:60
1204
+ msgid ""
1205
+ "Date format is (yyyy/mm/dd). Time format is (hh:mm:ss). Example: 2020-01-01 "
1206
+ "09:30."
1207
+ msgstr ""
1208
+
1209
+ #: widgets/premium-countdown.php:67
1210
+ msgid "Countdown Timer Depends On"
1211
+ msgstr ""
1212
+
1213
+ #: widgets/premium-countdown.php:70
1214
+ msgid "WordPress Default"
1215
+ msgstr ""
1216
+
1217
+ #: widgets/premium-countdown.php:71
1218
+ msgid "User Local Time"
1219
+ msgstr ""
1220
+
1221
+ #: widgets/premium-countdown.php:74
1222
+ msgid "This will set the current time of the option that you will choose."
1223
+ msgstr ""
1224
+
1225
+ #: widgets/premium-countdown.php:81
1226
+ msgid "Select Time Units"
1227
+ msgstr ""
1228
+
1229
+ #: widgets/premium-countdown.php:83
1230
+ msgid "Select the time units that you want to display in countdown timer."
1231
+ msgstr ""
1232
+
1233
+ #: widgets/premium-countdown.php:85
1234
+ msgid "Years"
1235
+ msgstr ""
1236
+
1237
+ #: widgets/premium-countdown.php:86
1238
+ msgid "Month"
1239
+ msgstr ""
1240
+
1241
+ #: widgets/premium-countdown.php:87
1242
+ msgid "Week"
1243
+ msgstr ""
1244
+
1245
+ #: widgets/premium-countdown.php:88
1246
+ msgid "Day"
1247
+ msgstr ""
1248
+
1249
+ #: widgets/premium-countdown.php:89
1250
+ msgid "Hours"
1251
+ msgstr ""
1252
+
1253
+ #: widgets/premium-countdown.php:90
1254
+ msgid "Minutes"
1255
+ msgstr ""
1256
+
1257
+ #: widgets/premium-countdown.php:91
1258
+ msgid "Second"
1259
+ msgstr ""
1260
+
1261
+ #: widgets/premium-countdown.php:110
1262
+ msgid "Expire Settings"
1263
+ msgstr ""
1264
+
1265
+ #: widgets/premium-countdown.php:117
1266
+ msgid "Expire Text or Redirection Link"
1267
+ msgstr ""
1268
+
1269
+ #: widgets/premium-countdown.php:120
1270
+ msgid "Choose whether if you want to set a message or a redirect link"
1271
+ msgstr ""
1272
+
1273
+ #: widgets/premium-countdown.php:122 widgets/premium-fancytext.php:90
1274
+ #: widgets/premium-modalbox.php:115 widgets/premium-pricing-table.php:319
1275
+ #: widgets/premium-videobox.php:128
1276
+ msgid "Text"
1277
+ msgstr ""
1278
+
1279
+ #: widgets/premium-countdown.php:132
1280
+ msgid "On expiry Text"
1281
+ msgstr ""
1282
+
1283
+ #: widgets/premium-countdown.php:134
1284
+ msgid "Countdown is finished!"
1285
+ msgstr ""
1286
+
1287
+ #: widgets/premium-countdown.php:144
1288
+ msgid "Redirect To"
1289
+ msgstr ""
1290
+
1291
+ #: widgets/premium-countdown.php:158
1292
+ msgid "Strings Translation"
1293
+ msgstr ""
1294
+
1295
+ #: widgets/premium-countdown.php:165
1296
+ msgid "Day (Singular)"
1297
+ msgstr ""
1298
+
1299
+ #: widgets/premium-countdown.php:174
1300
+ msgid "Day (Plural)"
1301
+ msgstr ""
1302
+
1303
+ #: widgets/premium-countdown.php:183
1304
+ msgid "Week (Singular)"
1305
+ msgstr ""
1306
+
1307
+ #: widgets/premium-countdown.php:192
1308
+ msgid "Weeks (Plural)"
1309
+ msgstr ""
1310
+
1311
+ #: widgets/premium-countdown.php:202
1312
+ msgid "Month (Singular)"
1313
+ msgstr ""
1314
+
1315
+ #: widgets/premium-countdown.php:212
1316
+ msgid "Months (Plural)"
1317
+ msgstr ""
1318
+
1319
+ #: widgets/premium-countdown.php:222
1320
+ msgid "Year (Singular)"
1321
+ msgstr ""
1322
+
1323
+ #: widgets/premium-countdown.php:232
1324
+ msgid "Years (Plural)"
1325
+ msgstr ""
1326
+
1327
+ #: widgets/premium-countdown.php:242
1328
+ msgid "Hour (Singular)"
1329
+ msgstr ""
1330
+
1331
+ #: widgets/premium-countdown.php:252
1332
+ msgid "Hours (Plural)"
1333
+ msgstr ""
1334
+
1335
+ #: widgets/premium-countdown.php:262
1336
+ msgid "Minute (Singular)"
1337
+ msgstr ""
1338
+
1339
+ #: widgets/premium-countdown.php:271
1340
+ msgid "Minutes (Plural)"
1341
+ msgstr ""
1342
+
1343
+ #: widgets/premium-countdown.php:280
1344
+ msgid "Second (Singular)"
1345
+ msgstr ""
1346
+
1347
+ #: widgets/premium-countdown.php:289
1348
+ msgid "Seconds (Plural)"
1349
+ msgstr ""
1350
+
1351
+ #: widgets/premium-countdown.php:300
1352
+ msgid "Digits"
1353
+ msgstr ""
1354
+
1355
+ #: widgets/premium-countdown.php:308
1356
+ msgid "Digits Color"
1357
+ msgstr ""
1358
+
1359
+ #: widgets/premium-countdown.php:349
1360
+ msgid "Background Size"
1361
+ msgstr ""
1362
+
1363
+ #: widgets/premium-countdown.php:388
1364
+ msgid "Unit"
1365
+ msgstr ""
1366
+
1367
+ #: widgets/premium-countdown.php:396
1368
+ msgid "Units Color"
1369
+ msgstr ""
1370
+
1371
+ #: widgets/premium-countdown.php:421
1372
+ msgid "Separator Width"
1373
+ msgstr ""
1374
+
1375
+ #: widgets/premium-counter.php:33 widgets/premium-pricing-table.php:38
1376
+ msgid "Display Options"
1377
+ msgstr ""
1378
+
1379
+ #: widgets/premium-counter.php:39
1380
+ msgid "Icon Type"
1381
+ msgstr ""
1382
+
1383
+ #: widgets/premium-counter.php:41
1384
+ msgid "Use a font awesome icon or upload a custom image"
1385
+ msgstr ""
1386
+
1387
+ #: widgets/premium-counter.php:43 widgets/premium-modalbox.php:197
1388
+ #: widgets/premium-title.php:81
1389
+ msgid "Font Awesome Icon"
1390
+ msgstr ""
1391
+
1392
+ #: widgets/premium-counter.php:44 widgets/premium-modalbox.php:209
1393
+ msgid "Custom Image Icon"
1394
+ msgstr ""
1395
+
1396
+ #: widgets/premium-counter.php:52 widgets/premium-pricing-table.php:110
1397
+ msgid "Select an Icon"
1398
+ msgstr ""
1399
+
1400
+ #: widgets/premium-counter.php:63
1401
+ msgid "Upload Image"
1402
+ msgstr ""
1403
+
1404
+ #: widgets/premium-counter.php:98 widgets/premium-imageseparator.php:57
1405
+ #: widgets/premium-testimonials.php:199
1406
+ msgid "Image Size"
1407
+ msgstr ""
1408
+
1409
+ #: widgets/premium-counter.php:137 widgets/premium-title.php:444
1410
+ msgid "Icon Style"
1411
+ msgstr ""
1412
+
1413
+ #: widgets/premium-counter.php:139
1414
+ msgid ""
1415
+ "We are giving you three quick preset if you are in a hurry. Otherwise, "
1416
+ "create your own with various options"
1417
+ msgstr ""
1418
+
1419
+ #: widgets/premium-counter.php:141
1420
+ msgid "Simple"
1421
+ msgstr ""
1422
+
1423
+ #: widgets/premium-counter.php:144
1424
+ msgid "Design Your Own"
1425
+ msgstr ""
1426
+
1427
+ #: widgets/premium-counter.php:169
1428
+ msgid "Background size"
1429
+ msgstr ""
1430
+
1431
+ #: widgets/premium-counter.php:191
1432
+ msgid "Icon vertical Align"
1433
+ msgstr ""
1434
+
1435
+ #: widgets/premium-counter.php:252
1436
+ msgid "Choose a position for your icon"
1437
+ msgstr ""
1438
+
1439
+ #: widgets/premium-counter.php:270
1440
+ msgid "Counter Settings"
1441
+ msgstr ""
1442
+
1443
+ #: widgets/premium-counter.php:276
1444
+ msgid "Counter Title"
1445
+ msgstr ""
1446
+
1447
+ #: widgets/premium-counter.php:278
1448
+ msgid "Enter title for stats counter block"
1449
+ msgstr ""
1450
+
1451
+ #: widgets/premium-counter.php:284
1452
+ msgid "Counter Value"
1453
+ msgstr ""
1454
+
1455
+ #: widgets/premium-counter.php:286
1456
+ msgid "Enter Counter Value"
1457
+ msgstr ""
1458
+
1459
+ #: widgets/premium-counter.php:293
1460
+ msgid "Thousands Separator"
1461
+ msgstr ""
1462
+
1463
+ #: widgets/premium-counter.php:295
1464
+ msgid "Separate coverts 125000 into 125,000"
1465
+ msgstr ""
1466
+
1467
+ #: widgets/premium-counter.php:302
1468
+ msgid "Replace Decimal Point"
1469
+ msgstr ""
1470
+
1471
+ #: widgets/premium-counter.php:304
1472
+ msgid ""
1473
+ "Set a decimal number (Eg - 12.76). The decimal point will be replaced with "
1474
+ "the value that you will enter above"
1475
+ msgstr ""
1476
+
1477
+ #: widgets/premium-counter.php:311
1478
+ msgid "Digits After Decimal Point"
1479
+ msgstr ""
1480
+
1481
+ #: widgets/premium-counter.php:319
1482
+ msgid "Counter Value Prefix"
1483
+ msgstr ""
1484
+
1485
+ #: widgets/premium-counter.php:321
1486
+ msgid "Enter prefix for counter value"
1487
+ msgstr ""
1488
+
1489
+ #: widgets/premium-counter.php:327
1490
+ msgid "Counter Value suffix"
1491
+ msgstr ""
1492
+
1493
+ #: widgets/premium-counter.php:329
1494
+ msgid "Enter suffix for counter value"
1495
+ msgstr ""
1496
+
1497
+ #: widgets/premium-counter.php:335
1498
+ msgid "Counter Rolling Time"
1499
+ msgstr ""
1500
+
1501
+ #: widgets/premium-counter.php:337
1502
+ msgid "How long should it take to complete the digit?"
1503
+ msgstr ""
1504
+
1505
+ #: widgets/premium-counter.php:353 widgets/premium-title.php:251
1506
+ msgid "Title Color"
1507
+ msgstr ""
1508
+
1509
+ #: widgets/premium-counter.php:379
1510
+ msgid "Value"
1511
+ msgstr ""
1512
+
1513
+ #: widgets/premium-counter.php:386
1514
+ msgid "Value Color"
1515
+ msgstr ""
1516
+
1517
+ #: widgets/premium-counter.php:412
1518
+ msgid "Suffix & Prefix"
1519
+ msgstr ""
1520
+
1521
+ #: widgets/premium-counter.php:419
1522
+ msgid "Suffix Color"
1523
+ msgstr ""
1524
+
1525
+ #: widgets/premium-counter.php:444
1526
+ msgid "Prefix Color"
1527
+ msgstr ""
1528
+
1529
+ #: widgets/premium-dual-header.php:44
1530
+ msgid "Headers Position"
1531
+ msgstr ""
1532
+
1533
+ #: widgets/premium-dual-header.php:47
1534
+ msgid "Next to Each Other"
1535
+ msgstr ""
1536
+
1537
+ #: widgets/premium-dual-header.php:48
1538
+ msgid "Below Each Other"
1539
+ msgstr ""
1540
+
1541
+ #: widgets/premium-dual-header.php:61 widgets/premium-dual-header.php:147
1542
+ msgid "First Header"
1543
+ msgstr ""
1544
+
1545
+ #: widgets/premium-dual-header.php:63
1546
+ msgid "Premium"
1547
+ msgstr ""
1548
+
1549
+ #: widgets/premium-dual-header.php:71
1550
+ msgid "First Header Tag"
1551
+ msgstr ""
1552
+
1553
+ #: widgets/premium-dual-header.php:90 widgets/premium-dual-header.php:281
1554
+ msgid "Second Header"
1555
+ msgstr ""
1556
+
1557
+ #: widgets/premium-dual-header.php:92
1558
+ msgid "Addons"
1559
+ msgstr ""
1560
+
1561
+ #: widgets/premium-dual-header.php:100
1562
+ msgid "Second Header Tag"
1563
+ msgstr ""
1564
+
1565
+ #: widgets/premium-dual-header.php:165 widgets/premium-dual-header.php:299
1566
+ msgid "Background Style"
1567
+ msgstr ""
1568
+
1569
+ #: widgets/premium-dual-header.php:168 widgets/premium-dual-header.php:302
1570
+ msgid ""
1571
+ "Choose ‘Background’ style to put a background behind the text. Choose "
1572
+ "‘Clipped’ style so the background will be clipped on the text."
1573
+ msgstr ""
1574
+
1575
+ #: widgets/premium-dual-header.php:170 widgets/premium-dual-header.php:304
1576
+ msgid "Background"
1577
+ msgstr ""
1578
+
1579
+ #: widgets/premium-dual-header.php:171 widgets/premium-dual-header.php:305
1580
+ msgid "Clipped"
1581
+ msgstr ""
1582
+
1583
+ #: widgets/premium-fancytext.php:42
1584
+ msgid "Text Settings"
1585
+ msgstr ""
1586
+
1587
+ #: widgets/premium-fancytext.php:49
1588
+ msgid "Prefix Text"
1589
+ msgstr ""
1590
+
1591
+ #: widgets/premium-fancytext.php:51
1592
+ msgid "This is"
1593
+ msgstr ""
1594
+
1595
+ #: widgets/premium-fancytext.php:52
1596
+ msgid "Text before Fancy text"
1597
+ msgstr ""
1598
+
1599
+ #: widgets/premium-fancytext.php:60
1600
+ msgid "Fancy Text Strings"
1601
+ msgstr ""
1602
+
1603
+ #: widgets/premium-fancytext.php:64
1604
+ msgid "Designer"
1605
+ msgstr ""
1606
+
1607
+ #: widgets/premium-fancytext.php:67
1608
+ msgid "Developer"
1609
+ msgstr ""
1610
+
1611
+ #: widgets/premium-fancytext.php:70
1612
+ msgid "Awesome"
1613
+ msgstr ""
1614
+
1615
+ #: widgets/premium-fancytext.php:76
1616
+ msgid "Fancy String"
1617
+ msgstr ""
1618
+
1619
+ #: widgets/premium-fancytext.php:88
1620
+ msgid "Suffix Text"
1621
+ msgstr ""
1622
+
1623
+ #: widgets/premium-fancytext.php:91
1624
+ msgid "Text after Fancy text"
1625
+ msgstr ""
1626
+
1627
+ #: widgets/premium-fancytext.php:99
1628
+ msgid "Effect"
1629
+ msgstr ""
1630
+
1631
+ #: widgets/premium-fancytext.php:101
1632
+ msgid "Choose an Effect"
1633
+ msgstr ""
1634
+
1635
+ #: widgets/premium-fancytext.php:103
1636
+ msgid "Type Writer"
1637
+ msgstr ""
1638
+
1639
+ #: widgets/premium-fancytext.php:104
1640
+ msgid "Slide Up"
1641
+ msgstr ""
1642
+
1643
+ #: widgets/premium-fancytext.php:114
1644
+ msgid "Type Speed (Milliseconds)"
1645
+ msgstr ""
1646
+
1647
+ #: widgets/premium-fancytext.php:117
1648
+ msgid "Speed at which line progresses / Speed of typing effect."
1649
+ msgstr ""
1650
+
1651
+ #: widgets/premium-fancytext.php:128
1652
+ msgid "Back Speed (Milliseconds)"
1653
+ msgstr ""
1654
+
1655
+ #: widgets/premium-fancytext.php:131
1656
+ msgid "Speed of delete / backspace effect."
1657
+ msgstr ""
1658
+
1659
+ #: widgets/premium-fancytext.php:142
1660
+ msgid "Start Delay (Milliseconds)"
1661
+ msgstr ""
1662
+
1663
+ #: widgets/premium-fancytext.php:145
1664
+ msgid "Example - If set to 5000, the first string will appear after 5 seconds."
1665
+ msgstr ""
1666
+
1667
+ #: widgets/premium-fancytext.php:156
1668
+ msgid "Back Delay (Milliseconds)"
1669
+ msgstr ""
1670
+
1671
+ #: widgets/premium-fancytext.php:159
1672
+ msgid ""
1673
+ "Example - If set to 5000, the string will remain visible for 5 seconds "
1674
+ "before backspace effect."
1675
+ msgstr ""
1676
+
1677
+ #: widgets/premium-fancytext.php:170
1678
+ msgid "Loop"
1679
+ msgstr ""
1680
+
1681
+ #: widgets/premium-fancytext.php:182
1682
+ msgid "Show Cursor"
1683
+ msgstr ""
1684
+
1685
+ #: widgets/premium-fancytext.php:194
1686
+ msgid "Cursor Text"
1687
+ msgstr ""
1688
+
1689
+ #: widgets/premium-fancytext.php:207
1690
+ msgid "Animation Speed (Milliseconds)"
1691
+ msgstr ""
1692
+
1693
+ #: widgets/premium-fancytext.php:210
1694
+ msgid "Duration of Slide Up animation"
1695
+ msgstr ""
1696
+
1697
+ #: widgets/premium-fancytext.php:221
1698
+ msgid "Pause Time (Milliseconds)"
1699
+ msgstr ""
1700
+
1701
+ #: widgets/premium-fancytext.php:224
1702
+ msgid "How long the string should stay visible?"
1703
+ msgstr ""
1704
+
1705
+ #: widgets/premium-fancytext.php:235
1706
+ msgid "Show Items (Milliseconds)"
1707
+ msgstr ""
1708
+
1709
+ #: widgets/premium-fancytext.php:238
1710
+ msgid "How many items should be visible at a time?"
1711
+ msgstr ""
1712
+
1713
+ #: widgets/premium-fancytext.php:289
1714
+ msgid "Fancy Text"
1715
+ msgstr ""
1716
+
1717
+ #: widgets/premium-fancytext.php:297
1718
+ msgid "Fancy Text Color"
1719
+ msgstr ""
1720
+
1721
+ #: widgets/premium-fancytext.php:312
1722
+ msgid "Fancy Text Background"
1723
+ msgstr ""
1724
+
1725
+ #: widgets/premium-fancytext.php:338
1726
+ msgid "Prefix & Suffix Text"
1727
+ msgstr ""
1728
+
1729
+ #: widgets/premium-fancytext.php:346
1730
+ msgid "Prefix & Suffix Color"
1731
+ msgstr ""
1732
+
1733
+ #: widgets/premium-fancytext.php:361
1734
+ msgid "Prefix & Suffix Background"
1735
+ msgstr ""
1736
+
1737
+ #: widgets/premium-image-button.php:74
1738
+ msgid "Background Slide"
1739
+ msgstr ""
1740
+
1741
+ #: widgets/premium-image-button.php:75
1742
+ msgid "Diagonal Slide"
1743
+ msgstr ""
1744
+
1745
+ #: widgets/premium-image-button.php:77
1746
+ msgid "Overlap"
1747
+ msgstr ""
1748
+
1749
+ #: widgets/premium-image-button.php:107
1750
+ msgid "Bottom Left to Top Right"
1751
+ msgstr ""
1752
+
1753
+ #: widgets/premium-image-button.php:108
1754
+ msgid "Top Right to Bottom Left"
1755
+ msgstr ""
1756
+
1757
+ #: widgets/premium-image-button.php:109
1758
+ msgid "Top Left to Bottom Right"
1759
+ msgstr ""
1760
+
1761
+ #: widgets/premium-image-button.php:110
1762
+ msgid "Bottom Right to Top Left"
1763
+ msgstr ""
1764
+
1765
+ #: widgets/premium-image-button.php:139
1766
+ msgid "Overlap Direction"
1767
+ msgstr ""
1768
+
1769
+ #: widgets/premium-image-button.php:318
1770
+ msgid "Image onclick Event"
1771
+ msgstr ""
1772
+
1773
+ #: widgets/premium-imageseparator.php:37
1774
+ msgid "Image Settings"
1775
+ msgstr ""
1776
+
1777
+ #: widgets/premium-imageseparator.php:49
1778
+ msgid "Choose the separator image"
1779
+ msgstr ""
1780
+
1781
+ #: widgets/premium-imageseparator.php:79
1782
+ msgid "Image Gutter (%)"
1783
+ msgstr ""
1784
+
1785
+ #: widgets/premium-imageseparator.php:82
1786
+ msgid ""
1787
+ "-50% is default. Increase to push the image outside or decrease to pull the "
1788
+ "image inside."
1789
+ msgstr ""
1790
+
1791
+ #: widgets/premium-imageseparator.php:93
1792
+ msgid "Image Alignment"
1793
+ msgstr ""
1794
+
1795
+ #: widgets/premium-imageseparator.php:120
1796
+ msgid "Link"
1797
+ msgstr ""
1798
+
1799
+ #: widgets/premium-imageseparator.php:122
1800
+ msgid "Add a custom link or select an existing page link"
1801
+ msgstr ""
1802
+
1803
+ #: widgets/premium-imageseparator.php:128 widgets/premium-pricing-table.php:329
1804
+ msgid "Link/URL"
1805
+ msgstr ""
1806
+
1807
+ #: widgets/premium-imageseparator.php:132
1808
+ #: widgets/premium-imageseparator.php:144 widgets/premium-pricing-table.php:333
1809
+ #: widgets/premium-pricing-table.php:356
1810
+ msgid "Link to Existing Content"
1811
+ msgstr ""
1812
+
1813
+ #: widgets/premium-imageseparator.php:172
1814
+ msgid "Image Hovering Title"
1815
+ msgstr ""
1816
+
1817
+ #: widgets/premium-imageseparator.php:184 widgets/premium-pricing-table.php:370
1818
+ #: widgets/premium-testimonials.php:151
1819
+ msgid "Link Target"
1820
+ msgstr ""
1821
+
1822
+ #: widgets/premium-imageseparator.php:186 widgets/premium-pricing-table.php:372
1823
+ msgid " Where would you like the link be opened?"
1824
+ msgstr ""
1825
+
1826
+ #: widgets/premium-imageseparator.php:193 widgets/premium-pricing-table.php:379
1827
+ #: widgets/premium-testimonials.php:160
1828
+ msgid "blank"
1829
+ msgstr ""
1830
+
1831
+ #: widgets/premium-maps.php:42
1832
+ msgid "Center Location"
1833
+ msgstr ""
1834
+
1835
+ #: widgets/premium-maps.php:55
1836
+ msgid "Center Latitude"
1837
+ msgstr ""
1838
+
1839
+ #: widgets/premium-maps.php:57 widgets/premium-maps.php:67
1840
+ msgid "Center latitude and longitude are required to identify your location"
1841
+ msgstr ""
1842
+
1843
+ #: widgets/premium-maps.php:65
1844
+ msgid "Center Longitude"
1845
+ msgstr ""
1846
+
1847
+ #: widgets/premium-maps.php:77
1848
+ msgid "Map Markers"
1849
+ msgstr ""
1850
+
1851
+ #: widgets/premium-maps.php:83
1852
+ msgid "Map Pins"
1853
+ msgstr ""
1854
+
1855
+ #: widgets/premium-maps.php:88
1856
+ msgid "Premium Google Maps"
1857
+ msgstr ""
1858
+
1859
+ #: widgets/premium-maps.php:89
1860
+ msgid "Add an optional description to your map pin"
1861
+ msgstr ""
1862
+
1863
+ #: widgets/premium-maps.php:94
1864
+ msgid "Latitude"
1865
+ msgstr ""
1866
+
1867
+ #: widgets/premium-maps.php:101
1868
+ msgid "Longitude"
1869
+ msgstr ""
1870
+
1871
+ #: widgets/premium-maps.php:108 widgets/premium-maps.php:313
1872
+ msgid "Pin Title"
1873
+ msgstr ""
1874
+
1875
+ #: widgets/premium-maps.php:114
1876
+ msgid "Pin Description"
1877
+ msgstr ""
1878
+
1879
+ #: widgets/premium-maps.php:120
1880
+ msgid "Pin Icon"
1881
+ msgstr ""
1882
+
1883
+ #: widgets/premium-maps.php:131
1884
+ msgid "Map Controls"
1885
+ msgstr ""
1886
+
1887
+ #: widgets/premium-maps.php:137
1888
+ msgid "Map Height"
1889
+ msgstr ""
1890
+
1891
+ #: widgets/premium-maps.php:156
1892
+ msgid "Map Zoom"
1893
+ msgstr ""
1894
+
1895
+ #: widgets/premium-maps.php:172
1896
+ msgid "Enable Map Type Controls"
1897
+ msgstr ""
1898
+
1899
+ #: widgets/premium-maps.php:179
1900
+ msgid "Enable Zoom Controls"
1901
+ msgstr ""
1902
+
1903
+ #: widgets/premium-maps.php:186
1904
+ msgid "Enable Street View Control"
1905
+ msgstr ""
1906
+
1907
+ #: widgets/premium-maps.php:193
1908
+ msgid "Enable Fullscreen Control"
1909
+ msgstr ""
1910
+
1911
+ #: widgets/premium-maps.php:200
1912
+ msgid "Enable Scroll Wheel Zoom"
1913
+ msgstr ""
1914
+
1915
+ #: widgets/premium-maps.php:207
1916
+ msgid "Enable Marker Automatic Open"
1917
+ msgstr ""
1918
+
1919
+ #: widgets/premium-maps.php:214
1920
+ msgid "Map Type"
1921
+ msgstr ""
1922
+
1923
+ #: widgets/premium-maps.php:217
1924
+ msgid "Road Map"
1925
+ msgstr ""
1926
+
1927
+ #: widgets/premium-maps.php:218
1928
+ msgid "Satellite"
1929
+ msgstr ""
1930
+
1931
+ #: widgets/premium-maps.php:219
1932
+ msgid "Terrain"
1933
+ msgstr ""
1934
+
1935
+ #: widgets/premium-maps.php:220
1936
+ msgid "Hybrid"
1937
+ msgstr ""
1938
+
1939
+ #: widgets/premium-maps.php:230
1940
+ msgid "Map Custom Styling"
1941
+ msgstr ""
1942
+
1943
+ #: widgets/premium-maps.php:236
1944
+ msgid "JSON Code"
1945
+ msgstr ""
1946
+
1947
+ #: widgets/premium-maps.php:249
1948
+ msgid "Map"
1949
+ msgstr ""
1950
+
1951
+ #: widgets/premium-maps.php:321
1952
+ msgid "Pin Title Color"
1953
+ msgstr ""
1954
+
1955
+ #: widgets/premium-maps.php:397
1956
+ msgid "Pin Content"
1957
+ msgstr ""
1958
+
1959
+ #: widgets/premium-maps.php:404
1960
+ msgid "Pin Description Color"
1961
+ msgstr ""
1962
+
1963
+ #: widgets/premium-modalbox.php:44
1964
+ msgid "Modal Box Settings"
1965
+ msgstr ""
1966
+
1967
+ #: widgets/premium-modalbox.php:51
1968
+ msgid "Display Modal Box On"
1969
+ msgstr ""
1970
+
1971
+ #: widgets/premium-modalbox.php:53
1972
+ msgid "Choose where would you like the modal box appear on"
1973
+ msgstr ""
1974
+
1975
+ #: widgets/premium-modalbox.php:128
1976
+ msgid "Delay in Popup Display (Sec)"
1977
+ msgstr ""
1978
+
1979
+ #: widgets/premium-modalbox.php:130
1980
+ msgid ""
1981
+ "When should the popup appear during page load? The value are counted in "
1982
+ "seconds"
1983
+ msgstr ""
1984
+
1985
+ #: widgets/premium-modalbox.php:143
1986
+ msgid "Selector Alignment"
1987
+ msgstr ""
1988
+
1989
+ #: widgets/premium-modalbox.php:174 widgets/premium-modalbox.php:235
1990
+ #: widgets/premium-modalbox.php:243
1991
+ msgid "Modal Box Content"
1992
+ msgstr ""
1993
+
1994
+ #: widgets/premium-modalbox.php:181
1995
+ msgid "Icon to Display"
1996
+ msgstr ""
1997
+
1998
+ #: widgets/premium-modalbox.php:183
1999
+ msgid "Use font awesome icon or upload a custom image"
2000
+ msgstr ""
2001
+
2002
+ #: widgets/premium-modalbox.php:224
2003
+ msgid "Modal Box Title"
2004
+ msgstr ""
2005
+
2006
+ #: widgets/premium-modalbox.php:226
2007
+ msgid "Provide the modal box with a title"
2008
+ msgstr ""
2009
+
2010
+ #: widgets/premium-modalbox.php:254 widgets/premium-modalbox.php:636
2011
+ msgid "Upper Close Button"
2012
+ msgstr ""
2013
+
2014
+ #: widgets/premium-modalbox.php:263 widgets/premium-modalbox.php:785
2015
+ msgid "Lower Close Button"
2016
+ msgstr ""
2017
+
2018
+ #: widgets/premium-modalbox.php:275
2019
+ msgid "Selector"
2020
+ msgstr ""
2021
+
2022
+ #: widgets/premium-modalbox.php:306 widgets/premium-modalbox.php:623
2023
+ #: widgets/premium-modalbox.php:798
2024
+ msgid "Typography"
2025
+ msgstr ""
2026
+
2027
+ #: widgets/premium-modalbox.php:495
2028
+ msgid "Modal Box"
2029
+ msgstr ""
2030
+
2031
+ #: widgets/premium-modalbox.php:504
2032
+ msgid "Modal Width"
2033
+ msgstr ""
2034
+
2035
+ #: widgets/premium-modalbox.php:544
2036
+ msgid "Modal Box Background Color"
2037
+ msgstr ""
2038
+
2039
+ #: widgets/premium-modalbox.php:555
2040
+ msgid "Header Background Color"
2041
+ msgstr ""
2042
+
2043
+ #: widgets/premium-modalbox.php:566 widgets/premium-person.php:316
2044
+ msgid "Content Background Color"
2045
+ msgstr ""
2046
+
2047
+ #: widgets/premium-modalbox.php:577
2048
+ msgid "Footer Background Color"
2049
+ msgstr ""
2050
+
2051
+ #: widgets/premium-modalbox.php:602
2052
+ msgid "Heading"
2053
+ msgstr ""
2054
+
2055
+ #: widgets/premium-person.php:37 widgets/premium-testimonials.php:43
2056
+ msgid "Person Image"
2057
+ msgstr ""
2058
+
2059
+ #: widgets/premium-person.php:55
2060
+ msgid "Image Width"
2061
+ msgstr ""
2062
+
2063
+ #: widgets/premium-person.php:57
2064
+ msgid "Enter image width in (PX, EM, %), default is 100%"
2065
+ msgstr ""
2066
+
2067
+ #: widgets/premium-person.php:82
2068
+ msgid "Image Height"
2069
+ msgstr ""
2070
+
2071
+ #: widgets/premium-person.php:84
2072
+ msgid "Choose image height in (PX, EM)"
2073
+ msgstr ""
2074
+
2075
+ #: widgets/premium-person.php:126 widgets/premium-testimonials.php:36
2076
+ msgid "Person Details"
2077
+ msgstr ""
2078
+
2079
+ #: widgets/premium-person.php:133 widgets/premium-person.php:352
2080
+ msgid "Name"
2081
+ msgstr ""
2082
+
2083
+ #: widgets/premium-person.php:135
2084
+ msgid "John Frank"
2085
+ msgstr ""
2086
+
2087
+ #: widgets/premium-person.php:143 widgets/premium-testimonials.php:82
2088
+ msgid "Name Tag"
2089
+ msgstr ""
2090
+
2091
+ #: widgets/premium-person.php:161 widgets/premium-person.php:389
2092
+ msgid "Job Title"
2093
+ msgstr ""
2094
+
2095
+ #: widgets/premium-person.php:163
2096
+ msgid "Senior Developer"
2097
+ msgstr ""
2098
+
2099
+ #: widgets/premium-person.php:171
2100
+ msgid "Job Title Tag"
2101
+ msgstr ""
2102
+
2103
+ #: widgets/premium-person.php:175
2104
+ msgid "H1"
2105
+ msgstr ""
2106
+
2107
+ #: widgets/premium-person.php:176
2108
+ msgid "H2"
2109
+ msgstr ""
2110
+
2111
+ #: widgets/premium-person.php:177
2112
+ msgid "H3"
2113
+ msgstr ""
2114
+
2115
+ #: widgets/premium-person.php:178
2116
+ msgid "H4"
2117
+ msgstr ""
2118
+
2119
+ #: widgets/premium-person.php:179
2120
+ msgid "H5"
2121
+ msgstr ""
2122
+
2123
+ #: widgets/premium-person.php:180
2124
+ msgid "H6"
2125
+ msgstr ""
2126
+
2127
+ #: widgets/premium-person.php:227
2128
+ msgid ""
2129
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ullamcorper "
2130
+ "nulla non metus auctor fringilla"
2131
+ msgstr ""
2132
+
2133
+ #: widgets/premium-person.php:238
2134
+ msgid "Social Links"
2135
+ msgstr ""
2136
+
2137
+ #: widgets/premium-person.php:245
2138
+ msgid "Facebook"
2139
+ msgstr ""
2140
+
2141
+ #: widgets/premium-person.php:255
2142
+ msgid "Twitter"
2143
+ msgstr ""
2144
+
2145
+ #: widgets/premium-person.php:265
2146
+ msgid "LinkedIn"
2147
+ msgstr ""
2148
+
2149
+ #: widgets/premium-person.php:275
2150
+ msgid "Dribbble"
2151
+ msgstr ""
2152
+
2153
+ #: widgets/premium-person.php:285
2154
+ msgid "Google+"
2155
+ msgstr ""
2156
+
2157
+ #: widgets/premium-person.php:295
2158
+ msgid "Email Address"
2159
+ msgstr ""
2160
+
2161
+ #: widgets/premium-person.php:328
2162
+ msgid "Border Bottom Width (PX)"
2163
+ msgstr ""
2164
+
2165
+ #: widgets/premium-person.php:361
2166
+ msgid "Name Color"
2167
+ msgstr ""
2168
+
2169
+ #: widgets/premium-person.php:397
2170
+ msgid "Job Title Color"
2171
+ msgstr ""
2172
+
2173
+ #: widgets/premium-person.php:433
2174
+ msgid "Description Text Color"
2175
+ msgstr ""
2176
+
2177
+ #: widgets/premium-person.php:461
2178
+ msgid "Social Icons"
2179
+ msgstr ""
2180
+
2181
+ #: widgets/premium-person.php:469
2182
+ msgid "Social Icons Color"
2183
+ msgstr ""
2184
+
2185
+ #: widgets/premium-person.php:484
2186
+ msgid "Social Hover Color"
2187
+ msgstr ""
2188
+
2189
+ #: widgets/premium-pricing-table.php:59 widgets/premium-pricing-table.php:163
2190
+ #: widgets/premium-pricing-table.php:183 widgets/premium-pricing-table.php:846
2191
+ msgid "Price"
2192
+ msgstr ""
2193
+
2194
+ #: widgets/premium-pricing-table.php:67 widgets/premium-pricing-table.php:215
2195
+ msgid "Icon List"
2196
+ msgstr ""
2197
+
2198
+ #: widgets/premium-pricing-table.php:90 widgets/premium-pricing-table.php:390
2199
+ #: widgets/premium-pricing-table.php:1511
2200
+ msgid "Badge"
2201
+ msgstr ""
2202
+
2203
+ #: widgets/premium-pricing-table.php:142
2204
+ msgid "Select HTML tag for the title"
2205
+ msgstr ""
2206
+
2207
+ #: widgets/premium-pricing-table.php:173
2208
+ msgid "Currency"
2209
+ msgstr ""
2210
+
2211
+ #: widgets/premium-pricing-table.php:193
2212
+ msgid "Divider"
2213
+ msgstr ""
2214
+
2215
+ #: widgets/premium-pricing-table.php:203
2216
+ msgid "Duration"
2217
+ msgstr ""
2218
+
2219
+ #: widgets/premium-pricing-table.php:224
2220
+ msgid "Icon List Items"
2221
+ msgstr ""
2222
+
2223
+ #: widgets/premium-pricing-table.php:229
2224
+ msgid "List Item #1"
2225
+ msgstr ""
2226
+
2227
+ #: widgets/premium-pricing-table.php:233
2228
+ msgid "List Item #2"
2229
+ msgstr ""
2230
+
2231
+ #: widgets/premium-pricing-table.php:237
2232
+ msgid "List Item #3"
2233
+ msgstr ""
2234
+
2235
+ #: widgets/premium-pricing-table.php:243
2236
+ msgid "Item Icon"
2237
+ msgstr ""
2238
+
2239
+ #: widgets/premium-pricing-table.php:248
2240
+ msgid "Item Text"
2241
+ msgstr ""
2242
+
2243
+ #: widgets/premium-pricing-table.php:258
2244
+ msgid "List Alignment"
2245
+ msgstr ""
2246
+
2247
+ #: widgets/premium-pricing-table.php:299
2248
+ msgid "Lorem ipsum dolor sit amet, consectetur adipiscing elit"
2249
+ msgstr ""
2250
+
2251
+ #: widgets/premium-pricing-table.php:320
2252
+ msgid "Get Started"
2253
+ msgstr ""
2254
+
2255
+ #: widgets/premium-pricing-table.php:399
2256
+ msgid "Badge Position"
2257
+ msgstr ""
2258
+
2259
+ #: widgets/premium-pricing-table.php:411
2260
+ msgid "Badge Text"
2261
+ msgstr ""
2262
+
2263
+ #: widgets/premium-pricing-table.php:412
2264
+ msgid "Popular"
2265
+ msgstr ""
2266
+
2267
+ #: widgets/premium-pricing-table.php:420 widgets/premium-pricing-table.php:439
2268
+ msgid "Badge Size"
2269
+ msgstr ""
2270
+
2271
+ #: widgets/premium-pricing-table.php:462
2272
+ msgid "Box"
2273
+ msgstr ""
2274
+
2275
+ #: widgets/premium-pricing-table.php:657
2276
+ msgid "Icon Background Color"
2277
+ msgstr ""
2278
+
2279
+ #: widgets/premium-pricing-table.php:857
2280
+ msgid "Currency Color"
2281
+ msgstr ""
2282
+
2283
+ #: widgets/premium-pricing-table.php:873
2284
+ msgid "Currency Typography"
2285
+ msgstr ""
2286
+
2287
+ #: widgets/premium-pricing-table.php:882
2288
+ msgid "Vertical Align"
2289
+ msgstr ""
2290
+
2291
+ #: widgets/premium-pricing-table.php:890
2292
+ msgid "Unset"
2293
+ msgstr ""
2294
+
2295
+ #: widgets/premium-pricing-table.php:908
2296
+ msgid "Currency Margin"
2297
+ msgstr ""
2298
+
2299
+ #: widgets/premium-pricing-table.php:921
2300
+ msgid "Price Color"
2301
+ msgstr ""
2302
+
2303
+ #: widgets/premium-pricing-table.php:938
2304
+ msgid "Price Typography"
2305
+ msgstr ""
2306
+
2307
+ #: widgets/premium-pricing-table.php:947
2308
+ msgid "Price Margin"
2309
+ msgstr ""
2310
+
2311
+ #: widgets/premium-pricing-table.php:959
2312
+ msgid "Divider Color"
2313
+ msgstr ""
2314
+
2315
+ #: widgets/premium-pricing-table.php:976
2316
+ msgid "Divider Typography"
2317
+ msgstr ""
2318
+
2319
+ #: widgets/premium-pricing-table.php:985
2320
+ msgid "Divider Margin"
2321
+ msgstr ""
2322
+
2323
+ #: widgets/premium-pricing-table.php:1004
2324
+ msgid "Duration Color"
2325
+ msgstr ""
2326
+
2327
+ #: widgets/premium-pricing-table.php:1021
2328
+ msgid "Duration Typography"
2329
+ msgstr ""
2330
+
2331
+ #: widgets/premium-pricing-table.php:1030
2332
+ msgid "Duration Margin"
2333
+ msgstr ""
2334
+
2335
+ #: widgets/premium-pricing-table.php:1089
2336
+ msgid "List"
2337
+ msgstr ""
2338
+
2339
+ #: widgets/premium-pricing-table.php:1160
2340
+ msgid "Space Between"
2341
+ msgstr ""
2342
+
2343
+ #: widgets/premium-pricing-table.php:1522
2344
+ #: widgets/premium-pricing-table.php:1539
2345
+ msgid "Badge Color"
2346
+ msgstr ""
2347
+
2348
+ #: widgets/premium-pricing-table.php:1580
2349
+ msgid "Vertical Position"
2350
+ msgstr ""
2351
+
2352
+ #: widgets/premium-pricing-table.php:1596
2353
+ #: widgets/premium-pricing-table.php:1615
2354
+ msgid "Horizontal Position"
2355
+ msgstr ""
2356
+
2357
+ #: widgets/premium-progressbar.php:42
2358
+ msgid "Progress Bar Settings"
2359
+ msgstr ""
2360
+
2361
+ #: widgets/premium-progressbar.php:49 widgets/premium-progressbar.php:204
2362
+ msgid "Left Label"
2363
+ msgstr ""
2364
+
2365
+ #: widgets/premium-progressbar.php:51
2366
+ msgid "My Skill"
2367
+ msgstr ""
2368
+
2369
+ #: widgets/premium-progressbar.php:59 widgets/premium-progressbar.php:248
2370
+ msgid "Right Label"
2371
+ msgstr ""
2372
+
2373
+ #: widgets/premium-progressbar.php:61
2374
+ msgid "50%"
2375
+ msgstr ""
2376
+
2377
+ #: widgets/premium-progressbar.php:69
2378
+ msgid "Percentage (%)"
2379
+ msgstr ""
2380
+
2381
+ #: widgets/premium-progressbar.php:84 widgets/premium-progressbar.php:112
2382
+ msgid "Progress Bar"
2383
+ msgstr ""
2384
+
2385
+ #: widgets/premium-progressbar.php:88
2386
+ msgid "Solid"
2387
+ msgstr ""
2388
+
2389
+ #: widgets/premium-progressbar.php:89
2390
+ msgid "Stripped"
2391
+ msgstr ""
2392
+
2393
+ #: widgets/premium-progressbar.php:97
2394
+ msgid "Progress Bar Animation"
2395
+ msgstr ""
2396
+
2397
+ #: widgets/premium-progressbar.php:120
2398
+ msgid "Height (Pixels)"
2399
+ msgstr ""
2400
+
2401
+ #: widgets/premium-progressbar.php:156
2402
+ msgid "Indicator Background"
2403
+ msgstr ""
2404
+
2405
+ #: widgets/premium-progressbar.php:176
2406
+ msgid "Main Background"
2407
+ msgstr ""
2408
+
2409
+ #: widgets/premium-testimonials.php:19
2410
+ msgid "Premium Testimonial"
2411
+ msgstr ""
2412
+
2413
+ #: widgets/premium-testimonials.php:48
2414
+ msgid "Choose an image for the author"
2415
+ msgstr ""
2416
+
2417
+ #: widgets/premium-testimonials.php:56
2418
+ msgid "Image Style"
2419
+ msgstr ""
2420
+
2421
+ #: widgets/premium-testimonials.php:58
2422
+ msgid "Choose image style"
2423
+ msgstr ""
2424
+
2425
+ #: widgets/premium-testimonials.php:60
2426
+ msgid "Square"
2427
+ msgstr ""
2428
+
2429
+ #: widgets/premium-testimonials.php:61
2430
+ msgid "Circle"
2431
+ msgstr ""
2432
+
2433
+ #: widgets/premium-testimonials.php:62
2434
+ msgid "Rounded"
2435
+ msgstr ""
2436
+
2437
+ #: widgets/premium-testimonials.php:71 widgets/premium-testimonials.php:73
2438
+ #: widgets/premium-testimonials.php:259
2439
+ msgid "Person Name"
2440
+ msgstr ""
2441
+
2442
+ #: widgets/premium-testimonials.php:74
2443
+ msgid "Enter author name"
2444
+ msgstr ""
2445
+
2446
+ #: widgets/premium-testimonials.php:84
2447
+ msgid "Select a heading tag for author name"
2448
+ msgstr ""
2449
+
2450
+ #: widgets/premium-testimonials.php:104
2451
+ msgid "Company Details"
2452
+ msgstr ""
2453
+
2454
+ #: widgets/premium-testimonials.php:111 widgets/premium-testimonials.php:113
2455
+ #: widgets/premium-testimonials.php:309
2456
+ msgid "Company Name"
2457
+ msgstr ""
2458
+
2459
+ #: widgets/premium-testimonials.php:114
2460
+ msgid "Enter company name"
2461
+ msgstr ""
2462
+
2463
+ #: widgets/premium-testimonials.php:122
2464
+ msgid "Company Name Tag"
2465
+ msgstr ""
2466
+
2467
+ #: widgets/premium-testimonials.php:124
2468
+ msgid "Select a heading tag for company name"
2469
+ msgstr ""
2470
+
2471
+ #: widgets/premium-testimonials.php:141
2472
+ msgid "Company Link"
2473
+ msgstr ""
2474
+
2475
+ #: widgets/premium-testimonials.php:143
2476
+ msgid "Add company URL"
2477
+ msgstr ""
2478
+
2479
+ #: widgets/premium-testimonials.php:153
2480
+ msgid "Select link target"
2481
+ msgstr ""
2482
+
2483
+ #: widgets/premium-testimonials.php:155
2484
+ msgid "Blank"
2485
+ msgstr ""
2486
+
2487
+ #: widgets/premium-testimonials.php:156
2488
+ msgid "Parent"
2489
+ msgstr ""
2490
+
2491
+ #: widgets/premium-testimonials.php:157
2492
+ msgid "Self"
2493
+ msgstr ""
2494
+
2495
+ #: widgets/premium-testimonials.php:170 widgets/premium-testimonials.php:177
2496
+ #: widgets/premium-testimonials.php:345
2497
+ msgid "Testimonial Content"
2498
+ msgstr ""
2499
+
2500
+ #: widgets/premium-testimonials.php:179
2501
+ msgid ""
2502
+ "Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel "
2503
+ "augue laoreet rutrum faucibus dolor auctor. Cras mattis consectetur purus "
2504
+ "sit amet fermentum. Nullam id dolor id nibh ultricies vehicula ut id elit. "
2505
+ "Donec id elit non mi porta gravida at eget metus."
2506
+ msgstr ""
2507
+
2508
+ #: widgets/premium-testimonials.php:221
2509
+ msgid "Image Border Width (PX)"
2510
+ msgstr ""
2511
+
2512
+ #: widgets/premium-testimonials.php:242
2513
+ msgid "Image Border Color"
2514
+ msgstr ""
2515
+
2516
+ #: widgets/premium-testimonials.php:267
2517
+ msgid "Person Name Color"
2518
+ msgstr ""
2519
+
2520
+ #: widgets/premium-testimonials.php:282
2521
+ msgid "Separator Color"
2522
+ msgstr ""
2523
+
2524
+ #: widgets/premium-testimonials.php:317
2525
+ msgid "Company Name Color"
2526
+ msgstr ""
2527
+
2528
+ #: widgets/premium-testimonials.php:353
2529
+ msgid "Testimonial Text Color"
2530
+ msgstr ""
2531
+
2532
+ #: widgets/premium-testimonials.php:379
2533
+ msgid "Testimonial Text Margin"
2534
+ msgstr ""
2535
+
2536
+ #: widgets/premium-testimonials.php:401
2537
+ msgid "Quotation Mark"
2538
+ msgstr ""
2539
+
2540
+ #: widgets/premium-testimonials.php:409
2541
+ msgid "Quotes Color"
2542
+ msgstr ""
2543
+
2544
+ #: widgets/premium-testimonials.php:421
2545
+ msgid "Quotes Size"
2546
+ msgstr ""
2547
+
2548
+ #: widgets/premium-testimonials.php:443
2549
+ msgid "Upper Quote Position"
2550
+ msgstr ""
2551
+
2552
+ #: widgets/premium-testimonials.php:460
2553
+ msgid "Lower Quote Position"
2554
+ msgstr ""
2555
+
2556
+ #: widgets/premium-title.php:37
2557
+ msgid "Title Settings"
2558
+ msgstr ""
2559
+
2560
+ #: widgets/premium-title.php:44
2561
+ msgid "Title Content"
2562
+ msgstr ""
2563
+
2564
+ #: widgets/premium-title.php:54
2565
+ msgid "Title Style"
2566
+ msgstr ""
2567
+
2568
+ #: widgets/premium-title.php:58
2569
+ msgid "Style1"
2570
+ msgstr ""
2571
+
2572
+ #: widgets/premium-title.php:59
2573
+ msgid "Style2"
2574
+ msgstr ""
2575
+
2576
+ #: widgets/premium-title.php:60
2577
+ msgid "Style3"
2578
+ msgstr ""
2579
+
2580
+ #: widgets/premium-title.php:61
2581
+ msgid "Style4"
2582
+ msgstr ""
2583
+
2584
+ #: widgets/premium-title.php:62
2585
+ msgid "Style5"
2586
+ msgstr ""
2587
+
2588
+ #: widgets/premium-title.php:63
2589
+ msgid "Style6"
2590
+ msgstr ""
2591
+
2592
+ #: widgets/premium-title.php:64
2593
+ msgid "Style7"
2594
+ msgstr ""
2595
+
2596
+ #: widgets/premium-title.php:95
2597
+ msgid "h2"
2598
+ msgstr ""
2599
+
2600
+ #: widgets/premium-title.php:110 widgets/premium-title.php:211
2601
+ msgid "Align"
2602
+ msgstr ""
2603
+
2604
+ #: widgets/premium-title.php:139
2605
+ msgid "Strip Width (PX)"
2606
+ msgstr ""
2607
+
2608
+ #: widgets/premium-title.php:159
2609
+ msgid "Strip Height (PX)"
2610
+ msgstr ""
2611
+
2612
+ #: widgets/premium-title.php:179
2613
+ msgid "Strip Top Spacing (PX)"
2614
+ msgstr ""
2615
+
2616
+ #: widgets/premium-title.php:195
2617
+ msgid "Strip Bottom Spacing (PX)"
2618
+ msgstr ""
2619
+
2620
+ #: widgets/premium-title.php:333 widgets/premium-title.php:364
2621
+ msgid "Header Line Color"
2622
+ msgstr ""
2623
+
2624
+ #: widgets/premium-title.php:382
2625
+ msgid "Triangle Color"
2626
+ msgstr ""
2627
+
2628
+ #: widgets/premium-title.php:402
2629
+ msgid "Strip Color"
2630
+ msgstr ""
2631
+
2632
+ #: widgets/premium-videobox.php:37
2633
+ msgid "Video Box Content"
2634
+ msgstr ""
2635
+
2636
+ #: widgets/premium-videobox.php:45
2637
+ msgid "Choose an image for the video box"
2638
+ msgstr ""
2639
+
2640
+ #: widgets/premium-videobox.php:60 widgets/premium-videobox.php:68
2641
+ msgid "Play Icon"
2642
+ msgstr ""
2643
+
2644
+ #: widgets/premium-videobox.php:76 widgets/premium-videobox.php:140
2645
+ msgid "Vertical Position (%)"
2646
+ msgstr ""
2647
+
2648
+ #: widgets/premium-videobox.php:93 widgets/premium-videobox.php:157
2649
+ msgid "Horizontal Position (%)"
2650
+ msgstr ""
2651
+
2652
+ #: widgets/premium-videobox.php:114 widgets/premium-videobox.php:120
2653
+ #: widgets/premium-videobox.php:421
2654
+ msgid "Video Text"
2655
+ msgstr ""
2656
+
2657
+ #: widgets/premium-videobox.php:179 widgets/premium-videobox.php:186
2658
+ msgid "Video Type"
2659
+ msgstr ""
2660
+
2661
+ #: widgets/premium-videobox.php:190
2662
+ msgid "Youtube"
2663
+ msgstr ""
2664
+
2665
+ #: widgets/premium-videobox.php:191
2666
+ msgid "Vimeo"
2667
+ msgstr ""
2668
+
2669
+ #: widgets/premium-videobox.php:199
2670
+ msgid "ID/URL"
2671
+ msgstr ""
2672
+
2673
+ #: widgets/premium-videobox.php:203
2674
+ msgid "ID"
2675
+ msgstr ""
2676
+
2677
+ #: widgets/premium-videobox.php:204 widgets/premium-videobox.php:224
2678
+ msgid "Embed URL"
2679
+ msgstr ""
2680
+
2681
+ #: widgets/premium-videobox.php:212
2682
+ msgid "Video ID"
2683
+ msgstr ""
2684
+
2685
+ #: widgets/premium-videobox.php:213
2686
+ msgid ""
2687
+ "Enter the numbers and letters after the equal sign which located in your "
2688
+ "YouTube video link or after the slash sign in your Vimeo video link. For "
2689
+ "example, z1hQgVpfTKU"
2690
+ msgstr ""
2691
+
2692
+ #: widgets/premium-videobox.php:225
2693
+ msgid ""
2694
+ "Enter your YouTube/Vimeo video link. For example, https://www.youtube.com/"
2695
+ "embed/z1hQgVpfTKU."
2696
+ msgstr ""
2697
+
2698
+ #: widgets/premium-videobox.php:239
2699
+ msgid "Video Box"
2700
+ msgstr ""
2701
+
2702
+ #: widgets/premium-videobox.php:280
2703
+ msgid "Play Icon Style"
2704
+ msgstr ""
2705
+
2706
+ #: widgets/premium-videobox.php:306
2707
+ msgid "Icon Hover Color"
2708
+ msgstr ""
2709
+
2710
+ #: widgets/premium-videobox.php:391
2711
+ msgid "Hover Animation"
2712
+ msgstr ""
2713
+
2714
+ #: widgets/premium-videobox.php:393
2715
+ msgid ""
2716
+ "Hover animation works only when you set a background color or image for play "
2717
+ "icon"
2718
+ msgstr ""
2719
+
2720
+ #: widgets/premium-videobox.php:401
2721
+ msgid "Hover Padding"
2722
+ msgstr ""
2723
+
2724
+ #: widgets/premium-videobox.php:447
2725
+ msgid "Text Hover Color"
2726
+ msgstr ""
2727
+
2728
+ #: wp-updates-plugin.php:87
2729
+ msgid ""
2730
+ "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
2731
+ "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
2732
+ msgstr ""
2733
+
2734
+ #: wp-updates-plugin.php:91
2735
+ msgid "An unknown error occurred"
2736
+ msgstr ""
premium-addons.php → premium-addons-for-elementor.php RENAMED
@@ -3,10 +3,11 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 2.0.3
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
- Text Domain: premium-addons-leap13
 
10
  License: GNU General Public License v3.0
11
  */
12
 
@@ -32,13 +33,12 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
32
  add_action( 'plugins_loaded', 'premium_addons_elementor_setup');
33
  function premium_addons_elementor_setup() {
34
  // Loading .mo and.po file from the lang folder
35
- load_plugin_textdomain( 'premium_elementor', false, dirname( plugin_basename(__FILE__) ) . '/lang/' );
36
 
37
  // Requires System Info When on Dashboard
38
  if(is_admin() ){
39
  require_once(PREMIUM_ADDONS_PATH . 'includes/system-info.php');
40
  }
41
-
42
 
43
  // Requires Elmentor Page builder & activation
44
 
@@ -55,7 +55,6 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
55
  require_once( PREMIUM_ADDONS_PATH.'admin/settings-page.php' );
56
  }
57
 
58
-
59
  /*
60
  * Instantiate the premium Addons for the elementor page builder
61
  * Included 1. 'premium_addons_widget_register()' for the main method for initaite addons
@@ -81,7 +80,7 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
81
  if (get_option('pa_activation_redirect', false)) {
82
  delete_option('pa_activation_redirect');
83
  if(!isset($_GET['activate-multi']))
84
- {
85
  wp_redirect("admin.php?page=pa-settings-page");
86
  }
87
  }
@@ -93,10 +92,12 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
93
  * Load all the hooks here
94
  * @since 1.0
95
  */
 
96
  public function __construct() {
97
  add_action( 'elementor/init', array( $this, 'initiate_elementor_addons' ) );
98
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'premium_addons_widget_register') );
99
  add_action( 'wp_enqueue_scripts', array( $this, 'premium_addons_required_assets' ) );
 
100
  add_filter( 'plugin_row_meta', [ $this, 'plugin_row_meta' ], 10, 2 );
101
  }
102
 
@@ -106,28 +107,35 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
106
  */
107
 
108
  public function premium_addons_required_assets() {
109
- $check_component_active = get_option( 'pa_save_settings' );
110
 
111
- $premium_maps_api = $check_component_active['premium-map-api'];
112
 
113
- wp_enqueue_script('google-maps-script','https://maps.googleapis.com/maps/api/js?key='.$premium_maps_api , array(), '1.0', false);
114
 
115
- wp_enqueue_style( 'premium-addons-css', PREMIUM_ADDONS_URL . 'assets/css/premium-addons.css', array(), '1.0', 'all' );
116
-
117
- wp_enqueue_script('premium-addons-js', PREMIUM_ADDONS_URL .'assets/js/premium-addons.js', array( 'jquery' ), '2.1.0', true );
118
 
 
 
 
 
 
 
 
 
 
 
119
  if( $check_component_active['premium-carousel'] ) {
120
- wp_enqueue_script( 'slick-carousel-js', PREMIUM_ADDONS_URL .'assets/js/lib/slickmin.js', array( 'jquery' ), '1.6.0', true );
121
  }
122
  if( $check_component_active['premium-countdown'] ) {
123
- wp_enqueue_script( 'count-down-timer-js', PREMIUM_ADDONS_URL .'assets/js/lib/jquerycountdown.js', array( 'jquery' ), '2.1.0', true );
124
  }
125
  if( $check_component_active['premium-counter'] ) {
126
- wp_enqueue_script( 'counter-up-js', PREMIUM_ADDONS_URL .'assets/js/lib/countUpmin.js', array( 'jquery' ), '2.1.0', true );
127
  }
128
  if( $check_component_active['premium-fancytext'] ) {
129
- wp_enqueue_script('vticker-js', PREMIUM_ADDONS_URL .'assets/js/lib/Vticker.js', array( 'jquery' ), '1.0', true);
130
- wp_enqueue_script('typed-js', PREMIUM_ADDONS_URL .'assets/js/lib/typedmin.js', array( 'jquery' ), '1.0', true);
131
  }
132
  }
133
 
@@ -221,14 +229,14 @@ define( 'PREMIUM_ADDONS_FILE', __FILE__ );
221
  Elementor\Plugin::instance()->elements_manager->add_category(
222
  'premium-elements',
223
  array(
224
- 'title' => __( 'Premium Addons', 'premium_elementor' )
225
  ),
226
  1
227
  );
228
  }
229
  function plugin_row_meta( $plugin_meta, $plugin_file ) {
230
  $row_meta = [
231
- 'docs' => '<a href="http://premiumaddons.com/" title="' . esc_attr( __( 'Visit Plugin Site', 'premium_elementor' ) ) . '" target="_blank">' . __( 'Visit Plugin Site', 'premium_elementor' ) . '</a>',
232
  ];
233
 
234
  $plugin_meta = array_merge( $plugin_meta, $row_meta );
3
  Plugin Name: Premium Addons for Elementor
4
  Description: This Plugin Includes Elementor Page Builder’s Premium Addon Elements.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 2.0.4
7
  Author: Leap13
8
  Author URI: http://leap13.com/
9
+ Text Domain: premium-addons-for-elementor
10
+ Domain Path: /languages
11
  License: GNU General Public License v3.0
12
  */
13
 
33
  add_action( 'plugins_loaded', 'premium_addons_elementor_setup');
34
  function premium_addons_elementor_setup() {
35
  // Loading .mo and.po file from the lang folder
36
+ load_plugin_textdomain( 'premium-addons-for-elementor', false, dirname( plugin_basename(__FILE__) ) . '/languages/' );
37
 
38
  // Requires System Info When on Dashboard
39
  if(is_admin() ){
40
  require_once(PREMIUM_ADDONS_PATH . 'includes/system-info.php');
41
  }
 
42
 
43
  // Requires Elmentor Page builder & activation
44
 
55
  require_once( PREMIUM_ADDONS_PATH.'admin/settings-page.php' );
56
  }
57
 
 
58
  /*
59
  * Instantiate the premium Addons for the elementor page builder
60
  * Included 1. 'premium_addons_widget_register()' for the main method for initaite addons
80
  if (get_option('pa_activation_redirect', false)) {
81
  delete_option('pa_activation_redirect');
82
  if(!isset($_GET['activate-multi']))
83
+ {
84
  wp_redirect("admin.php?page=pa-settings-page");
85
  }
86
  }
92
  * Load all the hooks here
93
  * @since 1.0
94
  */
95
+
96
  public function __construct() {
97
  add_action( 'elementor/init', array( $this, 'initiate_elementor_addons' ) );
98
  add_action( 'elementor/widgets/widgets_registered', array( $this, 'premium_addons_widget_register') );
99
  add_action( 'wp_enqueue_scripts', array( $this, 'premium_addons_required_assets' ) );
100
+ add_action( 'elementor/frontend/before_register_scripts', array($this, 'premium_addons_register_scripts'));
101
  add_filter( 'plugin_row_meta', [ $this, 'plugin_row_meta' ], 10, 2 );
102
  }
103
 
107
  */
108
 
109
  public function premium_addons_required_assets() {
 
110
 
111
+ wp_enqueue_style( 'premium-addons-css', PREMIUM_ADDONS_URL . 'assets/css/premium-addons.css', array(), '1.0', 'all' );
112
 
113
+ $premium_maps_api = get_option( 'pa_save_settings' )['premium-map-api'];
114
 
115
+ wp_enqueue_script('google-maps-script','https://maps.googleapis.com/maps/api/js?key='.$premium_maps_api , array('jquery'), '1.0', false);
 
 
116
 
117
+ }
118
+
119
+ public function premium_addons_register_scripts(){
120
+
121
+ $check_component_active = get_option( 'pa_save_settings' );
122
+
123
+ if( $check_component_active['premium-modalbox'] || $check_component_active['premium-progressbar'] ) {
124
+ wp_register_script('premium-addons-js', PREMIUM_ADDONS_URL .'assets/js/premium-addons.js', array( 'jquery' ), '2.1.0', true );
125
+ }
126
+
127
  if( $check_component_active['premium-carousel'] ) {
128
+ wp_register_script( 'slick-carousel-js', PREMIUM_ADDONS_URL .'assets/js/lib/slickmin.js', array( 'jquery' ), '1.6.0', true );
129
  }
130
  if( $check_component_active['premium-countdown'] ) {
131
+ wp_register_script( 'count-down-timer-js', PREMIUM_ADDONS_URL .'assets/js/lib/jquerycountdown.js', array( 'jquery' ), '2.1.0', true );
132
  }
133
  if( $check_component_active['premium-counter'] ) {
134
+ wp_register_script( 'counter-up-js', PREMIUM_ADDONS_URL .'assets/js/lib/countUpmin.js', array( 'jquery' ), '2.1.0', true );
135
  }
136
  if( $check_component_active['premium-fancytext'] ) {
137
+ wp_register_script('vticker-js', PREMIUM_ADDONS_URL .'assets/js/lib/Vticker.js', array( 'jquery' ), '1.0', true);
138
+ wp_register_script('typed-js', PREMIUM_ADDONS_URL .'assets/js/lib/typedmin.js', array( 'jquery' ), '1.0', true);
139
  }
140
  }
141
 
229
  Elementor\Plugin::instance()->elements_manager->add_category(
230
  'premium-elements',
231
  array(
232
+ 'title' => __( 'Premium Addons', 'premium-addons-for-elementor' )
233
  ),
234
  1
235
  );
236
  }
237
  function plugin_row_meta( $plugin_meta, $plugin_file ) {
238
  $row_meta = [
239
+ 'docs' => '<a href="http://premiumaddons.com/" title="' . esc_attr( __( 'Visit Plugin Site', 'premium-addons-for-elementor' ) ) . '" target="_blank">' . __( 'Visit Plugin Site', 'premium-addons-for-elementor' ) . '</a>',
240
  ];
241
 
242
  $plugin_meta = array_merge( $plugin_meta, $row_meta );
readme.txt CHANGED
@@ -11,7 +11,13 @@ License URI: https://opensource.org/licenses/GPL-3.0
11
  19 Premium Addons for Elementor Page Builder.
12
 
13
  == Description ==
14
- Premium Addons Plugin extends Elementor Page Builder capabilities with 19 fully customizable premium elements that helps you build impressive websites with no coding required.
 
 
 
 
 
 
15
 
16
 
17
  ### Features
@@ -73,6 +79,11 @@ Premium Addons for Elementor is light weight and we also gave you the control to
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
76
  = 2.0.3 =
77
 
78
  - Fix: Modal Box Bootstrap conflict bug.
11
  19 Premium Addons for Elementor Page Builder.
12
 
13
  == Description ==
14
+ 19 Elementor widgets with numerous customization options that extends Elementor Page Builder capabilities to help you build impressive websites with no coding required. Click Here to check elements’ demos.
15
+
16
+ Premium Addons for elementor plugin’s widgets are cross browser compatible and also fully responsive, Your website will rock on all browsers as well as tables and mobile devices.
17
+
18
+ When using Premium Addons’ widgets you will notice that it has more customization options than any other widget in other plugin, Meanwhile It’s totally free of charge.
19
+
20
+ Premium Addons for Elementor can be used only as a complement of Elementor page builder plugin as it’s not a standalone plugin.
21
 
22
 
23
  ### Features
79
 
80
  == Changelog ==
81
 
82
+ = 2.0.4 =
83
+
84
+ - Tweak: Changed the way it loads Js files for better performance.
85
+ - Fix: Translation ready bug.
86
+
87
  = 2.0.3 =
88
 
89
  - Fix: Modal Box Bootstrap conflict bug.
widgets/premium-banner.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Banner_Widget extends Widget_Base {
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__( 'Premium Banner', 'premium_elementor' );
20
  }
21
 
22
  public function get_icon() {
@@ -34,15 +34,15 @@ class Premium_Banner_Widget extends Widget_Base {
34
  $this->start_controls_section(
35
  'premium_banner_global_settings',
36
  [
37
- 'label' => esc_html__( 'Premium Banner', 'premium_elementor' )
38
  ]
39
  );
40
 
41
  $this->add_control(
42
  'premium_banner_image',
43
  [
44
- 'label' => esc_html__( 'Premium Banner Image', 'premium_elementor' ),
45
- 'description' => esc_html__( 'Select an image for the Banner', 'premium_elementor' ),
46
  'type' => Controls_Manager::MEDIA,
47
  'default' => [
48
  'url' => Utils::get_placeholder_image_src()
@@ -54,7 +54,7 @@ class Premium_Banner_Widget extends Widget_Base {
54
  $this->add_control(
55
  'premium_banner_image_bg_color',
56
  [
57
- 'label' => esc_html__( 'Background Color', 'premium_elementor' ),
58
  'type' => Controls_Manager::COLOR,
59
  'scheme' => [
60
  'type' => Scheme_Color::get_type(),
@@ -68,7 +68,7 @@ class Premium_Banner_Widget extends Widget_Base {
68
 
69
  $this->add_control('premium_banner_link_url_switch',
70
  [
71
- 'label' => esc_html__('Banner Link/URL', 'premium_elementor'),
72
  'type' => Controls_Manager::SWITCHER,
73
  ]
74
  );
@@ -76,10 +76,10 @@ class Premium_Banner_Widget extends Widget_Base {
76
  $this->add_control(
77
  'premium_banner_image_link_switcher',
78
  [
79
- 'label' => esc_html__( 'Banner custom link', 'premium_elementor' ),
80
  'type' => Controls_Manager::SWITCHER,
81
  'default' => '',
82
- 'description' => esc_html__( 'Add a custom link to the banner', 'premium_elementor' ),
83
  'condition' => [
84
  'premium_banner_link_url_switch' => 'yes',
85
  ],
@@ -89,9 +89,9 @@ class Premium_Banner_Widget extends Widget_Base {
89
  $this->add_control(
90
  'premium_banner_image_existing_page_link',
91
  [
92
- 'label' => esc_html__( 'Set Existing Page Link', 'premium_elementor' ),
93
  'type' => Controls_Manager::SELECT,
94
- 'description' => esc_html__( 'Link the banner with an existing page', 'premium_elementor' ),
95
  'condition' => [
96
  'premium_banner_image_link_switcher!' => 'yes',
97
  'premium_banner_link_url_switch' => 'yes',
@@ -103,9 +103,9 @@ class Premium_Banner_Widget extends Widget_Base {
103
  $this->add_control(
104
  'premium_banner_image_custom_link',
105
  [
106
- 'label' => esc_html__( 'Set custom Link', 'premium_elementor' ),
107
  'type' => Controls_Manager::URL,
108
- 'description' => esc_html__( 'What custom link you want to set to banner?', 'premium_elementor' ),
109
  'condition' => [
110
  'premium_banner_image_link_switcher' => 'yes',
111
  'premium_banner_link_url_switch' => 'yes',
@@ -117,10 +117,10 @@ class Premium_Banner_Widget extends Widget_Base {
117
  $this->add_control(
118
  'premium_banner_image_link_open_new_tab',
119
  [
120
- 'label' => esc_html__( 'Open in New Tab', 'premium_elementor' ),
121
  'type' => Controls_Manager::SWITCHER,
122
  'default' => '',
123
- 'description' => esc_html__( 'Choose if you want the link be opened in a new tab or not', 'premium_elementor' ),
124
  'condition' => [
125
  'premium_banner_link_url_switch' => 'yes',
126
  ],
@@ -130,10 +130,10 @@ class Premium_Banner_Widget extends Widget_Base {
130
  $this->add_control(
131
  'premium_banner_image_link_add_nofollow',
132
  [
133
- 'label' => esc_html__( 'Add Nofollow Option to Link', 'premium_elementor' ),
134
  'type' => Controls_Manager::SWITCHER,
135
  'default' => '',
136
- 'description' => esc_html__('if you chose yes, the link will not be counted in search engines', 'premium_elementor' ),
137
  'condition' => [
138
  'premium_banner_link_url_switch' => 'yes',
139
  ],
@@ -143,10 +143,10 @@ class Premium_Banner_Widget extends Widget_Base {
143
  $this->add_control(
144
  'premium_banner_image_animation',
145
  [
146
- 'label' => esc_html__( 'Banner Effects', 'premium_elementor' ),
147
  'type' => Controls_Manager::SELECT,
148
  'default' => 'premium_banner_animation1',
149
- 'description' => esc_html__( 'Choose a hover effect for the banner', 'premium_elementor' ),
150
  'options' => [
151
  'premium_banner_animation1' => 'Effect 1',
152
  'premium_banner_animation5' => 'Effect 2',
@@ -161,10 +161,10 @@ class Premium_Banner_Widget extends Widget_Base {
161
  $this->add_control(
162
  'premium_banner_height',
163
  [
164
- 'label' => esc_html__( 'Banner Height', 'premium_elementor' ),
165
  'type' => Controls_Manager::SELECT,
166
  'default' => 'default',
167
- 'description' => esc_html__( 'Choose if you want to set a custom height for the banner or keep it as it is', 'premium_elementor' ),
168
  'options' => [
169
  'default' => 'Default',
170
  'custom' => 'Custom',
@@ -175,9 +175,9 @@ class Premium_Banner_Widget extends Widget_Base {
175
  $this->add_control(
176
  'premium_banner_custom_height',
177
  [
178
- 'label' => esc_html__( 'Min Height', 'premium_elementor' ),
179
  'type' => Controls_Manager::NUMBER,
180
- 'description' => esc_html__( 'Set a minimum height value in pixels', 'premium_elementor' ),
181
  'condition' => [
182
  'premium_banner_height' => 'custom'
183
  ],
@@ -190,7 +190,7 @@ class Premium_Banner_Widget extends Widget_Base {
190
  $this->add_control(
191
  'premium_banner_extra_class',
192
  [
193
- 'label' => esc_html__( 'Extra Class', 'premium_elementor' ),
194
  'type' => Controls_Manager::TEXT
195
  ]
196
  );
@@ -201,18 +201,18 @@ class Premium_Banner_Widget extends Widget_Base {
201
  $this->start_controls_section(
202
  'premium_banner_image_section',
203
  [
204
- 'label' => esc_html__( 'Banner Content', 'premium_elementor' )
205
  ]
206
  );
207
 
208
  $this->add_control(
209
  'premium_banner_title',
210
  [
211
- 'label' => esc_html__( 'Title', 'premium_elementor' ),
212
- 'placeholder' => esc_html__( 'Give a title to this banner', 'premium_elementor' ),
213
- 'description' => esc_html__( 'Give a title to this banner', 'premium_elementor' ),
214
  'type' => Controls_Manager::TEXT,
215
- 'default' => esc_html__( 'Premium Banner', 'premium_elementor' ),
216
  'label_block' => false
217
  ]
218
  );
@@ -220,8 +220,8 @@ class Premium_Banner_Widget extends Widget_Base {
220
  $this->add_control(
221
  'premium_banner_title_tag',
222
  [
223
- 'label' => esc_html__( 'Title HTML Tag', 'premium_elementor' ),
224
- 'description' => esc_html__( 'Select a heading tag for the title. Headings are defined with H1 to H6 tags', 'premium_elementor' ),
225
  'type' => Controls_Manager::SELECT,
226
  'default' => 'h3',
227
  'options' => [
@@ -239,10 +239,10 @@ class Premium_Banner_Widget extends Widget_Base {
239
  $this->add_control(
240
  'premium_banner_style2_title_bg',
241
  [
242
- 'label' => esc_html__( 'Title Background', 'premium_elementor' ),
243
  'type' => Controls_Manager::COLOR,
244
  'default' => '#f2f2f2',
245
- 'description' => esc_html__( 'Choose a background color for the title', 'premium_elementor' ),
246
  'condition' => [
247
  'premium_banner_image_animation' => 'premium_banner_animation5'
248
  ],
@@ -255,19 +255,19 @@ class Premium_Banner_Widget extends Widget_Base {
255
 
256
  $this->add_control('premium_banner_title_text_align',
257
  [
258
- 'label' => esc_html__('Alignment', 'premium_elementor'),
259
  'type' => Controls_Manager::CHOOSE,
260
  'options' => [
261
  'left' => [
262
- 'title' => esc_html__('Left', 'premium_elementor'),
263
  'icon' => 'fa fa-align-left'
264
  ],
265
  'center' => [
266
- 'title' => esc_html__('Center', 'premium_elementor'),
267
  'icon' => 'fa fa-align-center'
268
  ],
269
  'right' => [
270
- 'title' => esc_html__('Right', 'premium_elementor'),
271
  'icon' => 'fa fa-align-right'
272
  ],
273
  ],
@@ -280,7 +280,7 @@ class Premium_Banner_Widget extends Widget_Base {
280
  $this->add_control(
281
  'premium_banner_description_hint',
282
  [
283
- 'label' => esc_html__( 'Description', 'premium_elementor' ),
284
  'type' => Controls_Manager::HEADING,
285
  ]
286
  );
@@ -288,29 +288,29 @@ class Premium_Banner_Widget extends Widget_Base {
288
  $this->add_control(
289
  'premium_banner_description',
290
  [
291
- 'label' => esc_html__( 'Description', 'premium_elementor' ),
292
- 'description' => esc_html__( 'Give the description to this banner', 'premium_elementor' ),
293
  'type' => Controls_Manager::WYSIWYG,
294
- 'default' => esc_html__( 'Premium Banner gives you a wide range of styles and options that you will definitely fall in love with', 'premium_elementor' ),
295
  'label_block' => true
296
  ]
297
  );
298
 
299
  $this->add_control('premium_banner_content_text_align',
300
  [
301
- 'label' => esc_html__('Description Alignment', 'premium_elementor'),
302
  'type' => Controls_Manager::CHOOSE,
303
  'options' => [
304
  'left' => [
305
- 'title' => esc_html__('Left', 'premium_elementor'),
306
  'icon' => 'fa fa-align-left'
307
  ],
308
  'center' => [
309
- 'title' => esc_html__('Center', 'premium_elementor'),
310
  'icon' => 'fa fa-align-center'
311
  ],
312
  'right' => [
313
- 'title' => esc_html__('Right', 'premium_elementor'),
314
  'icon' => 'fa fa-align-right'
315
  ],
316
  ],
@@ -325,7 +325,7 @@ class Premium_Banner_Widget extends Widget_Base {
325
  $this->start_controls_section(
326
  'premium_banner_opacity_style',
327
  [
328
- 'label' => esc_html__( 'Image', 'premium_elementor' ),
329
  'tab' => Controls_Manager::TAB_STYLE
330
  ]
331
  );
@@ -333,7 +333,7 @@ class Premium_Banner_Widget extends Widget_Base {
333
  $this->add_control(
334
  'premium_banner_image_opacity',
335
  [
336
- 'label' => esc_html__( 'Opacity', 'premium_elementor' ),
337
  'type' => Controls_Manager::SLIDER,
338
  'default' => [
339
  'size' => 1,
@@ -355,7 +355,7 @@ class Premium_Banner_Widget extends Widget_Base {
355
  $this->add_control(
356
  'premium_banner_image_hover_opacity',
357
  [
358
- 'label' => esc_html__( 'Hover Opacity', 'premium_elementor' ),
359
  'type' => Controls_Manager::SLIDER,
360
  'default' => [
361
  'size' => 1,
@@ -378,7 +378,7 @@ class Premium_Banner_Widget extends Widget_Base {
378
  $this->start_controls_section(
379
  'premium_banner_title_style',
380
  [
381
- 'label' => esc_html__( 'Title', 'premium_elementor' ),
382
  'tab' => Controls_Manager::TAB_STYLE
383
  ]
384
  );
@@ -386,7 +386,7 @@ class Premium_Banner_Widget extends Widget_Base {
386
  $this->add_control(
387
  'premium_banner_color_of_title',
388
  [
389
- 'label' => esc_html__( 'Color', 'premium_elementor' ),
390
  'type' => Controls_Manager::COLOR,
391
  'scheme' => [
392
  'type' => Scheme_Color::get_type(),
@@ -412,7 +412,7 @@ class Premium_Banner_Widget extends Widget_Base {
412
  $this->start_controls_section(
413
  'premium_banner_styles_of_content',
414
  [
415
- 'label' => esc_html__( 'Description', 'premium_elementor' ),
416
  'tab' => Controls_Manager::TAB_STYLE
417
  ]
418
  );
@@ -420,7 +420,7 @@ class Premium_Banner_Widget extends Widget_Base {
420
  $this->add_control(
421
  'premium_banner_color_of_content',
422
  [
423
- 'label' => esc_html__( 'Color', 'premium_elementor' ),
424
  'type' => Controls_Manager::COLOR,
425
  'scheme' => [
426
  'type' => Scheme_Color::get_type(),
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__( 'Premium Banner', 'premium-addons-for-elementor' );
20
  }
21
 
22
  public function get_icon() {
34
  $this->start_controls_section(
35
  'premium_banner_global_settings',
36
  [
37
+ 'label' => esc_html__( 'Premium Banner', 'premium-addons-for-elementor' )
38
  ]
39
  );
40
 
41
  $this->add_control(
42
  'premium_banner_image',
43
  [
44
+ 'label' => esc_html__( 'Premium Banner Image', 'premium-addons-for-elementor' ),
45
+ 'description' => esc_html__( 'Select an image for the Banner', 'premium-addons-for-elementor' ),
46
  'type' => Controls_Manager::MEDIA,
47
  'default' => [
48
  'url' => Utils::get_placeholder_image_src()
54
  $this->add_control(
55
  'premium_banner_image_bg_color',
56
  [
57
+ 'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
58
  'type' => Controls_Manager::COLOR,
59
  'scheme' => [
60
  'type' => Scheme_Color::get_type(),
68
 
69
  $this->add_control('premium_banner_link_url_switch',
70
  [
71
+ 'label' => esc_html__('Banner Link/URL', 'premium-addons-for-elementor'),
72
  'type' => Controls_Manager::SWITCHER,
73
  ]
74
  );
76
  $this->add_control(
77
  'premium_banner_image_link_switcher',
78
  [
79
+ 'label' => esc_html__( 'Banner custom link', 'premium-addons-for-elementor' ),
80
  'type' => Controls_Manager::SWITCHER,
81
  'default' => '',
82
+ 'description' => esc_html__( 'Add a custom link to the banner', 'premium-addons-for-elementor' ),
83
  'condition' => [
84
  'premium_banner_link_url_switch' => 'yes',
85
  ],
89
  $this->add_control(
90
  'premium_banner_image_existing_page_link',
91
  [
92
+ 'label' => esc_html__( 'Set Existing Page Link', 'premium-addons-for-elementor' ),
93
  'type' => Controls_Manager::SELECT,
94
+ 'description' => esc_html__( 'Link the banner with an existing page', 'premium-addons-for-elementor' ),
95
  'condition' => [
96
  'premium_banner_image_link_switcher!' => 'yes',
97
  'premium_banner_link_url_switch' => 'yes',
103
  $this->add_control(
104
  'premium_banner_image_custom_link',
105
  [
106
+ 'label' => esc_html__( 'Set custom Link', 'premium-addons-for-elementor' ),
107
  'type' => Controls_Manager::URL,
108
+ 'description' => esc_html__( 'What custom link you want to set to banner?', 'premium-addons-for-elementor' ),
109
  'condition' => [
110
  'premium_banner_image_link_switcher' => 'yes',
111
  'premium_banner_link_url_switch' => 'yes',
117
  $this->add_control(
118
  'premium_banner_image_link_open_new_tab',
119
  [
120
+ 'label' => esc_html__( 'Open in New Tab', 'premium-addons-for-elementor' ),
121
  'type' => Controls_Manager::SWITCHER,
122
  'default' => '',
123
+ 'description' => esc_html__( 'Choose if you want the link be opened in a new tab or not', 'premium-addons-for-elementor' ),
124
  'condition' => [
125
  'premium_banner_link_url_switch' => 'yes',
126
  ],
130
  $this->add_control(
131
  'premium_banner_image_link_add_nofollow',
132
  [
133
+ 'label' => esc_html__( 'Add Nofollow Option to Link', 'premium-addons-for-elementor' ),
134
  'type' => Controls_Manager::SWITCHER,
135
  'default' => '',
136
+ 'description' => esc_html__('if you chose yes, the link will not be counted in search engines', 'premium-addons-for-elementor' ),
137
  'condition' => [
138
  'premium_banner_link_url_switch' => 'yes',
139
  ],
143
  $this->add_control(
144
  'premium_banner_image_animation',
145
  [
146
+ 'label' => esc_html__( 'Banner Effects', 'premium-addons-for-elementor' ),
147
  'type' => Controls_Manager::SELECT,
148
  'default' => 'premium_banner_animation1',
149
+ 'description' => esc_html__( 'Choose a hover effect for the banner', 'premium-addons-for-elementor' ),
150
  'options' => [
151
  'premium_banner_animation1' => 'Effect 1',
152
  'premium_banner_animation5' => 'Effect 2',
161
  $this->add_control(
162
  'premium_banner_height',
163
  [
164
+ 'label' => esc_html__( 'Banner Height', 'premium-addons-for-elementor' ),
165
  'type' => Controls_Manager::SELECT,
166
  'default' => 'default',
167
+ 'description' => esc_html__( 'Choose if you want to set a custom height for the banner or keep it as it is', 'premium-addons-for-elementor' ),
168
  'options' => [
169
  'default' => 'Default',
170
  'custom' => 'Custom',
175
  $this->add_control(
176
  'premium_banner_custom_height',
177
  [
178
+ 'label' => esc_html__( 'Min Height', 'premium-addons-for-elementor' ),
179
  'type' => Controls_Manager::NUMBER,
180
+ 'description' => esc_html__( 'Set a minimum height value in pixels', 'premium-addons-for-elementor' ),
181
  'condition' => [
182
  'premium_banner_height' => 'custom'
183
  ],
190
  $this->add_control(
191
  'premium_banner_extra_class',
192
  [
193
+ 'label' => esc_html__( 'Extra Class', 'premium-addons-for-elementor' ),
194
  'type' => Controls_Manager::TEXT
195
  ]
196
  );
201
  $this->start_controls_section(
202
  'premium_banner_image_section',
203
  [
204
+ 'label' => esc_html__( 'Banner Content', 'premium-addons-for-elementor' )
205
  ]
206
  );
207
 
208
  $this->add_control(
209
  'premium_banner_title',
210
  [
211
+ 'label' => esc_html__( 'Title', 'premium-addons-for-elementor' ),
212
+ 'placeholder' => esc_html__( 'Give a title to this banner', 'premium-addons-for-elementor' ),
213
+ 'description' => esc_html__( 'Give a title to this banner', 'premium-addons-for-elementor' ),
214
  'type' => Controls_Manager::TEXT,
215
+ 'default' => esc_html__( 'Premium Banner', 'premium-addons-for-elementor' ),
216
  'label_block' => false
217
  ]
218
  );
220
  $this->add_control(
221
  'premium_banner_title_tag',
222
  [
223
+ 'label' => esc_html__( 'Title HTML Tag', 'premium-addons-for-elementor' ),
224
+ 'description' => esc_html__( 'Select a heading tag for the title. Headings are defined with H1 to H6 tags', 'premium-addons-for-elementor' ),
225
  'type' => Controls_Manager::SELECT,
226
  'default' => 'h3',
227
  'options' => [
239
  $this->add_control(
240
  'premium_banner_style2_title_bg',
241
  [
242
+ 'label' => esc_html__( 'Title Background', 'premium-addons-for-elementor' ),
243
  'type' => Controls_Manager::COLOR,
244
  'default' => '#f2f2f2',
245
+ 'description' => esc_html__( 'Choose a background color for the title', 'premium-addons-for-elementor' ),
246
  'condition' => [
247
  'premium_banner_image_animation' => 'premium_banner_animation5'
248
  ],
255
 
256
  $this->add_control('premium_banner_title_text_align',
257
  [
258
+ 'label' => esc_html__('Alignment', 'premium-addons-for-elementor'),
259
  'type' => Controls_Manager::CHOOSE,
260
  'options' => [
261
  'left' => [
262
+ 'title' => esc_html__('Left', 'premium-addons-for-elementor'),
263
  'icon' => 'fa fa-align-left'
264
  ],
265
  'center' => [
266
+ 'title' => esc_html__('Center', 'premium-addons-for-elementor'),
267
  'icon' => 'fa fa-align-center'
268
  ],
269
  'right' => [
270
+ 'title' => esc_html__('Right', 'premium-addons-for-elementor'),
271
  'icon' => 'fa fa-align-right'
272
  ],
273
  ],
280
  $this->add_control(
281
  'premium_banner_description_hint',
282
  [
283
+ 'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),
284
  'type' => Controls_Manager::HEADING,
285
  ]
286
  );
288
  $this->add_control(
289
  'premium_banner_description',
290
  [
291
+ 'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),
292
+ 'description' => esc_html__( 'Give the description to this banner', 'premium-addons-for-elementor' ),
293
  'type' => Controls_Manager::WYSIWYG,
294
+ 'default' => esc_html__( 'Premium Banner gives you a wide range of styles and options that you will definitely fall in love with', 'premium-addons-for-elementor' ),
295
  'label_block' => true
296
  ]
297
  );
298
 
299
  $this->add_control('premium_banner_content_text_align',
300
  [
301
+ 'label' => esc_html__('Description Alignment', 'premium-addons-for-elementor'),
302
  'type' => Controls_Manager::CHOOSE,
303
  'options' => [
304
  'left' => [
305
+ 'title' => esc_html__('Left', 'premium-addons-for-elementor'),
306
  'icon' => 'fa fa-align-left'
307
  ],
308
  'center' => [
309
+ 'title' => esc_html__('Center', 'premium-addons-for-elementor'),
310
  'icon' => 'fa fa-align-center'
311
  ],
312
  'right' => [
313
+ 'title' => esc_html__('Right', 'premium-addons-for-elementor'),
314
  'icon' => 'fa fa-align-right'
315
  ],
316
  ],
325
  $this->start_controls_section(
326
  'premium_banner_opacity_style',
327
  [
328
+ 'label' => esc_html__( 'Image', 'premium-addons-for-elementor' ),
329
  'tab' => Controls_Manager::TAB_STYLE
330
  ]
331
  );
333
  $this->add_control(
334
  'premium_banner_image_opacity',
335
  [
336
+ 'label' => esc_html__( 'Opacity', 'premium-addons-for-elementor' ),
337
  'type' => Controls_Manager::SLIDER,
338
  'default' => [
339
  'size' => 1,
355
  $this->add_control(
356
  'premium_banner_image_hover_opacity',
357
  [
358
+ 'label' => esc_html__( 'Hover Opacity', 'premium-addons-for-elementor' ),
359
  'type' => Controls_Manager::SLIDER,
360
  'default' => [
361
  'size' => 1,
378
  $this->start_controls_section(
379
  'premium_banner_title_style',
380
  [
381
+ 'label' => esc_html__( 'Title', 'premium-addons-for-elementor' ),
382
  'tab' => Controls_Manager::TAB_STYLE
383
  ]
384
  );
386
  $this->add_control(
387
  'premium_banner_color_of_title',
388
  [
389
+ 'label' => esc_html__( 'Color', 'premium-addons-for-elementor' ),
390
  'type' => Controls_Manager::COLOR,
391
  'scheme' => [
392
  'type' => Scheme_Color::get_type(),
412
  $this->start_controls_section(
413
  'premium_banner_styles_of_content',
414
  [
415
+ 'label' => esc_html__( 'Description', 'premium-addons-for-elementor' ),
416
  'tab' => Controls_Manager::TAB_STYLE
417
  ]
418
  );
420
  $this->add_control(
421
  'premium_banner_color_of_content',
422
  [
423
+ 'label' => esc_html__( 'Color', 'premium-addons-for-elementor' ),
424
  'type' => Controls_Manager::COLOR,
425
  'scheme' => [
426
  'type' => Scheme_Color::get_type(),
widgets/premium-blog.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Blog_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Blog', 'premium_elementor');
20
  }
21
 
22
  public function is_reload_preview_required(){
@@ -38,22 +38,22 @@ class Premium_Blog_Widget extends Widget_Base
38
  /* Start Content Section */
39
  $this->start_controls_section('premium_blog_general_settings',
40
  [
41
- 'label' => esc_html__('Thumbnail Settings', 'premium_elementor'),
42
  ]
43
  );
44
 
45
  /*Hover Image Effect*/
46
  $this->add_control('premium_blog_hover_image_effect',
47
  [
48
- 'label' => esc_html__('Image Hover Effect', 'premium_elementor'),
49
  'type' => Controls_Manager::SELECT,
50
- 'description' => esc_html__('Choose a hover effect for the image','premium_elementor'),
51
  'options' => [
52
- 'zoomin' => esc_html__('Zoom In', 'premium_elementor'),
53
- 'zoomout'=> esc_html__('Zoom Out', 'premium_elementor'),
54
- 'scale' => esc_html__('Scale', 'premium_elementor'),
55
- 'gray' => esc_html__('Grayscale', 'premium_elementor'),
56
- 'blur' => esc_html__('Blur', 'premium_elementor'),
57
  ],
58
  'default' => 'zoomin',
59
  'label_block' => true
@@ -63,15 +63,15 @@ class Premium_Blog_Widget extends Widget_Base
63
  /*Hover Image Effect*/
64
  $this->add_control('premium_blog_hover_color_effect',
65
  [
66
- 'label' => esc_html__('Color Hover Effect', 'premium_elementor'),
67
  'type' => Controls_Manager::SELECT,
68
- 'description' => esc_html__('Choose an overlay color effect','premium_elementor'),
69
  'options' => [
70
- 'none' => esc_html__('None', 'premium_elementor'),
71
- 'framed' => esc_html__('Framed', 'premium_elementor'),
72
- 'diagonal' => esc_html__('Diagonal', 'premium_elementor'),
73
- 'bordered' => esc_html__('Bordered', 'premium_elementor'),
74
- 'squares' => esc_html__('Squares', 'premium_elementor'),
75
  ],
76
  'default' => 'framed',
77
  'label_block' => true
@@ -84,7 +84,7 @@ class Premium_Blog_Widget extends Widget_Base
84
  /*Start Content Settings Section*/
85
  $this->start_controls_section('premium_blog_content_settings',
86
  [
87
- 'label' => esc_html__('Content Settings', 'premium_elementor'),
88
  ]
89
  );
90
 
@@ -103,7 +103,7 @@ class Premium_Blog_Widget extends Widget_Base
103
  [
104
  'label' => esc_html__( 'Categories', 'essential-addons-elementor' ),
105
  'type' => Controls_Manager::SELECT2,
106
- 'description' => esc_html__('Select the categories you want to show','premium_elementor'),
107
  'label_block' => true,
108
  'multiple' => true,
109
  'options' => premium_addons_post_type_categories(),
@@ -113,9 +113,9 @@ class Premium_Blog_Widget extends Widget_Base
113
  /*Excerpt*/
114
  $this->add_control('premium_blog_excerpt',
115
  [
116
- 'label' => esc_html__('Excerpt', 'premium_elementor'),
117
  'type' => Controls_Manager::SWITCHER,
118
- 'description' => esc_html__('Excerpt is used for article summary with a link to the whole entry. The default except length is 55','premium_elementor'),
119
  'default' => 'yes',
120
  ]
121
  );
@@ -124,7 +124,7 @@ class Premium_Blog_Widget extends Widget_Base
124
  /*Excerpt Length*/
125
  $this->add_control('premium_blog_excerpt_length',
126
  [
127
- 'label' => esc_html__('Excerpt Length', 'premium_elementor'),
128
  'type' => Controls_Manager::NUMBER,
129
  'default' => 55,
130
  'label_block' => true,
@@ -137,7 +137,7 @@ class Premium_Blog_Widget extends Widget_Base
137
  /*Author Meta*/
138
  $this->add_control('premium_blog_author_meta',
139
  [
140
- 'label' => esc_html__('Author Meta', 'premium_elementor'),
141
  'type' => Controls_Manager::SWITCHER,
142
  'default' => 'yes',
143
  ]
@@ -147,7 +147,7 @@ class Premium_Blog_Widget extends Widget_Base
147
  /*Date Meta*/
148
  $this->add_control('premium_blog_date_meta',
149
  [
150
- 'label' => esc_html__('Date Meta', 'premium_elementor'),
151
  'type' => Controls_Manager::SWITCHER,
152
  'default' => 'yes',
153
  ]
@@ -156,9 +156,9 @@ class Premium_Blog_Widget extends Widget_Base
156
  /*Categories Meta*/
157
  $this->add_control('premium_blog_categories_meta',
158
  [
159
- 'label' => esc_html__('Categories Meta', 'premium_elementor'),
160
  'type' => Controls_Manager::SWITCHER,
161
- 'description' => esc_html__('Display or hide categories mata','premium_elementor'),
162
  'default' => 'yes',
163
  ]
164
  );
@@ -166,8 +166,8 @@ class Premium_Blog_Widget extends Widget_Base
166
  /*Comments Meta*/
167
  $this->add_control('premium_blog_comments_meta',
168
  [
169
- 'label' => esc_html__('Comments Meta', 'premium_elementor'),
170
- 'description' => esc_html__('Display or hide comments mata','premium_elementor'),
171
  'type' => Controls_Manager::SWITCHER,
172
  'default' => 'yes',
173
  ]
@@ -176,9 +176,9 @@ class Premium_Blog_Widget extends Widget_Base
176
  /*Tags Meta*/
177
  $this->add_control('premium_blog_tags_meta',
178
  [
179
- 'label' => esc_html__('Tags Meta', 'premium_elementor'),
180
  'type' => Controls_Manager::SWITCHER,
181
- 'description' => esc_html__('Display or hide post tags','premium_elementor'),
182
  'default' => 'yes',
183
  ]
184
  );
@@ -186,9 +186,9 @@ class Premium_Blog_Widget extends Widget_Base
186
  /*Edit Post Meta*/
187
  $this->add_control('premium_blog_edit_post',
188
  [
189
- 'label' => esc_html__('Edit Post', 'premium_elementor'),
190
  'type' => Controls_Manager::SWITCHER,
191
- 'description' => esc_html__('Display or hide edit post option','premium_elementor'),
192
  'default' => 'yes',
193
  ]
194
  );
@@ -196,9 +196,9 @@ class Premium_Blog_Widget extends Widget_Base
196
  /*Paging*/
197
  $this->add_control('premium_blog_paging',
198
  [
199
- 'label' => esc_html__('Pagination', 'premium_elementor'),
200
  'type' => Controls_Manager::SWITCHER,
201
- 'description' => esc_html__('Pagination is the process of dividing the posts into discrete pages','premium_elementor'),
202
  'default' => 'no',
203
  ]
204
  );
@@ -206,8 +206,8 @@ class Premium_Blog_Widget extends Widget_Base
206
  /*Number of Posts*/
207
  $this->add_control('premium_blog_number_of_posts',
208
  [
209
- 'label' => esc_html__('Posts Per Page', 'premium_elementor'),
210
- 'description' => esc_html__('Choose how many posts do you want to be displayed per page','premium_elementor'),
211
  'type' => Controls_Manager::NUMBER,
212
  'min' => 1,
213
  'default' => 1,
@@ -218,7 +218,7 @@ class Premium_Blog_Widget extends Widget_Base
218
  $this->add_control('premium_blog_offset',
219
  [
220
  'label' => esc_html__( 'Offset Count', 'boosted-elements-progression' ),
221
- 'description' => esc_html__('The index of post to start with','premium_elementor'),
222
  'type' => Controls_Manager::NUMBER,
223
  'default' => '0',
224
  'min' => '0',
@@ -258,7 +258,7 @@ class Premium_Blog_Widget extends Widget_Base
258
  /*Start Color Style Section*/
259
  $this->start_controls_section('premium_blog_image_style_section',
260
  [
261
- 'label' => esc_html__('Image', 'premium_elementor'),
262
  'tab' => Controls_Manager::TAB_STYLE,
263
  ]
264
  );
@@ -266,7 +266,7 @@ class Premium_Blog_Widget extends Widget_Base
266
  /*Plus Icon Color*/
267
  $this->add_control('premium_blog_plus_color',
268
  [
269
- 'label' => esc_html__('Plus Icon Color', 'premium_elementor'),
270
  'type' => Controls_Manager::COLOR,
271
  'scheme' => [
272
  'type' => Scheme_Color::get_type(),
@@ -281,7 +281,7 @@ class Premium_Blog_Widget extends Widget_Base
281
  /*Overlay Color*/
282
  $this->add_control('premium_blog_overlay_color',
283
  [
284
- 'label' => esc_html__('Overlay Color', 'premium_elementor'),
285
  'type' => Controls_Manager::COLOR,
286
  'scheme' => [
287
  'type' => Scheme_Color::get_type(),
@@ -296,7 +296,7 @@ class Premium_Blog_Widget extends Widget_Base
296
  /*Bordered Effect Border Color*/
297
  $this->add_control('premium_blog_border_effect_color',
298
  [
299
- 'label' => esc_html__('Border Color', 'premium_elementor'),
300
  'type' => Controls_Manager::COLOR,
301
  'scheme' => [
302
  'type' => Scheme_Color::get_type(),
@@ -316,7 +316,7 @@ class Premium_Blog_Widget extends Widget_Base
316
 
317
  $this->start_controls_section('premium_blog_title_style_section',
318
  [
319
- 'label' => esc_html__('Title', 'premium_elementor'),
320
  'tab' => Controls_Manager::TAB_STYLE,
321
  ]
322
  );
@@ -324,7 +324,7 @@ class Premium_Blog_Widget extends Widget_Base
324
  /*Titles Color*/
325
  $this->add_control('premium_blog_title_color',
326
  [
327
- 'label' => esc_html__('Color', 'premium_elementor'),
328
  'type' => Controls_Manager::COLOR,
329
  'scheme' => [
330
  'type' => Scheme_Color::get_type(),
@@ -339,7 +339,7 @@ class Premium_Blog_Widget extends Widget_Base
339
  /*Titles Hover Color*/
340
  $this->add_control('premium_blog_title_hover_color',
341
  [
342
- 'label' => esc_html__('Hover Color', 'premium_elementor'),
343
  'type' => Controls_Manager::COLOR,
344
  'scheme' => [
345
  'type' => Scheme_Color::get_type(),
@@ -364,7 +364,7 @@ class Premium_Blog_Widget extends Widget_Base
364
 
365
  $this->start_controls_section('premium_blog_meta_style_section',
366
  [
367
- 'label' => esc_html__('Meta', 'premium_elementor'),
368
  'tab' => Controls_Manager::TAB_STYLE,
369
  ]
370
  );
@@ -372,7 +372,7 @@ class Premium_Blog_Widget extends Widget_Base
372
  /*Meta Color*/
373
  $this->add_control('premium_blog_meta_color',
374
  [
375
- 'label' => esc_html__('Color', 'premium_elementor'),
376
  'type' => Controls_Manager::COLOR,
377
  'scheme' => [
378
  'type' => Scheme_Color::get_type(),
@@ -387,7 +387,7 @@ class Premium_Blog_Widget extends Widget_Base
387
  /*Meta Hover Color*/
388
  $this->add_control('premium_blog_meta_hover_color',
389
  [
390
- 'label' => esc_html__('Hover Color', 'premium_elementor'),
391
  'type' => Controls_Manager::COLOR,
392
  'scheme' => [
393
  'type' => Scheme_Color::get_type(),
@@ -412,7 +412,7 @@ class Premium_Blog_Widget extends Widget_Base
412
 
413
  $this->start_controls_section('premium_blog_content_style_section',
414
  [
415
- 'label' => esc_html__('Content', 'premium_elementor'),
416
  'tab' => Controls_Manager::TAB_STYLE,
417
  ]
418
  );
@@ -420,7 +420,7 @@ class Premium_Blog_Widget extends Widget_Base
420
  /*Post Content Color*/
421
  $this->add_control('premium_blog_post_content_color',
422
  [
423
- 'label' => esc_html__('Post Content Color', 'premium_elementor'),
424
  'type' => Controls_Manager::COLOR,
425
  'scheme' => [
426
  'type' => Scheme_Color::get_type(),
@@ -446,7 +446,7 @@ class Premium_Blog_Widget extends Widget_Base
446
  /*Content Background Color*/
447
  $this->add_control('premium_blog_content_background_color',
448
  [
449
- 'label' => esc_html__('Background Color', 'premium_elementor'),
450
  'type' => Controls_Manager::COLOR,
451
  'default' => '#f5f5f5',
452
  'selectors' => [
@@ -459,7 +459,7 @@ class Premium_Blog_Widget extends Widget_Base
459
 
460
  $this->start_controls_section('premium_blog_tags_style_section',
461
  [
462
- 'label' => esc_html__('Tags', 'premium_elementor'),
463
  'tab' => Controls_Manager::TAB_STYLE,
464
  ]
465
  );
@@ -467,7 +467,7 @@ class Premium_Blog_Widget extends Widget_Base
467
  /*Tags Color*/
468
  $this->add_control('premium_blog_tags_color',
469
  [
470
- 'label' => esc_html__('Color', 'premium_elementor'),
471
  'type' => Controls_Manager::COLOR,
472
  'scheme' => [
473
  'type' => Scheme_Color::get_type(),
@@ -482,7 +482,7 @@ class Premium_Blog_Widget extends Widget_Base
482
  /*Tags Hover Color*/
483
  $this->add_control('premium_blog_tags_hoer_color',
484
  [
485
- 'label' => esc_html__('Hover Color', 'premium_elementor'),
486
  'type' => Controls_Manager::COLOR,
487
  'scheme' => [
488
  'type' => Scheme_Color::get_type(),
@@ -509,7 +509,7 @@ class Premium_Blog_Widget extends Widget_Base
509
  /*Post Format Icon*/
510
  $this->start_controls_section('premium_blog_format_style_section',
511
  [
512
- 'label' => esc_html__('Post Format Icon', 'premium_elementor'),
513
  'tab' => Controls_Manager::TAB_STYLE,
514
  ]
515
  );
@@ -517,7 +517,7 @@ class Premium_Blog_Widget extends Widget_Base
517
  /*Post Format Icon Color*/
518
  $this->add_control('premium_blog_format_icon_color',
519
  [
520
- 'label' => esc_html__('Color', 'premium_elementor'),
521
  'type' => Controls_Manager::COLOR,
522
  'scheme' => [
523
  'type' => Scheme_Color::get_type(),
@@ -532,7 +532,7 @@ class Premium_Blog_Widget extends Widget_Base
532
  /*Post Format Icon Color*/
533
  $this->add_control('premium_blog_format_icon_hover_color',
534
  [
535
- 'label' => esc_html__('Hover Color', 'premium_elementor'),
536
  'type' => Controls_Manager::COLOR,
537
  'scheme' => [
538
  'type' => Scheme_Color::get_type(),
@@ -546,9 +546,9 @@ class Premium_Blog_Widget extends Widget_Base
546
 
547
  $this->add_control('premium_blog_format_icon_size',
548
  [
549
- 'label' => esc_html__('Size', 'premium_elementor'),
550
  'type' => Controls_Manager::SLIDER,
551
- 'description' => esc_html__('Choose icon size in (PX, EM)', 'premium_elementor'),
552
  'range' => [
553
  'em' => [
554
  'min' => 1,
@@ -566,7 +566,7 @@ class Premium_Blog_Widget extends Widget_Base
566
  /*Post Format Background Color*/
567
  $this->add_control('premium_blog_format_back_color',
568
  [
569
- 'label' => esc_html__('Background Color', 'premium_elementor'),
570
  'type' => Controls_Manager::COLOR,
571
  'scheme' => [
572
  'type' => Scheme_Color::get_type(),
@@ -581,7 +581,7 @@ class Premium_Blog_Widget extends Widget_Base
581
  /*Post Format Hover Background Color*/
582
  $this->add_control('premium_blog_format_back_hover_color',
583
  [
584
- 'label' => esc_html__('Hover Background Color', 'premium_elementor'),
585
  'type' => Controls_Manager::COLOR,
586
  'scheme' => [
587
  'type' => Scheme_Color::get_type(),
@@ -599,7 +599,7 @@ class Premium_Blog_Widget extends Widget_Base
599
  /*Pagination Style*/
600
  $this->start_controls_section('premium_blog_pagination_Style',
601
  [
602
- 'label' => esc_html__('Pagination Style', 'premium_elementor'),
603
  'tab' => Controls_Manager::TAB_STYLE,
604
  'condition' => [
605
  'premium_blog_paging' => 'yes',
@@ -610,13 +610,13 @@ class Premium_Blog_Widget extends Widget_Base
610
 
611
  $this->start_controls_tab('premium_blog_pagination_nomral',
612
  [
613
- 'label' => esc_html__('Normal', 'premium_elementor'),
614
 
615
  ]);
616
 
617
  $this->add_control('prmeium_blog_pagination_color',
618
  [
619
- 'label' => esc_html__('Color', 'premium_elementor'),
620
  'type' => Controls_Manager::COLOR,
621
  'scheme' => [
622
  'type' => Scheme_Color::get_type(),
@@ -629,7 +629,7 @@ class Premium_Blog_Widget extends Widget_Base
629
 
630
  $this->add_control('prmeium_blog_pagination_back_color',
631
  [
632
- 'label' => esc_html__('Background Color', 'premium_elementor'),
633
  'type' => Controls_Manager::COLOR,
634
  'scheme' => [
635
  'type' => Scheme_Color::get_type(),
@@ -644,13 +644,13 @@ class Premium_Blog_Widget extends Widget_Base
644
 
645
  $this->start_controls_tab('premium_blog_pagination_hover',
646
  [
647
- 'label' => esc_html__('Hover', 'premium_elementor'),
648
 
649
  ]);
650
 
651
  $this->add_control('prmeium_blog_pagination_hover_color',
652
  [
653
- 'label' => esc_html__('Color', 'premium_elementor'),
654
  'type' => Controls_Manager::COLOR,
655
  'scheme' => [
656
  'type' => Scheme_Color::get_type(),
@@ -663,7 +663,7 @@ class Premium_Blog_Widget extends Widget_Base
663
 
664
  $this->add_control('prmeium_blog_pagination_back_hover_color',
665
  [
666
- 'label' => esc_html__('Background Color', 'premium_elementor'),
667
  'type' => Controls_Manager::COLOR,
668
  'scheme' => [
669
  'type' => Scheme_Color::get_type(),
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Blog', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function is_reload_preview_required(){
38
  /* Start Content Section */
39
  $this->start_controls_section('premium_blog_general_settings',
40
  [
41
+ 'label' => esc_html__('Thumbnail Settings', 'premium-addons-for-elementor'),
42
  ]
43
  );
44
 
45
  /*Hover Image Effect*/
46
  $this->add_control('premium_blog_hover_image_effect',
47
  [
48
+ 'label' => esc_html__('Image Hover Effect', 'premium-addons-for-elementor'),
49
  'type' => Controls_Manager::SELECT,
50
+ 'description' => esc_html__('Choose a hover effect for the image','premium-addons-for-elementor'),
51
  'options' => [
52
+ 'zoomin' => esc_html__('Zoom In', 'premium-addons-for-elementor'),
53
+ 'zoomout'=> esc_html__('Zoom Out', 'premium-addons-for-elementor'),
54
+ 'scale' => esc_html__('Scale', 'premium-addons-for-elementor'),
55
+ 'gray' => esc_html__('Grayscale', 'premium-addons-for-elementor'),
56
+ 'blur' => esc_html__('Blur', 'premium-addons-for-elementor'),
57
  ],
58
  'default' => 'zoomin',
59
  'label_block' => true
63
  /*Hover Image Effect*/
64
  $this->add_control('premium_blog_hover_color_effect',
65
  [
66
+ 'label' => esc_html__('Color Hover Effect', 'premium-addons-for-elementor'),
67
  'type' => Controls_Manager::SELECT,
68
+ 'description' => esc_html__('Choose an overlay color effect','premium-addons-for-elementor'),
69
  'options' => [
70
+ 'none' => esc_html__('None', 'premium-addons-for-elementor'),
71
+ 'framed' => esc_html__('Framed', 'premium-addons-for-elementor'),
72
+ 'diagonal' => esc_html__('Diagonal', 'premium-addons-for-elementor'),
73
+ 'bordered' => esc_html__('Bordered', 'premium-addons-for-elementor'),
74
+ 'squares' => esc_html__('Squares', 'premium-addons-for-elementor'),
75
  ],
76
  'default' => 'framed',
77
  'label_block' => true
84
  /*Start Content Settings Section*/
85
  $this->start_controls_section('premium_blog_content_settings',
86
  [
87
+ 'label' => esc_html__('Content Settings', 'premium-addons-for-elementor'),
88
  ]
89
  );
90
 
103
  [
104
  'label' => esc_html__( 'Categories', 'essential-addons-elementor' ),
105
  'type' => Controls_Manager::SELECT2,
106
+ 'description' => esc_html__('Select the categories you want to show','premium-addons-for-elementor'),
107
  'label_block' => true,
108
  'multiple' => true,
109
  'options' => premium_addons_post_type_categories(),
113
  /*Excerpt*/
114
  $this->add_control('premium_blog_excerpt',
115
  [
116
+ 'label' => esc_html__('Excerpt', 'premium-addons-for-elementor'),
117
  'type' => Controls_Manager::SWITCHER,
118
+ 'description' => esc_html__('Excerpt is used for article summary with a link to the whole entry. The default except length is 55','premium-addons-for-elementor'),
119
  'default' => 'yes',
120
  ]
121
  );
124
  /*Excerpt Length*/
125
  $this->add_control('premium_blog_excerpt_length',
126
  [
127
+ 'label' => esc_html__('Excerpt Length', 'premium-addons-for-elementor'),
128
  'type' => Controls_Manager::NUMBER,
129
  'default' => 55,
130
  'label_block' => true,
137
  /*Author Meta*/
138
  $this->add_control('premium_blog_author_meta',
139
  [
140
+ 'label' => esc_html__('Author Meta', 'premium-addons-for-elementor'),
141
  'type' => Controls_Manager::SWITCHER,
142
  'default' => 'yes',
143
  ]
147
  /*Date Meta*/
148
  $this->add_control('premium_blog_date_meta',
149
  [
150
+ 'label' => esc_html__('Date Meta', 'premium-addons-for-elementor'),
151
  'type' => Controls_Manager::SWITCHER,
152
  'default' => 'yes',
153
  ]
156
  /*Categories Meta*/
157
  $this->add_control('premium_blog_categories_meta',
158
  [
159
+ 'label' => esc_html__('Categories Meta', 'premium-addons-for-elementor'),
160
  'type' => Controls_Manager::SWITCHER,
161
+ 'description' => esc_html__('Display or hide categories mata','premium-addons-for-elementor'),
162
  'default' => 'yes',
163
  ]
164
  );
166
  /*Comments Meta*/
167
  $this->add_control('premium_blog_comments_meta',
168
  [
169
+ 'label' => esc_html__('Comments Meta', 'premium-addons-for-elementor'),
170
+ 'description' => esc_html__('Display or hide comments mata','premium-addons-for-elementor'),
171
  'type' => Controls_Manager::SWITCHER,
172
  'default' => 'yes',
173
  ]
176
  /*Tags Meta*/
177
  $this->add_control('premium_blog_tags_meta',
178
  [
179
+ 'label' => esc_html__('Tags Meta', 'premium-addons-for-elementor'),
180
  'type' => Controls_Manager::SWITCHER,
181
+ 'description' => esc_html__('Display or hide post tags','premium-addons-for-elementor'),
182
  'default' => 'yes',
183
  ]
184
  );
186
  /*Edit Post Meta*/
187
  $this->add_control('premium_blog_edit_post',
188
  [
189
+ 'label' => esc_html__('Edit Post', 'premium-addons-for-elementor'),
190
  'type' => Controls_Manager::SWITCHER,
191
+ 'description' => esc_html__('Display or hide edit post option','premium-addons-for-elementor'),
192
  'default' => 'yes',
193
  ]
194
  );
196
  /*Paging*/
197
  $this->add_control('premium_blog_paging',
198
  [
199
+ 'label' => esc_html__('Pagination', 'premium-addons-for-elementor'),
200
  'type' => Controls_Manager::SWITCHER,
201
+ 'description' => esc_html__('Pagination is the process of dividing the posts into discrete pages','premium-addons-for-elementor'),
202
  'default' => 'no',
203
  ]
204
  );
206
  /*Number of Posts*/
207
  $this->add_control('premium_blog_number_of_posts',
208
  [
209
+ 'label' => esc_html__('Posts Per Page', 'premium-addons-for-elementor'),
210
+ 'description' => esc_html__('Choose how many posts do you want to be displayed per page','premium-addons-for-elementor'),
211
  'type' => Controls_Manager::NUMBER,
212
  'min' => 1,
213
  'default' => 1,
218
  $this->add_control('premium_blog_offset',
219
  [
220
  'label' => esc_html__( 'Offset Count', 'boosted-elements-progression' ),
221
+ 'description' => esc_html__('The index of post to start with','premium-addons-for-elementor'),
222
  'type' => Controls_Manager::NUMBER,
223
  'default' => '0',
224
  'min' => '0',
258
  /*Start Color Style Section*/
259
  $this->start_controls_section('premium_blog_image_style_section',
260
  [
261
+ 'label' => esc_html__('Image', 'premium-addons-for-elementor'),
262
  'tab' => Controls_Manager::TAB_STYLE,
263
  ]
264
  );
266
  /*Plus Icon Color*/
267
  $this->add_control('premium_blog_plus_color',
268
  [
269
+ 'label' => esc_html__('Plus Icon Color', 'premium-addons-for-elementor'),
270
  'type' => Controls_Manager::COLOR,
271
  'scheme' => [
272
  'type' => Scheme_Color::get_type(),
281
  /*Overlay Color*/
282
  $this->add_control('premium_blog_overlay_color',
283
  [
284
+ 'label' => esc_html__('Overlay Color', 'premium-addons-for-elementor'),
285
  'type' => Controls_Manager::COLOR,
286
  'scheme' => [
287
  'type' => Scheme_Color::get_type(),
296
  /*Bordered Effect Border Color*/
297
  $this->add_control('premium_blog_border_effect_color',
298
  [
299
+ 'label' => esc_html__('Border Color', 'premium-addons-for-elementor'),
300
  'type' => Controls_Manager::COLOR,
301
  'scheme' => [
302
  'type' => Scheme_Color::get_type(),
316
 
317
  $this->start_controls_section('premium_blog_title_style_section',
318
  [
319
+ 'label' => esc_html__('Title', 'premium-addons-for-elementor'),
320
  'tab' => Controls_Manager::TAB_STYLE,
321
  ]
322
  );
324
  /*Titles Color*/
325
  $this->add_control('premium_blog_title_color',
326
  [
327
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
328
  'type' => Controls_Manager::COLOR,
329
  'scheme' => [
330
  'type' => Scheme_Color::get_type(),
339
  /*Titles Hover Color*/
340
  $this->add_control('premium_blog_title_hover_color',
341
  [
342
+ 'label' => esc_html__('Hover Color', 'premium-addons-for-elementor'),
343
  'type' => Controls_Manager::COLOR,
344
  'scheme' => [
345
  'type' => Scheme_Color::get_type(),
364
 
365
  $this->start_controls_section('premium_blog_meta_style_section',
366
  [
367
+ 'label' => esc_html__('Meta', 'premium-addons-for-elementor'),
368
  'tab' => Controls_Manager::TAB_STYLE,
369
  ]
370
  );
372
  /*Meta Color*/
373
  $this->add_control('premium_blog_meta_color',
374
  [
375
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
376
  'type' => Controls_Manager::COLOR,
377
  'scheme' => [
378
  'type' => Scheme_Color::get_type(),
387
  /*Meta Hover Color*/
388
  $this->add_control('premium_blog_meta_hover_color',
389
  [
390
+ 'label' => esc_html__('Hover Color', 'premium-addons-for-elementor'),
391
  'type' => Controls_Manager::COLOR,
392
  'scheme' => [
393
  'type' => Scheme_Color::get_type(),
412
 
413
  $this->start_controls_section('premium_blog_content_style_section',
414
  [
415
+ 'label' => esc_html__('Content', 'premium-addons-for-elementor'),
416
  'tab' => Controls_Manager::TAB_STYLE,
417
  ]
418
  );
420
  /*Post Content Color*/
421
  $this->add_control('premium_blog_post_content_color',
422
  [
423
+ 'label' => esc_html__('Post Content Color', 'premium-addons-for-elementor'),
424
  'type' => Controls_Manager::COLOR,
425
  'scheme' => [
426
  'type' => Scheme_Color::get_type(),
446
  /*Content Background Color*/
447
  $this->add_control('premium_blog_content_background_color',
448
  [
449
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
450
  'type' => Controls_Manager::COLOR,
451
  'default' => '#f5f5f5',
452
  'selectors' => [
459
 
460
  $this->start_controls_section('premium_blog_tags_style_section',
461
  [
462
+ 'label' => esc_html__('Tags', 'premium-addons-for-elementor'),
463
  'tab' => Controls_Manager::TAB_STYLE,
464
  ]
465
  );
467
  /*Tags Color*/
468
  $this->add_control('premium_blog_tags_color',
469
  [
470
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
471
  'type' => Controls_Manager::COLOR,
472
  'scheme' => [
473
  'type' => Scheme_Color::get_type(),
482
  /*Tags Hover Color*/
483
  $this->add_control('premium_blog_tags_hoer_color',
484
  [
485
+ 'label' => esc_html__('Hover Color', 'premium-addons-for-elementor'),
486
  'type' => Controls_Manager::COLOR,
487
  'scheme' => [
488
  'type' => Scheme_Color::get_type(),
509
  /*Post Format Icon*/
510
  $this->start_controls_section('premium_blog_format_style_section',
511
  [
512
+ 'label' => esc_html__('Post Format Icon', 'premium-addons-for-elementor'),
513
  'tab' => Controls_Manager::TAB_STYLE,
514
  ]
515
  );
517
  /*Post Format Icon Color*/
518
  $this->add_control('premium_blog_format_icon_color',
519
  [
520
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
521
  'type' => Controls_Manager::COLOR,
522
  'scheme' => [
523
  'type' => Scheme_Color::get_type(),
532
  /*Post Format Icon Color*/
533
  $this->add_control('premium_blog_format_icon_hover_color',
534
  [
535
+ 'label' => esc_html__('Hover Color', 'premium-addons-for-elementor'),
536
  'type' => Controls_Manager::COLOR,
537
  'scheme' => [
538
  'type' => Scheme_Color::get_type(),
546
 
547
  $this->add_control('premium_blog_format_icon_size',
548
  [
549
+ 'label' => esc_html__('Size', 'premium-addons-for-elementor'),
550
  'type' => Controls_Manager::SLIDER,
551
+ 'description' => esc_html__('Choose icon size in (PX, EM)', 'premium-addons-for-elementor'),
552
  'range' => [
553
  'em' => [
554
  'min' => 1,
566
  /*Post Format Background Color*/
567
  $this->add_control('premium_blog_format_back_color',
568
  [
569
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
570
  'type' => Controls_Manager::COLOR,
571
  'scheme' => [
572
  'type' => Scheme_Color::get_type(),
581
  /*Post Format Hover Background Color*/
582
  $this->add_control('premium_blog_format_back_hover_color',
583
  [
584
+ 'label' => esc_html__('Hover Background Color', 'premium-addons-for-elementor'),
585
  'type' => Controls_Manager::COLOR,
586
  'scheme' => [
587
  'type' => Scheme_Color::get_type(),
599
  /*Pagination Style*/
600
  $this->start_controls_section('premium_blog_pagination_Style',
601
  [
602
+ 'label' => esc_html__('Pagination Style', 'premium-addons-for-elementor'),
603
  'tab' => Controls_Manager::TAB_STYLE,
604
  'condition' => [
605
  'premium_blog_paging' => 'yes',
610
 
611
  $this->start_controls_tab('premium_blog_pagination_nomral',
612
  [
613
+ 'label' => esc_html__('Normal', 'premium-addons-for-elementor'),
614
 
615
  ]);
616
 
617
  $this->add_control('prmeium_blog_pagination_color',
618
  [
619
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
620
  'type' => Controls_Manager::COLOR,
621
  'scheme' => [
622
  'type' => Scheme_Color::get_type(),
629
 
630
  $this->add_control('prmeium_blog_pagination_back_color',
631
  [
632
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
633
  'type' => Controls_Manager::COLOR,
634
  'scheme' => [
635
  'type' => Scheme_Color::get_type(),
644
 
645
  $this->start_controls_tab('premium_blog_pagination_hover',
646
  [
647
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
648
 
649
  ]);
650
 
651
  $this->add_control('prmeium_blog_pagination_hover_color',
652
  [
653
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
654
  'type' => Controls_Manager::COLOR,
655
  'scheme' => [
656
  'type' => Scheme_Color::get_type(),
663
 
664
  $this->add_control('prmeium_blog_pagination_back_hover_color',
665
  [
666
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
667
  'type' => Controls_Manager::COLOR,
668
  'scheme' => [
669
  'type' => Scheme_Color::get_type(),
widgets/premium-button.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Button_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Button', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,23 +34,23 @@ class Premium_Button_Widget extends Widget_Base
34
  /*Start Button Content Section */
35
  $this->start_controls_section('premium_button_general_section',
36
  [
37
- 'label' => esc_html__('Button Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
41
  /*Button Text*/
42
  $this->add_control('premium_button_text',
43
  [
44
- 'label' => esc_html__('Button Text', 'premium_elementor'),
45
  'type' => Controls_Manager::TEXT,
46
- 'default' => esc_html__('Click Me','premium_elementor'),
47
  'label_block' => true,
48
  ]
49
  );
50
 
51
  $this->add_control('premium_button_link',
52
  [
53
- 'label' => esc_html__('URL', 'premium_elementor'),
54
  'type' => Controls_Manager::URL,
55
  'default' => [
56
  'url' => '#',
@@ -66,7 +66,7 @@ class Premium_Button_Widget extends Widget_Base
66
  /*Button Hover Effect*/
67
  $this->add_control('premium_button_hover_effect',
68
  [
69
- 'label' => esc_html__('Button Hover Effect', 'premium_elementor'),
70
  'type' => Controls_Manager::SELECT,
71
  'default' => 'none',
72
  'options' => [
@@ -83,7 +83,7 @@ class Premium_Button_Widget extends Widget_Base
83
 
84
  $this->add_control('premium_button_style1_dir',
85
  [
86
- 'label' => esc_html__('Slide Direction', 'premium_elementor'),
87
  'type' => Controls_Manager::SELECT,
88
  'default' => 'bottom',
89
  'options' => [
@@ -101,7 +101,7 @@ class Premium_Button_Widget extends Widget_Base
101
 
102
  $this->add_control('premium_button_style2_dir',
103
  [
104
- 'label' => esc_html__('Shutter Direction', 'premium_elementor'),
105
  'type' => Controls_Manager::SELECT,
106
  'default' => 'shutouthor',
107
  'options' => [
@@ -125,7 +125,7 @@ class Premium_Button_Widget extends Widget_Base
125
 
126
  $this->add_control('premium_button_style4_dir',
127
  [
128
- 'label' => esc_html__('Slide Direction', 'premium_elementor'),
129
  'type' => Controls_Manager::SELECT,
130
  'default' => 'bottom',
131
  'options' => [
@@ -143,7 +143,7 @@ class Premium_Button_Widget extends Widget_Base
143
 
144
  $this->add_control('premium_button_style5_dir',
145
  [
146
- 'label' => esc_html__('Style', 'premium_elementor'),
147
  'type' => Controls_Manager::SELECT,
148
  'default' => 'radialin',
149
  'options' => [
@@ -162,19 +162,19 @@ class Premium_Button_Widget extends Widget_Base
162
  /*Button Icon Switcher*/
163
  $this->add_control('premium_button_icon_switcher',
164
  [
165
- 'label' => esc_html__('Button Icon', 'premium_elementor'),
166
  'type' => Controls_Manager::SWITCHER,
167
  'condition' => [
168
  'premium_button_hover_effect!' => 'style4'
169
  ],
170
- 'description' => esc_html__('Enable or disable button icon','premium_elementor'),
171
  ]
172
  );
173
 
174
  /*Button Icon Selection*/
175
  $this->add_control('premium_button_icon_selection',
176
  [
177
- 'label' => esc_html__('Icon', 'premium_elementor'),
178
  'type' => Controls_Manager::ICON,
179
  'default' => 'fa fa-bars',
180
  'condition' => [
@@ -188,7 +188,7 @@ class Premium_Button_Widget extends Widget_Base
188
  /*Style 4 Icon Selection*/
189
  $this->add_control('premium_button_style4_icon_selection',
190
  [
191
- 'label' => esc_html__('Icon', 'premium_elementor'),
192
  'type' => Controls_Manager::ICON,
193
  'default' => 'fa fa-bars',
194
  'condition' => [
@@ -200,7 +200,7 @@ class Premium_Button_Widget extends Widget_Base
200
 
201
  $this->add_control('premium_button_icon_position',
202
  [
203
- 'label' => esc_html__('Icon Position', 'premium_elementor'),
204
  'type' => Controls_Manager::SELECT,
205
  'default' => 'before',
206
  'options' => [
@@ -217,7 +217,7 @@ class Premium_Button_Widget extends Widget_Base
217
 
218
  $this->add_control('premium_button_icon_before_size',
219
  [
220
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
221
  'type' => Controls_Manager::SLIDER,
222
  'condition' => [
223
  'premium_button_icon_switcher' => 'yes',
@@ -231,7 +231,7 @@ class Premium_Button_Widget extends Widget_Base
231
 
232
  $this->add_control('premium_button_icon_style4_size',
233
  [
234
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
235
  'type' => Controls_Manager::SLIDER,
236
  'condition' => [
237
  'premium_button_hover_effect' => 'style4'
@@ -244,7 +244,7 @@ class Premium_Button_Widget extends Widget_Base
244
 
245
  $this->add_control('premium_button_icon_before_spacing',
246
  [
247
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
248
  'type' => Controls_Manager::SLIDER,
249
  'condition' => [
250
  'premium_button_icon_switcher' => 'yes',
@@ -263,7 +263,7 @@ class Premium_Button_Widget extends Widget_Base
263
 
264
  $this->add_control('premium_button_icon_after_spacing',
265
  [
266
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
267
  'type' => Controls_Manager::SLIDER,
268
  'condition' => [
269
  'premium_button_icon_switcher' => 'yes',
@@ -282,7 +282,7 @@ class Premium_Button_Widget extends Widget_Base
282
 
283
  $this->add_control('premium_button_icon_style3_before_transition',
284
  [
285
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
286
  'type' => Controls_Manager::SLIDER,
287
  'condition' => [
288
  'premium_button_icon_switcher' => 'yes',
@@ -303,7 +303,7 @@ class Premium_Button_Widget extends Widget_Base
303
 
304
  $this->add_control('premium_button_icon_style3_after_transition',
305
  [
306
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
307
  'type' => Controls_Manager::SLIDER,
308
  'condition' => [
309
  'premium_button_icon_switcher' => 'yes',
@@ -325,7 +325,7 @@ class Premium_Button_Widget extends Widget_Base
325
  /*Button Size*/
326
  $this->add_control('premium_button_size',
327
  [
328
- 'label' => esc_html__('Button Size', 'premium_elementor'),
329
  'type' => Controls_Manager::SELECT,
330
  'default' => 'lg',
331
  'options' => [
@@ -367,7 +367,7 @@ class Premium_Button_Widget extends Widget_Base
367
 
368
  $this->add_control('premium_button_event_switcher',
369
  [
370
- 'label' => esc_html__('Button onclick Event', 'premium_elementor'),
371
  'type' => Controls_Manager::SWITCHER,
372
  'separator' => 'before',
373
  ]
@@ -375,7 +375,7 @@ class Premium_Button_Widget extends Widget_Base
375
 
376
  $this->add_control('premium_button_event_function',
377
  [
378
- 'label' => esc_html__('Example: myFunction();', 'premium_elementor'),
379
  'type' => Controls_Manager::TEXTAREA,
380
  'condition' => [
381
  'premium_button_event_switcher' => 'yes',
@@ -389,7 +389,7 @@ class Premium_Button_Widget extends Widget_Base
389
  /*Start Styling Section*/
390
  $this->start_controls_section('premium_button_style_section',
391
  [
392
- 'label' => esc_html__('Button', 'premium_elementor'),
393
  'tab' => Controls_Manager::TAB_STYLE,
394
  ]
395
  );
@@ -407,13 +407,13 @@ class Premium_Button_Widget extends Widget_Base
407
 
408
  $this->start_controls_tab('premium_button_style_normal',
409
  [
410
- 'label' => esc_html__('Normal', 'premium_elementor'),
411
  ]
412
  );
413
 
414
  $this->add_control('premium_button_text_color_normal',
415
  [
416
- 'label' => esc_html__('Text Color', 'premium_elementor'),
417
  'type' => Controls_Manager::COLOR,
418
  'scheme' => [
419
  'type' => Scheme_Color::get_type(),
@@ -426,7 +426,7 @@ class Premium_Button_Widget extends Widget_Base
426
 
427
  $this->add_control('premium_button_icon_color_normal',
428
  [
429
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
430
  'type' => Controls_Manager::COLOR,
431
  'scheme' => [
432
  'type' => Scheme_Color::get_type(),
@@ -443,7 +443,7 @@ class Premium_Button_Widget extends Widget_Base
443
 
444
  $this->add_control('premium_button_background_normal',
445
  [
446
- 'label' => esc_html__('Background Color', 'premium_elementor'),
447
  'type' => Controls_Manager::COLOR,
448
  'scheme' => [
449
  'type' => Scheme_Color::get_type(),
@@ -467,7 +467,7 @@ class Premium_Button_Widget extends Widget_Base
467
  /*Button Border Radius*/
468
  $this->add_control('premium_button_border_radius_normal',
469
  [
470
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
471
  'type' => Controls_Manager::SLIDER,
472
  'size_units' => ['px', '%' ,'em'],
473
  'selectors' => [
@@ -479,7 +479,7 @@ class Premium_Button_Widget extends Widget_Base
479
  /*Button Margin*/
480
  $this->add_responsive_control('premium_button_margin_normal',
481
  [
482
- 'label' => esc_html__('Margin', 'premium_elementor'),
483
  'type' => Controls_Manager::DIMENSIONS,
484
  'size_units' => ['px', 'em', '%'],
485
  'selectors' => [
@@ -490,7 +490,7 @@ class Premium_Button_Widget extends Widget_Base
490
  /*Button Padding*/
491
  $this->add_responsive_control('premium_button_padding_normal',
492
  [
493
- 'label' => esc_html__('Padding', 'premium_elementor'),
494
  'type' => Controls_Manager::DIMENSIONS,
495
  'size_units' => ['px', 'em', '%'],
496
  'selectors' => [
@@ -502,7 +502,7 @@ class Premium_Button_Widget extends Widget_Base
502
  $this->add_group_control(
503
  Group_Control_Text_Shadow::get_type(),
504
  [
505
- 'label' => esc_html__('Icon Shadow','premium_elementor'),
506
  'name' => 'premium_button_icon_shadow_normal',
507
  'selector' => '{{WRAPPER}} .premium-button-text-icon-wrapper i',
508
  'condition' => [
@@ -516,7 +516,7 @@ class Premium_Button_Widget extends Widget_Base
516
  $this->add_group_control(
517
  Group_Control_Text_Shadow::get_type(),
518
  [
519
- 'label' => esc_html__('Text Shadow','premium_elementor'),
520
  'name' => 'premium_button_text_shadow_normal',
521
  'selector' => '{{WRAPPER}} .premium-button-text-icon-wrapper span',
522
  ]
@@ -526,7 +526,7 @@ class Premium_Button_Widget extends Widget_Base
526
  $this->add_group_control(
527
  Group_Control_Box_Shadow::get_type(),
528
  [
529
- 'label' => esc_html__('Button Shadow','premium_elementor'),
530
  'name' => 'premium_button_box_shadow_normal',
531
  'selector' => '{{WRAPPER}} .premium-button',
532
  ]
@@ -536,13 +536,13 @@ class Premium_Button_Widget extends Widget_Base
536
 
537
  $this->start_controls_tab('premium_button_style_hover',
538
  [
539
- 'label' => esc_html__('Hover', 'premium_elementor'),
540
  ]
541
  );
542
 
543
  $this->add_control('premium_button_text_color_hover',
544
  [
545
- 'label' => esc_html__('Text Color', 'premium_elementor'),
546
  'type' => Controls_Manager::COLOR,
547
  'scheme' => [
548
  'type' => Scheme_Color::get_type(),
@@ -558,7 +558,7 @@ class Premium_Button_Widget extends Widget_Base
558
 
559
  $this->add_control('premium_button_icon_color_hover',
560
  [
561
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
562
  'type' => Controls_Manager::COLOR,
563
  'scheme' => [
564
  'type' => Scheme_Color::get_type(),
@@ -575,7 +575,7 @@ class Premium_Button_Widget extends Widget_Base
575
 
576
  $this->add_control('premium_button_style4_icon_color',
577
  [
578
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
579
  'type' => Controls_Manager::COLOR,
580
  'scheme' => [
581
  'type' => Scheme_Color::get_type(),
@@ -591,7 +591,7 @@ class Premium_Button_Widget extends Widget_Base
591
 
592
  $this->add_control('premium_button_background_none_hover',
593
  [
594
- 'label' => esc_html__('Background Color', 'premium_elementor'),
595
  'type' => Controls_Manager::COLOR,
596
  'scheme' => [
597
  'type' => Scheme_Color::get_type(),
@@ -608,7 +608,7 @@ class Premium_Button_Widget extends Widget_Base
608
 
609
  $this->add_control('premium_button_background_hover',
610
  [
611
- 'label' => esc_html__('Background Color', 'premium_elementor'),
612
  'type' => Controls_Manager::COLOR,
613
  'scheme' => [
614
  'type' => Scheme_Color::get_type(),
@@ -636,7 +636,7 @@ class Premium_Button_Widget extends Widget_Base
636
  /*Button Border Radius*/
637
  $this->add_control('premium_button_border_radius_hover',
638
  [
639
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
640
  'type' => Controls_Manager::SLIDER,
641
  'size_units' => ['px', '%' ,'em'],
642
  'selectors' => [
@@ -648,7 +648,7 @@ class Premium_Button_Widget extends Widget_Base
648
  /*Button Margin*/
649
  $this->add_responsive_control('premium_button_margin_hover',
650
  [
651
- 'label' => esc_html__('Margin', 'premium_elementor'),
652
  'type' => Controls_Manager::DIMENSIONS,
653
  'size_units' => ['px', 'em', '%'],
654
  'selectors' => [
@@ -659,7 +659,7 @@ class Premium_Button_Widget extends Widget_Base
659
  /*Button Padding*/
660
  $this->add_responsive_control('premium_button_padding_hover',
661
  [
662
- 'label' => esc_html__('Padding', 'premium_elementor'),
663
  'type' => Controls_Manager::DIMENSIONS,
664
  'size_units' => ['px', 'em', '%'],
665
  'selectors' => [
@@ -671,7 +671,7 @@ class Premium_Button_Widget extends Widget_Base
671
  $this->add_group_control(
672
  Group_Control_Text_Shadow::get_type(),
673
  [
674
- 'label' => esc_html__('Icon Shadow','premium_elementor'),
675
  'name' => 'premium_button_icon_shadow_hover',
676
  'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper i',
677
  'condition' => [
@@ -684,7 +684,7 @@ class Premium_Button_Widget extends Widget_Base
684
  $this->add_group_control(
685
  Group_Control_Text_Shadow::get_type(),
686
  [
687
- 'label' => esc_html__('Icon Shadow','premium_elementor'),
688
  'name' => 'premium_button_style4_icon_shadow_hover',
689
  'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-style4-icon-wrapper',
690
  'condition' => [
@@ -697,7 +697,7 @@ class Premium_Button_Widget extends Widget_Base
697
  $this->add_group_control(
698
  Group_Control_Text_Shadow::get_type(),
699
  [
700
- 'label' => esc_html__('Text Shadow','premium_elementor'),
701
  'name' => 'premium_button_text_shadow_hover',
702
  'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper span',
703
  'condition' => [
@@ -711,7 +711,7 @@ class Premium_Button_Widget extends Widget_Base
711
  $this->add_group_control(
712
  Group_Control_Box_Shadow::get_type(),
713
  [
714
- 'label' => esc_html__('Button Shadow','premium_elementor'),
715
  'name' => 'premium_button_box_shadow_hover',
716
  'selector' => '{{WRAPPER}} .premium-button:hover',
717
  ]
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Button', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /*Start Button Content Section */
35
  $this->start_controls_section('premium_button_general_section',
36
  [
37
+ 'label' => esc_html__('Button Settings', 'premium-addons-for-elementor'),
38
  ]
39
  );
40
 
41
  /*Button Text*/
42
  $this->add_control('premium_button_text',
43
  [
44
+ 'label' => esc_html__('Button Text', 'premium-addons-for-elementor'),
45
  'type' => Controls_Manager::TEXT,
46
+ 'default' => esc_html__('Click Me','premium-addons-for-elementor'),
47
  'label_block' => true,
48
  ]
49
  );
50
 
51
  $this->add_control('premium_button_link',
52
  [
53
+ 'label' => esc_html__('URL', 'premium-addons-for-elementor'),
54
  'type' => Controls_Manager::URL,
55
  'default' => [
56
  'url' => '#',
66
  /*Button Hover Effect*/
67
  $this->add_control('premium_button_hover_effect',
68
  [
69
+ 'label' => esc_html__('Button Hover Effect', 'premium-addons-for-elementor'),
70
  'type' => Controls_Manager::SELECT,
71
  'default' => 'none',
72
  'options' => [
83
 
84
  $this->add_control('premium_button_style1_dir',
85
  [
86
+ 'label' => esc_html__('Slide Direction', 'premium-addons-for-elementor'),
87
  'type' => Controls_Manager::SELECT,
88
  'default' => 'bottom',
89
  'options' => [
101
 
102
  $this->add_control('premium_button_style2_dir',
103
  [
104
+ 'label' => esc_html__('Shutter Direction', 'premium-addons-for-elementor'),
105
  'type' => Controls_Manager::SELECT,
106
  'default' => 'shutouthor',
107
  'options' => [
125
 
126
  $this->add_control('premium_button_style4_dir',
127
  [
128
+ 'label' => esc_html__('Slide Direction', 'premium-addons-for-elementor'),
129
  'type' => Controls_Manager::SELECT,
130
  'default' => 'bottom',
131
  'options' => [
143
 
144
  $this->add_control('premium_button_style5_dir',
145
  [
146
+ 'label' => esc_html__('Style', 'premium-addons-for-elementor'),
147
  'type' => Controls_Manager::SELECT,
148
  'default' => 'radialin',
149
  'options' => [
162
  /*Button Icon Switcher*/
163
  $this->add_control('premium_button_icon_switcher',
164
  [
165
+ 'label' => esc_html__('Button Icon', 'premium-addons-for-elementor'),
166
  'type' => Controls_Manager::SWITCHER,
167
  'condition' => [
168
  'premium_button_hover_effect!' => 'style4'
169
  ],
170
+ 'description' => esc_html__('Enable or disable button icon','premium-addons-for-elementor'),
171
  ]
172
  );
173
 
174
  /*Button Icon Selection*/
175
  $this->add_control('premium_button_icon_selection',
176
  [
177
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
178
  'type' => Controls_Manager::ICON,
179
  'default' => 'fa fa-bars',
180
  'condition' => [
188
  /*Style 4 Icon Selection*/
189
  $this->add_control('premium_button_style4_icon_selection',
190
  [
191
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
192
  'type' => Controls_Manager::ICON,
193
  'default' => 'fa fa-bars',
194
  'condition' => [
200
 
201
  $this->add_control('premium_button_icon_position',
202
  [
203
+ 'label' => esc_html__('Icon Position', 'premium-addons-for-elementor'),
204
  'type' => Controls_Manager::SELECT,
205
  'default' => 'before',
206
  'options' => [
217
 
218
  $this->add_control('premium_button_icon_before_size',
219
  [
220
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
221
  'type' => Controls_Manager::SLIDER,
222
  'condition' => [
223
  'premium_button_icon_switcher' => 'yes',
231
 
232
  $this->add_control('premium_button_icon_style4_size',
233
  [
234
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
235
  'type' => Controls_Manager::SLIDER,
236
  'condition' => [
237
  'premium_button_hover_effect' => 'style4'
244
 
245
  $this->add_control('premium_button_icon_before_spacing',
246
  [
247
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
248
  'type' => Controls_Manager::SLIDER,
249
  'condition' => [
250
  'premium_button_icon_switcher' => 'yes',
263
 
264
  $this->add_control('premium_button_icon_after_spacing',
265
  [
266
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
267
  'type' => Controls_Manager::SLIDER,
268
  'condition' => [
269
  'premium_button_icon_switcher' => 'yes',
282
 
283
  $this->add_control('premium_button_icon_style3_before_transition',
284
  [
285
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
286
  'type' => Controls_Manager::SLIDER,
287
  'condition' => [
288
  'premium_button_icon_switcher' => 'yes',
303
 
304
  $this->add_control('premium_button_icon_style3_after_transition',
305
  [
306
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
307
  'type' => Controls_Manager::SLIDER,
308
  'condition' => [
309
  'premium_button_icon_switcher' => 'yes',
325
  /*Button Size*/
326
  $this->add_control('premium_button_size',
327
  [
328
+ 'label' => esc_html__('Button Size', 'premium-addons-for-elementor'),
329
  'type' => Controls_Manager::SELECT,
330
  'default' => 'lg',
331
  'options' => [
367
 
368
  $this->add_control('premium_button_event_switcher',
369
  [
370
+ 'label' => esc_html__('Button onclick Event', 'premium-addons-for-elementor'),
371
  'type' => Controls_Manager::SWITCHER,
372
  'separator' => 'before',
373
  ]
375
 
376
  $this->add_control('premium_button_event_function',
377
  [
378
+ 'label' => esc_html__('Example: myFunction();', 'premium-addons-for-elementor'),
379
  'type' => Controls_Manager::TEXTAREA,
380
  'condition' => [
381
  'premium_button_event_switcher' => 'yes',
389
  /*Start Styling Section*/
390
  $this->start_controls_section('premium_button_style_section',
391
  [
392
+ 'label' => esc_html__('Button', 'premium-addons-for-elementor'),
393
  'tab' => Controls_Manager::TAB_STYLE,
394
  ]
395
  );
407
 
408
  $this->start_controls_tab('premium_button_style_normal',
409
  [
410
+ 'label' => esc_html__('Normal', 'premium-addons-for-elementor'),
411
  ]
412
  );
413
 
414
  $this->add_control('premium_button_text_color_normal',
415
  [
416
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
417
  'type' => Controls_Manager::COLOR,
418
  'scheme' => [
419
  'type' => Scheme_Color::get_type(),
426
 
427
  $this->add_control('premium_button_icon_color_normal',
428
  [
429
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
430
  'type' => Controls_Manager::COLOR,
431
  'scheme' => [
432
  'type' => Scheme_Color::get_type(),
443
 
444
  $this->add_control('premium_button_background_normal',
445
  [
446
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
447
  'type' => Controls_Manager::COLOR,
448
  'scheme' => [
449
  'type' => Scheme_Color::get_type(),
467
  /*Button Border Radius*/
468
  $this->add_control('premium_button_border_radius_normal',
469
  [
470
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
471
  'type' => Controls_Manager::SLIDER,
472
  'size_units' => ['px', '%' ,'em'],
473
  'selectors' => [
479
  /*Button Margin*/
480
  $this->add_responsive_control('premium_button_margin_normal',
481
  [
482
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
483
  'type' => Controls_Manager::DIMENSIONS,
484
  'size_units' => ['px', 'em', '%'],
485
  'selectors' => [
490
  /*Button Padding*/
491
  $this->add_responsive_control('premium_button_padding_normal',
492
  [
493
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
494
  'type' => Controls_Manager::DIMENSIONS,
495
  'size_units' => ['px', 'em', '%'],
496
  'selectors' => [
502
  $this->add_group_control(
503
  Group_Control_Text_Shadow::get_type(),
504
  [
505
+ 'label' => esc_html__('Icon Shadow','premium-addons-for-elementor'),
506
  'name' => 'premium_button_icon_shadow_normal',
507
  'selector' => '{{WRAPPER}} .premium-button-text-icon-wrapper i',
508
  'condition' => [
516
  $this->add_group_control(
517
  Group_Control_Text_Shadow::get_type(),
518
  [
519
+ 'label' => esc_html__('Text Shadow','premium-addons-for-elementor'),
520
  'name' => 'premium_button_text_shadow_normal',
521
  'selector' => '{{WRAPPER}} .premium-button-text-icon-wrapper span',
522
  ]
526
  $this->add_group_control(
527
  Group_Control_Box_Shadow::get_type(),
528
  [
529
+ 'label' => esc_html__('Button Shadow','premium-addons-for-elementor'),
530
  'name' => 'premium_button_box_shadow_normal',
531
  'selector' => '{{WRAPPER}} .premium-button',
532
  ]
536
 
537
  $this->start_controls_tab('premium_button_style_hover',
538
  [
539
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
540
  ]
541
  );
542
 
543
  $this->add_control('premium_button_text_color_hover',
544
  [
545
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
546
  'type' => Controls_Manager::COLOR,
547
  'scheme' => [
548
  'type' => Scheme_Color::get_type(),
558
 
559
  $this->add_control('premium_button_icon_color_hover',
560
  [
561
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
562
  'type' => Controls_Manager::COLOR,
563
  'scheme' => [
564
  'type' => Scheme_Color::get_type(),
575
 
576
  $this->add_control('premium_button_style4_icon_color',
577
  [
578
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
579
  'type' => Controls_Manager::COLOR,
580
  'scheme' => [
581
  'type' => Scheme_Color::get_type(),
591
 
592
  $this->add_control('premium_button_background_none_hover',
593
  [
594
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
595
  'type' => Controls_Manager::COLOR,
596
  'scheme' => [
597
  'type' => Scheme_Color::get_type(),
608
 
609
  $this->add_control('premium_button_background_hover',
610
  [
611
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
612
  'type' => Controls_Manager::COLOR,
613
  'scheme' => [
614
  'type' => Scheme_Color::get_type(),
636
  /*Button Border Radius*/
637
  $this->add_control('premium_button_border_radius_hover',
638
  [
639
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
640
  'type' => Controls_Manager::SLIDER,
641
  'size_units' => ['px', '%' ,'em'],
642
  'selectors' => [
648
  /*Button Margin*/
649
  $this->add_responsive_control('premium_button_margin_hover',
650
  [
651
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
652
  'type' => Controls_Manager::DIMENSIONS,
653
  'size_units' => ['px', 'em', '%'],
654
  'selectors' => [
659
  /*Button Padding*/
660
  $this->add_responsive_control('premium_button_padding_hover',
661
  [
662
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
663
  'type' => Controls_Manager::DIMENSIONS,
664
  'size_units' => ['px', 'em', '%'],
665
  'selectors' => [
671
  $this->add_group_control(
672
  Group_Control_Text_Shadow::get_type(),
673
  [
674
+ 'label' => esc_html__('Icon Shadow','premium-addons-for-elementor'),
675
  'name' => 'premium_button_icon_shadow_hover',
676
  'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper i',
677
  'condition' => [
684
  $this->add_group_control(
685
  Group_Control_Text_Shadow::get_type(),
686
  [
687
+ 'label' => esc_html__('Icon Shadow','premium-addons-for-elementor'),
688
  'name' => 'premium_button_style4_icon_shadow_hover',
689
  'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-style4-icon-wrapper',
690
  'condition' => [
697
  $this->add_group_control(
698
  Group_Control_Text_Shadow::get_type(),
699
  [
700
+ 'label' => esc_html__('Text Shadow','premium-addons-for-elementor'),
701
  'name' => 'premium_button_text_shadow_hover',
702
  'selector' => '{{WRAPPER}} .premium-button:hover .premium-button-text-icon-wrapper span',
703
  'condition' => [
711
  $this->add_group_control(
712
  Group_Control_Box_Shadow::get_type(),
713
  [
714
+ 'label' => esc_html__('Button Shadow','premium-addons-for-elementor'),
715
  'name' => 'premium_button_box_shadow_hover',
716
  'selector' => '{{WRAPPER}} .premium-button:hover',
717
  ]
widgets/premium-carousel.php CHANGED
@@ -15,7 +15,7 @@ class Premium_Carousel_Widget extends Widget_Base {
15
  }
16
 
17
  public function get_title() {
18
- return esc_html__( 'Premium Carousel', 'premium_elementor' );
19
  }
20
 
21
  public function get_icon() {
@@ -23,26 +23,29 @@ class Premium_Carousel_Widget extends Widget_Base {
23
  }
24
 
25
  public function get_script_depends() {
26
- return array( 'slick-carousel.js' );
27
  }
28
 
29
  public function get_categories() {
30
  return [ 'premium-elements' ];
31
  }
32
 
 
 
 
33
  protected function _register_controls() {
34
  $this->start_controls_section(
35
  'premium-carousel-global-settings',
36
  [
37
- 'label' => esc_html__( 'Carousel Settings' , 'premium_elementor' )
38
  ]
39
  );
40
 
41
  $this->add_control(
42
  'premium_carousel_slider_content',
43
  [
44
- 'label' => esc_html__( 'Slider Content', 'premium_elementor' ),
45
- 'description' => esc_html__( 'Slider content is a template which you can choose from Elementor library. Each template will be a slider content', 'premium_elementor' ),
46
  'type' => Controls_Manager::SELECT2,
47
  'options' => $this->getTemplateInstance()->get_elementor_page_list(),
48
  'multiple' => true,
@@ -53,13 +56,13 @@ class Premium_Carousel_Widget extends Widget_Base {
53
  $this->add_control(
54
  'premium_carousel_slider_type',
55
  [
56
- 'label' => esc_html__( 'Slider Type', 'premium_elementor' ),
57
- 'description' => esc_html__( 'Set a navigation type', 'premium_elementor' ),
58
  'type' => Controls_Manager::SELECT,
59
  'default' => 'horizontal',
60
  'options' => [
61
- 'horizontal' => esc_html__( 'Horizontal', 'premium_elementor' ),
62
- 'vertical' => esc_html__( 'Vertical', 'premium_elementor' )
63
  ]
64
  ]
65
  );
@@ -67,12 +70,12 @@ class Premium_Carousel_Widget extends Widget_Base {
67
  $this->add_control(
68
  'premium_carousel_slides_to_show',
69
  [
70
- 'label' => esc_html__( 'Slides to Scroll', 'premium_elementor' ),
71
  'type' => Controls_Manager::SELECT,
72
  'default' => 'all',
73
  'options' => [
74
- 'all' => esc_html__( 'All visible', 'premium_elementor' ),
75
- 'single' => esc_html__( 'One at a time', 'premium_elementor' )
76
  ]
77
  ]
78
  );
@@ -80,7 +83,7 @@ class Premium_Carousel_Widget extends Widget_Base {
80
  $this->add_control(
81
  'premium_carousel_responsive_desktop',
82
  [
83
- 'label' => esc_html__( 'Slides on Desktop', 'premium_elementor' ),
84
  'type' => Controls_Manager::NUMBER,
85
  'default' => 5
86
  ]
@@ -89,7 +92,7 @@ class Premium_Carousel_Widget extends Widget_Base {
89
  $this->add_control(
90
  'premium_carousel_responsive_tabs',
91
  [
92
- 'label' => esc_html__( 'Slides on Tabs', 'premium_elementor' ),
93
  'type' => Controls_Manager::NUMBER,
94
  'default' => 3
95
  ]
@@ -98,7 +101,7 @@ class Premium_Carousel_Widget extends Widget_Base {
98
  $this->add_control(
99
  'premium_carousel_responsive_mobile',
100
  [
101
- 'label' => esc_html__( 'Slides on Mobile', 'premium_elementor' ),
102
  'type' => Controls_Manager::NUMBER,
103
  'default' => 2
104
  ]
@@ -107,9 +110,9 @@ class Premium_Carousel_Widget extends Widget_Base {
107
  $this->add_control(
108
  'premium_carousel_loop',
109
  [
110
- 'label' => esc_html__( 'Infinite Loop', 'premium_elementor' ),
111
  'type' => Controls_Manager::SWITCHER,
112
- 'description' => esc_html__( 'Restart the slider automatically as it passes the last slide', 'premium_elementor' ),
113
  'default' => 'yes'
114
  ]
115
  );
@@ -117,8 +120,8 @@ class Premium_Carousel_Widget extends Widget_Base {
117
  $this->add_control(
118
  'premium_carousel_speed',
119
  [
120
- 'label' => esc_html__( 'Transition Speed', 'premium_elementor' ),
121
- 'description' => esc_html__( 'Set a navigation speed value. The value will be counted in milliseconds (ms)', 'premium_elementor' ),
122
  'type' => Controls_Manager::NUMBER,
123
  'default' => 300
124
  ]
@@ -127,8 +130,8 @@ class Premium_Carousel_Widget extends Widget_Base {
127
  $this->add_control(
128
  'premium_carousel_autoplay',
129
  [
130
- 'label' => esc_html__( 'AutoPlay Slides‏', 'premium_elementor' ),
131
- 'description' => esc_html__( 'Slide will start automatically', 'premium_elementor' ),
132
  'type' => Controls_Manager::SWITCHER,
133
  'default' => 'yes'
134
  ]
@@ -137,8 +140,8 @@ class Premium_Carousel_Widget extends Widget_Base {
137
  $this->add_control(
138
  'premium_carousel_autoplay_speed',
139
  [
140
- 'label' => esc_html__( 'AutoPlay Speed', 'premium_elementor' ),
141
- 'description' => esc_html__( 'AutoPlay Speed means at which time the next slide should come. Set a value in milliseconds (ms)', 'premium_elementor' ),
142
  'type' => Controls_Manager::NUMBER,
143
  'default' => 5000,
144
  'condition' => [
@@ -150,7 +153,7 @@ class Premium_Carousel_Widget extends Widget_Base {
150
 
151
  $this->add_control('premium_carousel_animation_list',
152
  [
153
- 'label' => esc_html__('Animations', 'premium_elementor'),
154
  'type' => Controls_Manager::ANIMATION,
155
  ]
156
  );
@@ -158,7 +161,7 @@ class Premium_Carousel_Widget extends Widget_Base {
158
  $this->add_control(
159
  'premium_carousel_extra_class',
160
  [
161
- 'label' => esc_html__( 'Extra Class', 'premium_elementor' ),
162
  'type' => Controls_Manager::TEXT
163
  ]
164
  );
@@ -168,7 +171,7 @@ class Premium_Carousel_Widget extends Widget_Base {
168
  $this->start_controls_section(
169
  'premium_carousel_navigation',
170
  [
171
- 'label' => esc_html__( 'Navigation', 'premium_elementor' ),
172
  'tab' => Controls_Manager::TAB_STYLE
173
  ]
174
  );
@@ -176,8 +179,8 @@ class Premium_Carousel_Widget extends Widget_Base {
176
  $this->add_control(
177
  'premium_carousel_navigation_show',
178
  [
179
- 'label' => esc_html__( 'Navigation Arrows', 'premium_elementor' ),
180
- 'description' => esc_html__( 'Enable or disable navigation arrows', 'premium_elementor' ),
181
  'type' => Controls_Manager::SWITCHER,
182
  'default' => 'yes'
183
  ]
@@ -186,15 +189,15 @@ class Premium_Carousel_Widget extends Widget_Base {
186
  $this->add_control(
187
  'premium_carousel_arrow_style',
188
  [
189
- 'label' => esc_html__( 'Arrow Style', 'premium_elementor' ),
190
  'type' => Controls_Manager::SELECT,
191
  'default' => 'default',
192
  'options' => [
193
- 'default' => esc_html__( 'Default', 'premium_elementor' ),
194
- 'circle-bg' => esc_html__( 'Circle Background', 'premium_elementor' ),
195
- 'square-bg' => esc_html__( 'Square Background', 'premium_elementor' ),
196
- 'circle-border' => esc_html__( 'Circle border', 'premium_elementor' ),
197
- 'square-border' => esc_html__( 'Square border', 'premium_elementor' ),
198
  ],
199
  'condition' => [
200
  'premium_carousel_navigation_show' => 'yes'
@@ -205,7 +208,7 @@ class Premium_Carousel_Widget extends Widget_Base {
205
  $this->add_control(
206
  'premium_carousel_arrow_bg_color',
207
  [
208
- 'label' => esc_html__( 'Background Color', 'premium_elementor' ),
209
  'type' => Controls_Manager::COLOR,
210
  'scheme' => [
211
  'type' => Scheme_Color::get_type(),
@@ -224,7 +227,7 @@ class Premium_Carousel_Widget extends Widget_Base {
224
  $this->add_control(
225
  'premium_carousel_arrow_border_color',
226
  [
227
- 'label' => esc_html__( 'Border Color', 'premium_elementor' ),
228
  'type' => Controls_Manager::COLOR,
229
  'scheme' => [
230
  'type' => Scheme_Color::get_type(),
@@ -243,7 +246,7 @@ class Premium_Carousel_Widget extends Widget_Base {
243
  $this->add_control(
244
  'premium_carousel_border_size',
245
  [
246
- 'label' => esc_html__( 'Border Size', 'premium_elementor' ),
247
  'type' => Controls_Manager::SLIDER,
248
  'default' => [
249
  'size' => 1,
@@ -267,7 +270,7 @@ class Premium_Carousel_Widget extends Widget_Base {
267
  $this->add_control(
268
  'premium_carousel_arrow_color',
269
  [
270
- 'label' => esc_html__( 'Arrow Color', 'premium_elementor' ),
271
  'type' => Controls_Manager::COLOR,
272
  'scheme' => [
273
  'type' => Scheme_Color::get_type(),
@@ -285,7 +288,7 @@ class Premium_Carousel_Widget extends Widget_Base {
285
  $this->add_control(
286
  'premium_carousel_arrow_size',
287
  [
288
- 'label' => esc_html__( 'Arrow Size', 'premium_elementor' ),
289
  'type' => Controls_Manager::SLIDER,
290
  'default' => [
291
  'size' => 14,
@@ -308,7 +311,7 @@ class Premium_Carousel_Widget extends Widget_Base {
308
  $this->add_control(
309
  'premium_carousel_arrow_icon_next',
310
  [
311
- 'label' => esc_html__( 'Select Icon for \'Next Arrow\'', 'premium_elementor' ),
312
  'type' => Controls_Manager::CHOOSE,
313
  'options' => [
314
  'right_arrow_bold' => [
@@ -339,7 +342,7 @@ class Premium_Carousel_Widget extends Widget_Base {
339
  $this->add_control(
340
  'premium_carousel_arrow_icon_next_ver',
341
  [
342
- 'label' => esc_html__( 'Select Icon for \'Bottom Arrow\'', 'premium_elementor' ),
343
  'type' => Controls_Manager::CHOOSE,
344
  'options' => [
345
  'right_arrow_bold' => [
@@ -369,7 +372,7 @@ class Premium_Carousel_Widget extends Widget_Base {
369
  $this->add_control(
370
  'premium_carousel_arrow_icon_prev',
371
  [
372
- 'label' => esc_html__( 'Select Icon for \'Prev Arrow\'', 'premium_elementor' ),
373
  'type' => Controls_Manager::CHOOSE,
374
  'options' => [
375
  'left_arrow_bold' => [
@@ -400,7 +403,7 @@ class Premium_Carousel_Widget extends Widget_Base {
400
  $this->add_control(
401
  'premium_carousel_arrow_icon_prev_ver',
402
  [
403
- 'label' => esc_html__( 'Select Icon for \'Up Arrow\'', 'premium_elementor' ),
404
  'type' => Controls_Manager::CHOOSE,
405
  'options' => [
406
  'left_arrow_bold' => [
@@ -430,8 +433,8 @@ class Premium_Carousel_Widget extends Widget_Base {
430
  $this->add_control(
431
  'premium_carousel_dot_navigation_show',
432
  [
433
- 'label' => esc_html__( 'Navigation Dots', 'premium_elementor' ),
434
- 'description' => esc_html__( 'Enable or disable navigation dots', 'premium_elementor' ),
435
  'type' => Controls_Manager::SWITCHER,
436
  'default' => 'yes'
437
  ]
@@ -440,7 +443,7 @@ class Premium_Carousel_Widget extends Widget_Base {
440
  $this->add_control(
441
  'premium_carousel_dot_navigation_color',
442
  [
443
- 'label' => esc_html__( 'Navigation Dots Color', 'premium_elementor' ),
444
  'type' => Controls_Manager::COLOR,
445
  'scheme' => [
446
  'type' => Scheme_Color::get_type(),
@@ -458,7 +461,7 @@ class Premium_Carousel_Widget extends Widget_Base {
458
  $this->add_control(
459
  'premium_carousel_dot_navigation_active_color',
460
  [
461
- 'label' => esc_html__( 'Dot Active Color', 'premium_elementor' ),
462
  'type' => Controls_Manager::COLOR,
463
  'scheme' => [
464
  'type' => Scheme_Color::get_type(),
@@ -476,7 +479,7 @@ class Premium_Carousel_Widget extends Widget_Base {
476
  $this->add_control(
477
  'premium_carousel_dot_icon',
478
  [
479
- 'label' => esc_html__( 'Navigation Dots Icon', 'premium_elementor' ),
480
  'type' => Controls_Manager::CHOOSE,
481
  'options' => [
482
  'square_white' => [
@@ -507,7 +510,7 @@ class Premium_Carousel_Widget extends Widget_Base {
507
  $this->start_controls_section(
508
  'premium-carousel-advance-settings',
509
  [
510
- 'label' => esc_html__( 'Advanced Settings' , 'premium_elementor' ),
511
  'tab' => Controls_Manager::TAB_STYLE
512
  ]
513
  );
@@ -515,8 +518,8 @@ class Premium_Carousel_Widget extends Widget_Base {
515
  $this->add_control(
516
  'premium_carousel_draggable_effect',
517
  [
518
- 'label' => esc_html__( 'Draggable Effect', 'premium_elementor' ),
519
- 'description' => esc_html__( 'Allow the slides to be dragged by mouse click', 'premium_elementor' ),
520
  'type' => Controls_Manager::SWITCHER,
521
  'default' => 'yes'
522
  ]
@@ -525,8 +528,8 @@ class Premium_Carousel_Widget extends Widget_Base {
525
  $this->add_control(
526
  'premium_carousel_touch_move',
527
  [
528
- 'label' => esc_html__( 'Touch Move', 'premium_elementor' ),
529
- 'description' => esc_html__( 'Enable slide moving with touch', 'premium_elementor' ),
530
  'type' => Controls_Manager::SWITCHER,
531
  'default' => 'yes'
532
  ]
@@ -535,8 +538,8 @@ class Premium_Carousel_Widget extends Widget_Base {
535
  $this->add_control(
536
  'premium_carousel_RTL_Mode',
537
  [
538
- 'label' => esc_html__( 'RTL Mode', 'premium_elementor' ),
539
- 'description' => esc_html__( 'Turn on RTL mode if your language starts from right to left', 'premium_elementor' ),
540
  'type' => Controls_Manager::SWITCHER,
541
  'default' => 'no',
542
  'condition' => [
@@ -548,8 +551,8 @@ class Premium_Carousel_Widget extends Widget_Base {
548
  $this->add_control(
549
  'premium_carousel_adaptive_height',
550
  [
551
- 'label' => esc_html__( 'Adaptive Height', 'premium_elementor' ),
552
- 'description' => esc_html__( 'Adaptive height setting gives each slide a fixed height to avoid huge white space gaps', 'premium_elementor' ),
553
  'type' => Controls_Manager::SWITCHER,
554
  'default' => 'no'
555
  ]
@@ -558,8 +561,8 @@ class Premium_Carousel_Widget extends Widget_Base {
558
  $this->add_control(
559
  'premium_carousel_pausehover',
560
  [
561
- 'label' => esc_html__( 'Pause on Hover', 'premium_elementor' ),
562
- 'description' => esc_html__( 'Pause the slider when mouse hover', 'premium_elementor' ),
563
  'type' => Controls_Manager::SWITCHER,
564
  'default' => 'no'
565
  ]
@@ -568,8 +571,8 @@ class Premium_Carousel_Widget extends Widget_Base {
568
  $this->add_control(
569
  'premium_carousel_center_mode',
570
  [
571
- 'label' => esc_html__( 'Center Mode', 'premium_elementor' ),
572
- 'description' => esc_html__( 'Center mode enables a centered view with partial next/previous slides. Animations and all visible scroll type doesn\'t work with this mode', 'premium_elementor' ),
573
  'type' => Controls_Manager::SWITCHER,
574
  'default' => 'no'
575
  ]
@@ -578,8 +581,8 @@ class Premium_Carousel_Widget extends Widget_Base {
578
  $this->add_control(
579
  'premium_carousel_space_btw_items',
580
  [
581
- 'label' => esc_html__( 'Space Between Two Items', 'premium_elementor' ),
582
- 'description' => esc_html__('Set a spacing value in pixels (px)', 'premium_elementor'),
583
  'type' => Controls_Manager::NUMBER,
584
  'default' => '15'
585
  ]
15
  }
16
 
17
  public function get_title() {
18
+ return esc_html__( 'Premium Carousel', 'premium-addons-for-elementor' );
19
  }
20
 
21
  public function get_icon() {
23
  }
24
 
25
  public function get_script_depends() {
26
+ return ['slick-carousel-js'];
27
  }
28
 
29
  public function get_categories() {
30
  return [ 'premium-elements' ];
31
  }
32
 
33
+
34
+ // Adding the controls fields for the premium carousel
35
+ // This will controls the animation, colors and background, dimensions etc
36
  protected function _register_controls() {
37
  $this->start_controls_section(
38
  'premium-carousel-global-settings',
39
  [
40
+ 'label' => esc_html__( 'Carousel Settings' , 'premium-addons-for-elementor' )
41
  ]
42
  );
43
 
44
  $this->add_control(
45
  'premium_carousel_slider_content',
46
  [
47
+ 'label' => esc_html__( 'Slider Content', 'premium-addons-for-elementor' ),
48
+ 'description' => esc_html__( 'Slider content is a template which you can choose from Elementor library. Each template will be a slider content', 'premium-addons-for-elementor' ),
49
  'type' => Controls_Manager::SELECT2,
50
  'options' => $this->getTemplateInstance()->get_elementor_page_list(),
51
  'multiple' => true,
56
  $this->add_control(
57
  'premium_carousel_slider_type',
58
  [
59
+ 'label' => esc_html__( 'Slider Type', 'premium-addons-for-elementor' ),
60
+ 'description' => esc_html__( 'Set a navigation type', 'premium-addons-for-elementor' ),
61
  'type' => Controls_Manager::SELECT,
62
  'default' => 'horizontal',
63
  'options' => [
64
+ 'horizontal' => esc_html__( 'Horizontal', 'premium-addons-for-elementor' ),
65
+ 'vertical' => esc_html__( 'Vertical', 'premium-addons-for-elementor' )
66
  ]
67
  ]
68
  );
70
  $this->add_control(
71
  'premium_carousel_slides_to_show',
72
  [
73
+ 'label' => esc_html__( 'Slides to Scroll', 'premium-addons-for-elementor' ),
74
  'type' => Controls_Manager::SELECT,
75
  'default' => 'all',
76
  'options' => [
77
+ 'all' => esc_html__( 'All visible', 'premium-addons-for-elementor' ),
78
+ 'single' => esc_html__( 'One at a time', 'premium-addons-for-elementor' )
79
  ]
80
  ]
81
  );
83
  $this->add_control(
84
  'premium_carousel_responsive_desktop',
85
  [
86
+ 'label' => esc_html__( 'Slides on Desktop', 'premium-addons-for-elementor' ),
87
  'type' => Controls_Manager::NUMBER,
88
  'default' => 5
89
  ]
92
  $this->add_control(
93
  'premium_carousel_responsive_tabs',
94
  [
95
+ 'label' => esc_html__( 'Slides on Tabs', 'premium-addons-for-elementor' ),
96
  'type' => Controls_Manager::NUMBER,
97
  'default' => 3
98
  ]
101
  $this->add_control(
102
  'premium_carousel_responsive_mobile',
103
  [
104
+ 'label' => esc_html__( 'Slides on Mobile', 'premium-addons-for-elementor' ),
105
  'type' => Controls_Manager::NUMBER,
106
  'default' => 2
107
  ]
110
  $this->add_control(
111
  'premium_carousel_loop',
112
  [
113
+ 'label' => esc_html__( 'Infinite Loop', 'premium-addons-for-elementor' ),
114
  'type' => Controls_Manager::SWITCHER,
115
+ 'description' => esc_html__( 'Restart the slider automatically as it passes the last slide', 'premium-addons-for-elementor' ),
116
  'default' => 'yes'
117
  ]
118
  );
120
  $this->add_control(
121
  'premium_carousel_speed',
122
  [
123
+ 'label' => esc_html__( 'Transition Speed', 'premium-addons-for-elementor' ),
124
+ 'description' => esc_html__( 'Set a navigation speed value. The value will be counted in milliseconds (ms)', 'premium-addons-for-elementor' ),
125
  'type' => Controls_Manager::NUMBER,
126
  'default' => 300
127
  ]
130
  $this->add_control(
131
  'premium_carousel_autoplay',
132
  [
133
+ 'label' => esc_html__( 'AutoPlay Slides‏', 'premium-addons-for-elementor' ),
134
+ 'description' => esc_html__( 'Slide will start automatically', 'premium-addons-for-elementor' ),
135
  'type' => Controls_Manager::SWITCHER,
136
  'default' => 'yes'
137
  ]
140
  $this->add_control(
141
  'premium_carousel_autoplay_speed',
142
  [
143
+ 'label' => esc_html__( 'AutoPlay Speed', 'premium-addons-for-elementor' ),
144
+ 'description' => esc_html__( 'AutoPlay Speed means at which time the next slide should come. Set a value in milliseconds (ms)', 'premium-addons-for-elementor' ),
145
  'type' => Controls_Manager::NUMBER,
146
  'default' => 5000,
147
  'condition' => [
153
 
154
  $this->add_control('premium_carousel_animation_list',
155
  [
156
+ 'label' => esc_html__('Animations', 'premium-addons-for-elementor'),
157
  'type' => Controls_Manager::ANIMATION,
158
  ]
159
  );
161
  $this->add_control(
162
  'premium_carousel_extra_class',
163
  [
164
+ 'label' => esc_html__( 'Extra Class', 'premium-addons-for-elementor' ),
165
  'type' => Controls_Manager::TEXT
166
  ]
167
  );
171
  $this->start_controls_section(
172
  'premium_carousel_navigation',
173
  [
174
+ 'label' => esc_html__( 'Navigation', 'premium-addons-for-elementor' ),
175
  'tab' => Controls_Manager::TAB_STYLE
176
  ]
177
  );
179
  $this->add_control(
180
  'premium_carousel_navigation_show',
181
  [
182
+ 'label' => esc_html__( 'Navigation Arrows', 'premium-addons-for-elementor' ),
183
+ 'description' => esc_html__( 'Enable or disable navigation arrows', 'premium-addons-for-elementor' ),
184
  'type' => Controls_Manager::SWITCHER,
185
  'default' => 'yes'
186
  ]
189
  $this->add_control(
190
  'premium_carousel_arrow_style',
191
  [
192
+ 'label' => esc_html__( 'Arrow Style', 'premium-addons-for-elementor' ),
193
  'type' => Controls_Manager::SELECT,
194
  'default' => 'default',
195
  'options' => [
196
+ 'default' => esc_html__( 'Default', 'premium-addons-for-elementor' ),
197
+ 'circle-bg' => esc_html__( 'Circle Background', 'premium-addons-for-elementor' ),
198
+ 'square-bg' => esc_html__( 'Square Background', 'premium-addons-for-elementor' ),
199
+ 'circle-border' => esc_html__( 'Circle border', 'premium-addons-for-elementor' ),
200
+ 'square-border' => esc_html__( 'Square border', 'premium-addons-for-elementor' ),
201
  ],
202
  'condition' => [
203
  'premium_carousel_navigation_show' => 'yes'
208
  $this->add_control(
209
  'premium_carousel_arrow_bg_color',
210
  [
211
+ 'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
212
  'type' => Controls_Manager::COLOR,
213
  'scheme' => [
214
  'type' => Scheme_Color::get_type(),
227
  $this->add_control(
228
  'premium_carousel_arrow_border_color',
229
  [
230
+ 'label' => esc_html__( 'Border Color', 'premium-addons-for-elementor' ),
231
  'type' => Controls_Manager::COLOR,
232
  'scheme' => [
233
  'type' => Scheme_Color::get_type(),
246
  $this->add_control(
247
  'premium_carousel_border_size',
248
  [
249
+ 'label' => esc_html__( 'Border Size', 'premium-addons-for-elementor' ),
250
  'type' => Controls_Manager::SLIDER,
251
  'default' => [
252
  'size' => 1,
270
  $this->add_control(
271
  'premium_carousel_arrow_color',
272
  [
273
+ 'label' => esc_html__( 'Arrow Color', 'premium-addons-for-elementor' ),
274
  'type' => Controls_Manager::COLOR,
275
  'scheme' => [
276
  'type' => Scheme_Color::get_type(),
288
  $this->add_control(
289
  'premium_carousel_arrow_size',
290
  [
291
+ 'label' => esc_html__( 'Arrow Size', 'premium-addons-for-elementor' ),
292
  'type' => Controls_Manager::SLIDER,
293
  'default' => [
294
  'size' => 14,
311
  $this->add_control(
312
  'premium_carousel_arrow_icon_next',
313
  [
314
+ 'label' => esc_html__( 'Select Icon for \'Next Arrow\'', 'premium-addons-for-elementor' ),
315
  'type' => Controls_Manager::CHOOSE,
316
  'options' => [
317
  'right_arrow_bold' => [
342
  $this->add_control(
343
  'premium_carousel_arrow_icon_next_ver',
344
  [
345
+ 'label' => esc_html__( 'Select Icon for \'Bottom Arrow\'', 'premium-addons-for-elementor' ),
346
  'type' => Controls_Manager::CHOOSE,
347
  'options' => [
348
  'right_arrow_bold' => [
372
  $this->add_control(
373
  'premium_carousel_arrow_icon_prev',
374
  [
375
+ 'label' => esc_html__( 'Select Icon for \'Prev Arrow\'', 'premium-addons-for-elementor' ),
376
  'type' => Controls_Manager::CHOOSE,
377
  'options' => [
378
  'left_arrow_bold' => [
403
  $this->add_control(
404
  'premium_carousel_arrow_icon_prev_ver',
405
  [
406
+ 'label' => esc_html__( 'Select Icon for \'Up Arrow\'', 'premium-addons-for-elementor' ),
407
  'type' => Controls_Manager::CHOOSE,
408
  'options' => [
409
  'left_arrow_bold' => [
433
  $this->add_control(
434
  'premium_carousel_dot_navigation_show',
435
  [
436
+ 'label' => esc_html__( 'Navigation Dots', 'premium-addons-for-elementor' ),
437
+ 'description' => esc_html__( 'Enable or disable navigation dots', 'premium-addons-for-elementor' ),
438
  'type' => Controls_Manager::SWITCHER,
439
  'default' => 'yes'
440
  ]
443
  $this->add_control(
444
  'premium_carousel_dot_navigation_color',
445
  [
446
+ 'label' => esc_html__( 'Navigation Dots Color', 'premium-addons-for-elementor' ),
447
  'type' => Controls_Manager::COLOR,
448
  'scheme' => [
449
  'type' => Scheme_Color::get_type(),
461
  $this->add_control(
462
  'premium_carousel_dot_navigation_active_color',
463
  [
464
+ 'label' => esc_html__( 'Dot Active Color', 'premium-addons-for-elementor' ),
465
  'type' => Controls_Manager::COLOR,
466
  'scheme' => [
467
  'type' => Scheme_Color::get_type(),
479
  $this->add_control(
480
  'premium_carousel_dot_icon',
481
  [
482
+ 'label' => esc_html__( 'Navigation Dots Icon', 'premium-addons-for-elementor' ),
483
  'type' => Controls_Manager::CHOOSE,
484
  'options' => [
485
  'square_white' => [
510
  $this->start_controls_section(
511
  'premium-carousel-advance-settings',
512
  [
513
+ 'label' => esc_html__( 'Advanced Settings' , 'premium-addons-for-elementor' ),
514
  'tab' => Controls_Manager::TAB_STYLE
515
  ]
516
  );
518
  $this->add_control(
519
  'premium_carousel_draggable_effect',
520
  [
521
+ 'label' => esc_html__( 'Draggable Effect', 'premium-addons-for-elementor' ),
522
+ 'description' => esc_html__( 'Allow the slides to be dragged by mouse click', 'premium-addons-for-elementor' ),
523
  'type' => Controls_Manager::SWITCHER,
524
  'default' => 'yes'
525
  ]
528
  $this->add_control(
529
  'premium_carousel_touch_move',
530
  [
531
+ 'label' => esc_html__( 'Touch Move', 'premium-addons-for-elementor' ),
532
+ 'description' => esc_html__( 'Enable slide moving with touch', 'premium-addons-for-elementor' ),
533
  'type' => Controls_Manager::SWITCHER,
534
  'default' => 'yes'
535
  ]
538
  $this->add_control(
539
  'premium_carousel_RTL_Mode',
540
  [
541
+ 'label' => esc_html__( 'RTL Mode', 'premium-addons-for-elementor' ),
542
+ 'description' => esc_html__( 'Turn on RTL mode if your language starts from right to left', 'premium-addons-for-elementor' ),
543
  'type' => Controls_Manager::SWITCHER,
544
  'default' => 'no',
545
  'condition' => [
551
  $this->add_control(
552
  'premium_carousel_adaptive_height',
553
  [
554
+ 'label' => esc_html__( 'Adaptive Height', 'premium-addons-for-elementor' ),
555
+ 'description' => esc_html__( 'Adaptive height setting gives each slide a fixed height to avoid huge white space gaps', 'premium-addons-for-elementor' ),
556
  'type' => Controls_Manager::SWITCHER,
557
  'default' => 'no'
558
  ]
561
  $this->add_control(
562
  'premium_carousel_pausehover',
563
  [
564
+ 'label' => esc_html__( 'Pause on Hover', 'premium-addons-for-elementor' ),
565
+ 'description' => esc_html__( 'Pause the slider when mouse hover', 'premium-addons-for-elementor' ),
566
  'type' => Controls_Manager::SWITCHER,
567
  'default' => 'no'
568
  ]
571
  $this->add_control(
572
  'premium_carousel_center_mode',
573
  [
574
+ 'label' => esc_html__( 'Center Mode', 'premium-addons-for-elementor' ),
575
+ 'description' => esc_html__( 'Center mode enables a centered view with partial next/previous slides. Animations and all visible scroll type doesn\'t work with this mode', 'premium-addons-for-elementor' ),
576
  'type' => Controls_Manager::SWITCHER,
577
  'default' => 'no'
578
  ]
581
  $this->add_control(
582
  'premium_carousel_space_btw_items',
583
  [
584
+ 'label' => esc_html__( 'Space Between Two Items', 'premium-addons-for-elementor' ),
585
+ 'description' => esc_html__('Set a spacing value in pixels (px)', 'premium-addons-for-elementor'),
586
  'type' => Controls_Manager::NUMBER,
587
  'default' => '15'
588
  ]
widgets/premium-contactform.php CHANGED
@@ -10,7 +10,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return esc_html__( 'Premium Contact Form7', 'premium_elementor' );
14
  }
15
 
16
  public function get_icon() {
@@ -19,13 +19,16 @@ class Premium_ContactForm7_Widget extends Widget_Base {
19
  public function get_categories() {
20
  return array( 'premium-elements' );
21
  }
 
 
 
22
  protected function _register_controls() {
23
 
24
 
25
  $this->start_controls_section(
26
  'premium_section_wpcf7_form',
27
  [
28
- 'label' => esc_html__( 'Contact Form', 'premium-elements' )
29
  ]
30
  );
31
 
@@ -33,7 +36,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
33
  $this->add_control(
34
  'premium_wpcf7_form',
35
  [
36
- 'label' => esc_html__( 'Select Your Contact Form', 'premium-elements' ),
37
  'label_block' => true,
38
  'type' => Controls_Manager::SELECT,
39
  'options' => $this->premium_contact_form(),
@@ -46,14 +49,14 @@ class Premium_ContactForm7_Widget extends Widget_Base {
46
  $this->start_controls_section(
47
  'section_contact_form_styles',
48
  [
49
- 'label' => esc_html__( 'Form', 'premium-elements' ),
50
  'tab' => Controls_Manager::TAB_STYLE
51
  ]
52
  );
53
  $this->add_control(
54
  'premium_elements_input_background',
55
  [
56
- 'label' => esc_html__( 'Input Field Background', 'premium-elements' ),
57
  'type' => Controls_Manager::COLOR,
58
  'selectors' => [
59
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-text, {{WRAPPER}} .premium-elements-contact-form-container textarea.wpcf7-textarea' => 'background: {{VALUE}};',
@@ -65,7 +68,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
65
  $this->add_responsive_control(
66
  'premium_elements_input_width',
67
  [
68
- 'label' => esc_html__( 'Input Field Width', 'premium-elements' ),
69
  'type' => Controls_Manager::SLIDER,
70
  'size_units' => [ 'px', 'em', '%' ],
71
  'range' => [
@@ -88,7 +91,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
88
  $this->add_responsive_control(
89
  'premium_elements_textarea_width',
90
  [
91
- 'label' => esc_html__( 'Text-box Width', 'premium-elements' ),
92
  'type' => Controls_Manager::SLIDER,
93
  'size_units' => [ 'px', 'em', '%' ],
94
  'range' => [
@@ -110,7 +113,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
110
  $this->add_responsive_control(
111
  'premium_elements_input_padding',
112
  [
113
- 'label' => esc_html__( 'Padding', 'premium-elements' ),
114
  'type' => Controls_Manager::DIMENSIONS,
115
  'size_units' => [ 'px', 'em', '%' ],
116
  'selectors' => [
@@ -130,7 +133,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
130
  $this->add_control(
131
  'premium_elements_input_border_radius',
132
  [
133
- 'label' => esc_html__( 'Border Radius', 'premium-elements' ),
134
  'type' => Controls_Manager::DIMENSIONS,
135
  'separator' => 'before',
136
  'size_units' => [ 'px' ],
@@ -143,7 +146,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
143
  $this->add_control(
144
  'premium_elements_input_focus',
145
  [
146
- 'label' => esc_html__( 'Focus Border Color', 'premium-elements' ),
147
  'type' => Controls_Manager::COLOR,
148
  'selectors' => [
149
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-text:focus, {{WRAPPER}} .premium-elements-contact-form-container textarea.wpcf7-textarea:focus' => 'border-color: {{VALUE}};',
@@ -154,7 +157,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
154
  $this->add_control(
155
  'premium_elements_input_focus_border_animation',
156
  [
157
- 'label' => esc_html__( 'Focus Border Animation', 'premium-elements' ),
158
  'type' => Controls_Manager::SELECT,
159
  'options' => array(
160
  'premium_border_animation1' => 'On',
@@ -167,7 +170,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
167
  $this->add_control(
168
  'premium_elements_input_focus_border_color',
169
  [
170
- 'label' => esc_html__( 'Focus Line Color', 'premium-elements' ),
171
  'type' => Controls_Manager::COLOR,
172
  'condition' => [
173
  'premium_elements_input_focus_border_animation' => 'premium_border_animation1'
@@ -193,7 +196,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
193
  $this->start_controls_section(
194
  'section_contact_form_typography',
195
  [
196
- 'label' => esc_html__( 'Labels', 'premium-elements' ),
197
  'tab' => Controls_Manager::TAB_STYLE
198
  ]
199
  );
@@ -203,14 +206,14 @@ class Premium_ContactForm7_Widget extends Widget_Base {
203
  'premium_elements_heading_default',
204
  [
205
  'type' => Controls_Manager::HEADING,
206
- 'label' => esc_html__( 'Default Typography', 'premium-elements' ),
207
  ]
208
  );
209
 
210
  $this->add_control(
211
  'premium_elements_contact_form_color',
212
  [
213
- 'label' => esc_html__( 'Default Font Color', 'premium-elements' ),
214
  'type' => Controls_Manager::COLOR,
215
  'scheme' => [
216
  'type' => Scheme_Color::get_type(),
@@ -235,7 +238,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
235
  'premium_elements_heading_input',
236
  [
237
  'type' => Controls_Manager::HEADING,
238
- 'label' => esc_html__( 'Input Typography', 'premium-elements' ),
239
  'separator' => 'before',
240
  ]
241
  );
@@ -243,7 +246,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
243
  $this->add_control(
244
  'premium_elements_contact_form_field_color',
245
  [
246
- 'label' => esc_html__( 'Input Text Color', 'premium-elements' ),
247
  'type' => Controls_Manager::COLOR,
248
  'scheme' => [
249
  'type' => Scheme_Color::get_type(),
@@ -268,7 +271,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
268
  $this->add_control(
269
  'premium_elements_contact_form_placeholder_color',
270
  [
271
- 'label' => esc_html__( 'Placeholder Color', 'premium-elements' ),
272
  'type' => Controls_Manager::COLOR,
273
  'selectors' => [
274
  '{{WRAPPER}} .premium-elements-contact-form-container ::-webkit-input-placeholder' => 'color: {{VALUE}};',
@@ -284,7 +287,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
284
  $this->start_controls_section(
285
  'section_contact_form_submit_button_styles',
286
  [
287
- 'label' => esc_html__( 'Button', 'premium-elements' ),
288
  'tab' => Controls_Manager::TAB_STYLE
289
  ]
290
  );
@@ -301,7 +304,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
301
  $this->add_responsive_control(
302
  'section_title_premium_btn_padding',
303
  [
304
- 'label' => esc_html__( 'Padding', 'premium-elements' ),
305
  'type' => Controls_Manager::DIMENSIONS,
306
  'size_units' => [ 'px', 'em', '%' ],
307
  'selectors' => [
@@ -314,12 +317,12 @@ class Premium_ContactForm7_Widget extends Widget_Base {
314
 
315
  $this->start_controls_tabs( 'premium_elements_button_tabs' );
316
 
317
- $this->start_controls_tab( 'normal', [ 'label' => esc_html__( 'Normal', 'premium-elements' ) ] );
318
 
319
  $this->add_control(
320
  'premium_elements_button_text_color',
321
  [
322
- 'label' => esc_html__( 'Text Color', 'premium-elements' ),
323
  'type' => Controls_Manager::COLOR,
324
  'selectors' => [
325
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit' => 'color: {{VALUE}};',
@@ -332,7 +335,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
332
  $this->add_control(
333
  'premium_elements_button_background_color',
334
  [
335
- 'label' => esc_html__( 'Background Color', 'premium-elements' ),
336
  'type' => Controls_Manager::COLOR,
337
  'scheme' => [
338
  'type' => Scheme_Color::get_type(),
@@ -355,7 +358,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
355
  $this->add_control(
356
  'premium_elements_btn_border_radius',
357
  [
358
- 'label' => esc_html__( 'Border Radius', 'premium-elements' ),
359
  'type' => Controls_Manager::SLIDER,
360
  'range' => [
361
  'px' => [
@@ -372,12 +375,12 @@ class Premium_ContactForm7_Widget extends Widget_Base {
372
 
373
  $this->end_controls_tab();
374
 
375
- $this->start_controls_tab( 'premium_elements_hover', [ 'label' => esc_html__( 'Hover', 'premium-elements' ) ] );
376
 
377
  $this->add_control(
378
  'premium_elements_button_hover_text_color',
379
  [
380
- 'label' => esc_html__( 'Text Color', 'premium-elements' ),
381
  'type' => Controls_Manager::COLOR,
382
  'selectors' => [
383
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit:hover' => 'color: {{VALUE}};',
@@ -388,7 +391,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
388
  $this->add_control(
389
  'premium_elements_button_hover_background_color',
390
  [
391
- 'label' => esc_html__( 'Background Color', 'premium-elements' ),
392
  'type' => Controls_Manager::COLOR,
393
  'selectors' => [
394
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit:hover' => 'background-color: {{VALUE}};',
@@ -399,7 +402,7 @@ class Premium_ContactForm7_Widget extends Widget_Base {
399
  $this->add_control(
400
  'premium_elements_button_hover_border_color',
401
  [
402
- 'label' => esc_html__( 'Border Color', 'premium-elements' ),
403
  'type' => Controls_Manager::COLOR,
404
  'selectors' => [
405
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit:hover' => 'border-color: {{VALUE}};',
10
  }
11
 
12
  public function get_title() {
13
+ return esc_html__( 'Premium Contact Form7', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
19
  public function get_categories() {
20
  return array( 'premium-elements' );
21
  }
22
+
23
+ // Adding the controls fields for the premium contact form
24
+ // This will controls the animation, colors and background, dimensions etc
25
  protected function _register_controls() {
26
 
27
 
28
  $this->start_controls_section(
29
  'premium_section_wpcf7_form',
30
  [
31
+ 'label' => esc_html__( 'Contact Form', 'premium-addons-for-elementor' )
32
  ]
33
  );
34
 
36
  $this->add_control(
37
  'premium_wpcf7_form',
38
  [
39
+ 'label' => esc_html__( 'Select Your Contact Form', 'premium-addons-for-elementor' ),
40
  'label_block' => true,
41
  'type' => Controls_Manager::SELECT,
42
  'options' => $this->premium_contact_form(),
49
  $this->start_controls_section(
50
  'section_contact_form_styles',
51
  [
52
+ 'label' => esc_html__( 'Form', 'premium-addons-for-elementor' ),
53
  'tab' => Controls_Manager::TAB_STYLE
54
  ]
55
  );
56
  $this->add_control(
57
  'premium_elements_input_background',
58
  [
59
+ 'label' => esc_html__( 'Input Field Background', 'premium-addons-for-elementor' ),
60
  'type' => Controls_Manager::COLOR,
61
  'selectors' => [
62
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-text, {{WRAPPER}} .premium-elements-contact-form-container textarea.wpcf7-textarea' => 'background: {{VALUE}};',
68
  $this->add_responsive_control(
69
  'premium_elements_input_width',
70
  [
71
+ 'label' => esc_html__( 'Input Field Width', 'premium-addons-for-elementor' ),
72
  'type' => Controls_Manager::SLIDER,
73
  'size_units' => [ 'px', 'em', '%' ],
74
  'range' => [
91
  $this->add_responsive_control(
92
  'premium_elements_textarea_width',
93
  [
94
+ 'label' => esc_html__( 'Text-box Width', 'premium-addons-for-elementor' ),
95
  'type' => Controls_Manager::SLIDER,
96
  'size_units' => [ 'px', 'em', '%' ],
97
  'range' => [
113
  $this->add_responsive_control(
114
  'premium_elements_input_padding',
115
  [
116
+ 'label' => esc_html__( 'Padding', 'premium-addons-for-elementor' ),
117
  'type' => Controls_Manager::DIMENSIONS,
118
  'size_units' => [ 'px', 'em', '%' ],
119
  'selectors' => [
133
  $this->add_control(
134
  'premium_elements_input_border_radius',
135
  [
136
+ 'label' => esc_html__( 'Border Radius', 'premium-addons-for-elementor' ),
137
  'type' => Controls_Manager::DIMENSIONS,
138
  'separator' => 'before',
139
  'size_units' => [ 'px' ],
146
  $this->add_control(
147
  'premium_elements_input_focus',
148
  [
149
+ 'label' => esc_html__( 'Focus Border Color', 'premium-addons-for-elementor' ),
150
  'type' => Controls_Manager::COLOR,
151
  'selectors' => [
152
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-text:focus, {{WRAPPER}} .premium-elements-contact-form-container textarea.wpcf7-textarea:focus' => 'border-color: {{VALUE}};',
157
  $this->add_control(
158
  'premium_elements_input_focus_border_animation',
159
  [
160
+ 'label' => esc_html__( 'Focus Border Animation', 'premium-addons-for-elementor' ),
161
  'type' => Controls_Manager::SELECT,
162
  'options' => array(
163
  'premium_border_animation1' => 'On',
170
  $this->add_control(
171
  'premium_elements_input_focus_border_color',
172
  [
173
+ 'label' => esc_html__( 'Focus Line Color', 'premium-addons-for-elementor' ),
174
  'type' => Controls_Manager::COLOR,
175
  'condition' => [
176
  'premium_elements_input_focus_border_animation' => 'premium_border_animation1'
196
  $this->start_controls_section(
197
  'section_contact_form_typography',
198
  [
199
+ 'label' => esc_html__( 'Labels', 'premium-addons-for-elementor' ),
200
  'tab' => Controls_Manager::TAB_STYLE
201
  ]
202
  );
206
  'premium_elements_heading_default',
207
  [
208
  'type' => Controls_Manager::HEADING,
209
+ 'label' => esc_html__( 'Default Typography', 'premium-addons-for-elementor' ),
210
  ]
211
  );
212
 
213
  $this->add_control(
214
  'premium_elements_contact_form_color',
215
  [
216
+ 'label' => esc_html__( 'Default Font Color', 'premium-addons-for-elementor' ),
217
  'type' => Controls_Manager::COLOR,
218
  'scheme' => [
219
  'type' => Scheme_Color::get_type(),
238
  'premium_elements_heading_input',
239
  [
240
  'type' => Controls_Manager::HEADING,
241
+ 'label' => esc_html__( 'Input Typography', 'premium-addons-for-elementor' ),
242
  'separator' => 'before',
243
  ]
244
  );
246
  $this->add_control(
247
  'premium_elements_contact_form_field_color',
248
  [
249
+ 'label' => esc_html__( 'Input Text Color', 'premium-addons-for-elementor' ),
250
  'type' => Controls_Manager::COLOR,
251
  'scheme' => [
252
  'type' => Scheme_Color::get_type(),
271
  $this->add_control(
272
  'premium_elements_contact_form_placeholder_color',
273
  [
274
+ 'label' => esc_html__( 'Placeholder Color', 'premium-addons-for-elementor' ),
275
  'type' => Controls_Manager::COLOR,
276
  'selectors' => [
277
  '{{WRAPPER}} .premium-elements-contact-form-container ::-webkit-input-placeholder' => 'color: {{VALUE}};',
287
  $this->start_controls_section(
288
  'section_contact_form_submit_button_styles',
289
  [
290
+ 'label' => esc_html__( 'Button', 'premium-addons-for-elementor' ),
291
  'tab' => Controls_Manager::TAB_STYLE
292
  ]
293
  );
304
  $this->add_responsive_control(
305
  'section_title_premium_btn_padding',
306
  [
307
+ 'label' => esc_html__( 'Padding', 'premium-addons-for-elementor' ),
308
  'type' => Controls_Manager::DIMENSIONS,
309
  'size_units' => [ 'px', 'em', '%' ],
310
  'selectors' => [
317
 
318
  $this->start_controls_tabs( 'premium_elements_button_tabs' );
319
 
320
+ $this->start_controls_tab( 'normal', [ 'label' => esc_html__( 'Normal', 'premium-addons-for-elementor' ) ] );
321
 
322
  $this->add_control(
323
  'premium_elements_button_text_color',
324
  [
325
+ 'label' => esc_html__( 'Text Color', 'premium-addons-for-elementor' ),
326
  'type' => Controls_Manager::COLOR,
327
  'selectors' => [
328
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit' => 'color: {{VALUE}};',
335
  $this->add_control(
336
  'premium_elements_button_background_color',
337
  [
338
+ 'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
339
  'type' => Controls_Manager::COLOR,
340
  'scheme' => [
341
  'type' => Scheme_Color::get_type(),
358
  $this->add_control(
359
  'premium_elements_btn_border_radius',
360
  [
361
+ 'label' => esc_html__( 'Border Radius', 'premium-addons-for-elementor' ),
362
  'type' => Controls_Manager::SLIDER,
363
  'range' => [
364
  'px' => [
375
 
376
  $this->end_controls_tab();
377
 
378
+ $this->start_controls_tab( 'premium_elements_hover', [ 'label' => esc_html__( 'Hover', 'premium-addons-for-elementor' ) ] );
379
 
380
  $this->add_control(
381
  'premium_elements_button_hover_text_color',
382
  [
383
+ 'label' => esc_html__( 'Text Color', 'premium-addons-for-elementor' ),
384
  'type' => Controls_Manager::COLOR,
385
  'selectors' => [
386
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit:hover' => 'color: {{VALUE}};',
391
  $this->add_control(
392
  'premium_elements_button_hover_background_color',
393
  [
394
+ 'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
395
  'type' => Controls_Manager::COLOR,
396
  'selectors' => [
397
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit:hover' => 'background-color: {{VALUE}};',
402
  $this->add_control(
403
  'premium_elements_button_hover_border_color',
404
  [
405
+ 'label' => esc_html__( 'Border Color', 'premium-addons-for-elementor' ),
406
  'type' => Controls_Manager::COLOR,
407
  'selectors' => [
408
  '{{WRAPPER}} .premium-elements-contact-form-container input.wpcf7-submit:hover' => 'border-color: {{VALUE}};',
widgets/premium-countdown.php CHANGED
@@ -10,7 +10,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return esc_html__( 'Premium Countdown', 'premium_elementor' );
14
  }
15
 
16
  public function get_icon() {
@@ -18,7 +18,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
18
  }
19
 
20
  public function get_script_depends() {
21
- return [ 'countdowntimer.js' ];
22
  }
23
 
24
  public function get_categories() {
@@ -31,18 +31,18 @@ class Premium_Counter_Down_Widget extends Widget_Base {
31
  $this->start_controls_section(
32
  'premium_countdown_global_settings',
33
  [
34
- 'label' => esc_html__( 'Countdown Settings', 'premium_elementor' )
35
  ]
36
  );
37
 
38
  $this->add_control(
39
  'premium_countdown_style',
40
  [
41
- 'label' => esc_html__( 'Countdown Style', 'premium_elementor' ),
42
  'type' => Controls_Manager::SELECT,
43
  'options' => [
44
- 'd-u-s' => esc_html__( 'Digit and Unit Side by Side', 'premium_elementor' ),
45
- 'd-u-u' => esc_html__( 'Digit and Unit Up and Down', 'premium_elementor' ),
46
  ],
47
  'default' => 'd-u-u'
48
  ]
@@ -51,7 +51,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
51
  $this->add_control(
52
  'premium_countdown_date_time',
53
  [
54
- 'label' => esc_html__( 'Target Date and Time', 'premium_elementor' ),
55
  'type' => Controls_Manager::DATE_TIME,
56
  'picker_options' => [
57
  'format' => 'Y/m/d H:m:s'
@@ -64,31 +64,31 @@ class Premium_Counter_Down_Widget extends Widget_Base {
64
  $this->add_control(
65
  'premium_countdown_s_u_time',
66
  [
67
- 'label' => esc_html__( 'Countdown Timer Depends On', 'premium_elementor' ),
68
  'type' => Controls_Manager::SELECT,
69
  'options' => [
70
- 'wp-time' => esc_html__('WordPress Default', 'premium_elementor' ),
71
- 'user-time' => esc_html__('User Local Time', 'premium_elementor' )
72
  ],
73
  'default' => 'wp-time',
74
- 'description' => esc_html__('This will set the current time of the option that you will choose.', 'premium_elementor')
75
  ]
76
  );
77
 
78
  $this->add_control(
79
  'premium_countdown_units',
80
  [
81
- 'label' => esc_html__( 'Select Time Units', 'premium_elementor' ),
82
  'type' => Controls_Manager::SELECT2,
83
- 'description' => esc_html__('Select the time units that you want to display in countdown timer.', 'premium_elementor' ),
84
  'options' => [
85
- 'Y' => esc_html__( 'Years', 'premium_elementor' ),
86
- 'O' => esc_html__( 'Month', 'premium_elementor' ),
87
- 'W' => esc_html__( 'Week', 'premium_elementor' ),
88
- 'D' => esc_html__( 'Day', 'premium_elementor' ),
89
- 'H' => esc_html__( 'Hours', 'premium_elementor' ),
90
- 'M' => esc_html__( 'Minutes', 'premium_elementor' ),
91
- 'S' => esc_html__( 'Second', 'premium_elementor' ),
92
  ],
93
  'default' => [
94
  'O',
@@ -107,20 +107,20 @@ class Premium_Counter_Down_Widget extends Widget_Base {
107
  $this->start_controls_section(
108
  'premium_countdown_on_expire_settings',
109
  [
110
- 'label' => esc_html__( 'Expire Settings' , 'premium_elementor' )
111
  ]
112
  );
113
 
114
  $this->add_control(
115
  'premium_countdown_expire_text_url',
116
  [
117
- 'label' => esc_html__('Expire Text or Redirection Link', 'premium_elementor'),
118
  'label_block' => false,
119
  'type' => Controls_Manager::SELECT,
120
- 'description' => esc_html__('Choose whether if you want to set a message or a redirect link', 'premium_elementor'),
121
  'options' => [
122
- 'text' => esc_html__('Text', 'premium_elementor'),
123
- 'url' => esc_html__('URL', 'premium_elementor')
124
  ],
125
  'default' => 'text'
126
  ]
@@ -129,7 +129,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
129
  $this->add_control(
130
  'premium_countdown_expiry_text_',
131
  [
132
- 'label' => esc_html__('On expiry Text', 'premium_elementor'),
133
  'type' => Controls_Manager::WYSIWYG,
134
  'default' => esc_html__('Countdown is finished!','prmeium_elementor'),
135
  'condition' => [
@@ -141,7 +141,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
141
  $this->add_control(
142
  'premium_countdown_expiry_redirection_',
143
  [
144
- 'label' => esc_html__('Redirect To', 'premium_elementor'),
145
  'type' => Controls_Manager::TEXT,
146
  'condition' => [
147
  'premium_countdown_expire_text_url' => 'url'
@@ -155,14 +155,14 @@ class Premium_Counter_Down_Widget extends Widget_Base {
155
  $this->start_controls_section(
156
  'premium_countdown_transaltion',
157
  [
158
- 'label' => esc_html__( 'Strings Translation' , 'premium_elementor' )
159
  ]
160
  );
161
 
162
  $this->add_control(
163
  'premium_countdown_day_singular',
164
  [
165
- 'label' => esc_html__( 'Day (Singular)', 'premium_elementor' ),
166
  'type' => Controls_Manager::TEXT,
167
  'default' => 'Day'
168
  ]
@@ -171,7 +171,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
171
  $this->add_control(
172
  'premium_countdown_day_plural',
173
  [
174
- 'label' => esc_html__( 'Day (Plural)', 'premium_elementor' ),
175
  'type' => Controls_Manager::TEXT,
176
  'default' => 'Days'
177
  ]
@@ -180,7 +180,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
180
  $this->add_control(
181
  'premium_countdown_week_singular',
182
  [
183
- 'label' => esc_html__( 'Week (Singular)', 'premium_elementor' ),
184
  'type' => Controls_Manager::TEXT,
185
  'default' => 'Week'
186
  ]
@@ -189,7 +189,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
189
  $this->add_control(
190
  'premium_countdown_week_plural',
191
  [
192
- 'label' => esc_html__( 'Weeks (Plural)', 'premium_elementor' ),
193
  'type' => Controls_Manager::TEXT,
194
  'default' => 'Weeks'
195
  ]
@@ -199,7 +199,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
199
  $this->add_control(
200
  'premium_countdown_month_singular',
201
  [
202
- 'label' => esc_html__( 'Month (Singular)', 'premium_elementor' ),
203
  'type' => Controls_Manager::TEXT,
204
  'default' => 'Month'
205
  ]
@@ -209,7 +209,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
209
  $this->add_control(
210
  'premium_countdown_month_plural',
211
  [
212
- 'label' => esc_html__( 'Months (Plural)', 'premium_elementor' ),
213
  'type' => Controls_Manager::TEXT,
214
  'default' => 'Months'
215
  ]
@@ -219,7 +219,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
219
  $this->add_control(
220
  'premium_countdown_year_singular',
221
  [
222
- 'label' => esc_html__( 'Year (Singular)', 'premium_elementor' ),
223
  'type' => Controls_Manager::TEXT,
224
  'default' => 'Year'
225
  ]
@@ -229,7 +229,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
229
  $this->add_control(
230
  'premium_countdown_year_plural',
231
  [
232
- 'label' => esc_html__( 'Years (Plural)', 'premium_elementor' ),
233
  'type' => Controls_Manager::TEXT,
234
  'default' => 'Years'
235
  ]
@@ -239,7 +239,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
239
  $this->add_control(
240
  'premium_countdown_hour_singular',
241
  [
242
- 'label' => esc_html__( 'Hour (Singular)', 'premium_elementor' ),
243
  'type' => Controls_Manager::TEXT,
244
  'default' => 'Hour'
245
  ]
@@ -249,7 +249,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
249
  $this->add_control(
250
  'premium_countdown_hour_plural',
251
  [
252
- 'label' => esc_html__( 'Hours (Plural)', 'premium_elementor' ),
253
  'type' => Controls_Manager::TEXT,
254
  'default' => 'Hours'
255
  ]
@@ -259,7 +259,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
259
  $this->add_control(
260
  'premium_countdown_minute_singular',
261
  [
262
- 'label' => esc_html__( 'Minute (Singular)', 'premium_elementor' ),
263
  'type' => Controls_Manager::TEXT,
264
  'default' => 'Minute'
265
  ]
@@ -268,7 +268,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
268
  $this->add_control(
269
  'premium_countdown_minute_plural',
270
  [
271
- 'label' => esc_html__( 'Minutes (Plural)', 'premium_elementor' ),
272
  'type' => Controls_Manager::TEXT,
273
  'default' => 'Minutes'
274
  ]
@@ -277,7 +277,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
277
  $this->add_control(
278
  'premium_countdown_second_singular',
279
  [
280
- 'label' => esc_html__( 'Second (Singular)', 'premium_elementor' ),
281
  'type' => Controls_Manager::TEXT,
282
  'default' => 'Second',
283
  ]
@@ -286,7 +286,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
286
  $this->add_control(
287
  'premium_countdown_second_plural',
288
  [
289
- 'label' => esc_html__( 'Seconds (Plural)', 'premium_elementor' ),
290
  'type' => Controls_Manager::TEXT,
291
  'default' => 'Seconds'
292
  ]
@@ -297,7 +297,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
297
  $this->start_controls_section(
298
  'premium_countdown_typhography',
299
  [
300
- 'label' => esc_html__( 'Digits' , 'premium_elementor' ),
301
  'tab' => Controls_Manager::TAB_STYLE
302
  ]
303
  );
@@ -305,7 +305,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
305
  $this->add_control(
306
  'premium_countdown_digit_color',
307
  [
308
- 'label' => esc_html__( 'Digits Color', 'premium_elementor' ),
309
  'type' => Controls_Manager::COLOR,
310
  'scheme' => [
311
  'type' => Scheme_Color::get_type(),
@@ -331,7 +331,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
331
  $this->add_control(
332
  'premium_countdown_timer_digit_bg_color',
333
  [
334
- 'label' => esc_html__( 'Background Color', 'premium_elementor' ),
335
  'type' => Controls_Manager::COLOR,
336
  'scheme' => [
337
  'type' => Scheme_Color::get_type(),
@@ -346,7 +346,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
346
  $this->add_responsive_control(
347
  'premium_countdown_digit_bg_size',
348
  [
349
- 'label' => esc_html__( 'Background Size', 'premium_elementor' ),
350
  'type' => Controls_Manager::SLIDER,
351
  'default' => [
352
  'size' => 30
@@ -372,7 +372,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
372
 
373
  $this->add_control('premium_countdown_digit_border_radius',
374
  [
375
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
376
  'type' => Controls_Manager::SLIDER,
377
  'size_units' => ['px', '%', 'em'],
378
  'selectors' => [
@@ -385,7 +385,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
385
 
386
  $this->start_controls_section('premium_countdown_unit_style',
387
  [
388
- 'label' => esc_html__('Unit', 'premium_elementor'),
389
  'tab' => Controls_Manager::TAB_STYLE,
390
  ]
391
  );
@@ -393,7 +393,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
393
  $this->add_control(
394
  'premium_countdown_unit_color',
395
  [
396
- 'label' => esc_html__( 'Units Color', 'premium_elementor' ),
397
  'type' => Controls_Manager::COLOR,
398
  'scheme' => [
399
  'type' => Scheme_Color::get_type(),
@@ -418,7 +418,7 @@ class Premium_Counter_Down_Widget extends Widget_Base {
418
  $this->add_responsive_control(
419
  'premium_countdown_separator_width',
420
  [
421
- 'label' => esc_html__( 'Separator Width', 'premium_elementor' ),
422
  'type' => Controls_Manager::SLIDER,
423
  'default' => [
424
  'size' => 40,
10
  }
11
 
12
  public function get_title() {
13
+ return esc_html__( 'Premium Countdown', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
18
  }
19
 
20
  public function get_script_depends() {
21
+ return [ 'count-down-timer-js' ];
22
  }
23
 
24
  public function get_categories() {
31
  $this->start_controls_section(
32
  'premium_countdown_global_settings',
33
  [
34
+ 'label' => esc_html__( 'Countdown Settings', 'premium-addons-for-elementor' )
35
  ]
36
  );
37
 
38
  $this->add_control(
39
  'premium_countdown_style',
40
  [
41
+ 'label' => esc_html__( 'Countdown Style', 'premium-addons-for-elementor' ),
42
  'type' => Controls_Manager::SELECT,
43
  'options' => [
44
+ 'd-u-s' => esc_html__( 'Digit and Unit Side by Side', 'premium-addons-for-elementor' ),
45
+ 'd-u-u' => esc_html__( 'Digit and Unit Up and Down', 'premium-addons-for-elementor' ),
46
  ],
47
  'default' => 'd-u-u'
48
  ]
51
  $this->add_control(
52
  'premium_countdown_date_time',
53
  [
54
+ 'label' => esc_html__( 'Target Date and Time', 'premium-addons-for-elementor' ),
55
  'type' => Controls_Manager::DATE_TIME,
56
  'picker_options' => [
57
  'format' => 'Y/m/d H:m:s'
64
  $this->add_control(
65
  'premium_countdown_s_u_time',
66
  [
67
+ 'label' => esc_html__( 'Countdown Timer Depends On', 'premium-addons-for-elementor' ),
68
  'type' => Controls_Manager::SELECT,
69
  'options' => [
70
+ 'wp-time' => esc_html__('WordPress Default', 'premium-addons-for-elementor' ),
71
+ 'user-time' => esc_html__('User Local Time', 'premium-addons-for-elementor' )
72
  ],
73
  'default' => 'wp-time',
74
+ 'description' => esc_html__('This will set the current time of the option that you will choose.', 'premium-addons-for-elementor')
75
  ]
76
  );
77
 
78
  $this->add_control(
79
  'premium_countdown_units',
80
  [
81
+ 'label' => esc_html__( 'Select Time Units', 'premium-addons-for-elementor' ),
82
  'type' => Controls_Manager::SELECT2,
83
+ 'description' => esc_html__('Select the time units that you want to display in countdown timer.', 'premium-addons-for-elementor' ),
84
  'options' => [
85
+ 'Y' => esc_html__( 'Years', 'premium-addons-for-elementor' ),
86
+ 'O' => esc_html__( 'Month', 'premium-addons-for-elementor' ),
87
+ 'W' => esc_html__( 'Week', 'premium-addons-for-elementor' ),
88
+ 'D' => esc_html__( 'Day', 'premium-addons-for-elementor' ),
89
+ 'H' => esc_html__( 'Hours', 'premium-addons-for-elementor' ),
90
+ 'M' => esc_html__( 'Minutes', 'premium-addons-for-elementor' ),
91
+ 'S' => esc_html__( 'Second', 'premium-addons-for-elementor' ),
92
  ],
93
  'default' => [
94
  'O',
107
  $this->start_controls_section(
108
  'premium_countdown_on_expire_settings',
109
  [
110
+ 'label' => esc_html__( 'Expire Settings' , 'premium-addons-for-elementor' )
111
  ]
112
  );
113
 
114
  $this->add_control(
115
  'premium_countdown_expire_text_url',
116
  [
117
+ 'label' => esc_html__('Expire Text or Redirection Link', 'premium-addons-for-elementor'),
118
  'label_block' => false,
119
  'type' => Controls_Manager::SELECT,
120
+ 'description' => esc_html__('Choose whether if you want to set a message or a redirect link', 'premium-addons-for-elementor'),
121
  'options' => [
122
+ 'text' => esc_html__('Text', 'premium-addons-for-elementor'),
123
+ 'url' => esc_html__('URL', 'premium-addons-for-elementor')
124
  ],
125
  'default' => 'text'
126
  ]
129
  $this->add_control(
130
  'premium_countdown_expiry_text_',
131
  [
132
+ 'label' => esc_html__('On expiry Text', 'premium-addons-for-elementor'),
133
  'type' => Controls_Manager::WYSIWYG,
134
  'default' => esc_html__('Countdown is finished!','prmeium_elementor'),
135
  'condition' => [
141
  $this->add_control(
142
  'premium_countdown_expiry_redirection_',
143
  [
144
+ 'label' => esc_html__('Redirect To', 'premium-addons-for-elementor'),
145
  'type' => Controls_Manager::TEXT,
146
  'condition' => [
147
  'premium_countdown_expire_text_url' => 'url'
155
  $this->start_controls_section(
156
  'premium_countdown_transaltion',
157
  [
158
+ 'label' => esc_html__( 'Strings Translation' , 'premium-addons-for-elementor' )
159
  ]
160
  );
161
 
162
  $this->add_control(
163
  'premium_countdown_day_singular',
164
  [
165
+ 'label' => esc_html__( 'Day (Singular)', 'premium-addons-for-elementor' ),
166
  'type' => Controls_Manager::TEXT,
167
  'default' => 'Day'
168
  ]
171
  $this->add_control(
172
  'premium_countdown_day_plural',
173
  [
174
+ 'label' => esc_html__( 'Day (Plural)', 'premium-addons-for-elementor' ),
175
  'type' => Controls_Manager::TEXT,
176
  'default' => 'Days'
177
  ]
180
  $this->add_control(
181
  'premium_countdown_week_singular',
182
  [
183
+ 'label' => esc_html__( 'Week (Singular)', 'premium-addons-for-elementor' ),
184
  'type' => Controls_Manager::TEXT,
185
  'default' => 'Week'
186
  ]
189
  $this->add_control(
190
  'premium_countdown_week_plural',
191
  [
192
+ 'label' => esc_html__( 'Weeks (Plural)', 'premium-addons-for-elementor' ),
193
  'type' => Controls_Manager::TEXT,
194
  'default' => 'Weeks'
195
  ]
199
  $this->add_control(
200
  'premium_countdown_month_singular',
201
  [
202
+ 'label' => esc_html__( 'Month (Singular)', 'premium-addons-for-elementor' ),
203
  'type' => Controls_Manager::TEXT,
204
  'default' => 'Month'
205
  ]
209
  $this->add_control(
210
  'premium_countdown_month_plural',
211
  [
212
+ 'label' => esc_html__( 'Months (Plural)', 'premium-addons-for-elementor' ),
213
  'type' => Controls_Manager::TEXT,
214
  'default' => 'Months'
215
  ]
219
  $this->add_control(
220
  'premium_countdown_year_singular',
221
  [
222
+ 'label' => esc_html__( 'Year (Singular)', 'premium-addons-for-elementor' ),
223
  'type' => Controls_Manager::TEXT,
224
  'default' => 'Year'
225
  ]
229
  $this->add_control(
230
  'premium_countdown_year_plural',
231
  [
232
+ 'label' => esc_html__( 'Years (Plural)', 'premium-addons-for-elementor' ),
233
  'type' => Controls_Manager::TEXT,
234
  'default' => 'Years'
235
  ]
239
  $this->add_control(
240
  'premium_countdown_hour_singular',
241
  [
242
+ 'label' => esc_html__( 'Hour (Singular)', 'premium-addons-for-elementor' ),
243
  'type' => Controls_Manager::TEXT,
244
  'default' => 'Hour'
245
  ]
249
  $this->add_control(
250
  'premium_countdown_hour_plural',
251
  [
252
+ 'label' => esc_html__( 'Hours (Plural)', 'premium-addons-for-elementor' ),
253
  'type' => Controls_Manager::TEXT,
254
  'default' => 'Hours'
255
  ]
259
  $this->add_control(
260
  'premium_countdown_minute_singular',
261
  [
262
+ 'label' => esc_html__( 'Minute (Singular)', 'premium-addons-for-elementor' ),
263
  'type' => Controls_Manager::TEXT,
264
  'default' => 'Minute'
265
  ]
268
  $this->add_control(
269
  'premium_countdown_minute_plural',
270
  [
271
+ 'label' => esc_html__( 'Minutes (Plural)', 'premium-addons-for-elementor' ),
272
  'type' => Controls_Manager::TEXT,
273
  'default' => 'Minutes'
274
  ]
277
  $this->add_control(
278
  'premium_countdown_second_singular',
279
  [
280
+ 'label' => esc_html__( 'Second (Singular)', 'premium-addons-for-elementor' ),
281
  'type' => Controls_Manager::TEXT,
282
  'default' => 'Second',
283
  ]
286
  $this->add_control(
287
  'premium_countdown_second_plural',
288
  [
289
+ 'label' => esc_html__( 'Seconds (Plural)', 'premium-addons-for-elementor' ),
290
  'type' => Controls_Manager::TEXT,
291
  'default' => 'Seconds'
292
  ]
297
  $this->start_controls_section(
298
  'premium_countdown_typhography',
299
  [
300
+ 'label' => esc_html__( 'Digits' , 'premium-addons-for-elementor' ),
301
  'tab' => Controls_Manager::TAB_STYLE
302
  ]
303
  );
305
  $this->add_control(
306
  'premium_countdown_digit_color',
307
  [
308
+ 'label' => esc_html__( 'Digits Color', 'premium-addons-for-elementor' ),
309
  'type' => Controls_Manager::COLOR,
310
  'scheme' => [
311
  'type' => Scheme_Color::get_type(),
331
  $this->add_control(
332
  'premium_countdown_timer_digit_bg_color',
333
  [
334
+ 'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
335
  'type' => Controls_Manager::COLOR,
336
  'scheme' => [
337
  'type' => Scheme_Color::get_type(),
346
  $this->add_responsive_control(
347
  'premium_countdown_digit_bg_size',
348
  [
349
+ 'label' => esc_html__( 'Background Size', 'premium-addons-for-elementor' ),
350
  'type' => Controls_Manager::SLIDER,
351
  'default' => [
352
  'size' => 30
372
 
373
  $this->add_control('premium_countdown_digit_border_radius',
374
  [
375
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
376
  'type' => Controls_Manager::SLIDER,
377
  'size_units' => ['px', '%', 'em'],
378
  'selectors' => [
385
 
386
  $this->start_controls_section('premium_countdown_unit_style',
387
  [
388
+ 'label' => esc_html__('Unit', 'premium-addons-for-elementor'),
389
  'tab' => Controls_Manager::TAB_STYLE,
390
  ]
391
  );
393
  $this->add_control(
394
  'premium_countdown_unit_color',
395
  [
396
+ 'label' => esc_html__( 'Units Color', 'premium-addons-for-elementor' ),
397
  'type' => Controls_Manager::COLOR,
398
  'scheme' => [
399
  'type' => Scheme_Color::get_type(),
418
  $this->add_responsive_control(
419
  'premium_countdown_separator_width',
420
  [
421
+ 'label' => esc_html__( 'Separator Width', 'premium-addons-for-elementor' ),
422
  'type' => Controls_Manager::SLIDER,
423
  'default' => [
424
  'size' => 40,
widgets/premium-counter.php CHANGED
@@ -10,7 +10,7 @@ class Premium_Counter_Widget extends Widget_Base {
10
  }
11
 
12
  public function get_title() {
13
- return esc_html__( 'Premium Counter', 'premium_elementor' );
14
  }
15
 
16
  public function get_icon() {
@@ -18,7 +18,7 @@ class Premium_Counter_Widget extends Widget_Base {
18
  }
19
 
20
  public function get_script_depends() {
21
- return [ 'countup.js' ];
22
  }
23
 
24
  public function get_categories() {
@@ -30,18 +30,18 @@ class Premium_Counter_Widget extends Widget_Base {
30
  protected function _register_controls() {
31
  $this->start_controls_section('premium_counter_global_settings',
32
  [
33
- 'label' => esc_html__( 'Display Options', 'premium_elementor' )
34
  ]
35
  );
36
 
37
  $this->add_control('premium_counter_icon_image',
38
  [
39
- 'label' => esc_html__( 'Icon Type', 'premium_elementor' ),
40
  'type' => Controls_Manager::SELECT,
41
- 'description' => esc_html__('Use a font awesome icon or upload a custom image', 'premium_elementor'),
42
  'options' => [
43
- 'icon' => esc_html__('Font Awesome Icon', 'premium_elementor'),
44
- 'custom'=> esc_html__( 'Custom Image Icon', 'premium_elementor')
45
  ],
46
  'default' => 'icon'
47
  ]
@@ -49,7 +49,7 @@ class Premium_Counter_Widget extends Widget_Base {
49
 
50
  $this->add_control('premium_counter_icon',
51
  [
52
- 'label' => esc_html__( 'Select an Icon', 'premium_elementor' ),
53
  'type' => Controls_Manager::ICON,
54
  'default' => 'fa fa-clock-o',
55
  'condition' => [
@@ -60,7 +60,7 @@ class Premium_Counter_Widget extends Widget_Base {
60
 
61
  $this->add_control('premium_counter_image_upload',
62
  [
63
- 'label' => esc_html__( 'Upload Image', 'premium_elementor' ),
64
  'type' => Controls_Manager::MEDIA,
65
  'condition' => [
66
  'premium_counter_icon_image' => 'custom'
@@ -73,7 +73,7 @@ class Premium_Counter_Widget extends Widget_Base {
73
 
74
  $this->add_responsive_control('premium_counter_icon_size',
75
  [
76
- 'label' => esc_html__( 'Icon Size', 'premium_elementor' ),
77
  'type' => Controls_Manager::SLIDER,
78
  'default' => [
79
  'size' => 70,
@@ -95,7 +95,7 @@ class Premium_Counter_Widget extends Widget_Base {
95
 
96
  $this->add_responsive_control('premium_counter_image_size',
97
  [
98
- 'label' => esc_html__( 'Image Size', 'premium_elementor' ),
99
  'type' => Controls_Manager::SLIDER,
100
  'default' => [
101
  'size' => 60,
@@ -117,7 +117,7 @@ class Premium_Counter_Widget extends Widget_Base {
117
 
118
  $this->add_control('premium_counter_icon_color',
119
  [
120
- 'label' => esc_html__( 'Icon Color', 'premium_elementor' ),
121
  'type' => Controls_Manager::COLOR,
122
  'scheme' => [
123
  'type' => Scheme_Color::get_type(),
@@ -134,14 +134,14 @@ class Premium_Counter_Widget extends Widget_Base {
134
 
135
  $this->add_control('premium_counter_icon_style',
136
  [
137
- 'label' => esc_html__( 'Icon Style', 'premium_elementor' ),
138
  'type' => Controls_Manager::SELECT,
139
- 'description' => esc_html__('We are giving you three quick preset if you are in a hurry. Otherwise, create your own with various options', 'premium_elementor'),
140
  'options' => [
141
- 'simple'=> esc_html__( 'Simple', 'premium_elementor' ),
142
- 'circle'=> esc_html__( 'Circle Background', 'premium_elementor' ),
143
- 'square'=> esc_html__( 'Square Background', 'premium_elementor' ),
144
- 'design'=> esc_html__( 'Design Your Own', 'premium_elementor' )
145
  ],
146
  'default' => 'simple'
147
  ]
@@ -149,7 +149,7 @@ class Premium_Counter_Widget extends Widget_Base {
149
 
150
  $this->add_control('premium_counter_icon_bg',
151
  [
152
- 'label' => esc_html__( 'Background Color', 'premium_elementor' ),
153
  'type' => Controls_Manager::COLOR,
154
  'scheme' => [
155
  'type' => Scheme_Color::get_type(),
@@ -166,7 +166,7 @@ class Premium_Counter_Widget extends Widget_Base {
166
 
167
  $this->add_responsive_control('premium_counter_icon_bg_size',
168
  [
169
- 'label' => esc_html__( 'Background size', 'premium_elementor' ),
170
  'type' => Controls_Manager::SLIDER,
171
  'default' => [
172
  'size' => 150,
@@ -188,7 +188,7 @@ class Premium_Counter_Widget extends Widget_Base {
188
 
189
  $this->add_responsive_control('premium_counter_icon_v_align',
190
  [
191
- 'label' => esc_html__( 'Icon vertical Align', 'premium_elementor' ),
192
  'type' => Controls_Manager::SLIDER,
193
  'default' => [
194
  'size' => 150,
@@ -222,7 +222,7 @@ class Premium_Counter_Widget extends Widget_Base {
222
 
223
  $this->add_control('premium_icon_border_radius',
224
  [
225
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
226
  'type' => Controls_Manager::SLIDER,
227
  'size_units'=> ['px', '%' ,'em'],
228
  'default' => [
@@ -240,21 +240,21 @@ class Premium_Counter_Widget extends Widget_Base {
240
 
241
  $this->add_control('premium_counter_icon_animation',
242
  [
243
- 'label' => esc_html__('Animations', 'premium_elementor'),
244
  'type' => Controls_Manager::ANIMATION,
245
  ]
246
  );
247
 
248
  $this->add_control('premium_counter_icon_position',
249
  [
250
- 'label' => esc_html__( 'Icon Position', 'premium_elementor' ),
251
  'type' => Controls_Manager::SELECT,
252
- 'description' => esc_html__( 'Choose a position for your icon', 'premium_elementor'),
253
  'default' => 'no-animation',
254
  'options' => [
255
- 'top' => esc_html__( 'Top', 'premium_elementor' ),
256
- 'right' => esc_html__( 'Right', 'premium_elementor' ),
257
- 'left' => esc_html__( 'Left', 'premium_elementor' ),
258
 
259
  ],
260
  'default' => 'top',
@@ -267,48 +267,48 @@ class Premium_Counter_Widget extends Widget_Base {
267
 
268
  $this->start_controls_section('premium_counter_counter_setting',
269
  [
270
- 'label' => esc_html__( 'Counter Settings' , 'premium_elementor' )
271
  ]
272
  );
273
 
274
  $this->add_control('premium_counter_title',
275
  [
276
- 'label' => esc_html__( 'Counter Title', 'premium_elementor' ),
277
  'type' => Controls_Manager::TEXT,
278
- 'description' => esc_html__( 'Enter title for stats counter block', 'premium_elementor'),
279
  ]
280
  );
281
 
282
  $this->add_control('premium_counter_value',
283
  [
284
- 'label' => esc_html__( 'Counter Value', 'premium_elementor' ),
285
  'type' => Controls_Manager::NUMBER,
286
- 'description' => esc_html__( 'Enter Counter Value', 'premium_elementor' ),
287
  'default' => 500
288
  ]
289
  );
290
 
291
  $this->add_control('premium_counter_t_separator',
292
  [
293
- 'label' => esc_html__( 'Thousands Separator', 'premium_elementor' ),
294
  'type' => Controls_Manager::TEXT,
295
- 'description' => esc_html__( 'Separate coverts 125000 into 125,000', 'premium_elementor' ),
296
  'default' => ','
297
  ]
298
  );
299
 
300
  $this->add_control('premium_counter_d_separator',
301
  [
302
- 'label' => esc_html__( 'Replace Decimal Point', 'premium_elementor' ),
303
  'type' => Controls_Manager::TEXT,
304
- 'description' => esc_html__( 'Set a decimal number (Eg - 12.76). The decimal point '.' will be replaced with the value that you will enter above', 'premium_elementor' ),
305
  'default' => '.'
306
  ]
307
  );
308
 
309
  $this->add_control('premium_counter_d_after',
310
  [
311
- 'label' => esc_html__( 'Digits After Decimal Point', 'premium_elementor' ),
312
  'type' => Controls_Manager::NUMBER,
313
  'default' => 0
314
  ]
@@ -316,25 +316,25 @@ class Premium_Counter_Widget extends Widget_Base {
316
 
317
  $this->add_control('premium_counter_preffix',
318
  [
319
- 'label' => esc_html__( 'Counter Value Prefix', 'premium_elementor' ),
320
  'type' => Controls_Manager::TEXT,
321
- 'description' => esc_html__( 'Enter prefix for counter value', 'premium_elementor' )
322
  ]
323
  );
324
 
325
  $this->add_control('premium_counter_suffix',
326
  [
327
- 'label' => esc_html__( 'Counter Value suffix', 'premium_elementor' ),
328
  'type' => Controls_Manager::TEXT,
329
- 'description' => esc_html__( 'Enter suffix for counter value', 'premium_elementor' )
330
  ]
331
  );
332
 
333
  $this->add_control('premium_counter_speed',
334
  [
335
- 'label' => esc_html__( 'Counter Rolling Time', 'premium_elementor' ),
336
  'type' => Controls_Manager::NUMBER,
337
- 'description' => esc_html__( 'How long should it take to complete the digit?', 'premium_elementor' ),
338
  'default' => 3
339
  ]
340
  );
@@ -343,14 +343,14 @@ class Premium_Counter_Widget extends Widget_Base {
343
 
344
  $this->start_controls_section('premium_counter_title_style',
345
  [
346
- 'label' => esc_html__( 'Title' , 'premium_elementor' ),
347
  'tab' => Controls_Manager::TAB_STYLE
348
  ]
349
  );
350
 
351
  $this->add_control('premium_counter_title_color',
352
  [
353
- 'label' => esc_html__( 'Title Color', 'premium_elementor' ),
354
  'type' => Controls_Manager::COLOR,
355
  'scheme' => [
356
  'type' => Scheme_Color::get_type(),
@@ -376,14 +376,14 @@ class Premium_Counter_Widget extends Widget_Base {
376
 
377
  $this->start_controls_section('premium_counter_value_style',
378
  [
379
- 'label' => esc_html__('Value', 'premium_elementor'),
380
  'tab' => Controls_Manager::TAB_STYLE,
381
  ]
382
  );
383
 
384
  $this->add_control('premium_counter_value_color',
385
  [
386
- 'label' => esc_html__( 'Value Color', 'premium_elementor' ),
387
  'type' => Controls_Manager::COLOR,
388
  'scheme' => [
389
  'type' => Scheme_Color::get_type(),
@@ -409,14 +409,14 @@ class Premium_Counter_Widget extends Widget_Base {
409
 
410
  $this->start_controls_section('premium_counter_suffix_prefix_style',
411
  [
412
- 'label' => esc_html__('Suffix & Prefix', 'premium_elementor'),
413
  'tab' => Controls_Manager::TAB_STYLE,
414
  ]
415
  );
416
 
417
  $this->add_control('premium_counter_suffix_color',
418
  [
419
- 'label' => esc_html__( 'Suffix Color', 'premium_elementor' ),
420
  'type' => Controls_Manager::COLOR,
421
  'scheme' => [
422
  'type' => Scheme_Color::get_type(),
@@ -441,7 +441,7 @@ class Premium_Counter_Widget extends Widget_Base {
441
 
442
  $this->add_control('premium_counter_prefix_color',
443
  [
444
- 'label' => esc_html__( 'Prefix Color', 'premium_elementor' ),
445
  'type' => Controls_Manager::COLOR,
446
  'scheme' => [
447
  'type' => Scheme_Color::get_type(),
10
  }
11
 
12
  public function get_title() {
13
+ return esc_html__( 'Premium Counter', 'premium-addons-for-elementor' );
14
  }
15
 
16
  public function get_icon() {
18
  }
19
 
20
  public function get_script_depends() {
21
+ return [ 'counter-up-js' ];
22
  }
23
 
24
  public function get_categories() {
30
  protected function _register_controls() {
31
  $this->start_controls_section('premium_counter_global_settings',
32
  [
33
+ 'label' => esc_html__( 'Display Options', 'premium-addons-for-elementor' )
34
  ]
35
  );
36
 
37
  $this->add_control('premium_counter_icon_image',
38
  [
39
+ 'label' => esc_html__( 'Icon Type', 'premium-addons-for-elementor' ),
40
  'type' => Controls_Manager::SELECT,
41
+ 'description' => esc_html__('Use a font awesome icon or upload a custom image', 'premium-addons-for-elementor'),
42
  'options' => [
43
+ 'icon' => esc_html__('Font Awesome Icon', 'premium-addons-for-elementor'),
44
+ 'custom'=> esc_html__( 'Custom Image Icon', 'premium-addons-for-elementor')
45
  ],
46
  'default' => 'icon'
47
  ]
49
 
50
  $this->add_control('premium_counter_icon',
51
  [
52
+ 'label' => esc_html__( 'Select an Icon', 'premium-addons-for-elementor' ),
53
  'type' => Controls_Manager::ICON,
54
  'default' => 'fa fa-clock-o',
55
  'condition' => [
60
 
61
  $this->add_control('premium_counter_image_upload',
62
  [
63
+ 'label' => esc_html__( 'Upload Image', 'premium-addons-for-elementor' ),
64
  'type' => Controls_Manager::MEDIA,
65
  'condition' => [
66
  'premium_counter_icon_image' => 'custom'
73
 
74
  $this->add_responsive_control('premium_counter_icon_size',
75
  [
76
+ 'label' => esc_html__( 'Icon Size', 'premium-addons-for-elementor' ),
77
  'type' => Controls_Manager::SLIDER,
78
  'default' => [
79
  'size' => 70,
95
 
96
  $this->add_responsive_control('premium_counter_image_size',
97
  [
98
+ 'label' => esc_html__( 'Image Size', 'premium-addons-for-elementor' ),
99
  'type' => Controls_Manager::SLIDER,
100
  'default' => [
101
  'size' => 60,
117
 
118
  $this->add_control('premium_counter_icon_color',
119
  [
120
+ 'label' => esc_html__( 'Icon Color', 'premium-addons-for-elementor' ),
121
  'type' => Controls_Manager::COLOR,
122
  'scheme' => [
123
  'type' => Scheme_Color::get_type(),
134
 
135
  $this->add_control('premium_counter_icon_style',
136
  [
137
+ 'label' => esc_html__( 'Icon Style', 'premium-addons-for-elementor' ),
138
  'type' => Controls_Manager::SELECT,
139
+ 'description' => esc_html__('We are giving you three quick preset if you are in a hurry. Otherwise, create your own with various options', 'premium-addons-for-elementor'),
140
  'options' => [
141
+ 'simple'=> esc_html__( 'Simple', 'premium-addons-for-elementor' ),
142
+ 'circle'=> esc_html__( 'Circle Background', 'premium-addons-for-elementor' ),
143
+ 'square'=> esc_html__( 'Square Background', 'premium-addons-for-elementor' ),
144
+ 'design'=> esc_html__( 'Design Your Own', 'premium-addons-for-elementor' )
145
  ],
146
  'default' => 'simple'
147
  ]
149
 
150
  $this->add_control('premium_counter_icon_bg',
151
  [
152
+ 'label' => esc_html__( 'Background Color', 'premium-addons-for-elementor' ),
153
  'type' => Controls_Manager::COLOR,
154
  'scheme' => [
155
  'type' => Scheme_Color::get_type(),
166
 
167
  $this->add_responsive_control('premium_counter_icon_bg_size',
168
  [
169
+ 'label' => esc_html__( 'Background size', 'premium-addons-for-elementor' ),
170
  'type' => Controls_Manager::SLIDER,
171
  'default' => [
172
  'size' => 150,
188
 
189
  $this->add_responsive_control('premium_counter_icon_v_align',
190
  [
191
+ 'label' => esc_html__( 'Icon vertical Align', 'premium-addons-for-elementor' ),
192
  'type' => Controls_Manager::SLIDER,
193
  'default' => [
194
  'size' => 150,
222
 
223
  $this->add_control('premium_icon_border_radius',
224
  [
225
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
226
  'type' => Controls_Manager::SLIDER,
227
  'size_units'=> ['px', '%' ,'em'],
228
  'default' => [
240
 
241
  $this->add_control('premium_counter_icon_animation',
242
  [
243
+ 'label' => esc_html__('Animations', 'premium-addons-for-elementor'),
244
  'type' => Controls_Manager::ANIMATION,
245
  ]
246
  );
247
 
248
  $this->add_control('premium_counter_icon_position',
249
  [
250
+ 'label' => esc_html__( 'Icon Position', 'premium-addons-for-elementor' ),
251
  'type' => Controls_Manager::SELECT,
252
+ 'description' => esc_html__( 'Choose a position for your icon', 'premium-addons-for-elementor'),
253
  'default' => 'no-animation',
254
  'options' => [
255
+ 'top' => esc_html__( 'Top', 'premium-addons-for-elementor' ),
256
+ 'right' => esc_html__( 'Right', 'premium-addons-for-elementor' ),
257
+ 'left' => esc_html__( 'Left', 'premium-addons-for-elementor' ),
258
 
259
  ],
260
  'default' => 'top',
267
 
268
  $this->start_controls_section('premium_counter_counter_setting',
269
  [
270
+ 'label' => esc_html__( 'Counter Settings' , 'premium-addons-for-elementor' )
271
  ]
272
  );
273
 
274
  $this->add_control('premium_counter_title',
275
  [
276
+ 'label' => esc_html__( 'Counter Title', 'premium-addons-for-elementor' ),
277
  'type' => Controls_Manager::TEXT,
278
+ 'description' => esc_html__( 'Enter title for stats counter block', 'premium-addons-for-elementor'),
279
  ]
280
  );
281
 
282
  $this->add_control('premium_counter_value',
283
  [
284
+ 'label' => esc_html__( 'Counter Value', 'premium-addons-for-elementor' ),
285
  'type' => Controls_Manager::NUMBER,
286
+ 'description' => esc_html__( 'Enter Counter Value', 'premium-addons-for-elementor' ),
287
  'default' => 500
288
  ]
289
  );
290
 
291
  $this->add_control('premium_counter_t_separator',
292
  [
293
+ 'label' => esc_html__( 'Thousands Separator', 'premium-addons-for-elementor' ),
294
  'type' => Controls_Manager::TEXT,
295
+ 'description' => esc_html__( 'Separate coverts 125000 into 125,000', 'premium-addons-for-elementor' ),
296
  'default' => ','
297
  ]
298
  );
299
 
300
  $this->add_control('premium_counter_d_separator',
301
  [
302
+ 'label' => esc_html__( 'Replace Decimal Point', 'premium-addons-for-elementor' ),
303
  'type' => Controls_Manager::TEXT,
304
+ 'description' => esc_html__( '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' ),
305
  'default' => '.'
306
  ]
307
  );
308
 
309
  $this->add_control('premium_counter_d_after',
310
  [
311
+ 'label' => esc_html__( 'Digits After Decimal Point', 'premium-addons-for-elementor' ),
312
  'type' => Controls_Manager::NUMBER,
313
  'default' => 0
314
  ]
316
 
317
  $this->add_control('premium_counter_preffix',
318
  [
319
+ 'label' => esc_html__( 'Counter Value Prefix', 'premium-addons-for-elementor' ),
320
  'type' => Controls_Manager::TEXT,
321
+ 'description' => esc_html__( 'Enter prefix for counter value', 'premium-addons-for-elementor' )
322
  ]
323
  );
324
 
325
  $this->add_control('premium_counter_suffix',
326
  [
327
+ 'label' => esc_html__( 'Counter Value suffix', 'premium-addons-for-elementor' ),
328
  'type' => Controls_Manager::TEXT,
329
+ 'description' => esc_html__( 'Enter suffix for counter value', 'premium-addons-for-elementor' )
330
  ]
331
  );
332
 
333
  $this->add_control('premium_counter_speed',
334
  [
335
+ 'label' => esc_html__( 'Counter Rolling Time', 'premium-addons-for-elementor' ),
336
  'type' => Controls_Manager::NUMBER,
337
+ 'description' => esc_html__( 'How long should it take to complete the digit?', 'premium-addons-for-elementor' ),
338
  'default' => 3
339
  ]
340
  );
343
 
344
  $this->start_controls_section('premium_counter_title_style',
345
  [
346
+ 'label' => esc_html__( 'Title' , 'premium-addons-for-elementor' ),
347
  'tab' => Controls_Manager::TAB_STYLE
348
  ]
349
  );
350
 
351
  $this->add_control('premium_counter_title_color',
352
  [
353
+ 'label' => esc_html__( 'Title Color', 'premium-addons-for-elementor' ),
354
  'type' => Controls_Manager::COLOR,
355
  'scheme' => [
356
  'type' => Scheme_Color::get_type(),
376
 
377
  $this->start_controls_section('premium_counter_value_style',
378
  [
379
+ 'label' => esc_html__('Value', 'premium-addons-for-elementor'),
380
  'tab' => Controls_Manager::TAB_STYLE,
381
  ]
382
  );
383
 
384
  $this->add_control('premium_counter_value_color',
385
  [
386
+ 'label' => esc_html__( 'Value Color', 'premium-addons-for-elementor' ),
387
  'type' => Controls_Manager::COLOR,
388
  'scheme' => [
389
  'type' => Scheme_Color::get_type(),
409
 
410
  $this->start_controls_section('premium_counter_suffix_prefix_style',
411
  [
412
+ 'label' => esc_html__('Suffix & Prefix', 'premium-addons-for-elementor'),
413
  'tab' => Controls_Manager::TAB_STYLE,
414
  ]
415
  );
416
 
417
  $this->add_control('premium_counter_suffix_color',
418
  [
419
+ 'label' => esc_html__( 'Suffix Color', 'premium-addons-for-elementor' ),
420
  'type' => Controls_Manager::COLOR,
421
  'scheme' => [
422
  'type' => Scheme_Color::get_type(),
441
 
442
  $this->add_control('premium_counter_prefix_color',
443
  [
444
+ 'label' => esc_html__( 'Prefix Color', 'premium-addons-for-elementor' ),
445
  'type' => Controls_Manager::COLOR,
446
  'scheme' => [
447
  'type' => Scheme_Color::get_type(),
widgets/premium-dual-header.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Dual Header', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,18 +34,18 @@ class Premium_Dual_Header_Widget extends Widget_Base
34
  /*Start General Section*/
35
  $this->start_controls_section('premium_dual_header_general_settings',
36
  [
37
- 'label' => esc_html__('Content Settings', 'premium_elementor')
38
  ]
39
  );
40
 
41
  /*Text Align*/
42
  $this->add_control('premium_dual_header_position',
43
  [
44
- 'label' => esc_html__( 'Headers Position', 'elementor' ),
45
  'type' => Controls_Manager::SELECT,
46
  'options' => [
47
- 'inline' => esc_html__('Next to Each Other', 'premium_elementor'),
48
- 'block' => esc_html__('Below Each Other', 'premium_elementor'),
49
  ],
50
  'default' => 'inline',
51
  'selectors' => [
@@ -58,9 +58,9 @@ class Premium_Dual_Header_Widget extends Widget_Base
58
  /*First Header*/
59
  $this->add_control('premium_dual_header_first_header_text',
60
  [
61
- 'label' => esc_html__('First Header', 'premium_elementor'),
62
  'type' => Controls_Manager::TEXT,
63
- 'default' => esc_html__('Premium', 'premium_elementor'),
64
  'label_block' => true,
65
  ]
66
  );
@@ -68,7 +68,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
68
  /*Title Tag*/
69
  $this->add_control('premium_dual_header_first_header_tag',
70
  [
71
- 'label' => esc_html__('First Header Tag', 'premium_elementor'),
72
  'type' => Controls_Manager::SELECT,
73
  'default' => 'h2',
74
  'options' => [
@@ -87,9 +87,9 @@ class Premium_Dual_Header_Widget extends Widget_Base
87
  /*Second Header*/
88
  $this->add_control('premium_dual_header_second_header_text',
89
  [
90
- 'label' => esc_html__('Second Header', 'premium_elementor'),
91
  'type' => Controls_Manager::TEXT,
92
- 'default' => esc_html__('Addons', 'premium_elementor'),
93
  'label_block' => true,
94
  ]
95
  );
@@ -97,7 +97,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
97
  /*Title Tag*/
98
  $this->add_control('premium_dual_header_second_header_tag',
99
  [
100
- 'label' => esc_html__('Second Header Tag', 'premium_elementor'),
101
  'type' => Controls_Manager::SELECT,
102
  'default' => 'h2',
103
  'options' => [
@@ -144,7 +144,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
144
  /*Start First Header Styling Section*/
145
  $this->start_controls_section('premium_dual_header_first_style',
146
  [
147
- 'label' => esc_html__('First Header', 'premium_elementor'),
148
  'tab' => Controls_Manager::TAB_STYLE,
149
  ]
150
  );
@@ -162,13 +162,13 @@ class Premium_Dual_Header_Widget extends Widget_Base
162
  /*First Coloring Style*/
163
  $this->add_control('premium_dual_header_first_back_clip',
164
  [
165
- 'label' => esc_html__('Background Style', 'premium_elementor'),
166
  'type' => Controls_Manager::SELECT,
167
  'default' => 'color',
168
- 'description' => esc_html__('Choose ‘Background’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium_elementor'),
169
  'options' => [
170
- 'color' => esc_html__('Background', 'premium_elementor'),
171
- 'clipped' => esc_html__('Clipped', 'premium_elementor'),
172
  ],
173
  'label_block' => true,
174
  ]
@@ -177,7 +177,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
177
  /*First Color*/
178
  $this->add_control('premium_dual_header_first_color',
179
  [
180
- 'label' => esc_html__('Text Color', 'premium_elementor'),
181
  'type' => Controls_Manager::COLOR,
182
  'scheme' => [
183
  'type' => Scheme_Color::get_type(),
@@ -230,7 +230,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
230
  /*First Border Radius*/
231
  $this->add_control('premium_dual_header_first_border_radius',
232
  [
233
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
234
  'type' => Controls_Manager::SLIDER,
235
  'size_units' => ['px', '%', 'em'],
236
  'selectors' => [
@@ -242,7 +242,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
242
  /*First Margin*/
243
  $this->add_responsive_control('premium_dual_header_first_margin',
244
  [
245
- 'label' => esc_html__('Margin', 'premium_elementor'),
246
  'type' => Controls_Manager::DIMENSIONS,
247
  'size_units' => [ 'px', 'em', '%' ],
248
  'selectors' => [
@@ -254,7 +254,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
254
  /*First Padding*/
255
  $this->add_responsive_control('premium_dual_header_first_padding',
256
  [
257
- 'label' => esc_html__('Padding', 'premium_elementor'),
258
  'type' => Controls_Manager::DIMENSIONS,
259
  'size_units' => [ 'px', 'em', '%' ],
260
  'selectors' => [
@@ -278,7 +278,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
278
  /*Start First Header Styling Section*/
279
  $this->start_controls_section('premium_dual_header_second_style',
280
  [
281
- 'label' => esc_html__('Second Header', 'premium_elementor'),
282
  'tab' => Controls_Manager::TAB_STYLE,
283
  ]
284
  );
@@ -296,13 +296,13 @@ class Premium_Dual_Header_Widget extends Widget_Base
296
  /*Second Coloring Style*/
297
  $this->add_control('premium_dual_header_second_back_clip',
298
  [
299
- 'label' => esc_html__('Background Style', 'premium_elementor'),
300
  'type' => Controls_Manager::SELECT,
301
  'default' => 'color',
302
- 'description' => esc_html__('Choose ‘Background’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium_elementor'),
303
  'options' => [
304
- 'color' => esc_html__('Background', 'premium_elementor'),
305
- 'clipped' => esc_html__('Clipped', 'premium_elementor'),
306
  ],
307
  'label_block' => true,
308
  ]
@@ -311,7 +311,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
311
  /*Second Color*/
312
  $this->add_control('premium_dual_header_second_color',
313
  [
314
- 'label' => esc_html__('Text Color', 'premium_elementor'),
315
  'type' => Controls_Manager::COLOR,
316
  'scheme' => [
317
  'type' => Scheme_Color::get_type(),
@@ -364,7 +364,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
364
  /*Second Border Radius*/
365
  $this->add_control('premium_dual_header_second_border_radius',
366
  [
367
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
368
  'type' => Controls_Manager::SLIDER,
369
  'size_units' => ['px', '%', 'em'],
370
  'selectors' => [
@@ -376,7 +376,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
376
  /*Second Margin*/
377
  $this->add_responsive_control('premium_dual_header_second_margin',
378
  [
379
- 'label' => esc_html__('Margin', 'premium_elementor'),
380
  'type' => Controls_Manager::DIMENSIONS,
381
  'size_units' => [ 'px', 'em', '%' ],
382
  'selectors' => [
@@ -388,7 +388,7 @@ class Premium_Dual_Header_Widget extends Widget_Base
388
  /*Second Padding*/
389
  $this->add_responsive_control('premium_dual_header_second_padding',
390
  [
391
- 'label' => esc_html__('Padding', 'premium_elementor'),
392
  'type' => Controls_Manager::DIMENSIONS,
393
  'size_units' => [ 'px', 'em', '%' ],
394
  'selectors' => [
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Dual Header', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /*Start General Section*/
35
  $this->start_controls_section('premium_dual_header_general_settings',
36
  [
37
+ 'label' => esc_html__('Content Settings', 'premium-addons-for-elementor')
38
  ]
39
  );
40
 
41
  /*Text Align*/
42
  $this->add_control('premium_dual_header_position',
43
  [
44
+ 'label' => esc_html__( 'Headers Position', 'premium-addons-for-elementor' ),
45
  'type' => Controls_Manager::SELECT,
46
  'options' => [
47
+ 'inline' => esc_html__('Next to Each Other', 'premium-addons-for-elementor'),
48
+ 'block' => esc_html__('Below Each Other', 'premium-addons-for-elementor'),
49
  ],
50
  'default' => 'inline',
51
  'selectors' => [
58
  /*First Header*/
59
  $this->add_control('premium_dual_header_first_header_text',
60
  [
61
+ 'label' => esc_html__('First Header', 'premium-addons-for-elementor'),
62
  'type' => Controls_Manager::TEXT,
63
+ 'default' => esc_html__('Premium', 'premium-addons-for-elementor'),
64
  'label_block' => true,
65
  ]
66
  );
68
  /*Title Tag*/
69
  $this->add_control('premium_dual_header_first_header_tag',
70
  [
71
+ 'label' => esc_html__('First Header Tag', 'premium-addons-for-elementor'),
72
  'type' => Controls_Manager::SELECT,
73
  'default' => 'h2',
74
  'options' => [
87
  /*Second Header*/
88
  $this->add_control('premium_dual_header_second_header_text',
89
  [
90
+ 'label' => esc_html__('Second Header', 'premium-addons-for-elementor'),
91
  'type' => Controls_Manager::TEXT,
92
+ 'default' => esc_html__('Addons', 'premium-addons-for-elementor'),
93
  'label_block' => true,
94
  ]
95
  );
97
  /*Title Tag*/
98
  $this->add_control('premium_dual_header_second_header_tag',
99
  [
100
+ 'label' => esc_html__('Second Header Tag', 'premium-addons-for-elementor'),
101
  'type' => Controls_Manager::SELECT,
102
  'default' => 'h2',
103
  'options' => [
144
  /*Start First Header Styling Section*/
145
  $this->start_controls_section('premium_dual_header_first_style',
146
  [
147
+ 'label' => esc_html__('First Header', 'premium-addons-for-elementor'),
148
  'tab' => Controls_Manager::TAB_STYLE,
149
  ]
150
  );
162
  /*First Coloring Style*/
163
  $this->add_control('premium_dual_header_first_back_clip',
164
  [
165
+ 'label' => esc_html__('Background Style', 'premium-addons-for-elementor'),
166
  'type' => Controls_Manager::SELECT,
167
  'default' => 'color',
168
+ 'description' => esc_html__('Choose ‘Background’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium-addons-for-elementor'),
169
  'options' => [
170
+ 'color' => esc_html__('Background', 'premium-addons-for-elementor'),
171
+ 'clipped' => esc_html__('Clipped', 'premium-addons-for-elementor'),
172
  ],
173
  'label_block' => true,
174
  ]
177
  /*First Color*/
178
  $this->add_control('premium_dual_header_first_color',
179
  [
180
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
181
  'type' => Controls_Manager::COLOR,
182
  'scheme' => [
183
  'type' => Scheme_Color::get_type(),
230
  /*First Border Radius*/
231
  $this->add_control('premium_dual_header_first_border_radius',
232
  [
233
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
234
  'type' => Controls_Manager::SLIDER,
235
  'size_units' => ['px', '%', 'em'],
236
  'selectors' => [
242
  /*First Margin*/
243
  $this->add_responsive_control('premium_dual_header_first_margin',
244
  [
245
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
246
  'type' => Controls_Manager::DIMENSIONS,
247
  'size_units' => [ 'px', 'em', '%' ],
248
  'selectors' => [
254
  /*First Padding*/
255
  $this->add_responsive_control('premium_dual_header_first_padding',
256
  [
257
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
258
  'type' => Controls_Manager::DIMENSIONS,
259
  'size_units' => [ 'px', 'em', '%' ],
260
  'selectors' => [
278
  /*Start First Header Styling Section*/
279
  $this->start_controls_section('premium_dual_header_second_style',
280
  [
281
+ 'label' => esc_html__('Second Header', 'premium-addons-for-elementor'),
282
  'tab' => Controls_Manager::TAB_STYLE,
283
  ]
284
  );
296
  /*Second Coloring Style*/
297
  $this->add_control('premium_dual_header_second_back_clip',
298
  [
299
+ 'label' => esc_html__('Background Style', 'premium-addons-for-elementor'),
300
  'type' => Controls_Manager::SELECT,
301
  'default' => 'color',
302
+ 'description' => esc_html__('Choose ‘Background’ style to put a background behind the text. Choose ‘Clipped’ style so the background will be clipped on the text.','premium-addons-for-elementor'),
303
  'options' => [
304
+ 'color' => esc_html__('Background', 'premium-addons-for-elementor'),
305
+ 'clipped' => esc_html__('Clipped', 'premium-addons-for-elementor'),
306
  ],
307
  'label_block' => true,
308
  ]
311
  /*Second Color*/
312
  $this->add_control('premium_dual_header_second_color',
313
  [
314
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
315
  'type' => Controls_Manager::COLOR,
316
  'scheme' => [
317
  'type' => Scheme_Color::get_type(),
364
  /*Second Border Radius*/
365
  $this->add_control('premium_dual_header_second_border_radius',
366
  [
367
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
368
  'type' => Controls_Manager::SLIDER,
369
  'size_units' => ['px', '%', 'em'],
370
  'selectors' => [
376
  /*Second Margin*/
377
  $this->add_responsive_control('premium_dual_header_second_margin',
378
  [
379
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
380
  'type' => Controls_Manager::DIMENSIONS,
381
  'size_units' => [ 'px', 'em', '%' ],
382
  'selectors' => [
388
  /*Second Padding*/
389
  $this->add_responsive_control('premium_dual_header_second_padding',
390
  [
391
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
392
  'type' => Controls_Manager::DIMENSIONS,
393
  'size_units' => [ 'px', 'em', '%' ],
394
  'selectors' => [
widgets/premium-fancytext.php CHANGED
@@ -16,12 +16,17 @@ class Premium_Fancy_Text_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Fancy Text', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
23
  return 'pa-fancy-text';
24
  }
 
 
 
 
 
25
 
26
  public function get_categories() {
27
  return [ 'premium-elements' ];
@@ -34,17 +39,17 @@ class Premium_Fancy_Text_Widget extends Widget_Base
34
  /*Start Text Content Section*/
35
  $this->start_controls_section('premium_fancy_text_content',
36
  [
37
- 'label' => esc_html__('Text Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
41
  /*Prefix Text*/
42
  $this->add_control('premium_fancy_prefix_text',
43
  [
44
- 'label' => esc_html__('Prefix Text', 'premium_elementor'),
45
  'type' => Controls_Manager::TEXT,
46
- 'default' => esc_html__('This is', 'premium_elementor'),
47
- 'description' => esc_html__( 'Text before Fancy text', 'premium_elementor' ),
48
  'label_block' => true,
49
  ]
50
  );
@@ -52,23 +57,23 @@ class Premium_Fancy_Text_Widget extends Widget_Base
52
  /*Fancy Text Strings*/
53
  $this->add_control('premium_fancy_text_strings',
54
  [
55
- 'label' => esc_html__( 'Fancy Text Strings', 'premium_elementor' ),
56
  'type' => Controls_Manager::REPEATER,
57
  'default' => [
58
  [
59
- 'premium_text_strings_text_field' => esc_html__( 'Designer', 'premium_elementor' ),
60
  ],
61
  [
62
- 'premium_text_strings_text_field' => esc_html__( 'Developer', 'premium_elementor' ),
63
  ],
64
  [
65
- 'premium_text_strings_text_field' => esc_html__( 'Awesome', 'premium_elementor' ),
66
  ],
67
  ],
68
  'fields' => [
69
  [
70
  'name' => 'premium_text_strings_text_field',
71
- 'label' => esc_html__( 'Fancy String', 'premium_elementor' ),
72
  'type' => Controls_Manager::TEXT,
73
  'label_block' => true,
74
  ],
@@ -80,10 +85,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
80
  /*Prefix Text*/
81
  $this->add_control('premium_fancy_suffix_text',
82
  [
83
- 'label' => esc_html__('Suffix Text', 'premium_elementor'),
84
  'type' => Controls_Manager::TEXT,
85
- 'default' => esc_html__('Text', 'premium_elementor'),
86
- 'description' => esc_html__( 'Text after Fancy text', 'premium_elementor' ),
87
  'label_block' => true,
88
  ]
89
  );
@@ -91,9 +96,9 @@ class Premium_Fancy_Text_Widget extends Widget_Base
91
  /*Text Effect*/
92
  $this->add_control('premium_fancy_text_effect',
93
  [
94
- 'label' => esc_html__('Effect', 'premium_elementor'),
95
  'type' => Controls_Manager::SELECT,
96
- 'description' => esc_html__( 'Choose an Effect', 'premium_elementor' ),
97
  'options' => [
98
  'typing'=> esc_html__('Type Writer'),
99
  'slide' => esc_html__('Slide Up'),
@@ -106,10 +111,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
106
  /*Type Speed*/
107
  $this->add_control('premium_fancy_text_type_speed',
108
  [
109
- 'label' => esc_html__('Type Speed (Milliseconds)', 'premium_elementor'),
110
  'type' => Controls_Manager::NUMBER,
111
  'default' => 30,
112
- 'description' => esc_html__( 'Speed at which line progresses / Speed of typing effect.', 'premium_elementor' ),
113
  'condition' => [
114
  'premium_fancy_text_effect' => 'typing',
115
  ],
@@ -120,10 +125,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
120
  /*Back Speed*/
121
  $this->add_control('premium_fancy_text_back_speed',
122
  [
123
- 'label' => esc_html__('Back Speed (Milliseconds)', 'premium_elementor'),
124
  'type' => Controls_Manager::NUMBER,
125
  'default' => 30,
126
- 'description' => esc_html__( 'Speed of delete / backspace effect.', 'premium_elementor' ),
127
  'condition' => [
128
  'premium_fancy_text_effect' => 'typing',
129
  ],
@@ -134,10 +139,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
134
  /*Start Delay*/
135
  $this->add_control('premium_fancy_text_start_delay',
136
  [
137
- 'label' => esc_html__('Start Delay (Milliseconds)', 'premium_elementor'),
138
  'type' => Controls_Manager::NUMBER,
139
  'default' => 30,
140
- 'description' => esc_html__( 'Example - If set to 5000, the first string will appear after 5 seconds.', 'premium_elementor' ),
141
  'condition' => [
142
  'premium_fancy_text_effect' => 'typing',
143
  ],
@@ -148,10 +153,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
148
  /*Back Delay*/
149
  $this->add_control('premium_fancy_text_back_delay',
150
  [
151
- 'label' => esc_html__('Back Delay (Milliseconds)', 'premium_elementor'),
152
  'type' => Controls_Manager::NUMBER,
153
  'default' => 30,
154
- 'description' => esc_html__( 'Example - If set to 5000, the string will remain visible for 5 seconds before backspace effect.', 'premium_elementor' ),
155
  'condition' => [
156
  'premium_fancy_text_effect' => 'typing',
157
  ],
@@ -162,7 +167,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
162
  /*Type Loop*/
163
  $this->add_control('premium_fancy_text_type_loop',
164
  [
165
- 'label' => esc_html__('Loop','premium_elementor'),
166
  'type' => Controls_Manager::SWITCHER,
167
  'default' => 'yes',
168
  'condition' => [
@@ -174,7 +179,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
174
  /*Show Cursor*/
175
  $this->add_control('premium_fancy_text_show_cursor',
176
  [
177
- 'label' => esc_html__('Show Cursor','premium_elementor'),
178
  'type' => Controls_Manager::SWITCHER,
179
  'default' => 'yes',
180
  'condition' => [
@@ -186,7 +191,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
186
  /*Cursor Text*/
187
  $this->add_control('premium_fancy_text_cursor_text',
188
  [
189
- 'label' => esc_html__('Cursor Text', 'premium_elementor'),
190
  'type' => Controls_Manager::TEXT,
191
  'default' => '|',
192
  'condition' => [
@@ -199,10 +204,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
199
  /*Slide Up Speed*/
200
  $this->add_control('premium_slide_up_speed',
201
  [
202
- 'label' => esc_html__('Animation Speed (Milliseconds)', 'premium_elementor'),
203
  'type' => Controls_Manager::NUMBER,
204
  'default' => 200,
205
- 'description' => esc_html__( 'Duration of Slide Up animation', 'premium_elementor' ),
206
  'condition' => [
207
  'premium_fancy_text_effect' => 'slide',
208
  ],
@@ -213,10 +218,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
213
  /*Slide Up Pause Time*/
214
  $this->add_control('premium_slide_up_pause_time',
215
  [
216
- 'label' => esc_html__('Pause Time (Milliseconds)', 'premium_elementor'),
217
  'type' => Controls_Manager::NUMBER,
218
  'default' => 3000,
219
- 'description' => esc_html__( 'How long the string should stay visible?', 'premium_elementor' ),
220
  'condition' => [
221
  'premium_fancy_text_effect' => 'slide',
222
  ],
@@ -227,10 +232,10 @@ class Premium_Fancy_Text_Widget extends Widget_Base
227
  /*Slide Up Shown Items*/
228
  $this->add_control('premium_slide_up_shown_items',
229
  [
230
- 'label' => esc_html__('Show Items (Milliseconds)', 'premium_elementor'),
231
  'type' => Controls_Manager::NUMBER,
232
  'default' => 1,
233
- 'description' => esc_html__( 'How many items should be visible at a time?', 'premium_elementor' ),
234
  'condition' => [
235
  'premium_fancy_text_effect' => 'slide',
236
  ],
@@ -241,7 +246,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
241
  /*Pause on Hover*/
242
  $this->add_control('premium_slide_up_hover_pause',
243
  [
244
- 'label' => esc_html__('Pause on Hover','premium_elementor'),
245
  'type' => Controls_Manager::SWITCHER,
246
  'default' => 'no',
247
  'condition' => [
@@ -281,7 +286,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
281
  /*Start Fancy Text Settings Tab*/
282
  $this->start_controls_section('premium_fancy_text_style_tab',
283
  [
284
- 'label' => esc_html__('Fancy Text', 'premium_elementor'),
285
  'tab' => Controls_Manager::TAB_STYLE,
286
  ]
287
  );
@@ -289,7 +294,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
289
  /*Fancy Text Color*/
290
  $this->add_control('premium_fancy_text_color',
291
  [
292
- 'label' => esc_html__('Fancy Text Color', 'premium_elementor'),
293
  'type' => Controls_Manager::COLOR,
294
  'scheme' => [
295
  'type' => Scheme_Color::get_type(),
@@ -304,7 +309,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
304
  /*Fancy Text Background Color*/
305
  $this->add_control('premium_fancy_text_background_color',
306
  [
307
- 'label' => esc_html__('Fancy Text Background', 'premium_elementor'),
308
  'type' => Controls_Manager::COLOR,
309
  'selectors' => [
310
  '{{WRAPPER}} .premium-fancy-text' => 'background-color: {{VALUE}};',
@@ -330,7 +335,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
330
  /*Start Prefix Suffix Text Settings Tab*/
331
  $this->start_controls_section('premium_prefix_suffix_style_tab',
332
  [
333
- 'label' => esc_html__('Prefix & Suffix Text', 'premium_elementor'),
334
  'tab' => Controls_Manager::TAB_STYLE,
335
  ]
336
  );
@@ -338,7 +343,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
338
  /*Prefix Suffix Text Color*/
339
  $this->add_control('premium_prefix_suffix_text_color',
340
  [
341
- 'label' => esc_html__('Prefix & Suffix Color', 'premium_elementor'),
342
  'type' => Controls_Manager::COLOR,
343
  'scheme' => [
344
  'type' => Scheme_Color::get_type(),
@@ -353,7 +358,7 @@ class Premium_Fancy_Text_Widget extends Widget_Base
353
  /*Prefix Suffix Text Background Color*/
354
  $this->add_control('premium_prefix_suffix_text_background_color',
355
  [
356
- 'label' => esc_html__('Prefix & Suffix Background', 'premium_elementor'),
357
  'type' => Controls_Manager::COLOR,
358
  'selectors' => [
359
  '{{WRAPPER}} .premium-prefix-text, {{WRAPPER}} .premium-suffix-text' => 'background-color: {{VALUE}};',
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Fancy Text', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
23
  return 'pa-fancy-text';
24
  }
25
+
26
+ public function get_script_depends()
27
+ {
28
+ return ['typed-js','vticker-js'];
29
+ }
30
 
31
  public function get_categories() {
32
  return [ 'premium-elements' ];
39
  /*Start Text Content Section*/
40
  $this->start_controls_section('premium_fancy_text_content',
41
  [
42
+ 'label' => esc_html__('Text Settings', 'premium-addons-for-elementor'),
43
  ]
44
  );
45
 
46
  /*Prefix Text*/
47
  $this->add_control('premium_fancy_prefix_text',
48
  [
49
+ 'label' => esc_html__('Prefix Text', 'premium-addons-for-elementor'),
50
  'type' => Controls_Manager::TEXT,
51
+ 'default' => esc_html__('This is', 'premium-addons-for-elementor'),
52
+ 'description' => esc_html__( 'Text before Fancy text', 'premium-addons-for-elementor' ),
53
  'label_block' => true,
54
  ]
55
  );
57
  /*Fancy Text Strings*/
58
  $this->add_control('premium_fancy_text_strings',
59
  [
60
+ 'label' => esc_html__( 'Fancy Text Strings', 'premium-addons-for-elementor' ),
61
  'type' => Controls_Manager::REPEATER,
62
  'default' => [
63
  [
64
+ 'premium_text_strings_text_field' => esc_html__( 'Designer', 'premium-addons-for-elementor' ),
65
  ],
66
  [
67
+ 'premium_text_strings_text_field' => esc_html__( 'Developer', 'premium-addons-for-elementor' ),
68
  ],
69
  [
70
+ 'premium_text_strings_text_field' => esc_html__( 'Awesome', 'premium-addons-for-elementor' ),
71
  ],
72
  ],
73
  'fields' => [
74
  [
75
  'name' => 'premium_text_strings_text_field',
76
+ 'label' => esc_html__( 'Fancy String', 'premium-addons-for-elementor' ),
77
  'type' => Controls_Manager::TEXT,
78
  'label_block' => true,
79
  ],
85
  /*Prefix Text*/
86
  $this->add_control('premium_fancy_suffix_text',
87
  [
88
+ 'label' => esc_html__('Suffix Text', 'premium-addons-for-elementor'),
89
  'type' => Controls_Manager::TEXT,
90
+ 'default' => esc_html__('Text', 'premium-addons-for-elementor'),
91
+ 'description' => esc_html__( 'Text after Fancy text', 'premium-addons-for-elementor' ),
92
  'label_block' => true,
93
  ]
94
  );
96
  /*Text Effect*/
97
  $this->add_control('premium_fancy_text_effect',
98
  [
99
+ 'label' => esc_html__('Effect', 'premium-addons-for-elementor'),
100
  'type' => Controls_Manager::SELECT,
101
+ 'description' => esc_html__( 'Choose an Effect', 'premium-addons-for-elementor' ),
102
  'options' => [
103
  'typing'=> esc_html__('Type Writer'),
104
  'slide' => esc_html__('Slide Up'),
111
  /*Type Speed*/
112
  $this->add_control('premium_fancy_text_type_speed',
113
  [
114
+ 'label' => esc_html__('Type Speed (Milliseconds)', 'premium-addons-for-elementor'),
115
  'type' => Controls_Manager::NUMBER,
116
  'default' => 30,
117
+ 'description' => esc_html__( 'Speed at which line progresses / Speed of typing effect.', 'premium-addons-for-elementor' ),
118
  'condition' => [
119
  'premium_fancy_text_effect' => 'typing',
120
  ],
125
  /*Back Speed*/
126
  $this->add_control('premium_fancy_text_back_speed',
127
  [
128
+ 'label' => esc_html__('Back Speed (Milliseconds)', 'premium-addons-for-elementor'),
129
  'type' => Controls_Manager::NUMBER,
130
  'default' => 30,
131
+ 'description' => esc_html__( 'Speed of delete / backspace effect.', 'premium-addons-for-elementor' ),
132
  'condition' => [
133
  'premium_fancy_text_effect' => 'typing',
134
  ],
139
  /*Start Delay*/
140
  $this->add_control('premium_fancy_text_start_delay',
141
  [
142
+ 'label' => esc_html__('Start Delay (Milliseconds)', 'premium-addons-for-elementor'),
143
  'type' => Controls_Manager::NUMBER,
144
  'default' => 30,
145
+ 'description' => esc_html__( 'Example - If set to 5000, the first string will appear after 5 seconds.', 'premium-addons-for-elementor' ),
146
  'condition' => [
147
  'premium_fancy_text_effect' => 'typing',
148
  ],
153
  /*Back Delay*/
154
  $this->add_control('premium_fancy_text_back_delay',
155
  [
156
+ 'label' => esc_html__('Back Delay (Milliseconds)', 'premium-addons-for-elementor'),
157
  'type' => Controls_Manager::NUMBER,
158
  'default' => 30,
159
+ 'description' => esc_html__( 'Example - If set to 5000, the string will remain visible for 5 seconds before backspace effect.', 'premium-addons-for-elementor' ),
160
  'condition' => [
161
  'premium_fancy_text_effect' => 'typing',
162
  ],
167
  /*Type Loop*/
168
  $this->add_control('premium_fancy_text_type_loop',
169
  [
170
+ 'label' => esc_html__('Loop','premium-addons-for-elementor'),
171
  'type' => Controls_Manager::SWITCHER,
172
  'default' => 'yes',
173
  'condition' => [
179
  /*Show Cursor*/
180
  $this->add_control('premium_fancy_text_show_cursor',
181
  [
182
+ 'label' => esc_html__('Show Cursor','premium-addons-for-elementor'),
183
  'type' => Controls_Manager::SWITCHER,
184
  'default' => 'yes',
185
  'condition' => [
191
  /*Cursor Text*/
192
  $this->add_control('premium_fancy_text_cursor_text',
193
  [
194
+ 'label' => esc_html__('Cursor Text', 'premium-addons-for-elementor'),
195
  'type' => Controls_Manager::TEXT,
196
  'default' => '|',
197
  'condition' => [
204
  /*Slide Up Speed*/
205
  $this->add_control('premium_slide_up_speed',
206
  [
207
+ 'label' => esc_html__('Animation Speed (Milliseconds)', 'premium-addons-for-elementor'),
208
  'type' => Controls_Manager::NUMBER,
209
  'default' => 200,
210
+ 'description' => esc_html__( 'Duration of Slide Up animation', 'premium-addons-for-elementor' ),
211
  'condition' => [
212
  'premium_fancy_text_effect' => 'slide',
213
  ],
218
  /*Slide Up Pause Time*/
219
  $this->add_control('premium_slide_up_pause_time',
220
  [
221
+ 'label' => esc_html__('Pause Time (Milliseconds)', 'premium-addons-for-elementor'),
222
  'type' => Controls_Manager::NUMBER,
223
  'default' => 3000,
224
+ 'description' => esc_html__( 'How long the string should stay visible?', 'premium-addons-for-elementor' ),
225
  'condition' => [
226
  'premium_fancy_text_effect' => 'slide',
227
  ],
232
  /*Slide Up Shown Items*/
233
  $this->add_control('premium_slide_up_shown_items',
234
  [
235
+ 'label' => esc_html__('Show Items (Milliseconds)', 'premium-addons-for-elementor'),
236
  'type' => Controls_Manager::NUMBER,
237
  'default' => 1,
238
+ 'description' => esc_html__( 'How many items should be visible at a time?', 'premium-addons-for-elementor' ),
239
  'condition' => [
240
  'premium_fancy_text_effect' => 'slide',
241
  ],
246
  /*Pause on Hover*/
247
  $this->add_control('premium_slide_up_hover_pause',
248
  [
249
+ 'label' => esc_html__('Pause on Hover','premium-addons-for-elementor'),
250
  'type' => Controls_Manager::SWITCHER,
251
  'default' => 'no',
252
  'condition' => [
286
  /*Start Fancy Text Settings Tab*/
287
  $this->start_controls_section('premium_fancy_text_style_tab',
288
  [
289
+ 'label' => esc_html__('Fancy Text', 'premium-addons-for-elementor'),
290
  'tab' => Controls_Manager::TAB_STYLE,
291
  ]
292
  );
294
  /*Fancy Text Color*/
295
  $this->add_control('premium_fancy_text_color',
296
  [
297
+ 'label' => esc_html__('Fancy Text Color', 'premium-addons-for-elementor'),
298
  'type' => Controls_Manager::COLOR,
299
  'scheme' => [
300
  'type' => Scheme_Color::get_type(),
309
  /*Fancy Text Background Color*/
310
  $this->add_control('premium_fancy_text_background_color',
311
  [
312
+ 'label' => esc_html__('Fancy Text Background', 'premium-addons-for-elementor'),
313
  'type' => Controls_Manager::COLOR,
314
  'selectors' => [
315
  '{{WRAPPER}} .premium-fancy-text' => 'background-color: {{VALUE}};',
335
  /*Start Prefix Suffix Text Settings Tab*/
336
  $this->start_controls_section('premium_prefix_suffix_style_tab',
337
  [
338
+ 'label' => esc_html__('Prefix & Suffix Text', 'premium-addons-for-elementor'),
339
  'tab' => Controls_Manager::TAB_STYLE,
340
  ]
341
  );
343
  /*Prefix Suffix Text Color*/
344
  $this->add_control('premium_prefix_suffix_text_color',
345
  [
346
+ 'label' => esc_html__('Prefix & Suffix Color', 'premium-addons-for-elementor'),
347
  'type' => Controls_Manager::COLOR,
348
  'scheme' => [
349
  'type' => Scheme_Color::get_type(),
358
  /*Prefix Suffix Text Background Color*/
359
  $this->add_control('premium_prefix_suffix_text_background_color',
360
  [
361
+ 'label' => esc_html__('Prefix & Suffix Background', 'premium-addons-for-elementor'),
362
  'type' => Controls_Manager::COLOR,
363
  'selectors' => [
364
  '{{WRAPPER}} .premium-prefix-text, {{WRAPPER}} .premium-suffix-text' => 'background-color: {{VALUE}};',
widgets/premium-image-button.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Image_Button_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Image Button', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,23 +34,23 @@ class Premium_Image_Button_Widget extends Widget_Base
34
  /*Start Button Content Section */
35
  $this->start_controls_section('premium_image_button_general_section',
36
  [
37
- 'label' => esc_html__('Button Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
41
  /*Button Text*/
42
  $this->add_control('premium_image_button_text',
43
  [
44
- 'label' => esc_html__('Button Text', 'premium_elementor'),
45
  'type' => Controls_Manager::TEXT,
46
- 'default' => esc_html__('Click Me','premium_elementor'),
47
  'label_block' => true,
48
  ]
49
  );
50
 
51
  $this->add_control('premium_image_button_link',
52
  [
53
- 'label' => esc_html__('URL', 'premium_elementor'),
54
  'type' => Controls_Manager::URL,
55
  'default' => [
56
  'url' => '#',
@@ -66,7 +66,7 @@ class Premium_Image_Button_Widget extends Widget_Base
66
  /*Button Hover Effect*/
67
  $this->add_control('premium_image_button_hover_effect',
68
  [
69
- 'label' => esc_html__('Button Hover Effect', 'premium_elementor'),
70
  'type' => Controls_Manager::SELECT,
71
  'default' => 'none',
72
  'options' => [
@@ -82,7 +82,7 @@ class Premium_Image_Button_Widget extends Widget_Base
82
 
83
  $this->add_control('premium_image_button_style1_dir',
84
  [
85
- 'label' => esc_html__('Slide Direction', 'premium_elementor'),
86
  'type' => Controls_Manager::SELECT,
87
  'default' => 'bottom',
88
  'options' => [
@@ -100,7 +100,7 @@ class Premium_Image_Button_Widget extends Widget_Base
100
 
101
  $this->add_control('premium_image_button_style3_dir',
102
  [
103
- 'label' => esc_html__('Slide Direction', 'premium_elementor'),
104
  'type' => Controls_Manager::SELECT,
105
  'default' => 'bottom',
106
  'options' => [
@@ -118,7 +118,7 @@ class Premium_Image_Button_Widget extends Widget_Base
118
 
119
  $this->add_control('premium_image_button_style4_dir',
120
  [
121
- 'label' => esc_html__('Slide Direction', 'premium_elementor'),
122
  'type' => Controls_Manager::SELECT,
123
  'default' => 'bottom',
124
  'options' => [
@@ -136,7 +136,7 @@ class Premium_Image_Button_Widget extends Widget_Base
136
 
137
  $this->add_control('premium_image_button_style5_dir',
138
  [
139
- 'label' => esc_html__('Overlap Direction', 'premium_elementor'),
140
  'type' => Controls_Manager::SELECT,
141
  'default' => 'horizontal',
142
  'options' => [
@@ -153,19 +153,19 @@ class Premium_Image_Button_Widget extends Widget_Base
153
  /*Button Icon Switcher*/
154
  $this->add_control('premium_image_button_icon_switcher',
155
  [
156
- 'label' => esc_html__('Button Icon', 'premium_elementor'),
157
  'type' => Controls_Manager::SWITCHER,
158
  'condition' => [
159
  'premium_image_button_hover_effect!' => 'style4'
160
  ],
161
- 'description' => esc_html__('Enable or disable button icon','premium_elementor'),
162
  ]
163
  );
164
 
165
  /*Button Icon Selection*/
166
  $this->add_control('premium_image_button_icon_selection',
167
  [
168
- 'label' => esc_html__('Icon', 'premium_elementor'),
169
  'type' => Controls_Manager::ICON,
170
  'default' => 'fa fa-bars',
171
  'condition' => [
@@ -178,7 +178,7 @@ class Premium_Image_Button_Widget extends Widget_Base
178
 
179
  $this->add_control('premium_image_button_style4_icon_selection',
180
  [
181
- 'label' => esc_html__('Icon', 'premium_elementor'),
182
  'type' => Controls_Manager::ICON,
183
  'default' => 'fa fa-bars',
184
  'condition' => [
@@ -190,7 +190,7 @@ class Premium_Image_Button_Widget extends Widget_Base
190
 
191
  $this->add_control('premium_image_button_icon_position',
192
  [
193
- 'label' => esc_html__('Icon Position', 'premium_elementor'),
194
  'type' => Controls_Manager::SELECT,
195
  'default' => 'before',
196
  'options' => [
@@ -207,7 +207,7 @@ class Premium_Image_Button_Widget extends Widget_Base
207
 
208
  $this->add_control('premium_image_button_icon_before_size',
209
  [
210
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
211
  'type' => Controls_Manager::SLIDER,
212
  'condition' => [
213
  'premium_image_button_icon_switcher' => 'yes',
@@ -221,7 +221,7 @@ class Premium_Image_Button_Widget extends Widget_Base
221
 
222
  $this->add_control('premium_image_button_icon_style4_size',
223
  [
224
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
225
  'type' => Controls_Manager::SLIDER,
226
  'condition' => [
227
  'premium_image_button_hover_effect' => 'style4'
@@ -234,7 +234,7 @@ class Premium_Image_Button_Widget extends Widget_Base
234
 
235
  $this->add_control('premium_image_button_icon_before_spacing',
236
  [
237
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
238
  'type' => Controls_Manager::SLIDER,
239
  'condition' => [
240
  'premium_image_button_icon_switcher' => 'yes',
@@ -253,7 +253,7 @@ class Premium_Image_Button_Widget extends Widget_Base
253
 
254
  $this->add_control('premium_image_button_icon_after_spacing',
255
  [
256
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
257
  'type' => Controls_Manager::SLIDER,
258
  'condition' => [
259
  'premium_image_button_icon_switcher' => 'yes',
@@ -273,7 +273,7 @@ class Premium_Image_Button_Widget extends Widget_Base
273
  /*Button Size*/
274
  $this->add_control('premium_image_button_size',
275
  [
276
- 'label' => esc_html__('Button Size', 'premium_elementor'),
277
  'type' => Controls_Manager::SELECT,
278
  'default' => 'lg',
279
  'options' => [
@@ -315,7 +315,7 @@ class Premium_Image_Button_Widget extends Widget_Base
315
 
316
  $this->add_control('premium_image_button_event_switcher',
317
  [
318
- 'label' => esc_html__('Image onclick Event', 'premium_elementor'),
319
  'type' => Controls_Manager::SWITCHER,
320
  'separator' => 'before',
321
  ]
@@ -323,7 +323,7 @@ class Premium_Image_Button_Widget extends Widget_Base
323
 
324
  $this->add_control('premium_image_button_event_function',
325
  [
326
- 'label' => esc_html__('Example: myFunction();', 'premium_elementor'),
327
  'type' => Controls_Manager::TEXTAREA,
328
  'condition' => [
329
  'premium_image_button_event_switcher' => 'yes',
@@ -337,7 +337,7 @@ class Premium_Image_Button_Widget extends Widget_Base
337
  /*Start Styling Section*/
338
  $this->start_controls_section('premium_image_button_style_section',
339
  [
340
- 'label' => esc_html__('Button', 'premium_elementor'),
341
  'tab' => Controls_Manager::TAB_STYLE,
342
  ]
343
  );
@@ -355,13 +355,13 @@ class Premium_Image_Button_Widget extends Widget_Base
355
 
356
  $this->start_controls_tab('premium_image_button_style_normal',
357
  [
358
- 'label' => esc_html__('Normal', 'premium_elementor'),
359
  ]
360
  );
361
 
362
  $this->add_control('premium_image_button_text_color_normal',
363
  [
364
- 'label' => esc_html__('Text Color', 'premium_elementor'),
365
  'type' => Controls_Manager::COLOR,
366
  'scheme' => [
367
  'type' => Scheme_Color::get_type(),
@@ -374,7 +374,7 @@ class Premium_Image_Button_Widget extends Widget_Base
374
 
375
  $this->add_control('premium_image_button_icon_color_normal',
376
  [
377
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
378
  'type' => Controls_Manager::COLOR,
379
  'scheme' => [
380
  'type' => Scheme_Color::get_type(),
@@ -411,7 +411,7 @@ class Premium_Image_Button_Widget extends Widget_Base
411
  /*Button Border Radius*/
412
  $this->add_control('premium_image_button_border_radius_normal',
413
  [
414
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
415
  'type' => Controls_Manager::SLIDER,
416
  'size_units' => ['px', '%' ,'em'],
417
  'selectors' => [
@@ -423,7 +423,7 @@ class Premium_Image_Button_Widget extends Widget_Base
423
  /*Button Margin*/
424
  $this->add_responsive_control('premium_image_button_margin_normal',
425
  [
426
- 'label' => esc_html__('Margin', 'premium_elementor'),
427
  'type' => Controls_Manager::DIMENSIONS,
428
  'size_units' => ['px', 'em', '%'],
429
  'selectors' => [
@@ -434,7 +434,7 @@ class Premium_Image_Button_Widget extends Widget_Base
434
  /*Button Padding*/
435
  $this->add_responsive_control('premium_image_button_padding_normal',
436
  [
437
- 'label' => esc_html__('Padding', 'premium_elementor'),
438
  'type' => Controls_Manager::DIMENSIONS,
439
  'size_units' => ['px', 'em', '%'],
440
  'selectors' => [
@@ -446,7 +446,7 @@ class Premium_Image_Button_Widget extends Widget_Base
446
  $this->add_group_control(
447
  Group_Control_Text_Shadow::get_type(),
448
  [
449
- 'label' => esc_html__('Icon Shadow','premium_elementor'),
450
  'name' => 'premium_image_button_icon_shadow_normal',
451
  'selector' => '{{WRAPPER}} .premium-image-button-text-icon-wrapper i',
452
  'condition' => [
@@ -461,7 +461,7 @@ class Premium_Image_Button_Widget extends Widget_Base
461
  $this->add_group_control(
462
  Group_Control_Text_Shadow::get_type(),
463
  [
464
- 'label' => esc_html__('Text Shadow','premium_elementor'),
465
  'name' => 'premium_image_button_text_shadow_normal',
466
  'selector' => '{{WRAPPER}} .premium-image-button-text-icon-wrapper span',
467
  ]
@@ -471,7 +471,7 @@ class Premium_Image_Button_Widget extends Widget_Base
471
  $this->add_group_control(
472
  Group_Control_Box_Shadow::get_type(),
473
  [
474
- 'label' => esc_html__('Button Shadow','premium_elementor'),
475
  'name' => 'premium_image_button_box_shadow_normal',
476
  'selector' => '{{WRAPPER}} .premium-image-button',
477
  ]
@@ -481,13 +481,13 @@ class Premium_Image_Button_Widget extends Widget_Base
481
 
482
  $this->start_controls_tab('premium_image_button_style_hover',
483
  [
484
- 'label' => esc_html__('Hover', 'premium_elementor'),
485
  ]
486
  );
487
 
488
  $this->add_control('premium_image_button_text_color_hover',
489
  [
490
- 'label' => esc_html__('Text Color', 'premium_elementor'),
491
  'type' => Controls_Manager::COLOR,
492
  'scheme' => [
493
  'type' => Scheme_Color::get_type(),
@@ -503,7 +503,7 @@ class Premium_Image_Button_Widget extends Widget_Base
503
 
504
  $this->add_control('premium_image_button_icon_color_hover',
505
  [
506
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
507
  'type' => Controls_Manager::COLOR,
508
  'scheme' => [
509
  'type' => Scheme_Color::get_type(),
@@ -520,7 +520,7 @@ class Premium_Image_Button_Widget extends Widget_Base
520
 
521
  $this->add_control('premium_image_button_style4_icon_color',
522
  [
523
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
524
  'type' => Controls_Manager::COLOR,
525
  'scheme' => [
526
  'type' => Scheme_Color::get_type(),
@@ -536,7 +536,7 @@ class Premium_Image_Button_Widget extends Widget_Base
536
 
537
  $this->add_control('premium_image_button_diagonal_overlay_color',
538
  [
539
- 'label' => esc_html__('Overlay Color', 'premium_elementor'),
540
  'type' => Controls_Manager::COLOR,
541
  'scheme' => [
542
  'type' => Scheme_Color::get_type(),
@@ -553,7 +553,7 @@ class Premium_Image_Button_Widget extends Widget_Base
553
 
554
  $this->add_control('premium_image_button_overlap_overlay_color',
555
  [
556
- 'label' => esc_html__('Overlay Color', 'premium_elementor'),
557
  'type' => Controls_Manager::COLOR,
558
  'scheme' => [
559
  'type' => Scheme_Color::get_type(),
@@ -579,7 +579,7 @@ class Premium_Image_Button_Widget extends Widget_Base
579
  /*Overlay Color*/
580
  $this->add_control('premium_image_button_overlay_color',
581
  [
582
- 'label' => esc_html__('Overlay Color', 'premium_elementor'),
583
  'type' => Controls_Manager::COLOR,
584
  'scheme' => [
585
  'type' => Scheme_Color::get_type(),
@@ -606,7 +606,7 @@ class Premium_Image_Button_Widget extends Widget_Base
606
  /*Button Border Radius*/
607
  $this->add_control('premium_image_button_border_radius_hover',
608
  [
609
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
610
  'type' => Controls_Manager::SLIDER,
611
  'size_units' => ['px', '%' ,'em'],
612
  'selectors' => [
@@ -618,7 +618,7 @@ class Premium_Image_Button_Widget extends Widget_Base
618
  /*Button Margin*/
619
  $this->add_responsive_control('premium_image_button_margin_hover',
620
  [
621
- 'label' => esc_html__('Margin', 'premium_elementor'),
622
  'type' => Controls_Manager::DIMENSIONS,
623
  'size_units' => ['px', 'em', '%'],
624
  'selectors' => [
@@ -629,7 +629,7 @@ class Premium_Image_Button_Widget extends Widget_Base
629
  /*Button Padding*/
630
  $this->add_responsive_control('premium_image_button_padding_hover',
631
  [
632
- 'label' => esc_html__('Padding', 'premium_elementor'),
633
  'type' => Controls_Manager::DIMENSIONS,
634
  'size_units' => ['px', 'em', '%'],
635
  'selectors' => [
@@ -641,7 +641,7 @@ class Premium_Image_Button_Widget extends Widget_Base
641
  $this->add_group_control(
642
  Group_Control_Text_Shadow::get_type(),
643
  [
644
- 'label' => esc_html__('Icon Shadow','premium_elementor'),
645
  'name' => 'premium_image_button_icon_shadow_hover',
646
  'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper i',
647
  'condition' => [
@@ -654,7 +654,7 @@ class Premium_Image_Button_Widget extends Widget_Base
654
  $this->add_group_control(
655
  Group_Control_Text_Shadow::get_type(),
656
  [
657
- 'label' => esc_html__('Icon Shadow','premium_elementor'),
658
  'name' => 'premium_image_button_style4_icon_shadow_hover',
659
  'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-style4-icon-wrapper i',
660
  'condition' => [
@@ -667,7 +667,7 @@ class Premium_Image_Button_Widget extends Widget_Base
667
  $this->add_group_control(
668
  Group_Control_Text_Shadow::get_type(),
669
  [
670
- 'label' => esc_html__('Text Shadow','premium_elementor'),
671
  'name' => 'premium_image_button_text_shadow_hover',
672
  'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper span',
673
  'condition' => [
@@ -680,7 +680,7 @@ class Premium_Image_Button_Widget extends Widget_Base
680
  $this->add_group_control(
681
  Group_Control_Box_Shadow::get_type(),
682
  [
683
- 'label' => esc_html__('Button Shadow','premium_elementor'),
684
  'name' => 'premium_image_button_box_shadow_hover',
685
  'selector' => '{{WRAPPER}} .premium-image-button:hover',
686
  ]
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Image Button', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /*Start Button Content Section */
35
  $this->start_controls_section('premium_image_button_general_section',
36
  [
37
+ 'label' => esc_html__('Button Settings', 'premium-addons-for-elementor'),
38
  ]
39
  );
40
 
41
  /*Button Text*/
42
  $this->add_control('premium_image_button_text',
43
  [
44
+ 'label' => esc_html__('Button Text', 'premium-addons-for-elementor'),
45
  'type' => Controls_Manager::TEXT,
46
+ 'default' => esc_html__('Click Me','premium-addons-for-elementor'),
47
  'label_block' => true,
48
  ]
49
  );
50
 
51
  $this->add_control('premium_image_button_link',
52
  [
53
+ 'label' => esc_html__('URL', 'premium-addons-for-elementor'),
54
  'type' => Controls_Manager::URL,
55
  'default' => [
56
  'url' => '#',
66
  /*Button Hover Effect*/
67
  $this->add_control('premium_image_button_hover_effect',
68
  [
69
+ 'label' => esc_html__('Button Hover Effect', 'premium-addons-for-elementor'),
70
  'type' => Controls_Manager::SELECT,
71
  'default' => 'none',
72
  'options' => [
82
 
83
  $this->add_control('premium_image_button_style1_dir',
84
  [
85
+ 'label' => esc_html__('Slide Direction', 'premium-addons-for-elementor'),
86
  'type' => Controls_Manager::SELECT,
87
  'default' => 'bottom',
88
  'options' => [
100
 
101
  $this->add_control('premium_image_button_style3_dir',
102
  [
103
+ 'label' => esc_html__('Slide Direction', 'premium-addons-for-elementor'),
104
  'type' => Controls_Manager::SELECT,
105
  'default' => 'bottom',
106
  'options' => [
118
 
119
  $this->add_control('premium_image_button_style4_dir',
120
  [
121
+ 'label' => esc_html__('Slide Direction', 'premium-addons-for-elementor'),
122
  'type' => Controls_Manager::SELECT,
123
  'default' => 'bottom',
124
  'options' => [
136
 
137
  $this->add_control('premium_image_button_style5_dir',
138
  [
139
+ 'label' => esc_html__('Overlap Direction', 'premium-addons-for-elementor'),
140
  'type' => Controls_Manager::SELECT,
141
  'default' => 'horizontal',
142
  'options' => [
153
  /*Button Icon Switcher*/
154
  $this->add_control('premium_image_button_icon_switcher',
155
  [
156
+ 'label' => esc_html__('Button Icon', 'premium-addons-for-elementor'),
157
  'type' => Controls_Manager::SWITCHER,
158
  'condition' => [
159
  'premium_image_button_hover_effect!' => 'style4'
160
  ],
161
+ 'description' => esc_html__('Enable or disable button icon','premium-addons-for-elementor'),
162
  ]
163
  );
164
 
165
  /*Button Icon Selection*/
166
  $this->add_control('premium_image_button_icon_selection',
167
  [
168
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
169
  'type' => Controls_Manager::ICON,
170
  'default' => 'fa fa-bars',
171
  'condition' => [
178
 
179
  $this->add_control('premium_image_button_style4_icon_selection',
180
  [
181
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
182
  'type' => Controls_Manager::ICON,
183
  'default' => 'fa fa-bars',
184
  'condition' => [
190
 
191
  $this->add_control('premium_image_button_icon_position',
192
  [
193
+ 'label' => esc_html__('Icon Position', 'premium-addons-for-elementor'),
194
  'type' => Controls_Manager::SELECT,
195
  'default' => 'before',
196
  'options' => [
207
 
208
  $this->add_control('premium_image_button_icon_before_size',
209
  [
210
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
211
  'type' => Controls_Manager::SLIDER,
212
  'condition' => [
213
  'premium_image_button_icon_switcher' => 'yes',
221
 
222
  $this->add_control('premium_image_button_icon_style4_size',
223
  [
224
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
225
  'type' => Controls_Manager::SLIDER,
226
  'condition' => [
227
  'premium_image_button_hover_effect' => 'style4'
234
 
235
  $this->add_control('premium_image_button_icon_before_spacing',
236
  [
237
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
238
  'type' => Controls_Manager::SLIDER,
239
  'condition' => [
240
  'premium_image_button_icon_switcher' => 'yes',
253
 
254
  $this->add_control('premium_image_button_icon_after_spacing',
255
  [
256
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
257
  'type' => Controls_Manager::SLIDER,
258
  'condition' => [
259
  'premium_image_button_icon_switcher' => 'yes',
273
  /*Button Size*/
274
  $this->add_control('premium_image_button_size',
275
  [
276
+ 'label' => esc_html__('Button Size', 'premium-addons-for-elementor'),
277
  'type' => Controls_Manager::SELECT,
278
  'default' => 'lg',
279
  'options' => [
315
 
316
  $this->add_control('premium_image_button_event_switcher',
317
  [
318
+ 'label' => esc_html__('Image onclick Event', 'premium-addons-for-elementor'),
319
  'type' => Controls_Manager::SWITCHER,
320
  'separator' => 'before',
321
  ]
323
 
324
  $this->add_control('premium_image_button_event_function',
325
  [
326
+ 'label' => esc_html__('Example: myFunction();', 'premium-addons-for-elementor'),
327
  'type' => Controls_Manager::TEXTAREA,
328
  'condition' => [
329
  'premium_image_button_event_switcher' => 'yes',
337
  /*Start Styling Section*/
338
  $this->start_controls_section('premium_image_button_style_section',
339
  [
340
+ 'label' => esc_html__('Button', 'premium-addons-for-elementor'),
341
  'tab' => Controls_Manager::TAB_STYLE,
342
  ]
343
  );
355
 
356
  $this->start_controls_tab('premium_image_button_style_normal',
357
  [
358
+ 'label' => esc_html__('Normal', 'premium-addons-for-elementor'),
359
  ]
360
  );
361
 
362
  $this->add_control('premium_image_button_text_color_normal',
363
  [
364
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
365
  'type' => Controls_Manager::COLOR,
366
  'scheme' => [
367
  'type' => Scheme_Color::get_type(),
374
 
375
  $this->add_control('premium_image_button_icon_color_normal',
376
  [
377
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
378
  'type' => Controls_Manager::COLOR,
379
  'scheme' => [
380
  'type' => Scheme_Color::get_type(),
411
  /*Button Border Radius*/
412
  $this->add_control('premium_image_button_border_radius_normal',
413
  [
414
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
415
  'type' => Controls_Manager::SLIDER,
416
  'size_units' => ['px', '%' ,'em'],
417
  'selectors' => [
423
  /*Button Margin*/
424
  $this->add_responsive_control('premium_image_button_margin_normal',
425
  [
426
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
427
  'type' => Controls_Manager::DIMENSIONS,
428
  'size_units' => ['px', 'em', '%'],
429
  'selectors' => [
434
  /*Button Padding*/
435
  $this->add_responsive_control('premium_image_button_padding_normal',
436
  [
437
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
438
  'type' => Controls_Manager::DIMENSIONS,
439
  'size_units' => ['px', 'em', '%'],
440
  'selectors' => [
446
  $this->add_group_control(
447
  Group_Control_Text_Shadow::get_type(),
448
  [
449
+ 'label' => esc_html__('Icon Shadow','premium-addons-for-elementor'),
450
  'name' => 'premium_image_button_icon_shadow_normal',
451
  'selector' => '{{WRAPPER}} .premium-image-button-text-icon-wrapper i',
452
  'condition' => [
461
  $this->add_group_control(
462
  Group_Control_Text_Shadow::get_type(),
463
  [
464
+ 'label' => esc_html__('Text Shadow','premium-addons-for-elementor'),
465
  'name' => 'premium_image_button_text_shadow_normal',
466
  'selector' => '{{WRAPPER}} .premium-image-button-text-icon-wrapper span',
467
  ]
471
  $this->add_group_control(
472
  Group_Control_Box_Shadow::get_type(),
473
  [
474
+ 'label' => esc_html__('Button Shadow','premium-addons-for-elementor'),
475
  'name' => 'premium_image_button_box_shadow_normal',
476
  'selector' => '{{WRAPPER}} .premium-image-button',
477
  ]
481
 
482
  $this->start_controls_tab('premium_image_button_style_hover',
483
  [
484
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
485
  ]
486
  );
487
 
488
  $this->add_control('premium_image_button_text_color_hover',
489
  [
490
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
491
  'type' => Controls_Manager::COLOR,
492
  'scheme' => [
493
  'type' => Scheme_Color::get_type(),
503
 
504
  $this->add_control('premium_image_button_icon_color_hover',
505
  [
506
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
507
  'type' => Controls_Manager::COLOR,
508
  'scheme' => [
509
  'type' => Scheme_Color::get_type(),
520
 
521
  $this->add_control('premium_image_button_style4_icon_color',
522
  [
523
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
524
  'type' => Controls_Manager::COLOR,
525
  'scheme' => [
526
  'type' => Scheme_Color::get_type(),
536
 
537
  $this->add_control('premium_image_button_diagonal_overlay_color',
538
  [
539
+ 'label' => esc_html__('Overlay Color', 'premium-addons-for-elementor'),
540
  'type' => Controls_Manager::COLOR,
541
  'scheme' => [
542
  'type' => Scheme_Color::get_type(),
553
 
554
  $this->add_control('premium_image_button_overlap_overlay_color',
555
  [
556
+ 'label' => esc_html__('Overlay Color', 'premium-addons-for-elementor'),
557
  'type' => Controls_Manager::COLOR,
558
  'scheme' => [
559
  'type' => Scheme_Color::get_type(),
579
  /*Overlay Color*/
580
  $this->add_control('premium_image_button_overlay_color',
581
  [
582
+ 'label' => esc_html__('Overlay Color', 'premium-addons-for-elementor'),
583
  'type' => Controls_Manager::COLOR,
584
  'scheme' => [
585
  'type' => Scheme_Color::get_type(),
606
  /*Button Border Radius*/
607
  $this->add_control('premium_image_button_border_radius_hover',
608
  [
609
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
610
  'type' => Controls_Manager::SLIDER,
611
  'size_units' => ['px', '%' ,'em'],
612
  'selectors' => [
618
  /*Button Margin*/
619
  $this->add_responsive_control('premium_image_button_margin_hover',
620
  [
621
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
622
  'type' => Controls_Manager::DIMENSIONS,
623
  'size_units' => ['px', 'em', '%'],
624
  'selectors' => [
629
  /*Button Padding*/
630
  $this->add_responsive_control('premium_image_button_padding_hover',
631
  [
632
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
633
  'type' => Controls_Manager::DIMENSIONS,
634
  'size_units' => ['px', 'em', '%'],
635
  'selectors' => [
641
  $this->add_group_control(
642
  Group_Control_Text_Shadow::get_type(),
643
  [
644
+ 'label' => esc_html__('Icon Shadow','premium-addons-for-elementor'),
645
  'name' => 'premium_image_button_icon_shadow_hover',
646
  'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper i',
647
  'condition' => [
654
  $this->add_group_control(
655
  Group_Control_Text_Shadow::get_type(),
656
  [
657
+ 'label' => esc_html__('Icon Shadow','premium-addons-for-elementor'),
658
  'name' => 'premium_image_button_style4_icon_shadow_hover',
659
  'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-style4-icon-wrapper i',
660
  'condition' => [
667
  $this->add_group_control(
668
  Group_Control_Text_Shadow::get_type(),
669
  [
670
+ 'label' => esc_html__('Text Shadow','premium-addons-for-elementor'),
671
  'name' => 'premium_image_button_text_shadow_hover',
672
  'selector' => '{{WRAPPER}} .premium-image-button:hover .premium-image-button-text-icon-wrapper span',
673
  'condition' => [
680
  $this->add_group_control(
681
  Group_Control_Box_Shadow::get_type(),
682
  [
683
+ 'label' => esc_html__('Button Shadow','premium-addons-for-elementor'),
684
  'name' => 'premium_image_button_box_shadow_hover',
685
  'selector' => '{{WRAPPER}} .premium-image-button:hover',
686
  ]
widgets/premium-imageseparator.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Image_Separator_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Image Separator', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,19 +34,19 @@ class Premium_Image_Separator_Widget extends Widget_Base
34
  /* Start Content Section */
35
  $this->start_controls_section('premium_image_separator_general_settings',
36
  [
37
- 'label' => esc_html__('Image Settings', 'premium_elementor')
38
  ]
39
  );
40
 
41
  /*Separator Image*/
42
  $this->add_control('premium_image_separator_image',
43
  [
44
- 'label' => esc_html__('Image', 'premium_elementor'),
45
  'type' => Controls_Manager::MEDIA,
46
  'default' => [
47
  'url' => Utils::get_placeholder_image_src(),
48
  ],
49
- 'description' => esc_html__('Choose the separator image', 'premium_elementor' ),
50
  'label_block' => true
51
  ]
52
  );
@@ -54,7 +54,7 @@ class Premium_Image_Separator_Widget extends Widget_Base
54
  /*Separator Image Size*/
55
  $this->add_responsive_control('premium_image_separator_image_size',
56
  [
57
- 'label' => esc_html__('Image Size', 'premium_elementor'),
58
  'type' => Controls_Manager::SLIDER,
59
  'size_units' => ['px', '%', "em"],
60
  'default' => [
@@ -76,10 +76,10 @@ class Premium_Image_Separator_Widget extends Widget_Base
76
  /*Separator Image Gutter*/
77
  $this->add_control('premium_image_separator_image_gutter',
78
  [
79
- 'label' => esc_html__('Image Gutter (%)', 'premium_elementor'),
80
  'type' => Controls_Manager::NUMBER,
81
  'default' => -50,
82
- 'description' => esc_html__('-50% is default. Increase to push the image outside or decrease to pull the image inside.','premium_elementor'),
83
  'label_block' => true,
84
  'selectors' => [
85
  '{{WRAPPER}} .premium-image-separator-container' => 'transform: translateY( {{VALUE}}% );'
@@ -90,19 +90,19 @@ class Premium_Image_Separator_Widget extends Widget_Base
90
 
91
  $this->add_control('premium_image_separator_image_align',
92
  [
93
- 'label' => esc_html__('Image Alignment', 'premium_elementor'),
94
  'type' => Controls_Manager::CHOOSE,
95
  'options' => [
96
  'left' => [
97
- 'title' => esc_html__('Left', 'premium_elementor'),
98
  'icon' => 'fa fa-align-left'
99
  ],
100
  'center' => [
101
- 'title' => esc_html__('Center', 'premium_elementor'),
102
  'icon' => 'fa fa-align-center'
103
  ],
104
  'right' => [
105
- 'title' => esc_html__('Right', 'premium_elementor'),
106
  'icon' => 'fa fa-align-right'
107
  ],
108
  ],
@@ -117,19 +117,19 @@ class Premium_Image_Separator_Widget extends Widget_Base
117
  /*Add Link Switcher*/
118
  $this->add_control('premium_image_separator_link_switcher',
119
  [
120
- 'label' => esc_html__('Link', 'premium_elementor'),
121
  'type' => Controls_Manager::SWITCHER,
122
- 'description' => esc_html__('Add a custom link or select an existing page link','premium_elementor'),
123
  ]
124
  );
125
 
126
  $this->add_control('premium_image_separator_link_type',
127
  [
128
- 'label' => esc_html__('Link/URL', 'premium_elementor'),
129
  'type' => Controls_Manager::SELECT,
130
  'options' => [
131
- 'url' => esc_html__('URL', 'premium_elementor'),
132
- 'link' => esc_html__('Link to Existing Content', 'premium_elementor'),
133
  ],
134
  'default' => 'url',
135
  'condition' => [
@@ -141,7 +141,7 @@ class Premium_Image_Separator_Widget extends Widget_Base
141
 
142
  $this->add_control('premium_image_separator_existing_page',
143
  [
144
- 'label' => esc_html__('Link to Existing Content', 'premium_elementor'),
145
  'type' => Controls_Manager::SELECT,
146
  'options' => $this->getTemplateInstance()->get_all_post(),
147
  'condition' => [
@@ -155,7 +155,7 @@ class Premium_Image_Separator_Widget extends Widget_Base
155
  /*Link Below Image*/
156
  $this->add_control('premium_image_separator_image_link',
157
  [
158
- 'label' => esc_html__('URL', 'premium_elementor'),
159
  'type' => Controls_Manager::TEXT,
160
  'condition' => [
161
  'premium_image_separator_link_switcher' => 'yes',
@@ -169,7 +169,7 @@ class Premium_Image_Separator_Widget extends Widget_Base
169
  /*Link Below Image*/
170
  $this->add_control('premium_image_separator_image_link_text',
171
  [
172
- 'label' => esc_html__('Image Hovering Title', 'premium_elementor'),
173
  'type' => Controls_Manager::TEXT,
174
  'condition' => [
175
  'premium_image_separator_link_switcher' => 'yes',
@@ -181,16 +181,16 @@ class Premium_Image_Separator_Widget extends Widget_Base
181
  /*Link Target*/
182
  $this->add_control('premium_image_separator_link_target',
183
  [
184
- 'label' => esc_html__('Link Target', 'premium_elementor'),
185
  'type' => Controls_Manager::SELECT,
186
- 'description' => esc_html__( ' Where would you like the link be opened?', 'premium_elementor' ),
187
  'options' => [
188
  'blank' => esc_html('Blank'),
189
  'parent' => esc_html('Parent'),
190
  'self' => esc_html('Self'),
191
  'top' => esc_html('Top'),
192
  ],
193
- 'default' => esc_html__('blank','premium_elementor'),
194
  'condition' => [
195
  'premium_image_separator_link_switcher' => 'yes',
196
  ],
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Image Separator', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /* Start Content Section */
35
  $this->start_controls_section('premium_image_separator_general_settings',
36
  [
37
+ 'label' => esc_html__('Image Settings', 'premium-addons-for-elementor')
38
  ]
39
  );
40
 
41
  /*Separator Image*/
42
  $this->add_control('premium_image_separator_image',
43
  [
44
+ 'label' => esc_html__('Image', 'premium-addons-for-elementor'),
45
  'type' => Controls_Manager::MEDIA,
46
  'default' => [
47
  'url' => Utils::get_placeholder_image_src(),
48
  ],
49
+ 'description' => esc_html__('Choose the separator image', 'premium-addons-for-elementor' ),
50
  'label_block' => true
51
  ]
52
  );
54
  /*Separator Image Size*/
55
  $this->add_responsive_control('premium_image_separator_image_size',
56
  [
57
+ 'label' => esc_html__('Image Size', 'premium-addons-for-elementor'),
58
  'type' => Controls_Manager::SLIDER,
59
  'size_units' => ['px', '%', "em"],
60
  'default' => [
76
  /*Separator Image Gutter*/
77
  $this->add_control('premium_image_separator_image_gutter',
78
  [
79
+ 'label' => esc_html__('Image Gutter (%)', 'premium-addons-for-elementor'),
80
  'type' => Controls_Manager::NUMBER,
81
  'default' => -50,
82
+ 'description' => esc_html__('-50% is default. Increase to push the image outside or decrease to pull the image inside.','premium-addons-for-elementor'),
83
  'label_block' => true,
84
  'selectors' => [
85
  '{{WRAPPER}} .premium-image-separator-container' => 'transform: translateY( {{VALUE}}% );'
90
 
91
  $this->add_control('premium_image_separator_image_align',
92
  [
93
+ 'label' => esc_html__('Image Alignment', 'premium-addons-for-elementor'),
94
  'type' => Controls_Manager::CHOOSE,
95
  'options' => [
96
  'left' => [
97
+ 'title' => esc_html__('Left', 'premium-addons-for-elementor'),
98
  'icon' => 'fa fa-align-left'
99
  ],
100
  'center' => [
101
+ 'title' => esc_html__('Center', 'premium-addons-for-elementor'),
102
  'icon' => 'fa fa-align-center'
103
  ],
104
  'right' => [
105
+ 'title' => esc_html__('Right', 'premium-addons-for-elementor'),
106
  'icon' => 'fa fa-align-right'
107
  ],
108
  ],
117
  /*Add Link Switcher*/
118
  $this->add_control('premium_image_separator_link_switcher',
119
  [
120
+ 'label' => esc_html__('Link', 'premium-addons-for-elementor'),
121
  'type' => Controls_Manager::SWITCHER,
122
+ 'description' => esc_html__('Add a custom link or select an existing page link','premium-addons-for-elementor'),
123
  ]
124
  );
125
 
126
  $this->add_control('premium_image_separator_link_type',
127
  [
128
+ 'label' => esc_html__('Link/URL', 'premium-addons-for-elementor'),
129
  'type' => Controls_Manager::SELECT,
130
  'options' => [
131
+ 'url' => esc_html__('URL', 'premium-addons-for-elementor'),
132
+ 'link' => esc_html__('Link to Existing Content', 'premium-addons-for-elementor'),
133
  ],
134
  'default' => 'url',
135
  'condition' => [
141
 
142
  $this->add_control('premium_image_separator_existing_page',
143
  [
144
+ 'label' => esc_html__('Link to Existing Content', 'premium-addons-for-elementor'),
145
  'type' => Controls_Manager::SELECT,
146
  'options' => $this->getTemplateInstance()->get_all_post(),
147
  'condition' => [
155
  /*Link Below Image*/
156
  $this->add_control('premium_image_separator_image_link',
157
  [
158
+ 'label' => esc_html__('URL', 'premium-addons-for-elementor'),
159
  'type' => Controls_Manager::TEXT,
160
  'condition' => [
161
  'premium_image_separator_link_switcher' => 'yes',
169
  /*Link Below Image*/
170
  $this->add_control('premium_image_separator_image_link_text',
171
  [
172
+ 'label' => esc_html__('Image Hovering Title', 'premium-addons-for-elementor'),
173
  'type' => Controls_Manager::TEXT,
174
  'condition' => [
175
  'premium_image_separator_link_switcher' => 'yes',
181
  /*Link Target*/
182
  $this->add_control('premium_image_separator_link_target',
183
  [
184
+ 'label' => esc_html__('Link Target', 'premium-addons-for-elementor'),
185
  'type' => Controls_Manager::SELECT,
186
+ 'description' => esc_html__( ' Where would you like the link be opened?', 'premium-addons-for-elementor' ),
187
  'options' => [
188
  'blank' => esc_html('Blank'),
189
  'parent' => esc_html('Parent'),
190
  'self' => esc_html('Self'),
191
  'top' => esc_html('Top'),
192
  ],
193
+ 'default' => esc_html__('blank','premium-addons-for-elementor'),
194
  'condition' => [
195
  'premium_image_separator_link_switcher' => 'yes',
196
  ],
widgets/premium-maps.php CHANGED
@@ -21,7 +21,7 @@ class Premium_Maps_Widget extends Widget_Base
21
  }
22
 
23
  public function get_title() {
24
- return esc_html__('Premium Maps', 'premium_elementor');
25
  }
26
 
27
  public function get_icon() {
@@ -39,7 +39,7 @@ class Premium_Maps_Widget extends Widget_Base
39
  /* Start Map Settings Section */
40
  $this->start_controls_section('premium_maps_map_settings',
41
  [
42
- 'label' => esc_html__('Center Location', 'premium_elementor'),
43
  ]
44
  );
45
 
@@ -52,9 +52,9 @@ class Premium_Maps_Widget extends Widget_Base
52
 
53
  $this->add_control('premium_maps_center_lat',
54
  [
55
- 'label' => esc_html__('Center Latitude', 'premium_elementor'),
56
  'type' => Controls_Manager::TEXT,
57
- 'description' => esc_html__('Center latitude and longitude are required to identify your location', 'premium_elementor'),
58
  'default' => '18.591212',
59
  'label_block' => true,
60
  ]
@@ -62,9 +62,9 @@ class Premium_Maps_Widget extends Widget_Base
62
 
63
  $this->add_control('premium_maps_center_long',
64
  [
65
- 'label' => esc_html__('Center Longitude', 'premium_elementor'),
66
  'type' => Controls_Manager::TEXT,
67
- 'description' => esc_html__('Center latitude and longitude are required to identify your location', 'premium_elementor'),
68
  'default' => '73.741261',
69
  'label_block' => true,
70
  ]
@@ -74,50 +74,50 @@ class Premium_Maps_Widget extends Widget_Base
74
 
75
  $this->start_controls_section('premium_maps_map_pins_settings',
76
  [
77
- 'label' => esc_html__('Map Markers', 'premium_elementor'),
78
  ]
79
  );
80
 
81
  $this->add_control('premium_maps_map_pins',
82
  [
83
- 'label' => esc_html__('Map Pins', 'premium_elementor'),
84
  'type' => Controls_Manager::REPEATER,
85
  'default' => [
86
  'map_latitude' => '18.591212',
87
  'map_longitude' => '73.741261',
88
- 'pin_title' => esc_html__('Premium Google Maps', 'premium_elementor'),
89
- 'pin_desc' => esc_html__('Add an optional description to your map pin', 'premium_elementor'),
90
  ],
91
  'fields' => [
92
  [
93
  'name' => 'map_latitude',
94
- 'label' => esc_html__('Latitude', 'premium_elementor'),
95
  'type' => Controls_Manager::TEXT,
96
  'description' => 'Click <a href="http://universimmedia.pagesperso-orange.fr/geo/loc.htm" target="_blank">here</a> to get your location coordinates',
97
  'label_block' => true,
98
  ],
99
  [
100
  'name' => 'map_longitude',
101
- 'label' => esc_html__('Longitude', 'premium_elementor'),
102
  'type' => Controls_Manager::TEXT,
103
  'description' => 'Click <a href="http://universimmedia.pagesperso-orange.fr/geo/loc.htm" target="_blank">here</a> to get your location coordinates',
104
  'label_block' => true,
105
  ],
106
  [
107
  'name' => 'pin_title',
108
- 'label' => esc_html__('Pin Title', 'premium_elementor'),
109
  'type' => Controls_Manager::TEXT,
110
  'label_block' => true,
111
  ],
112
  [
113
  'name' => 'pin_desc',
114
- 'label' => esc_html__('Pin Description', 'premium_elementor'),
115
  'type' => Controls_Manager::TEXTAREA,
116
  'label_block' => true,
117
  ],
118
  [
119
  'name' => 'pin_icon',
120
- 'label' => esc_html__('Pin Icon', 'premium_elementor'),
121
  'type' => Controls_Manager::MEDIA,
122
  ],
123
  ],
@@ -128,13 +128,13 @@ class Premium_Maps_Widget extends Widget_Base
128
 
129
  $this->start_controls_section('premium_maps_controls_section',
130
  [
131
- 'label' => esc_html__('Map Controls', 'premium_elementor'),
132
  ]
133
  );
134
 
135
  $this->add_responsive_control('premium_maps_map_height',
136
  [
137
- 'label' => esc_html__( 'Map Height', 'premium_elementor' ),
138
  'type' => Controls_Manager::SLIDER,
139
  'default' => [
140
  'size' => 500,
@@ -153,7 +153,7 @@ class Premium_Maps_Widget extends Widget_Base
153
 
154
  $this->add_control('premium_maps_map_zoom',
155
  [
156
- 'label' => esc_html__( 'Map Zoom', 'premium_elementor' ),
157
  'type' => Controls_Manager::SLIDER,
158
  'default' => [
159
  'size' => 12,
@@ -169,55 +169,55 @@ class Premium_Maps_Widget extends Widget_Base
169
 
170
  $this->add_control('premium_maps_map_option_map_type_control',
171
  [
172
- 'label' => esc_html__( 'Enable Map Type Controls', 'premium_elementor' ),
173
  'type' => Controls_Manager::SWITCHER,
174
  ]
175
  );
176
 
177
  $this->add_control('premium_maps_map_option_zoom_controls',
178
  [
179
- 'label' => esc_html__( 'Enable Zoom Controls', 'premium_elementor' ),
180
  'type' => Controls_Manager::SWITCHER,
181
  ]
182
  );
183
 
184
  $this->add_control('premium_maps_map_option_streeview',
185
  [
186
- 'label' => esc_html__( 'Enable Street View Control', 'premium_elementor' ),
187
  'type' => Controls_Manager::SWITCHER,
188
  ]
189
  );
190
 
191
  $this->add_control('premium_maps_map_option_fullscreen_control',
192
  [
193
- 'label' => esc_html__( 'Enable Fullscreen Control', 'premium_elementor' ),
194
  'type' => Controls_Manager::SWITCHER,
195
  ]
196
  );
197
 
198
  $this->add_control('premium_maps_map_option_mapscroll',
199
  [
200
- 'label' => esc_html__( 'Enable Scroll Wheel Zoom', 'premium_elementor' ),
201
  'type' => Controls_Manager::SWITCHER,
202
  ]
203
  );
204
 
205
  $this->add_control('premium_maps_marker_open',
206
  [
207
- 'label' => esc_html__( 'Enable Marker Automatic Open', 'premium_elementor' ),
208
  'type' => Controls_Manager::SWITCHER,
209
  ]
210
  );
211
 
212
  $this->add_control('premium_maps_map_type',
213
  [
214
- 'label' => esc_html__( 'Map Type', 'premium_elementor' ),
215
  'type' => Controls_Manager::SELECT,
216
  'options' => [
217
- 'roadmap' => esc_html__( 'Road Map', 'premium_elementor' ),
218
- 'satellite' => esc_html__( 'Satellite', 'premium_elementor' ),
219
- 'terrain' => esc_html__( 'Terrain', 'premium_elementor' ),
220
- 'hybrid' => esc_html__( 'Hybrid', 'premium_elementor' ),
221
  ],
222
  'default' => 'roadmap',
223
  ]
@@ -227,13 +227,13 @@ class Premium_Maps_Widget extends Widget_Base
227
 
228
  $this->start_controls_section('premium_maps_custom_styling_section',
229
  [
230
- 'label' => esc_html__('Map Custom Styling', 'premium_elementor'),
231
  ]
232
  );
233
 
234
  $this->add_control('premium_maps_custom_styling',
235
  [
236
- 'label' => esc_html__('JSON Code', 'premium_elementor'),
237
  'type' => Controls_Manager::TEXTAREA,
238
  'description' => 'Get your custom styling from <a href="https://snazzymaps.com/" target="_blank">here</a>',
239
  'label_block' => true,
@@ -246,7 +246,7 @@ class Premium_Maps_Widget extends Widget_Base
246
  /*Start Map Style Section*/
247
  $this->start_controls_section('premium_maps_box_style',
248
  [
249
- 'label' => esc_html__('Map', 'premium_elementor'),
250
  'tab' => Controls_Manager::TAB_STYLE,
251
  ]
252
  );
@@ -263,7 +263,7 @@ class Premium_Maps_Widget extends Widget_Base
263
  /*First Border Radius*/
264
  $this->add_control('premium_maps_box_radius',
265
  [
266
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
267
  'type' => Controls_Manager::SLIDER,
268
  'size_units' => ['px', '%', 'em'],
269
  'selectors' => [
@@ -275,7 +275,7 @@ class Premium_Maps_Widget extends Widget_Base
275
  /*First Margin*/
276
  $this->add_responsive_control('premium_maps_box_margin',
277
  [
278
- 'label' => esc_html__('Margin', 'premium_elementor'),
279
  'type' => Controls_Manager::DIMENSIONS,
280
  'size_units' => [ 'px', 'em', '%' ],
281
  'selectors' => [
@@ -287,7 +287,7 @@ class Premium_Maps_Widget extends Widget_Base
287
  /*First Padding*/
288
  $this->add_responsive_control('premium_maps_box_padding',
289
  [
290
- 'label' => esc_html__('Padding', 'premium_elementor'),
291
  'type' => Controls_Manager::DIMENSIONS,
292
  'size_units' => [ 'px', 'em', '%' ],
293
  'selectors' => [
@@ -310,7 +310,7 @@ class Premium_Maps_Widget extends Widget_Base
310
  /*Start Title Style Section*/
311
  $this->start_controls_section('premium_maps_pin_title_style',
312
  [
313
- 'label' => esc_html__('Pin Title', 'premium_elementor'),
314
  'tab' => Controls_Manager::TAB_STYLE,
315
  ]
316
  );
@@ -318,7 +318,7 @@ class Premium_Maps_Widget extends Widget_Base
318
  /*Pin Title Color*/
319
  $this->add_control('premium_maps_pin_title_color',
320
  [
321
- 'label' => esc_html__('Pin Title Color', 'premium_elementor'),
322
  'type' => Controls_Manager::COLOR,
323
  'scheme' => [
324
  'type' => Scheme_Color::get_type(),
@@ -342,7 +342,7 @@ class Premium_Maps_Widget extends Widget_Base
342
  /*Pin Title Padding*/
343
  $this->add_responsive_control('premium_maps_pin_title_padding',
344
  [
345
- 'label' => esc_html__('Padding', 'premium_elementor'),
346
  'type' => Controls_Manager::DIMENSIONS,
347
  'size_units' => ['px', 'em', '%'],
348
  'selectors' => [
@@ -353,7 +353,7 @@ class Premium_Maps_Widget extends Widget_Base
353
 
354
  $this->add_responsive_control('premium_maps_pin_title_margin',
355
  [
356
- 'label' => esc_html__('Margin', 'premium_elementor'),
357
  'type' => Controls_Manager::DIMENSIONS,
358
  'size_units' => ['px', 'em', '%'],
359
  'selectors' => [
@@ -394,14 +394,14 @@ class Premium_Maps_Widget extends Widget_Base
394
  /*Start Pin Style Section*/
395
  $this->start_controls_section('premium_maps_pin_text_style',
396
  [
397
- 'label' => esc_html__('Pin Content', 'premium_elementor'),
398
  'tab' => Controls_Manager::TAB_STYLE,
399
  ]
400
  );
401
 
402
  $this->add_control('premium_maps_pin_text_color',
403
  [
404
- 'label' => esc_html__('Pin Description Color', 'premium_elementor'),
405
  'type' => Controls_Manager::COLOR,
406
  'scheme' => [
407
  'type' => Scheme_Color::get_type(),
@@ -424,7 +424,7 @@ class Premium_Maps_Widget extends Widget_Base
424
 
425
  $this->add_responsive_control('premium_maps_pin_text_padding',
426
  [
427
- 'label' => esc_html__('Padding', 'premium_elementor'),
428
  'type' => Controls_Manager::DIMENSIONS,
429
  'size_units' => ['px', 'em', '%'],
430
  'selectors' => [
@@ -435,7 +435,7 @@ class Premium_Maps_Widget extends Widget_Base
435
 
436
  $this->add_responsive_control('premium_maps_pin_text_margin',
437
  [
438
- 'label' => esc_html__('Margin', 'premium_elementor'),
439
  'type' => Controls_Manager::DIMENSIONS,
440
  'size_units' => ['px', 'em', '%'],
441
  'selectors' => [
@@ -521,6 +521,7 @@ class Premium_Maps_Widget extends Widget_Base
521
 
522
 
523
  <script>
 
524
  var premium_mapDiv = document.getElementById('premium-map-script-trriger-<?php echo esc_attr($this->get_id()); ?>');
525
  google.maps.event.addDomListener(premium_mapDiv, 'click', initMap);
526
  google.maps.event.addDomListener(window, 'load', initMap);
@@ -529,6 +530,7 @@ class Premium_Maps_Widget extends Widget_Base
529
  });
530
 
531
  function initMap(){
 
532
  var myLatLng = {lat: <?php echo $settings['premium_maps_center_lat']; ?>, lng: <?php echo $settings['premium_maps_center_long']; ?>};
533
  var locations = [<?php
534
  foreach ($settings['premium_maps_map_pins'] as $item) {echo '[' . "'" . esc_attr($item['pin_title']) . "'" . ',' . "'" . esc_attr($item['pin_desc']) . "'" . ',' . esc_attr($item['map_latitude']) . ',' . esc_attr($item['map_longitude']) . ',' ."'" . esc_attr($item['pin_icon']['url']). "'" . '],'; } ?>];
@@ -540,16 +542,15 @@ class Premium_Maps_Widget extends Widget_Base
540
  scrollwheel: <?php echo $scroll_wheel; ?>,
541
  streetViewControl: <?php echo $street_view; ?>,
542
  fullscreenControl: <?php echo $enable_full_screen; ?>,
 
543
  zoomControl: <?php echo $enable_zoom_control; ?>,
544
  mapTypeControl: <?php echo $map_type_control; ?>,
545
  <?php if( !empty( $settings['premium_maps_custom_styling'] ) ){ echo $map_custom_style; }?>
546
  });
547
-
548
 
549
-
550
  var marker, i, infowindow;
551
 
552
- for (i = 0; i < locations.length; i++) {
553
  marker = new google.maps.Marker({
554
  position: new google.maps.LatLng(locations[i][2], locations[i][3]),
555
  icon: locations[i][4],
@@ -573,7 +574,6 @@ class Premium_Maps_Widget extends Widget_Base
573
  })(marker, i));
574
  }
575
  }
576
-
577
  </script>
578
 
579
 
21
  }
22
 
23
  public function get_title() {
24
+ return esc_html__('Premium Maps', 'premium-addons-for-elementor');
25
  }
26
 
27
  public function get_icon() {
39
  /* Start Map Settings Section */
40
  $this->start_controls_section('premium_maps_map_settings',
41
  [
42
+ 'label' => esc_html__('Center Location', 'premium-addons-for-elementor'),
43
  ]
44
  );
45
 
52
 
53
  $this->add_control('premium_maps_center_lat',
54
  [
55
+ 'label' => esc_html__('Center Latitude', 'premium-addons-for-elementor'),
56
  'type' => Controls_Manager::TEXT,
57
+ 'description' => esc_html__('Center latitude and longitude are required to identify your location', 'premium-addons-for-elementor'),
58
  'default' => '18.591212',
59
  'label_block' => true,
60
  ]
62
 
63
  $this->add_control('premium_maps_center_long',
64
  [
65
+ 'label' => esc_html__('Center Longitude', 'premium-addons-for-elementor'),
66
  'type' => Controls_Manager::TEXT,
67
+ 'description' => esc_html__('Center latitude and longitude are required to identify your location', 'premium-addons-for-elementor'),
68
  'default' => '73.741261',
69
  'label_block' => true,
70
  ]
74
 
75
  $this->start_controls_section('premium_maps_map_pins_settings',
76
  [
77
+ 'label' => esc_html__('Map Markers', 'premium-addons-for-elementor'),
78
  ]
79
  );
80
 
81
  $this->add_control('premium_maps_map_pins',
82
  [
83
+ 'label' => esc_html__('Map Pins', 'premium-addons-for-elementor'),
84
  'type' => Controls_Manager::REPEATER,
85
  'default' => [
86
  'map_latitude' => '18.591212',
87
  'map_longitude' => '73.741261',
88
+ 'pin_title' => esc_html__('Premium Google Maps', 'premium-addons-for-elementor'),
89
+ 'pin_desc' => esc_html__('Add an optional description to your map pin', 'premium-addons-for-elementor'),
90
  ],
91
  'fields' => [
92
  [
93
  'name' => 'map_latitude',
94
+ 'label' => esc_html__('Latitude', 'premium-addons-for-elementor'),
95
  'type' => Controls_Manager::TEXT,
96
  'description' => 'Click <a href="http://universimmedia.pagesperso-orange.fr/geo/loc.htm" target="_blank">here</a> to get your location coordinates',
97
  'label_block' => true,
98
  ],
99
  [
100
  'name' => 'map_longitude',
101
+ 'label' => esc_html__('Longitude', 'premium-addons-for-elementor'),
102
  'type' => Controls_Manager::TEXT,
103
  'description' => 'Click <a href="http://universimmedia.pagesperso-orange.fr/geo/loc.htm" target="_blank">here</a> to get your location coordinates',
104
  'label_block' => true,
105
  ],
106
  [
107
  'name' => 'pin_title',
108
+ 'label' => esc_html__('Pin Title', 'premium-addons-for-elementor'),
109
  'type' => Controls_Manager::TEXT,
110
  'label_block' => true,
111
  ],
112
  [
113
  'name' => 'pin_desc',
114
+ 'label' => esc_html__('Pin Description', 'premium-addons-for-elementor'),
115
  'type' => Controls_Manager::TEXTAREA,
116
  'label_block' => true,
117
  ],
118
  [
119
  'name' => 'pin_icon',
120
+ 'label' => esc_html__('Pin Icon', 'premium-addons-for-elementor'),
121
  'type' => Controls_Manager::MEDIA,
122
  ],
123
  ],
128
 
129
  $this->start_controls_section('premium_maps_controls_section',
130
  [
131
+ 'label' => esc_html__('Map Controls', 'premium-addons-for-elementor'),
132
  ]
133
  );
134
 
135
  $this->add_responsive_control('premium_maps_map_height',
136
  [
137
+ 'label' => esc_html__( 'Map Height', 'premium-addons-for-elementor' ),
138
  'type' => Controls_Manager::SLIDER,
139
  'default' => [
140
  'size' => 500,
153
 
154
  $this->add_control('premium_maps_map_zoom',
155
  [
156
+ 'label' => esc_html__( 'Map Zoom', 'premium-addons-for-elementor' ),
157
  'type' => Controls_Manager::SLIDER,
158
  'default' => [
159
  'size' => 12,
169
 
170
  $this->add_control('premium_maps_map_option_map_type_control',
171
  [
172
+ 'label' => esc_html__( 'Enable Map Type Controls', 'premium-addons-for-elementor' ),
173
  'type' => Controls_Manager::SWITCHER,
174
  ]
175
  );
176
 
177
  $this->add_control('premium_maps_map_option_zoom_controls',
178
  [
179
+ 'label' => esc_html__( 'Enable Zoom Controls', 'premium-addons-for-elementor' ),
180
  'type' => Controls_Manager::SWITCHER,
181
  ]
182
  );
183
 
184
  $this->add_control('premium_maps_map_option_streeview',
185
  [
186
+ 'label' => esc_html__( 'Enable Street View Control', 'premium-addons-for-elementor' ),
187
  'type' => Controls_Manager::SWITCHER,
188
  ]
189
  );
190
 
191
  $this->add_control('premium_maps_map_option_fullscreen_control',
192
  [
193
+ 'label' => esc_html__( 'Enable Fullscreen Control', 'premium-addons-for-elementor' ),
194
  'type' => Controls_Manager::SWITCHER,
195
  ]
196
  );
197
 
198
  $this->add_control('premium_maps_map_option_mapscroll',
199
  [
200
+ 'label' => esc_html__( 'Enable Scroll Wheel Zoom', 'premium-addons-for-elementor' ),
201
  'type' => Controls_Manager::SWITCHER,
202
  ]
203
  );
204
 
205
  $this->add_control('premium_maps_marker_open',
206
  [
207
+ 'label' => esc_html__( 'Enable Marker Automatic Open', 'premium-addons-for-elementor' ),
208
  'type' => Controls_Manager::SWITCHER,
209
  ]
210
  );
211
 
212
  $this->add_control('premium_maps_map_type',
213
  [
214
+ 'label' => esc_html__( 'Map Type', 'premium-addons-for-elementor' ),
215
  'type' => Controls_Manager::SELECT,
216
  'options' => [
217
+ 'roadmap' => esc_html__( 'Road Map', 'premium-addons-for-elementor' ),
218
+ 'satellite' => esc_html__( 'Satellite', 'premium-addons-for-elementor' ),
219
+ 'terrain' => esc_html__( 'Terrain', 'premium-addons-for-elementor' ),
220
+ 'hybrid' => esc_html__( 'Hybrid', 'premium-addons-for-elementor' ),
221
  ],
222
  'default' => 'roadmap',
223
  ]
227
 
228
  $this->start_controls_section('premium_maps_custom_styling_section',
229
  [
230
+ 'label' => esc_html__('Map Custom Styling', 'premium-addons-for-elementor'),
231
  ]
232
  );
233
 
234
  $this->add_control('premium_maps_custom_styling',
235
  [
236
+ 'label' => esc_html__('JSON Code', 'premium-addons-for-elementor'),
237
  'type' => Controls_Manager::TEXTAREA,
238
  'description' => 'Get your custom styling from <a href="https://snazzymaps.com/" target="_blank">here</a>',
239
  'label_block' => true,
246
  /*Start Map Style Section*/
247
  $this->start_controls_section('premium_maps_box_style',
248
  [
249
+ 'label' => esc_html__('Map', 'premium-addons-for-elementor'),
250
  'tab' => Controls_Manager::TAB_STYLE,
251
  ]
252
  );
263
  /*First Border Radius*/
264
  $this->add_control('premium_maps_box_radius',
265
  [
266
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
267
  'type' => Controls_Manager::SLIDER,
268
  'size_units' => ['px', '%', 'em'],
269
  'selectors' => [
275
  /*First Margin*/
276
  $this->add_responsive_control('premium_maps_box_margin',
277
  [
278
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
279
  'type' => Controls_Manager::DIMENSIONS,
280
  'size_units' => [ 'px', 'em', '%' ],
281
  'selectors' => [
287
  /*First Padding*/
288
  $this->add_responsive_control('premium_maps_box_padding',
289
  [
290
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
291
  'type' => Controls_Manager::DIMENSIONS,
292
  'size_units' => [ 'px', 'em', '%' ],
293
  'selectors' => [
310
  /*Start Title Style Section*/
311
  $this->start_controls_section('premium_maps_pin_title_style',
312
  [
313
+ 'label' => esc_html__('Pin Title', 'premium-addons-for-elementor'),
314
  'tab' => Controls_Manager::TAB_STYLE,
315
  ]
316
  );
318
  /*Pin Title Color*/
319
  $this->add_control('premium_maps_pin_title_color',
320
  [
321
+ 'label' => esc_html__('Pin Title Color', 'premium-addons-for-elementor'),
322
  'type' => Controls_Manager::COLOR,
323
  'scheme' => [
324
  'type' => Scheme_Color::get_type(),
342
  /*Pin Title Padding*/
343
  $this->add_responsive_control('premium_maps_pin_title_padding',
344
  [
345
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
346
  'type' => Controls_Manager::DIMENSIONS,
347
  'size_units' => ['px', 'em', '%'],
348
  'selectors' => [
353
 
354
  $this->add_responsive_control('premium_maps_pin_title_margin',
355
  [
356
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
357
  'type' => Controls_Manager::DIMENSIONS,
358
  'size_units' => ['px', 'em', '%'],
359
  'selectors' => [
394
  /*Start Pin Style Section*/
395
  $this->start_controls_section('premium_maps_pin_text_style',
396
  [
397
+ 'label' => esc_html__('Pin Content', 'premium-addons-for-elementor'),
398
  'tab' => Controls_Manager::TAB_STYLE,
399
  ]
400
  );
401
 
402
  $this->add_control('premium_maps_pin_text_color',
403
  [
404
+ 'label' => esc_html__('Pin Description Color', 'premium-addons-for-elementor'),
405
  'type' => Controls_Manager::COLOR,
406
  'scheme' => [
407
  'type' => Scheme_Color::get_type(),
424
 
425
  $this->add_responsive_control('premium_maps_pin_text_padding',
426
  [
427
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
428
  'type' => Controls_Manager::DIMENSIONS,
429
  'size_units' => ['px', 'em', '%'],
430
  'selectors' => [
435
 
436
  $this->add_responsive_control('premium_maps_pin_text_margin',
437
  [
438
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
439
  'type' => Controls_Manager::DIMENSIONS,
440
  'size_units' => ['px', 'em', '%'],
441
  'selectors' => [
521
 
522
 
523
  <script>
524
+
525
  var premium_mapDiv = document.getElementById('premium-map-script-trriger-<?php echo esc_attr($this->get_id()); ?>');
526
  google.maps.event.addDomListener(premium_mapDiv, 'click', initMap);
527
  google.maps.event.addDomListener(window, 'load', initMap);
530
  });
531
 
532
  function initMap(){
533
+
534
  var myLatLng = {lat: <?php echo $settings['premium_maps_center_lat']; ?>, lng: <?php echo $settings['premium_maps_center_long']; ?>};
535
  var locations = [<?php
536
  foreach ($settings['premium_maps_map_pins'] as $item) {echo '[' . "'" . esc_attr($item['pin_title']) . "'" . ',' . "'" . esc_attr($item['pin_desc']) . "'" . ',' . esc_attr($item['map_latitude']) . ',' . esc_attr($item['map_longitude']) . ',' ."'" . esc_attr($item['pin_icon']['url']). "'" . '],'; } ?>];
542
  scrollwheel: <?php echo $scroll_wheel; ?>,
543
  streetViewControl: <?php echo $street_view; ?>,
544
  fullscreenControl: <?php echo $enable_full_screen; ?>,
545
+
546
  zoomControl: <?php echo $enable_zoom_control; ?>,
547
  mapTypeControl: <?php echo $map_type_control; ?>,
548
  <?php if( !empty( $settings['premium_maps_custom_styling'] ) ){ echo $map_custom_style; }?>
549
  });
 
550
 
 
551
  var marker, i, infowindow;
552
 
553
+ for (i = 0; i < locations.length; i++) {
554
  marker = new google.maps.Marker({
555
  position: new google.maps.LatLng(locations[i][2], locations[i][3]),
556
  icon: locations[i][4],
574
  })(marker, i));
575
  }
576
  }
 
577
  </script>
578
 
579
 
widgets/premium-modalbox.php CHANGED
@@ -16,13 +16,18 @@ class Premium_Modal_Box_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Modal Box', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
23
  return 'pa-modal-box';
24
  }
25
 
 
 
 
 
 
26
  public function get_categories() {
27
  return [ 'premium-elements' ];
28
  }
@@ -36,16 +41,16 @@ class Premium_Modal_Box_Widget extends Widget_Base
36
 
37
  $this->start_controls_section('premium_modal_box_selector_content_section',
38
  [
39
- 'label' => esc_html__('Modal Box Settings', 'premium_elementor'),
40
  ]
41
  );
42
 
43
  /*Modal Box Display On*/
44
  $this->add_control('premium_modal_box_display_on',
45
  [
46
- 'label' => esc_html__('Display Modal Box On', 'premium_elementor'),
47
  'type' => Controls_Manager::SELECT,
48
- 'description' => esc_html__('Choose where would you like the modal box appear on', 'premium_elementor'),
49
  'options' => [
50
  'button' => esc_html('Button','premium-elementor'),
51
  'image' => esc_html('Image','premium-elementor'),
@@ -60,7 +65,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
60
  /*Button Text*/
61
  $this->add_control('premium_modal_box_button_text',
62
  [
63
- 'label' => esc_html__('Button Text', 'premium_elementor'),
64
  'default' => 'Premium Modal Box',
65
  'type' => Controls_Manager::TEXT,
66
  'label_block' => true,
@@ -73,7 +78,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
73
  /*Button Size*/
74
  $this->add_control('premium_modal_box_button_size',
75
  [
76
- 'label' => esc_html__('Button Size', 'premium_elementor'),
77
  'type' => Controls_Manager::SELECT,
78
  'options' => [
79
  'sm' => esc_html('Small','premium-elementor'),
@@ -92,7 +97,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
92
  /*Image Source*/
93
  $this->add_control('premium_modal_box_image_src',
94
  [
95
- 'label' => esc_html__('Image', 'premium_elementor'),
96
  'type' => Controls_Manager::MEDIA,
97
  'default' => [
98
  'url' => Utils::get_placeholder_image_src(),
@@ -107,10 +112,10 @@ class Premium_Modal_Box_Widget extends Widget_Base
107
  /*Text Selector*/
108
  $this->add_control('premium_modal_box_selector_text',
109
  [
110
- 'label' => esc_html__('Text', 'premium_elementor'),
111
  'type' => Controls_Manager::TEXT,
112
  'label_block' => true,
113
- 'default' => esc_html__('Premium Modal Box', 'premium_elementor'),
114
  'condition' => [
115
  'premium_modal_box_display_on' => 'text',
116
  ]
@@ -120,9 +125,9 @@ class Premium_Modal_Box_Widget extends Widget_Base
120
  /*On Load Trigger Delay*/
121
  $this->add_control('premium_modal_box_popup_delay',
122
  [
123
- 'label' => esc_html__('Delay in Popup Display (Sec)','premium_elementor'),
124
  'type' => Controls_Manager::NUMBER,
125
- 'description' => esc_html__('When should the popup appear during page load? The value are counted in seconds', 'premium_elementor'),
126
  'default' => 1,
127
  'label_block' => true,
128
  'condition' => [
@@ -135,19 +140,19 @@ class Premium_Modal_Box_Widget extends Widget_Base
135
  /*Alignment*/
136
  $this->add_responsive_control('premium_modal_box_selector_align',
137
  [
138
- 'label' => __( 'Selector Alignment', 'premium_elementor' ),
139
  'type' => Controls_Manager::CHOOSE,
140
  'options' => [
141
  'left' => [
142
- 'title' => __( 'Left', 'premium_elementor' ),
143
  'icon' => 'fa fa-align-left',
144
  ],
145
  'center' => [
146
- 'title' => __( 'Center', 'premium_elementor' ),
147
  'icon' => 'fa fa-align-center',
148
  ],
149
  'right' => [
150
- 'title' => __( 'Right', 'premium_elementor' ),
151
  'icon' => 'fa fa-align-right',
152
  ],
153
  ],
@@ -166,16 +171,16 @@ class Premium_Modal_Box_Widget extends Widget_Base
166
 
167
  $this->start_controls_section('premium_modal_box_content_section',
168
  [
169
- 'label' => esc_html__('Modal Box Content', 'premium_elementor'),
170
  ]
171
  );
172
 
173
  /*Icon To Display*/
174
  $this->add_control('premium_modal_box_icon_selection',
175
  [
176
- 'label' => esc_html__('Icon to Display', 'premium_elementor'),
177
  'type' => Controls_Manager::SELECT,
178
- 'description' => esc_html__('Use font awesome icon or upload a custom image', 'premium_elementor'),
179
  'options' => [
180
  'noicon' => esc_html('No Icon'),
181
  'fonticon'=> esc_html('Font Awesome Icon'),
@@ -189,7 +194,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
189
  /*Font Awesome Icon*/
190
  $this->add_control('premium_modal_box_font_icon',
191
  [
192
- 'label' => esc_html__('Font Awesome Icon', 'premium_elementor'),
193
  'type' => Controls_Manager::ICON,
194
  'condition' => [
195
  'premium_modal_box_icon_selection' => 'fonticon',
@@ -201,7 +206,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
201
  /*Image Icon*/
202
  $this->add_control('premium_modal_box_image_icon',
203
  [
204
- 'label' => esc_html__('Custom Image Icon', 'premium_elementor'),
205
  'type' => Controls_Manager::MEDIA,
206
  'default' => [
207
  'url' => Utils::get_placeholder_image_src(),
@@ -216,9 +221,9 @@ class Premium_Modal_Box_Widget extends Widget_Base
216
  /*Modal Box Title*/
217
  $this->add_control('premium_modal_box_title',
218
  [
219
- 'label' => esc_html__('Modal Box Title', 'premium_elementor'),
220
  'type' => Controls_Manager::TEXT,
221
- 'description' => esc_html__('Provide the modal box with a title', 'premium_elementor'),
222
  'default' => 'Modal Box Title',
223
  'label_block' => true,
224
  ]
@@ -227,7 +232,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
227
  /*Modal Box Content Heading*/
228
  $this->add_control('premium_modal_box_content_heading',
229
  [
230
- 'label' => esc_html__('Modal Box Content', 'premium_elementor'),
231
  'type' => Controls_Manager::HEADING,
232
  ]
233
  );
@@ -235,7 +240,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
235
  /*Modal Box Content*/
236
  $this->add_control('premium_modal_box_content',
237
  [
238
- 'label' => esc_html__('Modal Box Content', 'premium_elementoror'),
239
  'type' => Controls_Manager::WYSIWYG,
240
  'default' => 'Modal Box Content',
241
  'selector' => '{{WRAPPER}} .premium-modal-box-modal-body',
@@ -246,7 +251,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
246
  /*Upper Close Button*/
247
  $this->add_control('premium_modal_box_upper_close',
248
  [
249
- 'label' => esc_html__('Upper Close Button', 'premium_elementor'),
250
  'type' => Controls_Manager::SWITCHER,
251
  'default' => 'yes',
252
  ]
@@ -255,7 +260,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
255
  /*Lower Close Button*/
256
  $this->add_control('premium_modal_box_lower_close',
257
  [
258
- 'label' => esc_html__('Lower Close Button', 'premium_elementor'),
259
  'type' => Controls_Manager::SWITCHER,
260
  'default' => 'yes',
261
  ]
@@ -267,7 +272,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
267
  /*Selector Style*/
268
  $this->start_controls_section('premium_modal_box_selector_style_section',
269
  [
270
- 'label' => esc_html__('Selector', 'premium_elementor'),
271
  'tab' => Controls_Manager::TAB_STYLE,
272
  'condition' => [
273
  'premium_modal_box_display_on!' => 'pageload',
@@ -278,7 +283,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
278
  /*Button Text Color*/
279
  $this->add_control('premium_modal_box_button_text_color',
280
  [
281
- 'label' => esc_html__('Text Color', 'premium_elementor'),
282
  'type' => Controls_Manager::COLOR,
283
  'scheme' => [
284
  'type' => Scheme_Color::get_type(),
@@ -298,7 +303,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
298
  Group_Control_Typography::get_type(),
299
  [
300
  'name' => 'selectortext',
301
- 'label' => esc_html__('Typography', 'premium_elementor'),
302
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
303
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-text-selector',
304
  'condition' => [
@@ -312,7 +317,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
312
  /*Button Color*/
313
  $this->start_controls_tab('premium_modal_box_tab_selector_normal',
314
  [
315
- 'label' => esc_html__( 'Normal', 'premium_elementor' ),
316
  'condition' => [
317
  'premium_modal_box_display_on' => ['button', 'text','image'],
318
  ]
@@ -322,7 +327,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
322
  /*Button Background Color*/
323
  $this->add_control('premium_modal_box_selector_background',
324
  [
325
- 'label' => esc_html__('Background Color', 'premium_elementor'),
326
  'type' => Controls_Manager::COLOR,
327
  'scheme' => [
328
  'type' => Scheme_Color::get_type(),
@@ -352,7 +357,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
352
  /*Button Border Radius*/
353
  $this->add_control('premium_modal_box_selector_border_radius',
354
  [
355
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
356
  'type' => Controls_Manager::SLIDER,
357
  'size_units' => ['px', '%', 'em'],
358
  'default' => [
@@ -371,7 +376,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
371
  /*Selector Padding*/
372
  $this->add_responsive_control('premium_modal_box_selector_padding',
373
  [
374
- 'label' => esc_html__('Padding', 'premium_elementor'),
375
  'type' => Controls_Manager::DIMENSIONS,
376
  'size_units' => [ 'px', 'em', '%' ],
377
  'default' => [
@@ -418,7 +423,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
418
 
419
  $this->start_controls_tab('premium_modal_box_tab_selector_hover',
420
  [
421
- 'label' => esc_html__('Hover', 'premium_elementor'),
422
  'condition' => [
423
  'premium_modal_box_display_on' => ['button','text','image'],
424
  ]
@@ -428,7 +433,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
428
  /*Button Hover Background Color*/
429
  $this->add_control('premium_modal_box_selector_hover_background',
430
  [
431
- 'label' => esc_html__('Background Color', 'premium_elementor'),
432
  'type' => Controls_Manager::COLOR,
433
  'selectors' => [
434
  '{{WRAPPER}} .premium-modal-box-button-selector:hover' => 'background: {{VALUE}};',
@@ -455,7 +460,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
455
  /*Button Border Radius*/
456
  $this->add_control('premium_modal_box_selector_border_radius_hover',
457
  [
458
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
459
  'type' => Controls_Manager::SLIDER,
460
  'size_units' => ['px', '%', 'em'],
461
  'selectors' => [
@@ -487,7 +492,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
487
 
488
  $this->start_controls_section('premium_modal_box_style',
489
  [
490
- 'label' => esc_html__('Modal Box', 'premium_elementor'),
491
  'tab' => Controls_Manager::TAB_STYLE,
492
  ]
493
  );
@@ -496,7 +501,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
496
  /*Modal Size*/
497
  $this->add_control('premium_modal_box_modal_size',
498
  [
499
- 'label' => esc_html__('Modal Width', 'premium_elementor'),
500
  'type' => Controls_Manager::SLIDER,
501
  'size_units' => ['px', '%', 'em'],
502
  'range' => [
@@ -524,7 +529,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
524
  /*Border Radius*/
525
  $this->add_control('premium_modal_box_border_radius',
526
  [
527
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
528
  'type' => Controls_Manager::SLIDER,
529
  'size_units' => ['px', '%', 'em'],
530
  'selectors' => [
@@ -536,7 +541,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
536
  /*Modal Background Color*/
537
  $this->add_control('premium_modal_box_modal_background',
538
  [
539
- 'label' => esc_html__('Modal Box Background Color', 'premium_elementor'),
540
  'type' => Controls_Manager::COLOR,
541
  'selectors' => [
542
  '{{WRAPPER}} .premium-modal-box-modal' => 'background:{{VALUE}};',
@@ -547,7 +552,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
547
  /*Header Background Color*/
548
  $this->add_control('premium_modal_box_header_background',
549
  [
550
- 'label' => esc_html__('Header Background Color', 'premium_elementor'),
551
  'type' => Controls_Manager::COLOR,
552
  'selectors' => [
553
  '{{WRAPPER}} .premium-modal-box-modal-header' => 'background: {{VALUE}};',
@@ -558,7 +563,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
558
  /*Content Background Color*/
559
  $this->add_control('premium_modal_box_content_background',
560
  [
561
- 'label' => esc_html__('Content Background Color', 'premium_elementor'),
562
  'type' => Controls_Manager::COLOR,
563
  'selectors' => [
564
  '{{WRAPPER}} .premium-modal-box-modal-body' => 'background: {{VALUE}};',
@@ -569,7 +574,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
569
  /*Footer Background Color*/
570
  $this->add_control('premium_modal_box_footer_background',
571
  [
572
- 'label' => esc_html__('Footer Background Color', 'premium_elementor'),
573
  'type' => Controls_Manager::COLOR,
574
  'selectors' => [
575
  '{{WRAPPER}} .premium-modal-box-modal-footer' => 'background: {{VALUE}};',
@@ -580,7 +585,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
580
  /*Modal Box Margin*/
581
  $this->add_responsive_control('premium_modal_box_margin',
582
  [
583
- 'label' => esc_html__('Margin', 'premium_elementor'),
584
  'type' => Controls_Manager::DIMENSIONS,
585
  'size_units' => [ 'px', 'em', '%' ],
586
  'selectors' => [
@@ -594,7 +599,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
594
  /*Start Header Seettings Section*/
595
  $this->start_controls_section('premium_modal_box_header_settings',
596
  [
597
- 'label' => esc_html__('Heading', 'premium_elementor'),
598
  'tab' => Controls_Manager::TAB_STYLE,
599
  ]
600
  );
@@ -602,7 +607,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
602
  /*Header Text Color*/
603
  $this->add_control('premium_modal_box_header_text_color',
604
  [
605
- 'label' => esc_html__('Text Color', 'premium_elementor'),
606
  'type' => Controls_Manager::COLOR,
607
  'selectors' => [
608
  '{{WRAPPER}} .premium-modal-box-modal-title' => 'color: {{VALUE}};',
@@ -615,7 +620,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
615
  Group_Control_Typography::get_type(),
616
  [
617
  'name' => 'headertext',
618
- 'label' => esc_html__('Typography', 'premium_elementor'),
619
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
620
  'selector' => '{{WRAPPER}} .premium-modal-box-modal-title',
621
  ]
@@ -628,7 +633,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
628
  /*Start Close Button Section*/
629
  $this->start_controls_section('premium_modal_box_upper_close_button_section',
630
  [
631
- 'label' => esc_html__('Upper Close Button', 'premium_elementor'),
632
  'tab' => Controls_Manager::TAB_STYLE,
633
  'condition' => [
634
  'premium_modal_box_upper_close' => 'yes',
@@ -639,7 +644,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
639
  /*Close Button Size*/
640
  $this->add_responsive_control('premium_modal_box_upper_close_button_size',
641
  [
642
- 'label' => esc_html__('Size', 'premium_elementor'),
643
  'type' => Controls_Manager::SLIDER,
644
  'size_units' => ['px', '%' ,'em'],
645
  'selectors' => [
@@ -655,14 +660,14 @@ class Premium_Modal_Box_Widget extends Widget_Base
655
  /*Button Color*/
656
  $this->start_controls_tab('premium_modal_box_upper_close_button_normal',
657
  [
658
- 'label' => esc_html__( 'Normal', 'premium_elementor' ),
659
  ]
660
  );
661
 
662
  /*Close Button Color*/
663
  $this->add_control('premium_modal_box_upper_close_button_normal_color',
664
  [
665
- 'label' => esc_html__('Color', 'premium_elementor'),
666
  'type' => Controls_Manager::COLOR,
667
  'selectors' => [
668
  '{{WRAPPER}} .premium-modal-box-modal-close' => 'color: {{VALUE}};',
@@ -673,7 +678,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
673
  /*Close Button Background Color*/
674
  $this->add_control('premium_modal_box_upper_close_button_background_color',
675
  [
676
- 'label' => esc_html__('Background Color', 'premium_elementor'),
677
  'type' => Controls_Manager::COLOR,
678
  'selectors' => [
679
  '{{WRAPPER}} .premium-modal-box-modal-close' => 'background:{{VALUE}};',
@@ -693,7 +698,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
693
  /*Button Border Radius*/
694
  $this->add_control('premium_modal_upper_border_radius',
695
  [
696
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
697
  'type' => Controls_Manager::SLIDER,
698
  'size_units' => ['px', '%', 'em'],
699
  'selectors' => [
@@ -707,14 +712,14 @@ class Premium_Modal_Box_Widget extends Widget_Base
707
 
708
  $this->start_controls_tab('premium_modal_box_upper_close_button_hover',
709
  [
710
- 'label' => esc_html__('Hover', 'premium_elementor'),
711
  ]
712
  );
713
 
714
  /*Close Button Color*/
715
  $this->add_control('premium_modal_box_upper_close_button_hover_color',
716
  [
717
- 'label' => esc_html__('Color', 'premium_elementor'),
718
  'type' => Controls_Manager::COLOR,
719
  'selectors' => [
720
  '{{WRAPPER}} .premium-modal-box-modal-close:hover' => 'color: {{VALUE}};',
@@ -725,7 +730,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
725
  /*Close Button Background Color*/
726
  $this->add_control('premium_modal_box_upper_close_button_background_color_hover',
727
  [
728
- 'label' => esc_html__('Background Color', 'premium_elementor'),
729
  'type' => Controls_Manager::COLOR,
730
  'selectors' => [
731
  '{{WRAPPER}} .premium-modal-box-modal-close:hover' => 'background:{{VALUE}};',
@@ -745,7 +750,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
745
  /*Button Border Radius*/
746
  $this->add_control('premium_modal_upper_border_radius_hover',
747
  [
748
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
749
  'type' => Controls_Manager::SLIDER,
750
  'size_units' => ['px', '%', 'em'],
751
  'selectors' => [
@@ -762,7 +767,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
762
  /*Upper Close Padding*/
763
  $this->add_responsive_control('premium_modal_box_upper_close_button_padding',
764
  [
765
- 'label' => esc_html__('Padding', 'premium_elementor'),
766
  'type' => Controls_Manager::DIMENSIONS,
767
  'size_units' => [ 'px', 'em', '%' ],
768
  'selectors' => [
@@ -777,7 +782,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
777
  /*Start Close Button Section*/
778
  $this->start_controls_section('premium_modal_box_lower_close_button_section',
779
  [
780
- 'label' => esc_html__('Lower Close Button', 'premium_elementor'),
781
  'tab' => Controls_Manager::TAB_STYLE,
782
  'condition' => [
783
  'premium_modal_box_lower_close' => 'yes',
@@ -790,7 +795,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
790
  Group_Control_Typography::get_type(),
791
  [
792
  'name' => 'lowerclose',
793
- 'label' => esc_html__('Typography', 'premium_elementor'),
794
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
795
  'selector' => '{{WRAPPER}} .premium-modal-box-modal-lower-close',
796
  ]
@@ -799,7 +804,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
799
  /*Close Button Size*/
800
  $this->add_responsive_control('premium_modal_box_lower_close_button_width',
801
  [
802
- 'label' => esc_html__('Size', 'premium_elementor'),
803
  'type' => Controls_Manager::SLIDER,
804
  'size_units' => ['px', '%', 'em'],
805
  'range' => [
@@ -824,14 +829,14 @@ class Premium_Modal_Box_Widget extends Widget_Base
824
  /*Button Color*/
825
  $this->start_controls_tab('premium_modal_box_lower_close_button_normal',
826
  [
827
- 'label' => esc_html__( 'Normal', 'premium_elementor' ),
828
  ]
829
  );
830
 
831
  /*Close Button Background Color*/
832
  $this->add_control('premium_modal_box_lower_close_button_normal_color',
833
  [
834
- 'label' => esc_html__('Color', 'premium_elementor'),
835
  'type' => Controls_Manager::COLOR,
836
  'scheme' => [
837
  'type' => Scheme_Color::get_type(),
@@ -846,7 +851,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
846
  /*Close Button Background Color*/
847
  $this->add_control('premium_modal_box_lower_close_button_background_normal_color',
848
  [
849
- 'label' => esc_html__('Background Color', 'premium_elementor'),
850
  'type' => Controls_Manager::COLOR,
851
  'scheme' => [
852
  'type' => Scheme_Color::get_type(),
@@ -870,7 +875,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
870
  /*Lower Close Radius*/
871
  $this->add_control('premium_modal_box_lower_close_border_radius',
872
  [
873
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
874
  'type' => Controls_Manager::SLIDER,
875
  'size_units' => ['px', '%', 'em'],
876
  'selectors' => [
@@ -884,14 +889,14 @@ class Premium_Modal_Box_Widget extends Widget_Base
884
 
885
  $this->start_controls_tab('premium_modal_box_lower_close_button_hover',
886
  [
887
- 'label' => esc_html__('Hover', 'premium_elementor'),
888
  ]
889
  );
890
 
891
  /*Close Button Background Color*/
892
  $this->add_control('premium_modal_box_lower_close_button_hover_color',
893
  [
894
- 'label' => esc_html__('Color', 'premium_elementor'),
895
  'type' => Controls_Manager::COLOR,
896
  'scheme' => [
897
  'type' => Scheme_Color::get_type(),
@@ -906,7 +911,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
906
  /*Close Button Background Color*/
907
  $this->add_control('premium_modal_box_lower_close_button_background_hover_color',
908
  [
909
- 'label' => esc_html__('Background Color', 'premium_elementor'),
910
  'type' => Controls_Manager::COLOR,
911
  'scheme' => [
912
  'type' => Scheme_Color::get_type(),
@@ -930,7 +935,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
930
  /*Lower Close Hover Border Radius*/
931
  $this->add_control('premium_modal_box_lower_close_border_radius_hover',
932
  [
933
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
934
  'type' => Controls_Manager::SLIDER,
935
  'size_units' => ['px', '%', 'em'],
936
  'selectors' => [
@@ -947,7 +952,7 @@ class Premium_Modal_Box_Widget extends Widget_Base
947
  /*Upper Close Padding*/
948
  $this->add_responsive_control('premium_modal_box_lower_close_button_padding',
949
  [
950
- 'label' => esc_html__('Padding', 'premium_elementor'),
951
  'type' => Controls_Manager::DIMENSIONS,
952
  'size_units' => [ 'px', 'em', '%' ],
953
  'selectors' => [
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Modal Box', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
23
  return 'pa-modal-box';
24
  }
25
 
26
+ public function get_script_depends()
27
+ {
28
+ return ['premium-addons-js'];
29
+ }
30
+
31
  public function get_categories() {
32
  return [ 'premium-elements' ];
33
  }
41
 
42
  $this->start_controls_section('premium_modal_box_selector_content_section',
43
  [
44
+ 'label' => esc_html__('Modal Box Settings', 'premium-addons-for-elementor'),
45
  ]
46
  );
47
 
48
  /*Modal Box Display On*/
49
  $this->add_control('premium_modal_box_display_on',
50
  [
51
+ 'label' => esc_html__('Display Modal Box On', 'premium-addons-for-elementor'),
52
  'type' => Controls_Manager::SELECT,
53
+ 'description' => esc_html__('Choose where would you like the modal box appear on', 'premium-addons-for-elementor'),
54
  'options' => [
55
  'button' => esc_html('Button','premium-elementor'),
56
  'image' => esc_html('Image','premium-elementor'),
65
  /*Button Text*/
66
  $this->add_control('premium_modal_box_button_text',
67
  [
68
+ 'label' => esc_html__('Button Text', 'premium-addons-for-elementor'),
69
  'default' => 'Premium Modal Box',
70
  'type' => Controls_Manager::TEXT,
71
  'label_block' => true,
78
  /*Button Size*/
79
  $this->add_control('premium_modal_box_button_size',
80
  [
81
+ 'label' => esc_html__('Button Size', 'premium-addons-for-elementor'),
82
  'type' => Controls_Manager::SELECT,
83
  'options' => [
84
  'sm' => esc_html('Small','premium-elementor'),
97
  /*Image Source*/
98
  $this->add_control('premium_modal_box_image_src',
99
  [
100
+ 'label' => esc_html__('Image', 'premium-addons-for-elementor'),
101
  'type' => Controls_Manager::MEDIA,
102
  'default' => [
103
  'url' => Utils::get_placeholder_image_src(),
112
  /*Text Selector*/
113
  $this->add_control('premium_modal_box_selector_text',
114
  [
115
+ 'label' => esc_html__('Text', 'premium-addons-for-elementor'),
116
  'type' => Controls_Manager::TEXT,
117
  'label_block' => true,
118
+ 'default' => esc_html__('Premium Modal Box', 'premium-addons-for-elementor'),
119
  'condition' => [
120
  'premium_modal_box_display_on' => 'text',
121
  ]
125
  /*On Load Trigger Delay*/
126
  $this->add_control('premium_modal_box_popup_delay',
127
  [
128
+ 'label' => esc_html__('Delay in Popup Display (Sec)','premium-addons-for-elementor'),
129
  'type' => Controls_Manager::NUMBER,
130
+ 'description' => esc_html__('When should the popup appear during page load? The value are counted in seconds', 'premium-addons-for-elementor'),
131
  'default' => 1,
132
  'label_block' => true,
133
  'condition' => [
140
  /*Alignment*/
141
  $this->add_responsive_control('premium_modal_box_selector_align',
142
  [
143
+ 'label' => __( 'Selector Alignment', 'premium-addons-for-elementor' ),
144
  'type' => Controls_Manager::CHOOSE,
145
  'options' => [
146
  'left' => [
147
+ 'title' => __( 'Left', 'premium-addons-for-elementor' ),
148
  'icon' => 'fa fa-align-left',
149
  ],
150
  'center' => [
151
+ 'title' => __( 'Center', 'premium-addons-for-elementor' ),
152
  'icon' => 'fa fa-align-center',
153
  ],
154
  'right' => [
155
+ 'title' => __( 'Right', 'premium-addons-for-elementor' ),
156
  'icon' => 'fa fa-align-right',
157
  ],
158
  ],
171
 
172
  $this->start_controls_section('premium_modal_box_content_section',
173
  [
174
+ 'label' => esc_html__('Modal Box Content', 'premium-addons-for-elementor'),
175
  ]
176
  );
177
 
178
  /*Icon To Display*/
179
  $this->add_control('premium_modal_box_icon_selection',
180
  [
181
+ 'label' => esc_html__('Icon to Display', 'premium-addons-for-elementor'),
182
  'type' => Controls_Manager::SELECT,
183
+ 'description' => esc_html__('Use font awesome icon or upload a custom image', 'premium-addons-for-elementor'),
184
  'options' => [
185
  'noicon' => esc_html('No Icon'),
186
  'fonticon'=> esc_html('Font Awesome Icon'),
194
  /*Font Awesome Icon*/
195
  $this->add_control('premium_modal_box_font_icon',
196
  [
197
+ 'label' => esc_html__('Font Awesome Icon', 'premium-addons-for-elementor'),
198
  'type' => Controls_Manager::ICON,
199
  'condition' => [
200
  'premium_modal_box_icon_selection' => 'fonticon',
206
  /*Image Icon*/
207
  $this->add_control('premium_modal_box_image_icon',
208
  [
209
+ 'label' => esc_html__('Custom Image Icon', 'premium-addons-for-elementor'),
210
  'type' => Controls_Manager::MEDIA,
211
  'default' => [
212
  'url' => Utils::get_placeholder_image_src(),
221
  /*Modal Box Title*/
222
  $this->add_control('premium_modal_box_title',
223
  [
224
+ 'label' => esc_html__('Modal Box Title', 'premium-addons-for-elementor'),
225
  'type' => Controls_Manager::TEXT,
226
+ 'description' => esc_html__('Provide the modal box with a title', 'premium-addons-for-elementor'),
227
  'default' => 'Modal Box Title',
228
  'label_block' => true,
229
  ]
232
  /*Modal Box Content Heading*/
233
  $this->add_control('premium_modal_box_content_heading',
234
  [
235
+ 'label' => esc_html__('Modal Box Content', 'premium-addons-for-elementor'),
236
  'type' => Controls_Manager::HEADING,
237
  ]
238
  );
240
  /*Modal Box Content*/
241
  $this->add_control('premium_modal_box_content',
242
  [
243
+ 'label' => esc_html__('Modal Box Content', 'premium-addons-for-elementoror'),
244
  'type' => Controls_Manager::WYSIWYG,
245
  'default' => 'Modal Box Content',
246
  'selector' => '{{WRAPPER}} .premium-modal-box-modal-body',
251
  /*Upper Close Button*/
252
  $this->add_control('premium_modal_box_upper_close',
253
  [
254
+ 'label' => esc_html__('Upper Close Button', 'premium-addons-for-elementor'),
255
  'type' => Controls_Manager::SWITCHER,
256
  'default' => 'yes',
257
  ]
260
  /*Lower Close Button*/
261
  $this->add_control('premium_modal_box_lower_close',
262
  [
263
+ 'label' => esc_html__('Lower Close Button', 'premium-addons-for-elementor'),
264
  'type' => Controls_Manager::SWITCHER,
265
  'default' => 'yes',
266
  ]
272
  /*Selector Style*/
273
  $this->start_controls_section('premium_modal_box_selector_style_section',
274
  [
275
+ 'label' => esc_html__('Selector', 'premium-addons-for-elementor'),
276
  'tab' => Controls_Manager::TAB_STYLE,
277
  'condition' => [
278
  'premium_modal_box_display_on!' => 'pageload',
283
  /*Button Text Color*/
284
  $this->add_control('premium_modal_box_button_text_color',
285
  [
286
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
287
  'type' => Controls_Manager::COLOR,
288
  'scheme' => [
289
  'type' => Scheme_Color::get_type(),
303
  Group_Control_Typography::get_type(),
304
  [
305
  'name' => 'selectortext',
306
+ 'label' => esc_html__('Typography', 'premium-addons-for-elementor'),
307
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
308
  'selector' => '{{WRAPPER}} .premium-modal-box-button-selector, {{WRAPPER}} .premium-modal-box-text-selector',
309
  'condition' => [
317
  /*Button Color*/
318
  $this->start_controls_tab('premium_modal_box_tab_selector_normal',
319
  [
320
+ 'label' => esc_html__( 'Normal', 'premium-addons-for-elementor' ),
321
  'condition' => [
322
  'premium_modal_box_display_on' => ['button', 'text','image'],
323
  ]
327
  /*Button Background Color*/
328
  $this->add_control('premium_modal_box_selector_background',
329
  [
330
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
331
  'type' => Controls_Manager::COLOR,
332
  'scheme' => [
333
  'type' => Scheme_Color::get_type(),
357
  /*Button Border Radius*/
358
  $this->add_control('premium_modal_box_selector_border_radius',
359
  [
360
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
361
  'type' => Controls_Manager::SLIDER,
362
  'size_units' => ['px', '%', 'em'],
363
  'default' => [
376
  /*Selector Padding*/
377
  $this->add_responsive_control('premium_modal_box_selector_padding',
378
  [
379
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
380
  'type' => Controls_Manager::DIMENSIONS,
381
  'size_units' => [ 'px', 'em', '%' ],
382
  'default' => [
423
 
424
  $this->start_controls_tab('premium_modal_box_tab_selector_hover',
425
  [
426
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
427
  'condition' => [
428
  'premium_modal_box_display_on' => ['button','text','image'],
429
  ]
433
  /*Button Hover Background Color*/
434
  $this->add_control('premium_modal_box_selector_hover_background',
435
  [
436
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
437
  'type' => Controls_Manager::COLOR,
438
  'selectors' => [
439
  '{{WRAPPER}} .premium-modal-box-button-selector:hover' => 'background: {{VALUE}};',
460
  /*Button Border Radius*/
461
  $this->add_control('premium_modal_box_selector_border_radius_hover',
462
  [
463
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
464
  'type' => Controls_Manager::SLIDER,
465
  'size_units' => ['px', '%', 'em'],
466
  'selectors' => [
492
 
493
  $this->start_controls_section('premium_modal_box_style',
494
  [
495
+ 'label' => esc_html__('Modal Box', 'premium-addons-for-elementor'),
496
  'tab' => Controls_Manager::TAB_STYLE,
497
  ]
498
  );
501
  /*Modal Size*/
502
  $this->add_control('premium_modal_box_modal_size',
503
  [
504
+ 'label' => esc_html__('Modal Width', 'premium-addons-for-elementor'),
505
  'type' => Controls_Manager::SLIDER,
506
  'size_units' => ['px', '%', 'em'],
507
  'range' => [
529
  /*Border Radius*/
530
  $this->add_control('premium_modal_box_border_radius',
531
  [
532
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
533
  'type' => Controls_Manager::SLIDER,
534
  'size_units' => ['px', '%', 'em'],
535
  'selectors' => [
541
  /*Modal Background Color*/
542
  $this->add_control('premium_modal_box_modal_background',
543
  [
544
+ 'label' => esc_html__('Modal Box Background Color', 'premium-addons-for-elementor'),
545
  'type' => Controls_Manager::COLOR,
546
  'selectors' => [
547
  '{{WRAPPER}} .premium-modal-box-modal' => 'background:{{VALUE}};',
552
  /*Header Background Color*/
553
  $this->add_control('premium_modal_box_header_background',
554
  [
555
+ 'label' => esc_html__('Header Background Color', 'premium-addons-for-elementor'),
556
  'type' => Controls_Manager::COLOR,
557
  'selectors' => [
558
  '{{WRAPPER}} .premium-modal-box-modal-header' => 'background: {{VALUE}};',
563
  /*Content Background Color*/
564
  $this->add_control('premium_modal_box_content_background',
565
  [
566
+ 'label' => esc_html__('Content Background Color', 'premium-addons-for-elementor'),
567
  'type' => Controls_Manager::COLOR,
568
  'selectors' => [
569
  '{{WRAPPER}} .premium-modal-box-modal-body' => 'background: {{VALUE}};',
574
  /*Footer Background Color*/
575
  $this->add_control('premium_modal_box_footer_background',
576
  [
577
+ 'label' => esc_html__('Footer Background Color', 'premium-addons-for-elementor'),
578
  'type' => Controls_Manager::COLOR,
579
  'selectors' => [
580
  '{{WRAPPER}} .premium-modal-box-modal-footer' => 'background: {{VALUE}};',
585
  /*Modal Box Margin*/
586
  $this->add_responsive_control('premium_modal_box_margin',
587
  [
588
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
589
  'type' => Controls_Manager::DIMENSIONS,
590
  'size_units' => [ 'px', 'em', '%' ],
591
  'selectors' => [
599
  /*Start Header Seettings Section*/
600
  $this->start_controls_section('premium_modal_box_header_settings',
601
  [
602
+ 'label' => esc_html__('Heading', 'premium-addons-for-elementor'),
603
  'tab' => Controls_Manager::TAB_STYLE,
604
  ]
605
  );
607
  /*Header Text Color*/
608
  $this->add_control('premium_modal_box_header_text_color',
609
  [
610
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
611
  'type' => Controls_Manager::COLOR,
612
  'selectors' => [
613
  '{{WRAPPER}} .premium-modal-box-modal-title' => 'color: {{VALUE}};',
620
  Group_Control_Typography::get_type(),
621
  [
622
  'name' => 'headertext',
623
+ 'label' => esc_html__('Typography', 'premium-addons-for-elementor'),
624
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
625
  'selector' => '{{WRAPPER}} .premium-modal-box-modal-title',
626
  ]
633
  /*Start Close Button Section*/
634
  $this->start_controls_section('premium_modal_box_upper_close_button_section',
635
  [
636
+ 'label' => esc_html__('Upper Close Button', 'premium-addons-for-elementor'),
637
  'tab' => Controls_Manager::TAB_STYLE,
638
  'condition' => [
639
  'premium_modal_box_upper_close' => 'yes',
644
  /*Close Button Size*/
645
  $this->add_responsive_control('premium_modal_box_upper_close_button_size',
646
  [
647
+ 'label' => esc_html__('Size', 'premium-addons-for-elementor'),
648
  'type' => Controls_Manager::SLIDER,
649
  'size_units' => ['px', '%' ,'em'],
650
  'selectors' => [
660
  /*Button Color*/
661
  $this->start_controls_tab('premium_modal_box_upper_close_button_normal',
662
  [
663
+ 'label' => esc_html__( 'Normal', 'premium-addons-for-elementor' ),
664
  ]
665
  );
666
 
667
  /*Close Button Color*/
668
  $this->add_control('premium_modal_box_upper_close_button_normal_color',
669
  [
670
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
671
  'type' => Controls_Manager::COLOR,
672
  'selectors' => [
673
  '{{WRAPPER}} .premium-modal-box-modal-close' => 'color: {{VALUE}};',
678
  /*Close Button Background Color*/
679
  $this->add_control('premium_modal_box_upper_close_button_background_color',
680
  [
681
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
682
  'type' => Controls_Manager::COLOR,
683
  'selectors' => [
684
  '{{WRAPPER}} .premium-modal-box-modal-close' => 'background:{{VALUE}};',
698
  /*Button Border Radius*/
699
  $this->add_control('premium_modal_upper_border_radius',
700
  [
701
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
702
  'type' => Controls_Manager::SLIDER,
703
  'size_units' => ['px', '%', 'em'],
704
  'selectors' => [
712
 
713
  $this->start_controls_tab('premium_modal_box_upper_close_button_hover',
714
  [
715
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
716
  ]
717
  );
718
 
719
  /*Close Button Color*/
720
  $this->add_control('premium_modal_box_upper_close_button_hover_color',
721
  [
722
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
723
  'type' => Controls_Manager::COLOR,
724
  'selectors' => [
725
  '{{WRAPPER}} .premium-modal-box-modal-close:hover' => 'color: {{VALUE}};',
730
  /*Close Button Background Color*/
731
  $this->add_control('premium_modal_box_upper_close_button_background_color_hover',
732
  [
733
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
734
  'type' => Controls_Manager::COLOR,
735
  'selectors' => [
736
  '{{WRAPPER}} .premium-modal-box-modal-close:hover' => 'background:{{VALUE}};',
750
  /*Button Border Radius*/
751
  $this->add_control('premium_modal_upper_border_radius_hover',
752
  [
753
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
754
  'type' => Controls_Manager::SLIDER,
755
  'size_units' => ['px', '%', 'em'],
756
  'selectors' => [
767
  /*Upper Close Padding*/
768
  $this->add_responsive_control('premium_modal_box_upper_close_button_padding',
769
  [
770
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
771
  'type' => Controls_Manager::DIMENSIONS,
772
  'size_units' => [ 'px', 'em', '%' ],
773
  'selectors' => [
782
  /*Start Close Button Section*/
783
  $this->start_controls_section('premium_modal_box_lower_close_button_section',
784
  [
785
+ 'label' => esc_html__('Lower Close Button', 'premium-addons-for-elementor'),
786
  'tab' => Controls_Manager::TAB_STYLE,
787
  'condition' => [
788
  'premium_modal_box_lower_close' => 'yes',
795
  Group_Control_Typography::get_type(),
796
  [
797
  'name' => 'lowerclose',
798
+ 'label' => esc_html__('Typography', 'premium-addons-for-elementor'),
799
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
800
  'selector' => '{{WRAPPER}} .premium-modal-box-modal-lower-close',
801
  ]
804
  /*Close Button Size*/
805
  $this->add_responsive_control('premium_modal_box_lower_close_button_width',
806
  [
807
+ 'label' => esc_html__('Size', 'premium-addons-for-elementor'),
808
  'type' => Controls_Manager::SLIDER,
809
  'size_units' => ['px', '%', 'em'],
810
  'range' => [
829
  /*Button Color*/
830
  $this->start_controls_tab('premium_modal_box_lower_close_button_normal',
831
  [
832
+ 'label' => esc_html__( 'Normal', 'premium-addons-for-elementor' ),
833
  ]
834
  );
835
 
836
  /*Close Button Background Color*/
837
  $this->add_control('premium_modal_box_lower_close_button_normal_color',
838
  [
839
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
840
  'type' => Controls_Manager::COLOR,
841
  'scheme' => [
842
  'type' => Scheme_Color::get_type(),
851
  /*Close Button Background Color*/
852
  $this->add_control('premium_modal_box_lower_close_button_background_normal_color',
853
  [
854
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
855
  'type' => Controls_Manager::COLOR,
856
  'scheme' => [
857
  'type' => Scheme_Color::get_type(),
875
  /*Lower Close Radius*/
876
  $this->add_control('premium_modal_box_lower_close_border_radius',
877
  [
878
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
879
  'type' => Controls_Manager::SLIDER,
880
  'size_units' => ['px', '%', 'em'],
881
  'selectors' => [
889
 
890
  $this->start_controls_tab('premium_modal_box_lower_close_button_hover',
891
  [
892
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
893
  ]
894
  );
895
 
896
  /*Close Button Background Color*/
897
  $this->add_control('premium_modal_box_lower_close_button_hover_color',
898
  [
899
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
900
  'type' => Controls_Manager::COLOR,
901
  'scheme' => [
902
  'type' => Scheme_Color::get_type(),
911
  /*Close Button Background Color*/
912
  $this->add_control('premium_modal_box_lower_close_button_background_hover_color',
913
  [
914
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
915
  'type' => Controls_Manager::COLOR,
916
  'scheme' => [
917
  'type' => Scheme_Color::get_type(),
935
  /*Lower Close Hover Border Radius*/
936
  $this->add_control('premium_modal_box_lower_close_border_radius_hover',
937
  [
938
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
939
  'type' => Controls_Manager::SLIDER,
940
  'size_units' => ['px', '%', 'em'],
941
  'selectors' => [
952
  /*Upper Close Padding*/
953
  $this->add_responsive_control('premium_modal_box_lower_close_button_padding',
954
  [
955
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
956
  'type' => Controls_Manager::DIMENSIONS,
957
  'size_units' => [ 'px', 'em', '%' ],
958
  'selectors' => [
widgets/premium-person.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Person_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Person', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,14 +34,14 @@ class Premium_Person_Widget extends Widget_Base
34
  /*Start Premium Person Section*/
35
  $this->start_controls_section('premium_person_general_settings',
36
  [
37
- 'label' => esc_html__('Person Image', 'premium_elementor')
38
  ]
39
  );
40
 
41
  /*Person Image*/
42
  $this->add_control('premium_person_image',
43
  [
44
- 'label' => esc_html__('Image', 'premium_elementor'),
45
  'type' => Controls_Manager::MEDIA,
46
  'default' => [
47
  'url' => Utils::get_placeholder_image_src()
@@ -52,9 +52,9 @@ class Premium_Person_Widget extends Widget_Base
52
 
53
  $this->add_responsive_control('premium_person_image_width',
54
  [
55
- 'label' => esc_html__('Image Width', 'premium_elementor'),
56
  'type' => Controls_Manager::SLIDER,
57
- 'description' => esc_html__('Enter image width in (PX, EM, %), default is 100%', 'premium_elementor'),
58
  'size_units' => ['px', '%', 'em'],
59
  'range' => [
60
  'px' => [
@@ -79,9 +79,9 @@ class Premium_Person_Widget extends Widget_Base
79
 
80
  $this->add_responsive_control('premium_person_image_height',
81
  [
82
- 'label' => esc_html__('Image Height', 'premium_elementor'),
83
  'type' => Controls_Manager::SLIDER,
84
- 'description' => esc_html__('Choose image height in (PX, EM)', 'premium_elementor'),
85
  'range' => [
86
  'px' => [
87
  'min' => 1,
@@ -103,14 +103,14 @@ class Premium_Person_Widget extends Widget_Base
103
  /*Hover Image Effect*/
104
  $this->add_control('premium_person_hover_image_effect',
105
  [
106
- 'label' => esc_html__('Image Hover Effect', 'premium_elementor'),
107
  'type' => Controls_Manager::SELECT,
108
  'options' => [
109
- 'zoomin' => esc_html__('Zoom In', 'premium_elementor'),
110
- 'zoomout'=> esc_html__('Zoom Out', 'premium_elementor'),
111
- 'scale' => esc_html__('Scale', 'premium_elementor'),
112
- 'grayscale' => esc_html__('Grayscale', 'premium_elementor'),
113
- 'blur' => esc_html__('Blur', 'premium_elementor'),
114
  ],
115
  'default' => 'zoomin',
116
  'label_block' => true
@@ -123,16 +123,16 @@ class Premium_Person_Widget extends Widget_Base
123
  /*Start Person Details Section*/
124
  $this->start_controls_section('premium_person_person_details_section',
125
  [
126
- 'label' => esc_html__('Person Details', 'premium_elementor'),
127
  ]
128
  );
129
 
130
  /*Person Name*/
131
  $this->add_control('premium_person_name',
132
  [
133
- 'label' => esc_html__('Name', 'premium_elementor'),
134
  'type' => Controls_Manager::TEXT,
135
- 'default' => esc_html__('John Frank', 'premium_elementor'),
136
  'label_block' => true,
137
  ]
138
  );
@@ -140,7 +140,7 @@ class Premium_Person_Widget extends Widget_Base
140
  /*Name Tag*/
141
  $this->add_control('premium_person_name_heading',
142
  [
143
- 'label' => esc_html__('Name Tag', 'premium_elementor'),
144
  'type' => Controls_Manager::SELECT,
145
  'default' => 'h2',
146
  'options' => [
@@ -158,9 +158,9 @@ class Premium_Person_Widget extends Widget_Base
158
  /*Person Title*/
159
  $this->add_control('premium_person_title',
160
  [
161
- 'label' => esc_html__('Job Title', 'premium_elementor'),
162
  'type' => Controls_Manager::TEXT,
163
- 'default' => esc_html__('Senior Developer', 'premium_elementor'),
164
  'label_block' => true,
165
  ]
166
  );
@@ -168,7 +168,7 @@ class Premium_Person_Widget extends Widget_Base
168
  /*Title Tag*/
169
  $this->add_control('premium_person_title_heading',
170
  [
171
- 'label' => esc_html__('Job Title Tag', 'premium_elementor'),
172
  'type' => Controls_Manager::SELECT,
173
  'default' => 'h4',
174
  'options' => [
@@ -215,16 +215,16 @@ class Premium_Person_Widget extends Widget_Base
215
  /*Start Description Section*/
216
  $this->start_controls_section('premium_person_description_section',
217
  [
218
- 'label' => esc_html__('Description', 'premium_elementor'),
219
  ]
220
  );
221
 
222
  /*Content*/
223
  $this->add_control('premium_person_content',
224
  [
225
- 'label' => esc_html__('Content', 'premium_elementor'),
226
  'type' => Controls_Manager::WYSIWYG,
227
- 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ullamcorper nulla non metus auctor fringilla','premium_elementor'),
228
  ]
229
  );
230
 
@@ -235,14 +235,14 @@ class Premium_Person_Widget extends Widget_Base
235
  /*Start Social Links Section*/
236
  $this->start_controls_section('premium_person_social_section',
237
  [
238
- 'label' => esc_html__('Social Links', 'premium_elementor'),
239
  ]
240
  );
241
 
242
  /*Person Facebook*/
243
  $this->add_control('premium_person_facebook',
244
  [
245
- 'label' => esc_html__('Facebook', 'premium_elementor'),
246
  'type' => Controls_Manager::TEXT,
247
  'default' => '#',
248
  'label_block' => true,
@@ -252,7 +252,7 @@ class Premium_Person_Widget extends Widget_Base
252
  /*Person Twitter*/
253
  $this->add_control('premium_person_twitter',
254
  [
255
- 'label' => esc_html__('Twitter', 'premium_elementor'),
256
  'type' => Controls_Manager::TEXT,
257
  'default' => '#',
258
  'label_block' => true,
@@ -262,7 +262,7 @@ class Premium_Person_Widget extends Widget_Base
262
  /*Person Linkedin*/
263
  $this->add_control('premium_person_linkedin',
264
  [
265
- 'label' => esc_html__('LinkedIn', 'premium_elementor'),
266
  'type' => Controls_Manager::TEXT,
267
  'default' => '#',
268
  'label_block' => true,
@@ -272,7 +272,7 @@ class Premium_Person_Widget extends Widget_Base
272
  /*Person Dribble*/
273
  $this->add_control('premium_person_dribbble',
274
  [
275
- 'label' => esc_html__('Dribbble', 'premium_elementor'),
276
  'type' => Controls_Manager::TEXT,
277
  'default' => '#',
278
  'label_block' => true,
@@ -282,7 +282,7 @@ class Premium_Person_Widget extends Widget_Base
282
  /*Person Google*/
283
  $this->add_control('premium_person_google',
284
  [
285
- 'label' => esc_html__('Google+', 'premium_elementor'),
286
  'type' => Controls_Manager::TEXT,
287
  'default' => '#',
288
  'label_block' => true,
@@ -292,7 +292,7 @@ class Premium_Person_Widget extends Widget_Base
292
  /*Person Google*/
293
  $this->add_control('premium_person_mail',
294
  [
295
- 'label' => esc_html__('Email Address', 'premium_elementor'),
296
  'type' => Controls_Manager::TEXT,
297
  'default' => '#',
298
  'label_block' => true,
@@ -305,7 +305,7 @@ class Premium_Person_Widget extends Widget_Base
305
  /*Start Content Style Section*/
306
  $this->start_controls_section('premium_person_general_style',
307
  [
308
- 'label' => esc_html__('Content', 'premium_elementor'),
309
  'tab' => Controls_Manager::TAB_STYLE,
310
  ]
311
  );
@@ -313,7 +313,7 @@ class Premium_Person_Widget extends Widget_Base
313
  /*Content Background Color*/
314
  $this->add_control('premium_person_content_background_color',
315
  [
316
- 'label' => esc_html__('Content Background Color', 'premium_elementor'),
317
  'type' => Controls_Manager::COLOR,
318
  'default' => 'rgba(245,245,245,0.97)',
319
  'selectors' => [
@@ -325,7 +325,7 @@ class Premium_Person_Widget extends Widget_Base
325
  /*Border Bottom Width*/
326
  $this->add_control('premium_person_border_bottom_width',
327
  [
328
- 'label' => esc_html__('Border Bottom Width (PX)', 'premium_elementor'),
329
  'type' => Controls_Manager::SLIDER,
330
  'range' => [
331
  'px' => [
@@ -349,7 +349,7 @@ class Premium_Person_Widget extends Widget_Base
349
  /*Start Name Style Section*/
350
  $this->start_controls_section('premium_person_name_style',
351
  [
352
- 'label' => esc_html__('Name', 'premium_elementor'),
353
  'tab' => Controls_Manager::TAB_STYLE,
354
  ]
355
  );
@@ -358,7 +358,7 @@ class Premium_Person_Widget extends Widget_Base
358
  /*Name Color*/
359
  $this->add_control('premium_person_name_color',
360
  [
361
- 'label' => esc_html__('Name Color', 'premium_elementor'),
362
  'type' => Controls_Manager::COLOR,
363
  'scheme' => [
364
  'type' => Scheme_Color::get_type(),
@@ -386,7 +386,7 @@ class Premium_Person_Widget extends Widget_Base
386
  /*Start Title Style Section*/
387
  $this->start_controls_section('premium_person_title_style',
388
  [
389
- 'label' => esc_html__('Job Title', 'premium_elementor'),
390
  'tab' => Controls_Manager::TAB_STYLE,
391
  ]
392
  );
@@ -394,7 +394,7 @@ class Premium_Person_Widget extends Widget_Base
394
  /*Title Color*/
395
  $this->add_control('premium_person_title_color',
396
  [
397
- 'label' => esc_html__('Job Title Color', 'premium_elementor'),
398
  'type' => Controls_Manager::COLOR,
399
  'scheme' => [
400
  'type' => Scheme_Color::get_type(),
@@ -422,7 +422,7 @@ class Premium_Person_Widget extends Widget_Base
422
  /*Start Description Style Section*/
423
  $this->start_controls_section('premium_person_description_style',
424
  [
425
- 'label' => esc_html__('Description', 'premium_elementor'),
426
  'tab' => Controls_Manager::TAB_STYLE,
427
  ]
428
  );
@@ -430,7 +430,7 @@ class Premium_Person_Widget extends Widget_Base
430
  /*Title Color*/
431
  $this->add_control('premium_person_description_color',
432
  [
433
- 'label' => esc_html__('Description Text Color', 'premium_elementor'),
434
  'type' => Controls_Manager::COLOR,
435
  'scheme' => [
436
  'type' => Scheme_Color::get_type(),
@@ -458,7 +458,7 @@ class Premium_Person_Widget extends Widget_Base
458
  /*Start Social Icon Style Section*/
459
  $this->start_controls_section('premium_person_social_icon_style',
460
  [
461
- 'label' => esc_html__('Social Icons', 'premium_elementor'),
462
  'tab' => Controls_Manager::TAB_STYLE,
463
  ]
464
  );
@@ -466,7 +466,7 @@ class Premium_Person_Widget extends Widget_Base
466
  /*Social Color*/
467
  $this->add_control('premium_person_social_color',
468
  [
469
- 'label' => esc_html__('Social Icons Color', 'premium_elementor'),
470
  'type' => Controls_Manager::COLOR,
471
  'scheme' => [
472
  'type' => Scheme_Color::get_type(),
@@ -481,7 +481,7 @@ class Premium_Person_Widget extends Widget_Base
481
  /*Social Hover Color*/
482
  $this->add_control('premium_person_social_hover_color',
483
  [
484
- 'label' => esc_html__('Social Hover Color', 'premium_elementor'),
485
  'type' => Controls_Manager::COLOR,
486
  'scheme' => [
487
  'type' => Scheme_Color::get_type(),
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Person', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /*Start Premium Person Section*/
35
  $this->start_controls_section('premium_person_general_settings',
36
  [
37
+ 'label' => esc_html__('Person Image', 'premium-addons-for-elementor')
38
  ]
39
  );
40
 
41
  /*Person Image*/
42
  $this->add_control('premium_person_image',
43
  [
44
+ 'label' => esc_html__('Image', 'premium-addons-for-elementor'),
45
  'type' => Controls_Manager::MEDIA,
46
  'default' => [
47
  'url' => Utils::get_placeholder_image_src()
52
 
53
  $this->add_responsive_control('premium_person_image_width',
54
  [
55
+ 'label' => esc_html__('Image Width', 'premium-addons-for-elementor'),
56
  'type' => Controls_Manager::SLIDER,
57
+ 'description' => esc_html__('Enter image width in (PX, EM, %), default is 100%', 'premium-addons-for-elementor'),
58
  'size_units' => ['px', '%', 'em'],
59
  'range' => [
60
  'px' => [
79
 
80
  $this->add_responsive_control('premium_person_image_height',
81
  [
82
+ 'label' => esc_html__('Image Height', 'premium-addons-for-elementor'),
83
  'type' => Controls_Manager::SLIDER,
84
+ 'description' => esc_html__('Choose image height in (PX, EM)', 'premium-addons-for-elementor'),
85
  'range' => [
86
  'px' => [
87
  'min' => 1,
103
  /*Hover Image Effect*/
104
  $this->add_control('premium_person_hover_image_effect',
105
  [
106
+ 'label' => esc_html__('Image Hover Effect', 'premium-addons-for-elementor'),
107
  'type' => Controls_Manager::SELECT,
108
  'options' => [
109
+ 'zoomin' => esc_html__('Zoom In', 'premium-addons-for-elementor'),
110
+ 'zoomout'=> esc_html__('Zoom Out', 'premium-addons-for-elementor'),
111
+ 'scale' => esc_html__('Scale', 'premium-addons-for-elementor'),
112
+ 'grayscale' => esc_html__('Grayscale', 'premium-addons-for-elementor'),
113
+ 'blur' => esc_html__('Blur', 'premium-addons-for-elementor'),
114
  ],
115
  'default' => 'zoomin',
116
  'label_block' => true
123
  /*Start Person Details Section*/
124
  $this->start_controls_section('premium_person_person_details_section',
125
  [
126
+ 'label' => esc_html__('Person Details', 'premium-addons-for-elementor'),
127
  ]
128
  );
129
 
130
  /*Person Name*/
131
  $this->add_control('premium_person_name',
132
  [
133
+ 'label' => esc_html__('Name', 'premium-addons-for-elementor'),
134
  'type' => Controls_Manager::TEXT,
135
+ 'default' => esc_html__('John Frank', 'premium-addons-for-elementor'),
136
  'label_block' => true,
137
  ]
138
  );
140
  /*Name Tag*/
141
  $this->add_control('premium_person_name_heading',
142
  [
143
+ 'label' => esc_html__('Name Tag', 'premium-addons-for-elementor'),
144
  'type' => Controls_Manager::SELECT,
145
  'default' => 'h2',
146
  'options' => [
158
  /*Person Title*/
159
  $this->add_control('premium_person_title',
160
  [
161
+ 'label' => esc_html__('Job Title', 'premium-addons-for-elementor'),
162
  'type' => Controls_Manager::TEXT,
163
+ 'default' => esc_html__('Senior Developer', 'premium-addons-for-elementor'),
164
  'label_block' => true,
165
  ]
166
  );
168
  /*Title Tag*/
169
  $this->add_control('premium_person_title_heading',
170
  [
171
+ 'label' => esc_html__('Job Title Tag', 'premium-addons-for-elementor'),
172
  'type' => Controls_Manager::SELECT,
173
  'default' => 'h4',
174
  'options' => [
215
  /*Start Description Section*/
216
  $this->start_controls_section('premium_person_description_section',
217
  [
218
+ 'label' => esc_html__('Description', 'premium-addons-for-elementor'),
219
  ]
220
  );
221
 
222
  /*Content*/
223
  $this->add_control('premium_person_content',
224
  [
225
+ 'label' => esc_html__('Content', 'premium-addons-for-elementor'),
226
  'type' => Controls_Manager::WYSIWYG,
227
+ 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ullamcorper nulla non metus auctor fringilla','premium-addons-for-elementor'),
228
  ]
229
  );
230
 
235
  /*Start Social Links Section*/
236
  $this->start_controls_section('premium_person_social_section',
237
  [
238
+ 'label' => esc_html__('Social Links', 'premium-addons-for-elementor'),
239
  ]
240
  );
241
 
242
  /*Person Facebook*/
243
  $this->add_control('premium_person_facebook',
244
  [
245
+ 'label' => esc_html__('Facebook', 'premium-addons-for-elementor'),
246
  'type' => Controls_Manager::TEXT,
247
  'default' => '#',
248
  'label_block' => true,
252
  /*Person Twitter*/
253
  $this->add_control('premium_person_twitter',
254
  [
255
+ 'label' => esc_html__('Twitter', 'premium-addons-for-elementor'),
256
  'type' => Controls_Manager::TEXT,
257
  'default' => '#',
258
  'label_block' => true,
262
  /*Person Linkedin*/
263
  $this->add_control('premium_person_linkedin',
264
  [
265
+ 'label' => esc_html__('LinkedIn', 'premium-addons-for-elementor'),
266
  'type' => Controls_Manager::TEXT,
267
  'default' => '#',
268
  'label_block' => true,
272
  /*Person Dribble*/
273
  $this->add_control('premium_person_dribbble',
274
  [
275
+ 'label' => esc_html__('Dribbble', 'premium-addons-for-elementor'),
276
  'type' => Controls_Manager::TEXT,
277
  'default' => '#',
278
  'label_block' => true,
282
  /*Person Google*/
283
  $this->add_control('premium_person_google',
284
  [
285
+ 'label' => esc_html__('Google+', 'premium-addons-for-elementor'),
286
  'type' => Controls_Manager::TEXT,
287
  'default' => '#',
288
  'label_block' => true,
292
  /*Person Google*/
293
  $this->add_control('premium_person_mail',
294
  [
295
+ 'label' => esc_html__('Email Address', 'premium-addons-for-elementor'),
296
  'type' => Controls_Manager::TEXT,
297
  'default' => '#',
298
  'label_block' => true,
305
  /*Start Content Style Section*/
306
  $this->start_controls_section('premium_person_general_style',
307
  [
308
+ 'label' => esc_html__('Content', 'premium-addons-for-elementor'),
309
  'tab' => Controls_Manager::TAB_STYLE,
310
  ]
311
  );
313
  /*Content Background Color*/
314
  $this->add_control('premium_person_content_background_color',
315
  [
316
+ 'label' => esc_html__('Content Background Color', 'premium-addons-for-elementor'),
317
  'type' => Controls_Manager::COLOR,
318
  'default' => 'rgba(245,245,245,0.97)',
319
  'selectors' => [
325
  /*Border Bottom Width*/
326
  $this->add_control('premium_person_border_bottom_width',
327
  [
328
+ 'label' => esc_html__('Border Bottom Width (PX)', 'premium-addons-for-elementor'),
329
  'type' => Controls_Manager::SLIDER,
330
  'range' => [
331
  'px' => [
349
  /*Start Name Style Section*/
350
  $this->start_controls_section('premium_person_name_style',
351
  [
352
+ 'label' => esc_html__('Name', 'premium-addons-for-elementor'),
353
  'tab' => Controls_Manager::TAB_STYLE,
354
  ]
355
  );
358
  /*Name Color*/
359
  $this->add_control('premium_person_name_color',
360
  [
361
+ 'label' => esc_html__('Name Color', 'premium-addons-for-elementor'),
362
  'type' => Controls_Manager::COLOR,
363
  'scheme' => [
364
  'type' => Scheme_Color::get_type(),
386
  /*Start Title Style Section*/
387
  $this->start_controls_section('premium_person_title_style',
388
  [
389
+ 'label' => esc_html__('Job Title', 'premium-addons-for-elementor'),
390
  'tab' => Controls_Manager::TAB_STYLE,
391
  ]
392
  );
394
  /*Title Color*/
395
  $this->add_control('premium_person_title_color',
396
  [
397
+ 'label' => esc_html__('Job Title Color', 'premium-addons-for-elementor'),
398
  'type' => Controls_Manager::COLOR,
399
  'scheme' => [
400
  'type' => Scheme_Color::get_type(),
422
  /*Start Description Style Section*/
423
  $this->start_controls_section('premium_person_description_style',
424
  [
425
+ 'label' => esc_html__('Description', 'premium-addons-for-elementor'),
426
  'tab' => Controls_Manager::TAB_STYLE,
427
  ]
428
  );
430
  /*Title Color*/
431
  $this->add_control('premium_person_description_color',
432
  [
433
+ 'label' => esc_html__('Description Text Color', 'premium-addons-for-elementor'),
434
  'type' => Controls_Manager::COLOR,
435
  'scheme' => [
436
  'type' => Scheme_Color::get_type(),
458
  /*Start Social Icon Style Section*/
459
  $this->start_controls_section('premium_person_social_icon_style',
460
  [
461
+ 'label' => esc_html__('Social Icons', 'premium-addons-for-elementor'),
462
  'tab' => Controls_Manager::TAB_STYLE,
463
  ]
464
  );
466
  /*Social Color*/
467
  $this->add_control('premium_person_social_color',
468
  [
469
+ 'label' => esc_html__('Social Icons Color', 'premium-addons-for-elementor'),
470
  'type' => Controls_Manager::COLOR,
471
  'scheme' => [
472
  'type' => Scheme_Color::get_type(),
481
  /*Social Hover Color*/
482
  $this->add_control('premium_person_social_hover_color',
483
  [
484
+ 'label' => esc_html__('Social Hover Color', 'premium-addons-for-elementor'),
485
  'type' => Controls_Manager::COLOR,
486
  'scheme' => [
487
  'type' => Scheme_Color::get_type(),
widgets/premium-pricing-table.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Pricing Table', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -35,20 +35,20 @@ class Premium_Pricing_Table_Widget extends Widget_Base
35
  /* Start Title Settings Section */
36
  $this->start_controls_section('premium_pricing_table_title',
37
  [
38
- 'label' => esc_html__('Display Options', 'premium_elementor'),
39
  ]
40
  );
41
 
42
  $this->add_control('premium_pricing_table_icon_switcher',
43
  [
44
- 'label' => esc_html__('Icon', 'premium_elementor'),
45
  'type' => Controls_Manager::SWITCHER,
46
  ]
47
  );
48
 
49
  $this->add_control('premium_pricing_table_title_switcher',
50
  [
51
- 'label' => esc_html__('Title', 'premium_elementor'),
52
  'type' => Controls_Manager::SWITCHER,
53
  'default' => 'yes',
54
  ]
@@ -56,7 +56,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
56
 
57
  $this->add_control('premium_pricing_table_price_switcher',
58
  [
59
- 'label' => esc_html__('Price', 'premium_elementor'),
60
  'type' => Controls_Manager::SWITCHER,
61
  'default' => 'yes',
62
  ]
@@ -64,7 +64,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
64
 
65
  $this->add_control('premium_pricing_table_list_switcher',
66
  [
67
- 'label' => esc_html__('Icon List', 'premium_elementor'),
68
  'type' => Controls_Manager::SWITCHER,
69
  'default' => 'yes',
70
  ]
@@ -72,14 +72,14 @@ class Premium_Pricing_Table_Widget extends Widget_Base
72
 
73
  $this->add_control('premium_pricing_table_description_switcher',
74
  [
75
- 'label' => esc_html__('Description', 'premium_elementor'),
76
  'type' => Controls_Manager::SWITCHER,
77
  ]
78
  );
79
 
80
  $this->add_control('premium_pricing_table_button_switcher',
81
  [
82
- 'label' => esc_html__('Button', 'premium_elementor'),
83
  'type' => Controls_Manager::SWITCHER,
84
  'default' => 'yes',
85
  ]
@@ -87,7 +87,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
87
 
88
  $this->add_control('premium_pricing_table_badge_switcher',
89
  [
90
- 'label' => esc_html__('Badge', 'premium_elementor'),
91
  'type' => Controls_Manager::SWITCHER,
92
  'default' => 'yes',
93
  ]
@@ -98,7 +98,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
98
  /*Title Content Section*/
99
  $this->start_controls_section('premium_pricing_table_icon_section',
100
  [
101
- 'label' => esc_html__('Icon', 'premium_elementor'),
102
  'condition' => [
103
  'premium_pricing_table_icon_switcher' => 'yes',
104
  ]
@@ -107,7 +107,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
107
 
108
  $this->add_control('premium_pricing_table_icon_selection',
109
  [
110
- 'label' => esc_html__('Select an Icon', 'premium_elementor'),
111
  'type' => Controls_Manager::ICON,
112
  'default' => 'fa fa-check'
113
  ]
@@ -118,7 +118,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
118
  /*Title Content Section*/
119
  $this->start_controls_section('premium_pricing_table_title_section',
120
  [
121
- 'label' => esc_html__('Title', 'premium_elementor'),
122
  'condition' => [
123
  'premium_pricing_table_title_switcher' => 'yes',
124
  ]
@@ -128,7 +128,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
128
  /*Header Text*/
129
  $this->add_control('premium_pricing_table_title_text',
130
  [
131
- 'label' => esc_html__('Title', 'premium_elementor'),
132
  'default' => 'Pricing Table',
133
  'type' => Controls_Manager::TEXT,
134
  'label_block' => true,
@@ -138,8 +138,8 @@ class Premium_Pricing_Table_Widget extends Widget_Base
138
  /*Header Tag*/
139
  $this->add_control('premium_pricing_table_title_size',
140
  [
141
- 'label' => esc_html__('Title HTML Tag', 'premium_elementor'),
142
- 'description' => esc_html__( 'Select HTML tag for the title', 'premium_elementor' ),
143
  'type' => Controls_Manager::SELECT,
144
  'default' => 'h3',
145
  'options' => [
@@ -160,7 +160,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
160
  /*Price Content Section*/
161
  $this->start_controls_section('premium_pricing_table_price_section',
162
  [
163
- 'label' => esc_html__('Price', 'premium_elementor'),
164
  'condition' => [
165
  'premium_pricing_table_price_switcher' => 'yes',
166
  ]
@@ -170,7 +170,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
170
  /*Price Currency*/
171
  $this->add_control('premium_pricing_table_price_currency',
172
  [
173
- 'label' => esc_html__('Currency', 'premium_elementor'),
174
  'default' => '$',
175
  'type' => Controls_Manager::TEXT,
176
  'label_block' => true,
@@ -180,7 +180,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
180
  /*Price Value*/
181
  $this->add_control('premium_pricing_table_price_value',
182
  [
183
- 'label' => esc_html__('Price', 'premium_elementor'),
184
  'default' => '25',
185
  'type' => Controls_Manager::TEXT,
186
  'label_block' => true,
@@ -190,7 +190,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
190
  /*Price Separator*/
191
  $this->add_control('premium_pricing_table_price_separator',
192
  [
193
- 'label' => esc_html__('Divider', 'premium_elementor'),
194
  'default' => '/',
195
  'type' => Controls_Manager::TEXT,
196
  'label_block' => true,
@@ -200,7 +200,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
200
  /*Price Duration*/
201
  $this->add_control('premium_pricing_table_price_duration',
202
  [
203
- 'label' => esc_html__('Duration', 'premium_elementor'),
204
  'default' => 'm',
205
  'type' => Controls_Manager::TEXT,
206
  'label_block' => true,
@@ -212,7 +212,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
212
  /*Icon List Content Section*/
213
  $this->start_controls_section('premium_pricing_table_list_section',
214
  [
215
- 'label' => esc_html__('Icon List', 'premium_elementor'),
216
  'condition' => [
217
  'premium_pricing_table_list_switcher' => 'yes',
218
  ]
@@ -221,31 +221,31 @@ class Premium_Pricing_Table_Widget extends Widget_Base
221
 
222
  $this->add_control('premium_fancy_text_list_items',
223
  [
224
- 'label' => esc_html__( 'Icon List Items', 'premium_elementor' ),
225
  'type' => Controls_Manager::REPEATER,
226
  'default' => [
227
  [
228
  'premium_pricing_list_item_icon' => 'fa fa-check',
229
- 'premium_pricing_list_item_text' => esc_html__( 'List Item #1', 'premium_elementor' ),
230
  ],
231
  [
232
  'premium_pricing_list_item_icon' => 'fa fa-check',
233
- 'premium_pricing_list_item_text' => esc_html__( 'List Item #2', 'premium_elementor' ),
234
  ],
235
  [
236
  'premium_pricing_list_item_icon' => 'fa fa-check',
237
- 'premium_pricing_list_item_text' => esc_html__( 'List Item #3', 'premium_elementor' ),
238
  ],
239
  ],
240
  'fields' => [
241
  [
242
  'name' => 'premium_pricing_list_item_icon',
243
- 'label' => esc_html__( 'Item Icon', 'premium_elementor' ),
244
  'type' => Controls_Manager::ICON,
245
  ],
246
  [
247
  'name' => 'premium_pricing_list_item_text',
248
- 'label' => esc_html__( 'Item Text', 'premium_elementor' ),
249
  'type' => Controls_Manager::TEXT,
250
  'label_block' => true,
251
  ],
@@ -283,7 +283,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
283
  /*Description Content Section*/
284
  $this->start_controls_section('premium_pricing_table_description_section',
285
  [
286
- 'label' => esc_html__('Description', 'premium_elementor'),
287
  'condition' => [
288
  'premium_pricing_table_description_switcher' => 'yes',
289
  ]
@@ -294,9 +294,9 @@ class Premium_Pricing_Table_Widget extends Widget_Base
294
  /*Description Text*/
295
  $this->add_control('premium_pricing_table_description_text',
296
  [
297
- 'label' => esc_html__('Description', 'premium_elementor'),
298
  'type' => Controls_Manager::WYSIWYG,
299
- 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit', 'premium_elementor'),
300
  ]
301
  );
302
 
@@ -305,7 +305,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
305
  /*Button Content Section*/
306
  $this->start_controls_section('premium_pricing_table_button_section',
307
  [
308
- 'label' => esc_html__('Button', 'premium_elementor'),
309
  'condition' => [
310
  'premium_pricing_table_button_switcher' => 'yes',
311
  ]
@@ -316,8 +316,8 @@ class Premium_Pricing_Table_Widget extends Widget_Base
316
  /*Button Text*/
317
  $this->add_control('premium_pricing_table_button_text',
318
  [
319
- 'label' => esc_html__('Text', 'premium_elementor'),
320
- 'default' => esc_html__('Get Started' , 'premium_elementor'),
321
  'type' => Controls_Manager::TEXT,
322
  'label_block' => true,
323
  ]
@@ -326,11 +326,11 @@ class Premium_Pricing_Table_Widget extends Widget_Base
326
  /*Button Url Type*/
327
  $this->add_control('premium_pricing_table_button_url_type',
328
  [
329
- 'label' => esc_html__('Link/URL', 'premium_elementor'),
330
  'type' => Controls_Manager::SELECT,
331
  'options' => [
332
- 'url' => esc_html__('URL', 'premium_elementor'),
333
- 'link' => esc_html__('Link to Existing Content', 'premium_elementor'),
334
  ],
335
  'default' => 'url',
336
  'label_block' => true,
@@ -341,7 +341,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
341
  /*Button url*/
342
  $this->add_control('premium_pricing_table_button_link',
343
  [
344
- 'label' => esc_html__('URL', 'premium_elementor'),
345
  'type' => Controls_Manager::TEXT,
346
  'condition' => [
347
  'premium_pricing_table_button_url_type' => 'url',
@@ -353,7 +353,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
353
  /*Button Link to existing content*/
354
  $this->add_control('premium_pricing_table_button_link_existing_content',
355
  [
356
- 'label' => esc_html__('Link to Existing Content', 'premium_elementor'),
357
  'type' => Controls_Manager::SELECT,
358
  'options' => $this->getTemplateInstance()->get_all_post(),
359
  'condition' => [
@@ -367,16 +367,16 @@ class Premium_Pricing_Table_Widget extends Widget_Base
367
  /*Link Target*/
368
  $this->add_control('premium_pricing_table_button_link_target',
369
  [
370
- 'label' => esc_html__('Link Target', 'premium_elementor'),
371
  'type' => Controls_Manager::SELECT,
372
- 'description' => esc_html__( ' Where would you like the link be opened?', 'premium_elementor' ),
373
  'options' => [
374
  'blank' => esc_html('Blank'),
375
  'parent' => esc_html('Parent'),
376
  'self' => esc_html('Self'),
377
  'top' => esc_html('Top'),
378
  ],
379
- 'default' => esc_html__('blank','premium_elementor'),
380
  'label_block' => true,
381
  ]
382
  );
@@ -387,7 +387,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
387
  /*Button Content Section*/
388
  $this->start_controls_section('premium_pricing_table_bagde_section',
389
  [
390
- 'label' => esc_html__('Badge', 'premium_elementor'),
391
  'condition' => [
392
  'premium_pricing_table_badge_switcher' => 'yes',
393
  ]
@@ -396,11 +396,11 @@ class Premium_Pricing_Table_Widget extends Widget_Base
396
 
397
  $this->add_control('premium_pricing_table_badge_position',
398
  [
399
- 'label' => esc_html__('Badge Position', 'premium_elementor'),
400
  'type' => Controls_Manager::SELECT,
401
  'options' => [
402
- 'right' => esc_html__('Right', 'premium_elementor'),
403
- 'left' => esc_html__('Left', 'premium_elementor'),
404
  ],
405
  'default' => 'right',
406
  ]
@@ -408,8 +408,8 @@ class Premium_Pricing_Table_Widget extends Widget_Base
408
 
409
  $this->add_control('premium_pricing_table_badge_text',
410
  [
411
- 'label' => esc_html__('Badge Text', 'premium_elementor'),
412
- 'default' => esc_html__('Popular', 'premium_elementor'),
413
  'type' => Controls_Manager::TEXT,
414
  'label_block' => true,
415
  ]
@@ -417,7 +417,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
417
 
418
  $this->add_responsive_control('premium_pricing_table_badge_left_size',
419
  [
420
- 'label' => esc_html__('Badge Size', 'premium_elementor'),
421
  'type' => Controls_Manager::SLIDER,
422
  'range' => [
423
  'px' => [
@@ -436,7 +436,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
436
 
437
  $this->add_control('premium_pricing_table_badge_right_size',
438
  [
439
- 'label' => esc_html__('Badge Size', 'premium_elementor'),
440
  'type' => Controls_Manager::SLIDER,
441
  'range' => [
442
  'px' => [
@@ -459,7 +459,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
459
  /*Start Box Style Settings*/
460
  $this->start_controls_section('premium_pricing_box_style_settings',
461
  [
462
- 'label' => esc_html__('Box', 'premium_elementor'),
463
  'tab' => Controls_Manager::TAB_STYLE,
464
  ]
465
  );
@@ -468,7 +468,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
468
 
469
  $this->start_controls_tab('premium_pricing_table_box_style_normal',
470
  [
471
- 'label' => esc_html__('Normal', 'premium_elementor'),
472
  ]
473
  );
474
 
@@ -494,7 +494,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
494
  /*Box Border Radius*/
495
  $this->add_control('premium_pricing_table_box_border_radius',
496
  [
497
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
498
  'type' => Controls_Manager::SLIDER,
499
  'size_units' => ['px', '%' ,'em'],
500
  'selectors' => [
@@ -515,7 +515,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
515
  /*Box Margin*/
516
  $this->add_responsive_control('premium_pricing_box_margin',
517
  [
518
- 'label' => esc_html__('Margin', 'premium_elementor'),
519
  'type' => Controls_Manager::DIMENSIONS,
520
  'size_units' => ['px', 'em', '%'],
521
  'selectors' => [
@@ -526,7 +526,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
526
  /*Box Padding*/
527
  $this->add_responsive_control('premium_pricing_box_padding',
528
  [
529
- 'label' => esc_html__('Padding', 'premium_elementor'),
530
  'type' => Controls_Manager::DIMENSIONS,
531
  'size_units' => ['px', 'em', '%'],
532
  'default' => [
@@ -545,7 +545,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
545
 
546
  $this->start_controls_tab('premium_pricing_table_box_style_hover',
547
  [
548
- 'label' => esc_html__('Hover', 'premium_elementor'),
549
  ]
550
  );
551
 
@@ -571,7 +571,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
571
  /*Box Border Radius*/
572
  $this->add_control('premium_pricing_table_box_border_radius_hover',
573
  [
574
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
575
  'type' => Controls_Manager::SLIDER,
576
  'size_units' => ['px', 'em' , '%' ],
577
  'selectors' => [
@@ -592,7 +592,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
592
  /*Box Margin*/
593
  $this->add_responsive_control('premium_pricing_box_margin_hover',
594
  [
595
- 'label' => esc_html__('Margin', 'premium_elementor'),
596
  'type' => Controls_Manager::DIMENSIONS,
597
  'size_units' => ['px', 'em', '%'],
598
  'selectors' => [
@@ -603,7 +603,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
603
  /*Box Padding*/
604
  $this->add_responsive_control('premium_pricing_box_padding_hover',
605
  [
606
- 'label' => esc_html__('Padding', 'premium_elementor'),
607
  'type' => Controls_Manager::DIMENSIONS,
608
  'size_units' => ['px', 'em', '%'],
609
  'default' => [
@@ -629,7 +629,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
629
  /*Start Icon Style Settings */
630
  $this->start_controls_section('premium_pricing_icon_style_settings',
631
  [
632
- 'label' => esc_html__('Icon', 'premium_elementor'),
633
  'tab' => Controls_Manager::TAB_STYLE,
634
  'condition' => [
635
  'premium_pricing_table_icon_switcher' => 'yes',
@@ -640,7 +640,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
640
  /*Icon Color*/
641
  $this->add_control('premium_pricing_icon_color',
642
  [
643
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
644
  'type' => Controls_Manager::COLOR,
645
  'scheme' => [
646
  'type' => Scheme_Color::get_type(),
@@ -654,7 +654,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
654
 
655
  $this->add_control('premium_pricing_icon_back_color',
656
  [
657
- 'label' => esc_html__('Icon Background Color', 'premium_elementor'),
658
  'type' => Controls_Manager::COLOR,
659
  'scheme' => [
660
  'type' => Scheme_Color::get_type(),
@@ -668,7 +668,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
668
 
669
  $this->add_control('premium_pricing_icon_size',
670
  [
671
- 'label' => esc_html__('Size', 'premium_elementor'),
672
  'type' => Controls_Manager::SLIDER,
673
  'default' => [
674
  'size' => 25,
@@ -701,7 +701,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
701
  /*Icon Border Radius*/
702
  $this->add_control('premium_pricing_icon_border_radius',
703
  [
704
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
705
  'type' => Controls_Manager::SLIDER,
706
  'size_units' => ['px', '%' ,'em'],
707
  'selectors' => [
@@ -713,7 +713,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
713
  /*Icon Margin*/
714
  $this->add_responsive_control('premium_pricing_icon_margin',
715
  [
716
- 'label' => esc_html__('Margin', 'premium_elementor'),
717
  'type' => Controls_Manager::DIMENSIONS,
718
  'size_units' => ['px', 'em', '%'],
719
  'default' => [
@@ -732,7 +732,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
732
  /*Icon Padding*/
733
  $this->add_responsive_control('premium_pricing_icon_padding',
734
  [
735
- 'label' => esc_html__('Padding', 'premium_elementor'),
736
  'type' => Controls_Manager::DIMENSIONS,
737
  'size_units' => ['px', 'em', '%'],
738
  'default' => [
@@ -755,7 +755,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
755
  /*Start Title Style Settings */
756
  $this->start_controls_section('premium_pricing_title_style_settings',
757
  [
758
- 'label' => esc_html__('Title', 'premium_elementor'),
759
  'tab' => Controls_Manager::TAB_STYLE,
760
  'condition' => [
761
  'premium_pricing_table_title_switcher' => 'yes',
@@ -766,7 +766,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
766
  /*Title Color*/
767
  $this->add_control('premium_pricing_title_color',
768
  [
769
- 'label' => esc_html__('Text Color', 'premium_elementor'),
770
  'type' => Controls_Manager::COLOR,
771
  'scheme' => [
772
  'type' => Scheme_Color::get_type(),
@@ -801,7 +801,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
801
  /*Title Margin*/
802
  $this->add_responsive_control('premium_pricing_title_margin',
803
  [
804
- 'label' => esc_html__('Margin', 'premium_elementor'),
805
  'type' => Controls_Manager::DIMENSIONS,
806
  'size_units' => ['px', 'em', '%'],
807
  'default' => [
@@ -820,7 +820,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
820
  /*Title Padding*/
821
  $this->add_responsive_control('premium_pricing_title_padding',
822
  [
823
- 'label' => esc_html__('Padding', 'premium_elementor'),
824
  'type' => Controls_Manager::DIMENSIONS,
825
  'size_units' => ['px', 'em', '%'],
826
  'default' => [
@@ -843,7 +843,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
843
  /*Start Price Style Settings */
844
  $this->start_controls_section('premium_pricing_price_style_settings',
845
  [
846
- 'label' => esc_html__('Price', 'premium_elementor'),
847
  'tab' => Controls_Manager::TAB_STYLE,
848
  'condition' => [
849
  'premium_pricing_table_price_switcher' => 'yes',
@@ -854,7 +854,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
854
  /*Currency Color*/
855
  $this->add_control('premium_pricing_currency_color',
856
  [
857
- 'label' => esc_html__('Currency Color', 'premium_elementor'),
858
  'type' => Controls_Manager::COLOR,
859
  'scheme' => [
860
  'type' => Scheme_Color::get_type(),
@@ -870,7 +870,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
870
  $this->add_group_control(
871
  Group_Control_Typography::get_type(),
872
  [
873
- 'label' => esc_html__('Currency Typography', 'premium_elementor'),
874
  'name' => 'currency_typo',
875
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
876
  'selector' => '{{WRAPPER}} .premium-pricing-price-currency',
@@ -905,7 +905,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
905
 
906
  $this->add_responsive_control('premium_pricing_currency_margin',
907
  [
908
- 'label' => esc_html__('Currency Margin', 'premium_elementor'),
909
  'type' => Controls_Manager::DIMENSIONS,
910
  'size_units' => ['px', 'em', '%'],
911
  'selectors' => [
@@ -918,7 +918,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
918
  /*Price Color*/
919
  $this->add_control('premium_pricing_price_color',
920
  [
921
- 'label' => esc_html__('Price Color', 'premium_elementor'),
922
  'type' => Controls_Manager::COLOR,
923
  'scheme' => [
924
  'type' => Scheme_Color::get_type(),
@@ -935,7 +935,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
935
  $this->add_group_control(
936
  Group_Control_Typography::get_type(),
937
  [
938
- 'label' => esc_html__('Price Typography', 'premium_elementor'),
939
  'name' => 'price_typo',
940
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
941
  'selector' => '{{WRAPPER}} .premium-pricing-price-value',
@@ -944,7 +944,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
944
 
945
  $this->add_responsive_control('premium_pricing_price_margin',
946
  [
947
- 'label' => esc_html__('Price Margin', 'premium_elementor'),
948
  'type' => Controls_Manager::DIMENSIONS,
949
  'size_units' => ['px', 'em', '%'],
950
  'selectors' => [
@@ -956,7 +956,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
956
  /*Separator Color*/
957
  $this->add_control('premium_pricing_sep_color',
958
  [
959
- 'label' => esc_html__('Divider Color', 'premium_elementor'),
960
  'type' => Controls_Manager::COLOR,
961
  'scheme' => [
962
  'type' => Scheme_Color::get_type(),
@@ -973,7 +973,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
973
  $this->add_group_control(
974
  Group_Control_Typography::get_type(),
975
  [
976
- 'label' => esc_html__('Divider Typography', 'premium_elementor'),
977
  'name' => 'separator_typo',
978
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
979
  'selector' => '{{WRAPPER}} .premium-pricing-price-separator',
@@ -982,7 +982,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
982
 
983
  $this->add_responsive_control('premium_pricing_sep_margin',
984
  [
985
- 'label' => esc_html__('Divider Margin', 'premium_elementor'),
986
  'type' => Controls_Manager::DIMENSIONS,
987
  'size_units' => ['px', 'em', '%'],
988
  'default' => [
@@ -1001,7 +1001,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1001
  /*Duration Color*/
1002
  $this->add_control('premium_pricing_dur_color',
1003
  [
1004
- 'label' => esc_html__('Duration Color', 'premium_elementor'),
1005
  'type' => Controls_Manager::COLOR,
1006
  'scheme' => [
1007
  'type' => Scheme_Color::get_type(),
@@ -1018,7 +1018,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1018
  $this->add_group_control(
1019
  Group_Control_Typography::get_type(),
1020
  [
1021
- 'label' => esc_html__('Duration Typography', 'premium_elementor'),
1022
  'name' => 'duration_typo',
1023
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1024
  'selector' => '{{WRAPPER}} .premium-pricing-price-duration',
@@ -1027,7 +1027,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1027
 
1028
  $this->add_responsive_control('premium_pricing_dur_margin',
1029
  [
1030
- 'label' => esc_html__('Duration Margin', 'premium_elementor'),
1031
  'type' => Controls_Manager::DIMENSIONS,
1032
  'size_units' => ['px', 'em', '%'],
1033
  'selectors' => [
@@ -1051,7 +1051,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1051
  /*Price Margin*/
1052
  $this->add_responsive_control('premium_pricing_price_container_margin',
1053
  [
1054
- 'label' => esc_html__('Margin', 'premium_elementor'),
1055
  'type' => Controls_Manager::DIMENSIONS,
1056
  'size_units' => ['px', 'em', '%'],
1057
  'default' => [
@@ -1071,7 +1071,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1071
  /*Price Padding*/
1072
  $this->add_responsive_control('premium_pricing_price_padding',
1073
  [
1074
- 'label' => esc_html__('Padding', 'premium_elementor'),
1075
  'type' => Controls_Manager::DIMENSIONS,
1076
  'size_units' => ['px', 'em', '%'],
1077
  'selectors' => [
@@ -1086,7 +1086,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1086
  /*Start List Style Settings */
1087
  $this->start_controls_section('premium_pricing_list_style_settings',
1088
  [
1089
- 'label' => esc_html__('List', 'premium_elementor'),
1090
  'tab' => Controls_Manager::TAB_STYLE,
1091
  'condition' => [
1092
  'premium_pricing_table_list_switcher' => 'yes',
@@ -1097,7 +1097,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1097
  /*Button Color*/
1098
  $this->add_control('premium_pricing_list_icon_color',
1099
  [
1100
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
1101
  'type' => Controls_Manager::COLOR,
1102
  'scheme' => [
1103
  'type' => Scheme_Color::get_type(),
@@ -1111,7 +1111,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1111
 
1112
  $this->add_control('premium_pricing_list_text_color',
1113
  [
1114
- 'label' => esc_html__('Text Color', 'premium_elementor'),
1115
  'type' => Controls_Manager::COLOR,
1116
  'scheme' => [
1117
  'type' => Scheme_Color::get_type(),
@@ -1134,7 +1134,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1134
 
1135
  $this->add_control('premium_pricing_list_icon_size',
1136
  [
1137
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
1138
  'type' => Controls_Manager::SLIDER,
1139
  'selectors' => [
1140
  '{{WRAPPER}} .premium-pricing-list i' => 'font-size: {{SIZE}}px',
@@ -1144,7 +1144,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1144
 
1145
  $this->add_control('premium_pricing_list_icon_spacing',
1146
  [
1147
- 'label' => esc_html__('Icon Spacing', 'premium_elementor'),
1148
  'type' => Controls_Manager::SLIDER,
1149
  'default' => [
1150
  'size' => 5
@@ -1157,7 +1157,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1157
 
1158
  $this->add_control('premium_pricing_list_item_margin',
1159
  [
1160
- 'label' => esc_html__('Space Between', 'premium_elementor'),
1161
  'type' => Controls_Manager::SLIDER,
1162
  'selectors' => [
1163
  '{{WRAPPER}} .premium-pricing-list li' => 'margin-bottom: {{SIZE}}px;'
@@ -1186,7 +1186,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1186
  /*List Border Radius*/
1187
  $this->add_control('premium_pricing_list_border_radius',
1188
  [
1189
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
1190
  'type' => Controls_Manager::SLIDER,
1191
  'size_units' => ['px', 'em' , '%'],
1192
  'selectors' => [
@@ -1198,7 +1198,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1198
  /*List Margin*/
1199
  $this->add_responsive_control('premium_pricing_list_margin',
1200
  [
1201
- 'label' => esc_html__('Margin', 'premium_elementor'),
1202
  'type' => Controls_Manager::DIMENSIONS,
1203
  'size_units' => ['px', 'em', '%'],
1204
  'default' => [
@@ -1216,7 +1216,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1216
  /*List Padding*/
1217
  $this->add_responsive_control('premium_pricing_list_padding',
1218
  [
1219
- 'label' => esc_html__('Padding', 'premium_elementor'),
1220
  'type' => Controls_Manager::DIMENSIONS,
1221
  'size_units' => ['px', 'em', '%'],
1222
  'selectors' => [
@@ -1230,7 +1230,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1230
  /*Start Description Style Settings */
1231
  $this->start_controls_section('premium_pricing_description_style_settings',
1232
  [
1233
- 'label' => esc_html__('Description', 'premium_elementor'),
1234
  'tab' => Controls_Manager::TAB_STYLE,
1235
  'condition' => [
1236
  'premium_pricing_table_description_switcher' => 'yes',
@@ -1241,7 +1241,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1241
  /*Description Color*/
1242
  $this->add_control('premium_pricing_desc_color',
1243
  [
1244
- 'label' => esc_html__('Text Color', 'premium_elementor'),
1245
  'type' => Controls_Manager::COLOR,
1246
  'scheme' => [
1247
  'type' => Scheme_Color::get_type(),
@@ -1276,7 +1276,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1276
  /*Description Margin*/
1277
  $this->add_responsive_control('premium_pricing_desc_margin',
1278
  [
1279
- 'label' => esc_html__('Margin', 'premium_elementor'),
1280
  'type' => Controls_Manager::DIMENSIONS,
1281
  'size_units' => ['px', 'em', '%'],
1282
  'default' => [
@@ -1296,7 +1296,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1296
  /*Description Padding*/
1297
  $this->add_responsive_control('premium_pricing_desc_padding',
1298
  [
1299
- 'label' => esc_html__('Padding', 'premium_elementor'),
1300
  'type' => Controls_Manager::DIMENSIONS,
1301
  'size_units' => ['px', 'em', '%'],
1302
  'selectors' => [
@@ -1311,7 +1311,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1311
  /*Start Button Style Settings */
1312
  $this->start_controls_section('premium_pricing_button_style_settings',
1313
  [
1314
- 'label' => esc_html__('Button', 'premium_elementor'),
1315
  'tab' => Controls_Manager::TAB_STYLE,
1316
  'condition' => [
1317
  'premium_pricing_table_button_switcher' => 'yes',
@@ -1322,7 +1322,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1322
  /*Button Color*/
1323
  $this->add_control('premium_pricing_button_color',
1324
  [
1325
- 'label' => esc_html__('Text Color', 'premium_elementor'),
1326
  'type' => Controls_Manager::COLOR,
1327
  'scheme' => [
1328
  'type' => Scheme_Color::get_type(),
@@ -1348,7 +1348,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1348
 
1349
  $this->start_controls_tab('premium_pricing_table_button_style_normal',
1350
  [
1351
- 'label' => esc_html__('Normal', 'premium_elementor'),
1352
  ]
1353
  );
1354
 
@@ -1374,7 +1374,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1374
  /*Button Border Radius*/
1375
  $this->add_control('premium_pricing_table_box_button_radius',
1376
  [
1377
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
1378
  'type' => Controls_Manager::SLIDER,
1379
  'size_units' => ['px', 'em' , '%'],
1380
  'selectors' => [
@@ -1395,7 +1395,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1395
  /*Button Margin*/
1396
  $this->add_responsive_control('premium_pricing_button_margin',
1397
  [
1398
- 'label' => esc_html__('Margin', 'premium_elementor'),
1399
  'type' => Controls_Manager::DIMENSIONS,
1400
  'size_units' => ['px', 'em', '%'],
1401
  'selectors' => [
@@ -1406,7 +1406,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1406
  /*Button Padding*/
1407
  $this->add_responsive_control('premium_pricing_button_padding',
1408
  [
1409
- 'label' => esc_html__('Padding', 'premium_elementor'),
1410
  'type' => Controls_Manager::DIMENSIONS,
1411
  'size_units' => ['px', 'em', '%'],
1412
  'default' => [
@@ -1425,7 +1425,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1425
 
1426
  $this->start_controls_tab('premium_pricing_table_button_style_hover',
1427
  [
1428
- 'label' => esc_html__('Hover', 'premium_elementor'),
1429
  ]
1430
  );
1431
 
@@ -1451,7 +1451,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1451
  /*Button Border Radius*/
1452
  $this->add_control('premium_pricing_table_button_border_radius_hover',
1453
  [
1454
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
1455
  'type' => Controls_Manager::SLIDER,
1456
  'size_units' => ['px', 'em' , '%' ],
1457
  'selectors' => [
@@ -1472,7 +1472,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1472
  /*Button Margin*/
1473
  $this->add_responsive_control('premium_pricing_button_margin_hover',
1474
  [
1475
- 'label' => esc_html__('Margin', 'premium_elementor'),
1476
  'type' => Controls_Manager::DIMENSIONS,
1477
  'size_units' => ['px', 'em', '%'],
1478
  'selectors' => [
@@ -1483,7 +1483,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1483
  /*Button Padding*/
1484
  $this->add_responsive_control('premium_pricing_button_padding_hover',
1485
  [
1486
- 'label' => esc_html__('Padding', 'premium_elementor'),
1487
  'type' => Controls_Manager::DIMENSIONS,
1488
  'default' => [
1489
  'top' => 20,
@@ -1508,7 +1508,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1508
 
1509
  $this->start_controls_section('premium_pricing_table_badge_style',
1510
  [
1511
- 'label' => esc_html__('Badge', 'premium_elementor'),
1512
  'tab' => Controls_Manager::TAB_STYLE,
1513
  'condition' => [
1514
  'premium_pricing_table_badge_switcher' => 'yes'
@@ -1519,7 +1519,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1519
  /*Badge Color*/
1520
  $this->add_control('premium_pricing_badge_left_color',
1521
  [
1522
- 'label' => esc_html__('Badge Color', 'premium_elementor'),
1523
  'type' => Controls_Manager::COLOR,
1524
  'scheme' => [
1525
  'type' => Scheme_Color::get_type(),
@@ -1536,7 +1536,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1536
 
1537
  $this->add_control('premium_pricing_badge_right_color',
1538
  [
1539
- 'label' => esc_html__('Badge Color', 'premium_elementor'),
1540
  'type' => Controls_Manager::COLOR,
1541
  'scheme' => [
1542
  'type' => Scheme_Color::get_type(),
@@ -1553,7 +1553,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1553
 
1554
  $this->add_control('premium_pricing_badge_text_color',
1555
  [
1556
- 'label' => esc_html__('Text Color', 'premium_elementor'),
1557
  'type' => Controls_Manager::COLOR,
1558
  'scheme' => [
1559
  'type' => Scheme_Color::get_type(),
@@ -1577,7 +1577,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1577
 
1578
  $this->add_responsive_control('premium_pricing_table_badge_right_top',
1579
  [
1580
- 'label' => esc_html__('Vertical Position', 'premium_elementor'),
1581
  'type' => Controls_Manager::SLIDER,
1582
  'range' => [
1583
  'px'=> [
@@ -1593,7 +1593,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1593
 
1594
  $this->add_responsive_control('premium_pricing_table_badge_right_right',
1595
  [
1596
- 'label' => esc_html__('Horizontal Position', 'premium_elementor'),
1597
  'type' => Controls_Manager::SLIDER,
1598
  'range' => [
1599
  'px'=> [
@@ -1612,7 +1612,7 @@ class Premium_Pricing_Table_Widget extends Widget_Base
1612
 
1613
  $this->add_responsive_control('premium_pricing_table_badge_right_left',
1614
  [
1615
- 'label' => esc_html__('Horizontal Position', 'premium_elementor'),
1616
  'type' => Controls_Manager::SLIDER,
1617
  'selectors' => [
1618
  '{{WRAPPER}} .premium-badge-left .corner span' => 'left: {{SIZE}}px;'
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Pricing Table', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
35
  /* Start Title Settings Section */
36
  $this->start_controls_section('premium_pricing_table_title',
37
  [
38
+ 'label' => esc_html__('Display Options', 'premium-addons-for-elementor'),
39
  ]
40
  );
41
 
42
  $this->add_control('premium_pricing_table_icon_switcher',
43
  [
44
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
45
  'type' => Controls_Manager::SWITCHER,
46
  ]
47
  );
48
 
49
  $this->add_control('premium_pricing_table_title_switcher',
50
  [
51
+ 'label' => esc_html__('Title', 'premium-addons-for-elementor'),
52
  'type' => Controls_Manager::SWITCHER,
53
  'default' => 'yes',
54
  ]
56
 
57
  $this->add_control('premium_pricing_table_price_switcher',
58
  [
59
+ 'label' => esc_html__('Price', 'premium-addons-for-elementor'),
60
  'type' => Controls_Manager::SWITCHER,
61
  'default' => 'yes',
62
  ]
64
 
65
  $this->add_control('premium_pricing_table_list_switcher',
66
  [
67
+ 'label' => esc_html__('Icon List', 'premium-addons-for-elementor'),
68
  'type' => Controls_Manager::SWITCHER,
69
  'default' => 'yes',
70
  ]
72
 
73
  $this->add_control('premium_pricing_table_description_switcher',
74
  [
75
+ 'label' => esc_html__('Description', 'premium-addons-for-elementor'),
76
  'type' => Controls_Manager::SWITCHER,
77
  ]
78
  );
79
 
80
  $this->add_control('premium_pricing_table_button_switcher',
81
  [
82
+ 'label' => esc_html__('Button', 'premium-addons-for-elementor'),
83
  'type' => Controls_Manager::SWITCHER,
84
  'default' => 'yes',
85
  ]
87
 
88
  $this->add_control('premium_pricing_table_badge_switcher',
89
  [
90
+ 'label' => esc_html__('Badge', 'premium-addons-for-elementor'),
91
  'type' => Controls_Manager::SWITCHER,
92
  'default' => 'yes',
93
  ]
98
  /*Title Content Section*/
99
  $this->start_controls_section('premium_pricing_table_icon_section',
100
  [
101
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
102
  'condition' => [
103
  'premium_pricing_table_icon_switcher' => 'yes',
104
  ]
107
 
108
  $this->add_control('premium_pricing_table_icon_selection',
109
  [
110
+ 'label' => esc_html__('Select an Icon', 'premium-addons-for-elementor'),
111
  'type' => Controls_Manager::ICON,
112
  'default' => 'fa fa-check'
113
  ]
118
  /*Title Content Section*/
119
  $this->start_controls_section('premium_pricing_table_title_section',
120
  [
121
+ 'label' => esc_html__('Title', 'premium-addons-for-elementor'),
122
  'condition' => [
123
  'premium_pricing_table_title_switcher' => 'yes',
124
  ]
128
  /*Header Text*/
129
  $this->add_control('premium_pricing_table_title_text',
130
  [
131
+ 'label' => esc_html__('Title', 'premium-addons-for-elementor'),
132
  'default' => 'Pricing Table',
133
  'type' => Controls_Manager::TEXT,
134
  'label_block' => true,
138
  /*Header Tag*/
139
  $this->add_control('premium_pricing_table_title_size',
140
  [
141
+ 'label' => esc_html__('Title HTML Tag', 'premium-addons-for-elementor'),
142
+ 'description' => esc_html__( 'Select HTML tag for the title', 'premium-addons-for-elementor' ),
143
  'type' => Controls_Manager::SELECT,
144
  'default' => 'h3',
145
  'options' => [
160
  /*Price Content Section*/
161
  $this->start_controls_section('premium_pricing_table_price_section',
162
  [
163
+ 'label' => esc_html__('Price', 'premium-addons-for-elementor'),
164
  'condition' => [
165
  'premium_pricing_table_price_switcher' => 'yes',
166
  ]
170
  /*Price Currency*/
171
  $this->add_control('premium_pricing_table_price_currency',
172
  [
173
+ 'label' => esc_html__('Currency', 'premium-addons-for-elementor'),
174
  'default' => '$',
175
  'type' => Controls_Manager::TEXT,
176
  'label_block' => true,
180
  /*Price Value*/
181
  $this->add_control('premium_pricing_table_price_value',
182
  [
183
+ 'label' => esc_html__('Price', 'premium-addons-for-elementor'),
184
  'default' => '25',
185
  'type' => Controls_Manager::TEXT,
186
  'label_block' => true,
190
  /*Price Separator*/
191
  $this->add_control('premium_pricing_table_price_separator',
192
  [
193
+ 'label' => esc_html__('Divider', 'premium-addons-for-elementor'),
194
  'default' => '/',
195
  'type' => Controls_Manager::TEXT,
196
  'label_block' => true,
200
  /*Price Duration*/
201
  $this->add_control('premium_pricing_table_price_duration',
202
  [
203
+ 'label' => esc_html__('Duration', 'premium-addons-for-elementor'),
204
  'default' => 'm',
205
  'type' => Controls_Manager::TEXT,
206
  'label_block' => true,
212
  /*Icon List Content Section*/
213
  $this->start_controls_section('premium_pricing_table_list_section',
214
  [
215
+ 'label' => esc_html__('Icon List', 'premium-addons-for-elementor'),
216
  'condition' => [
217
  'premium_pricing_table_list_switcher' => 'yes',
218
  ]
221
 
222
  $this->add_control('premium_fancy_text_list_items',
223
  [
224
+ 'label' => esc_html__( 'Icon List Items', 'premium-addons-for-elementor' ),
225
  'type' => Controls_Manager::REPEATER,
226
  'default' => [
227
  [
228
  'premium_pricing_list_item_icon' => 'fa fa-check',
229
+ 'premium_pricing_list_item_text' => esc_html__( 'List Item #1', 'premium-addons-for-elementor' ),
230
  ],
231
  [
232
  'premium_pricing_list_item_icon' => 'fa fa-check',
233
+ 'premium_pricing_list_item_text' => esc_html__( 'List Item #2', 'premium-addons-for-elementor' ),
234
  ],
235
  [
236
  'premium_pricing_list_item_icon' => 'fa fa-check',
237
+ 'premium_pricing_list_item_text' => esc_html__( 'List Item #3', 'premium-addons-for-elementor' ),
238
  ],
239
  ],
240
  'fields' => [
241
  [
242
  'name' => 'premium_pricing_list_item_icon',
243
+ 'label' => esc_html__( 'Item Icon', 'premium-addons-for-elementor' ),
244
  'type' => Controls_Manager::ICON,
245
  ],
246
  [
247
  'name' => 'premium_pricing_list_item_text',
248
+ 'label' => esc_html__( 'Item Text', 'premium-addons-for-elementor' ),
249
  'type' => Controls_Manager::TEXT,
250
  'label_block' => true,
251
  ],
283
  /*Description Content Section*/
284
  $this->start_controls_section('premium_pricing_table_description_section',
285
  [
286
+ 'label' => esc_html__('Description', 'premium-addons-for-elementor'),
287
  'condition' => [
288
  'premium_pricing_table_description_switcher' => 'yes',
289
  ]
294
  /*Description Text*/
295
  $this->add_control('premium_pricing_table_description_text',
296
  [
297
+ 'label' => esc_html__('Description', 'premium-addons-for-elementor'),
298
  'type' => Controls_Manager::WYSIWYG,
299
+ 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit', 'premium-addons-for-elementor'),
300
  ]
301
  );
302
 
305
  /*Button Content Section*/
306
  $this->start_controls_section('premium_pricing_table_button_section',
307
  [
308
+ 'label' => esc_html__('Button', 'premium-addons-for-elementor'),
309
  'condition' => [
310
  'premium_pricing_table_button_switcher' => 'yes',
311
  ]
316
  /*Button Text*/
317
  $this->add_control('premium_pricing_table_button_text',
318
  [
319
+ 'label' => esc_html__('Text', 'premium-addons-for-elementor'),
320
+ 'default' => esc_html__('Get Started' , 'premium-addons-for-elementor'),
321
  'type' => Controls_Manager::TEXT,
322
  'label_block' => true,
323
  ]
326
  /*Button Url Type*/
327
  $this->add_control('premium_pricing_table_button_url_type',
328
  [
329
+ 'label' => esc_html__('Link/URL', 'premium-addons-for-elementor'),
330
  'type' => Controls_Manager::SELECT,
331
  'options' => [
332
+ 'url' => esc_html__('URL', 'premium-addons-for-elementor'),
333
+ 'link' => esc_html__('Link to Existing Content', 'premium-addons-for-elementor'),
334
  ],
335
  'default' => 'url',
336
  'label_block' => true,
341
  /*Button url*/
342
  $this->add_control('premium_pricing_table_button_link',
343
  [
344
+ 'label' => esc_html__('URL', 'premium-addons-for-elementor'),
345
  'type' => Controls_Manager::TEXT,
346
  'condition' => [
347
  'premium_pricing_table_button_url_type' => 'url',
353
  /*Button Link to existing content*/
354
  $this->add_control('premium_pricing_table_button_link_existing_content',
355
  [
356
+ 'label' => esc_html__('Link to Existing Content', 'premium-addons-for-elementor'),
357
  'type' => Controls_Manager::SELECT,
358
  'options' => $this->getTemplateInstance()->get_all_post(),
359
  'condition' => [
367
  /*Link Target*/
368
  $this->add_control('premium_pricing_table_button_link_target',
369
  [
370
+ 'label' => esc_html__('Link Target', 'premium-addons-for-elementor'),
371
  'type' => Controls_Manager::SELECT,
372
+ 'description' => esc_html__( ' Where would you like the link be opened?', 'premium-addons-for-elementor' ),
373
  'options' => [
374
  'blank' => esc_html('Blank'),
375
  'parent' => esc_html('Parent'),
376
  'self' => esc_html('Self'),
377
  'top' => esc_html('Top'),
378
  ],
379
+ 'default' => esc_html__('blank','premium-addons-for-elementor'),
380
  'label_block' => true,
381
  ]
382
  );
387
  /*Button Content Section*/
388
  $this->start_controls_section('premium_pricing_table_bagde_section',
389
  [
390
+ 'label' => esc_html__('Badge', 'premium-addons-for-elementor'),
391
  'condition' => [
392
  'premium_pricing_table_badge_switcher' => 'yes',
393
  ]
396
 
397
  $this->add_control('premium_pricing_table_badge_position',
398
  [
399
+ 'label' => esc_html__('Badge Position', 'premium-addons-for-elementor'),
400
  'type' => Controls_Manager::SELECT,
401
  'options' => [
402
+ 'right' => esc_html__('Right', 'premium-addons-for-elementor'),
403
+ 'left' => esc_html__('Left', 'premium-addons-for-elementor'),
404
  ],
405
  'default' => 'right',
406
  ]
408
 
409
  $this->add_control('premium_pricing_table_badge_text',
410
  [
411
+ 'label' => esc_html__('Badge Text', 'premium-addons-for-elementor'),
412
+ 'default' => esc_html__('Popular', 'premium-addons-for-elementor'),
413
  'type' => Controls_Manager::TEXT,
414
  'label_block' => true,
415
  ]
417
 
418
  $this->add_responsive_control('premium_pricing_table_badge_left_size',
419
  [
420
+ 'label' => esc_html__('Badge Size', 'premium-addons-for-elementor'),
421
  'type' => Controls_Manager::SLIDER,
422
  'range' => [
423
  'px' => [
436
 
437
  $this->add_control('premium_pricing_table_badge_right_size',
438
  [
439
+ 'label' => esc_html__('Badge Size', 'premium-addons-for-elementor'),
440
  'type' => Controls_Manager::SLIDER,
441
  'range' => [
442
  'px' => [
459
  /*Start Box Style Settings*/
460
  $this->start_controls_section('premium_pricing_box_style_settings',
461
  [
462
+ 'label' => esc_html__('Box', 'premium-addons-for-elementor'),
463
  'tab' => Controls_Manager::TAB_STYLE,
464
  ]
465
  );
468
 
469
  $this->start_controls_tab('premium_pricing_table_box_style_normal',
470
  [
471
+ 'label' => esc_html__('Normal', 'premium-addons-for-elementor'),
472
  ]
473
  );
474
 
494
  /*Box Border Radius*/
495
  $this->add_control('premium_pricing_table_box_border_radius',
496
  [
497
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
498
  'type' => Controls_Manager::SLIDER,
499
  'size_units' => ['px', '%' ,'em'],
500
  'selectors' => [
515
  /*Box Margin*/
516
  $this->add_responsive_control('premium_pricing_box_margin',
517
  [
518
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
519
  'type' => Controls_Manager::DIMENSIONS,
520
  'size_units' => ['px', 'em', '%'],
521
  'selectors' => [
526
  /*Box Padding*/
527
  $this->add_responsive_control('premium_pricing_box_padding',
528
  [
529
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
530
  'type' => Controls_Manager::DIMENSIONS,
531
  'size_units' => ['px', 'em', '%'],
532
  'default' => [
545
 
546
  $this->start_controls_tab('premium_pricing_table_box_style_hover',
547
  [
548
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
549
  ]
550
  );
551
 
571
  /*Box Border Radius*/
572
  $this->add_control('premium_pricing_table_box_border_radius_hover',
573
  [
574
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
575
  'type' => Controls_Manager::SLIDER,
576
  'size_units' => ['px', 'em' , '%' ],
577
  'selectors' => [
592
  /*Box Margin*/
593
  $this->add_responsive_control('premium_pricing_box_margin_hover',
594
  [
595
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
596
  'type' => Controls_Manager::DIMENSIONS,
597
  'size_units' => ['px', 'em', '%'],
598
  'selectors' => [
603
  /*Box Padding*/
604
  $this->add_responsive_control('premium_pricing_box_padding_hover',
605
  [
606
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
607
  'type' => Controls_Manager::DIMENSIONS,
608
  'size_units' => ['px', 'em', '%'],
609
  'default' => [
629
  /*Start Icon Style Settings */
630
  $this->start_controls_section('premium_pricing_icon_style_settings',
631
  [
632
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
633
  'tab' => Controls_Manager::TAB_STYLE,
634
  'condition' => [
635
  'premium_pricing_table_icon_switcher' => 'yes',
640
  /*Icon Color*/
641
  $this->add_control('premium_pricing_icon_color',
642
  [
643
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
644
  'type' => Controls_Manager::COLOR,
645
  'scheme' => [
646
  'type' => Scheme_Color::get_type(),
654
 
655
  $this->add_control('premium_pricing_icon_back_color',
656
  [
657
+ 'label' => esc_html__('Icon Background Color', 'premium-addons-for-elementor'),
658
  'type' => Controls_Manager::COLOR,
659
  'scheme' => [
660
  'type' => Scheme_Color::get_type(),
668
 
669
  $this->add_control('premium_pricing_icon_size',
670
  [
671
+ 'label' => esc_html__('Size', 'premium-addons-for-elementor'),
672
  'type' => Controls_Manager::SLIDER,
673
  'default' => [
674
  'size' => 25,
701
  /*Icon Border Radius*/
702
  $this->add_control('premium_pricing_icon_border_radius',
703
  [
704
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
705
  'type' => Controls_Manager::SLIDER,
706
  'size_units' => ['px', '%' ,'em'],
707
  'selectors' => [
713
  /*Icon Margin*/
714
  $this->add_responsive_control('premium_pricing_icon_margin',
715
  [
716
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
717
  'type' => Controls_Manager::DIMENSIONS,
718
  'size_units' => ['px', 'em', '%'],
719
  'default' => [
732
  /*Icon Padding*/
733
  $this->add_responsive_control('premium_pricing_icon_padding',
734
  [
735
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
736
  'type' => Controls_Manager::DIMENSIONS,
737
  'size_units' => ['px', 'em', '%'],
738
  'default' => [
755
  /*Start Title Style Settings */
756
  $this->start_controls_section('premium_pricing_title_style_settings',
757
  [
758
+ 'label' => esc_html__('Title', 'premium-addons-for-elementor'),
759
  'tab' => Controls_Manager::TAB_STYLE,
760
  'condition' => [
761
  'premium_pricing_table_title_switcher' => 'yes',
766
  /*Title Color*/
767
  $this->add_control('premium_pricing_title_color',
768
  [
769
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
770
  'type' => Controls_Manager::COLOR,
771
  'scheme' => [
772
  'type' => Scheme_Color::get_type(),
801
  /*Title Margin*/
802
  $this->add_responsive_control('premium_pricing_title_margin',
803
  [
804
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
805
  'type' => Controls_Manager::DIMENSIONS,
806
  'size_units' => ['px', 'em', '%'],
807
  'default' => [
820
  /*Title Padding*/
821
  $this->add_responsive_control('premium_pricing_title_padding',
822
  [
823
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
824
  'type' => Controls_Manager::DIMENSIONS,
825
  'size_units' => ['px', 'em', '%'],
826
  'default' => [
843
  /*Start Price Style Settings */
844
  $this->start_controls_section('premium_pricing_price_style_settings',
845
  [
846
+ 'label' => esc_html__('Price', 'premium-addons-for-elementor'),
847
  'tab' => Controls_Manager::TAB_STYLE,
848
  'condition' => [
849
  'premium_pricing_table_price_switcher' => 'yes',
854
  /*Currency Color*/
855
  $this->add_control('premium_pricing_currency_color',
856
  [
857
+ 'label' => esc_html__('Currency Color', 'premium-addons-for-elementor'),
858
  'type' => Controls_Manager::COLOR,
859
  'scheme' => [
860
  'type' => Scheme_Color::get_type(),
870
  $this->add_group_control(
871
  Group_Control_Typography::get_type(),
872
  [
873
+ 'label' => esc_html__('Currency Typography', 'premium-addons-for-elementor'),
874
  'name' => 'currency_typo',
875
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
876
  'selector' => '{{WRAPPER}} .premium-pricing-price-currency',
905
 
906
  $this->add_responsive_control('premium_pricing_currency_margin',
907
  [
908
+ 'label' => esc_html__('Currency Margin', 'premium-addons-for-elementor'),
909
  'type' => Controls_Manager::DIMENSIONS,
910
  'size_units' => ['px', 'em', '%'],
911
  'selectors' => [
918
  /*Price Color*/
919
  $this->add_control('premium_pricing_price_color',
920
  [
921
+ 'label' => esc_html__('Price Color', 'premium-addons-for-elementor'),
922
  'type' => Controls_Manager::COLOR,
923
  'scheme' => [
924
  'type' => Scheme_Color::get_type(),
935
  $this->add_group_control(
936
  Group_Control_Typography::get_type(),
937
  [
938
+ 'label' => esc_html__('Price Typography', 'premium-addons-for-elementor'),
939
  'name' => 'price_typo',
940
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
941
  'selector' => '{{WRAPPER}} .premium-pricing-price-value',
944
 
945
  $this->add_responsive_control('premium_pricing_price_margin',
946
  [
947
+ 'label' => esc_html__('Price Margin', 'premium-addons-for-elementor'),
948
  'type' => Controls_Manager::DIMENSIONS,
949
  'size_units' => ['px', 'em', '%'],
950
  'selectors' => [
956
  /*Separator Color*/
957
  $this->add_control('premium_pricing_sep_color',
958
  [
959
+ 'label' => esc_html__('Divider Color', 'premium-addons-for-elementor'),
960
  'type' => Controls_Manager::COLOR,
961
  'scheme' => [
962
  'type' => Scheme_Color::get_type(),
973
  $this->add_group_control(
974
  Group_Control_Typography::get_type(),
975
  [
976
+ 'label' => esc_html__('Divider Typography', 'premium-addons-for-elementor'),
977
  'name' => 'separator_typo',
978
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
979
  'selector' => '{{WRAPPER}} .premium-pricing-price-separator',
982
 
983
  $this->add_responsive_control('premium_pricing_sep_margin',
984
  [
985
+ 'label' => esc_html__('Divider Margin', 'premium-addons-for-elementor'),
986
  'type' => Controls_Manager::DIMENSIONS,
987
  'size_units' => ['px', 'em', '%'],
988
  'default' => [
1001
  /*Duration Color*/
1002
  $this->add_control('premium_pricing_dur_color',
1003
  [
1004
+ 'label' => esc_html__('Duration Color', 'premium-addons-for-elementor'),
1005
  'type' => Controls_Manager::COLOR,
1006
  'scheme' => [
1007
  'type' => Scheme_Color::get_type(),
1018
  $this->add_group_control(
1019
  Group_Control_Typography::get_type(),
1020
  [
1021
+ 'label' => esc_html__('Duration Typography', 'premium-addons-for-elementor'),
1022
  'name' => 'duration_typo',
1023
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1024
  'selector' => '{{WRAPPER}} .premium-pricing-price-duration',
1027
 
1028
  $this->add_responsive_control('premium_pricing_dur_margin',
1029
  [
1030
+ 'label' => esc_html__('Duration Margin', 'premium-addons-for-elementor'),
1031
  'type' => Controls_Manager::DIMENSIONS,
1032
  'size_units' => ['px', 'em', '%'],
1033
  'selectors' => [
1051
  /*Price Margin*/
1052
  $this->add_responsive_control('premium_pricing_price_container_margin',
1053
  [
1054
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
1055
  'type' => Controls_Manager::DIMENSIONS,
1056
  'size_units' => ['px', 'em', '%'],
1057
  'default' => [
1071
  /*Price Padding*/
1072
  $this->add_responsive_control('premium_pricing_price_padding',
1073
  [
1074
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
1075
  'type' => Controls_Manager::DIMENSIONS,
1076
  'size_units' => ['px', 'em', '%'],
1077
  'selectors' => [
1086
  /*Start List Style Settings */
1087
  $this->start_controls_section('premium_pricing_list_style_settings',
1088
  [
1089
+ 'label' => esc_html__('List', 'premium-addons-for-elementor'),
1090
  'tab' => Controls_Manager::TAB_STYLE,
1091
  'condition' => [
1092
  'premium_pricing_table_list_switcher' => 'yes',
1097
  /*Button Color*/
1098
  $this->add_control('premium_pricing_list_icon_color',
1099
  [
1100
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
1101
  'type' => Controls_Manager::COLOR,
1102
  'scheme' => [
1103
  'type' => Scheme_Color::get_type(),
1111
 
1112
  $this->add_control('premium_pricing_list_text_color',
1113
  [
1114
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
1115
  'type' => Controls_Manager::COLOR,
1116
  'scheme' => [
1117
  'type' => Scheme_Color::get_type(),
1134
 
1135
  $this->add_control('premium_pricing_list_icon_size',
1136
  [
1137
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
1138
  'type' => Controls_Manager::SLIDER,
1139
  'selectors' => [
1140
  '{{WRAPPER}} .premium-pricing-list i' => 'font-size: {{SIZE}}px',
1144
 
1145
  $this->add_control('premium_pricing_list_icon_spacing',
1146
  [
1147
+ 'label' => esc_html__('Icon Spacing', 'premium-addons-for-elementor'),
1148
  'type' => Controls_Manager::SLIDER,
1149
  'default' => [
1150
  'size' => 5
1157
 
1158
  $this->add_control('premium_pricing_list_item_margin',
1159
  [
1160
+ 'label' => esc_html__('Space Between', 'premium-addons-for-elementor'),
1161
  'type' => Controls_Manager::SLIDER,
1162
  'selectors' => [
1163
  '{{WRAPPER}} .premium-pricing-list li' => 'margin-bottom: {{SIZE}}px;'
1186
  /*List Border Radius*/
1187
  $this->add_control('premium_pricing_list_border_radius',
1188
  [
1189
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
1190
  'type' => Controls_Manager::SLIDER,
1191
  'size_units' => ['px', 'em' , '%'],
1192
  'selectors' => [
1198
  /*List Margin*/
1199
  $this->add_responsive_control('premium_pricing_list_margin',
1200
  [
1201
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
1202
  'type' => Controls_Manager::DIMENSIONS,
1203
  'size_units' => ['px', 'em', '%'],
1204
  'default' => [
1216
  /*List Padding*/
1217
  $this->add_responsive_control('premium_pricing_list_padding',
1218
  [
1219
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
1220
  'type' => Controls_Manager::DIMENSIONS,
1221
  'size_units' => ['px', 'em', '%'],
1222
  'selectors' => [
1230
  /*Start Description Style Settings */
1231
  $this->start_controls_section('premium_pricing_description_style_settings',
1232
  [
1233
+ 'label' => esc_html__('Description', 'premium-addons-for-elementor'),
1234
  'tab' => Controls_Manager::TAB_STYLE,
1235
  'condition' => [
1236
  'premium_pricing_table_description_switcher' => 'yes',
1241
  /*Description Color*/
1242
  $this->add_control('premium_pricing_desc_color',
1243
  [
1244
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
1245
  'type' => Controls_Manager::COLOR,
1246
  'scheme' => [
1247
  'type' => Scheme_Color::get_type(),
1276
  /*Description Margin*/
1277
  $this->add_responsive_control('premium_pricing_desc_margin',
1278
  [
1279
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
1280
  'type' => Controls_Manager::DIMENSIONS,
1281
  'size_units' => ['px', 'em', '%'],
1282
  'default' => [
1296
  /*Description Padding*/
1297
  $this->add_responsive_control('premium_pricing_desc_padding',
1298
  [
1299
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
1300
  'type' => Controls_Manager::DIMENSIONS,
1301
  'size_units' => ['px', 'em', '%'],
1302
  'selectors' => [
1311
  /*Start Button Style Settings */
1312
  $this->start_controls_section('premium_pricing_button_style_settings',
1313
  [
1314
+ 'label' => esc_html__('Button', 'premium-addons-for-elementor'),
1315
  'tab' => Controls_Manager::TAB_STYLE,
1316
  'condition' => [
1317
  'premium_pricing_table_button_switcher' => 'yes',
1322
  /*Button Color*/
1323
  $this->add_control('premium_pricing_button_color',
1324
  [
1325
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
1326
  'type' => Controls_Manager::COLOR,
1327
  'scheme' => [
1328
  'type' => Scheme_Color::get_type(),
1348
 
1349
  $this->start_controls_tab('premium_pricing_table_button_style_normal',
1350
  [
1351
+ 'label' => esc_html__('Normal', 'premium-addons-for-elementor'),
1352
  ]
1353
  );
1354
 
1374
  /*Button Border Radius*/
1375
  $this->add_control('premium_pricing_table_box_button_radius',
1376
  [
1377
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
1378
  'type' => Controls_Manager::SLIDER,
1379
  'size_units' => ['px', 'em' , '%'],
1380
  'selectors' => [
1395
  /*Button Margin*/
1396
  $this->add_responsive_control('premium_pricing_button_margin',
1397
  [
1398
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
1399
  'type' => Controls_Manager::DIMENSIONS,
1400
  'size_units' => ['px', 'em', '%'],
1401
  'selectors' => [
1406
  /*Button Padding*/
1407
  $this->add_responsive_control('premium_pricing_button_padding',
1408
  [
1409
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
1410
  'type' => Controls_Manager::DIMENSIONS,
1411
  'size_units' => ['px', 'em', '%'],
1412
  'default' => [
1425
 
1426
  $this->start_controls_tab('premium_pricing_table_button_style_hover',
1427
  [
1428
+ 'label' => esc_html__('Hover', 'premium-addons-for-elementor'),
1429
  ]
1430
  );
1431
 
1451
  /*Button Border Radius*/
1452
  $this->add_control('premium_pricing_table_button_border_radius_hover',
1453
  [
1454
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
1455
  'type' => Controls_Manager::SLIDER,
1456
  'size_units' => ['px', 'em' , '%' ],
1457
  'selectors' => [
1472
  /*Button Margin*/
1473
  $this->add_responsive_control('premium_pricing_button_margin_hover',
1474
  [
1475
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
1476
  'type' => Controls_Manager::DIMENSIONS,
1477
  'size_units' => ['px', 'em', '%'],
1478
  'selectors' => [
1483
  /*Button Padding*/
1484
  $this->add_responsive_control('premium_pricing_button_padding_hover',
1485
  [
1486
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
1487
  'type' => Controls_Manager::DIMENSIONS,
1488
  'default' => [
1489
  'top' => 20,
1508
 
1509
  $this->start_controls_section('premium_pricing_table_badge_style',
1510
  [
1511
+ 'label' => esc_html__('Badge', 'premium-addons-for-elementor'),
1512
  'tab' => Controls_Manager::TAB_STYLE,
1513
  'condition' => [
1514
  'premium_pricing_table_badge_switcher' => 'yes'
1519
  /*Badge Color*/
1520
  $this->add_control('premium_pricing_badge_left_color',
1521
  [
1522
+ 'label' => esc_html__('Badge Color', 'premium-addons-for-elementor'),
1523
  'type' => Controls_Manager::COLOR,
1524
  'scheme' => [
1525
  'type' => Scheme_Color::get_type(),
1536
 
1537
  $this->add_control('premium_pricing_badge_right_color',
1538
  [
1539
+ 'label' => esc_html__('Badge Color', 'premium-addons-for-elementor'),
1540
  'type' => Controls_Manager::COLOR,
1541
  'scheme' => [
1542
  'type' => Scheme_Color::get_type(),
1553
 
1554
  $this->add_control('premium_pricing_badge_text_color',
1555
  [
1556
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
1557
  'type' => Controls_Manager::COLOR,
1558
  'scheme' => [
1559
  'type' => Scheme_Color::get_type(),
1577
 
1578
  $this->add_responsive_control('premium_pricing_table_badge_right_top',
1579
  [
1580
+ 'label' => esc_html__('Vertical Position', 'premium-addons-for-elementor'),
1581
  'type' => Controls_Manager::SLIDER,
1582
  'range' => [
1583
  'px'=> [
1593
 
1594
  $this->add_responsive_control('premium_pricing_table_badge_right_right',
1595
  [
1596
+ 'label' => esc_html__('Horizontal Position', 'premium-addons-for-elementor'),
1597
  'type' => Controls_Manager::SLIDER,
1598
  'range' => [
1599
  'px'=> [
1612
 
1613
  $this->add_responsive_control('premium_pricing_table_badge_right_left',
1614
  [
1615
+ 'label' => esc_html__('Horizontal Position', 'premium-addons-for-elementor'),
1616
  'type' => Controls_Manager::SLIDER,
1617
  'selectors' => [
1618
  '{{WRAPPER}} .premium-badge-left .corner span' => 'left: {{SIZE}}px;'
widgets/premium-progressbar.php CHANGED
@@ -16,7 +16,12 @@ class Premium_Progressbar_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Progress Bar', 'premium_elementor');
 
 
 
 
 
20
  }
21
 
22
  public function get_icon() {
@@ -34,16 +39,16 @@ class Premium_Progressbar_Widget extends Widget_Base
34
  /* Start Progress Content Section */
35
  $this->start_controls_section('premium_progressbar_labels',
36
  [
37
- 'label' => esc_html__('Progress Bar Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
41
  /*Left Label*/
42
  $this->add_control('premium_progressbar_left_label',
43
  [
44
- 'label' => esc_html__('Left Label', 'premium_elementor'),
45
  'type' => Controls_Manager::TEXT,
46
- 'default' => esc_html__('My Skill','premium_elementor'),
47
  'label_block' => true,
48
  ]
49
  );
@@ -51,9 +56,9 @@ class Premium_Progressbar_Widget extends Widget_Base
51
  /*Right Label*/
52
  $this->add_control('premium_progressbar_right_label',
53
  [
54
- 'label' => esc_html__('Right Label', 'premium_elementor'),
55
  'type' => Controls_Manager::TEXT,
56
- 'default' => esc_html__('50%','premium_elementor'),
57
  'label_block' => true,
58
  ]
59
  );
@@ -61,7 +66,7 @@ class Premium_Progressbar_Widget extends Widget_Base
61
  /*Progressbar Width*/
62
  $this->add_control('premium_progressbar_progress_percentage',
63
  [
64
- 'label' => esc_html__('Percentage (%)', 'premium_elementor'),
65
  'type' => Controls_Manager::SLIDER,
66
  'default' => [
67
  'size' => 50,
@@ -76,12 +81,12 @@ class Premium_Progressbar_Widget extends Widget_Base
76
  /*Progress Bar Style*/
77
  $this->add_control('premium_progressbar_progress_style',
78
  [
79
- 'label' => esc_html__('Progress Bar', 'premium_elementor'),
80
  'type' => Controls_Manager::SELECT,
81
  'default' => 'solid',
82
  'options' => [
83
- 'solid' => esc_html__('Solid', 'premium_elementor'),
84
- 'stripped' => esc_html__('Stripped', 'premium_elementor'),
85
  ],
86
  ]
87
  );
@@ -89,7 +94,7 @@ class Premium_Progressbar_Widget extends Widget_Base
89
  /*Progress Bar Animated*/
90
  $this->add_control('premium_progressbar_progress_animation',
91
  [
92
- 'label' => esc_html__('Progress Bar Animation', 'premium_elementor'),
93
  'type' => Controls_Manager::SWITCHER,
94
  'condition' => [
95
  'premium_progressbar_progress_style' => 'stripped'
@@ -104,7 +109,7 @@ class Premium_Progressbar_Widget extends Widget_Base
104
  /*Start progressbar Settings*/
105
  $this->start_controls_section('premium_progressbar_progress_bar_settings',
106
  [
107
- 'label' => esc_html__('Progress Bar', 'premium_elementor'),
108
  'tab' => Controls_Manager::TAB_STYLE,
109
  ]
110
  );
@@ -112,7 +117,7 @@ class Premium_Progressbar_Widget extends Widget_Base
112
  /*Progressbar Height*/
113
  $this->add_control('premium_progressbar_progress_bar_height',
114
  [
115
- 'label' => esc_html__('Height (Pixels)', 'premium_elementor'),
116
  'type' => Controls_Manager::SLIDER,
117
  'default' => [
118
  'size' => 25,
@@ -127,7 +132,7 @@ class Premium_Progressbar_Widget extends Widget_Base
127
  /*Border Radius*/
128
  $this->add_control('premium_progressbar_progress_bar_radius',
129
  [
130
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
131
  'type' => Controls_Manager::SLIDER,
132
  'size_units' => ['px', '%', 'em'],
133
  'default' => [
@@ -148,7 +153,7 @@ class Premium_Progressbar_Widget extends Widget_Base
148
 
149
  $this->add_control('premium_progressbar_ind_background_hint',
150
  [
151
- 'label' => esc_html__('Indicator Background', 'premium_elementor'),
152
  'type' => Controls_Manager::HEADING,
153
  ]
154
  );
@@ -168,7 +173,7 @@ class Premium_Progressbar_Widget extends Widget_Base
168
 
169
  $this->add_control('premium_progressbar_main_background_hint',
170
  [
171
- 'label' => esc_html__('Main Background', 'premium_elementor'),
172
  'type' => Controls_Manager::HEADING,
173
  ]
174
  );
@@ -189,14 +194,14 @@ class Premium_Progressbar_Widget extends Widget_Base
189
  /*Start Labels Settings Section*/
190
  $this->start_controls_section('premium_progressbar_labels_section',
191
  [
192
- 'label' => esc_html__('Labels', 'premium_elementor'),
193
  'tab' => Controls_Manager::TAB_STYLE,
194
  ]
195
  );
196
 
197
  $this->add_control('premium_progressbar_left_label_hint',
198
  [
199
- 'label' => esc_html__('Left Label', 'premium_elementor'),
200
  'type' => Controls_Manager::HEADING,
201
  ]
202
  );
@@ -204,7 +209,7 @@ class Premium_Progressbar_Widget extends Widget_Base
204
  /*Left Label Color*/
205
  $this->add_control('premium_progressbar_left_label_color',
206
  [
207
- 'label' => esc_html__('Color', 'premium_elementor'),
208
  'type' => Controls_Manager::COLOR,
209
  'scheme' => [
210
  'type' => Scheme_Color::get_type(),
@@ -229,7 +234,7 @@ class Premium_Progressbar_Widget extends Widget_Base
229
  /*Left Label Margin*/
230
  $this->add_responsive_control('premium_progressbar_left_label_margin',
231
  [
232
- 'label' => esc_html__('Margin', 'premium_elementor'),
233
  'type' => Controls_Manager::DIMENSIONS,
234
  'size_units' => [ 'px', 'em', '%' ],
235
  'selectors' => [
@@ -240,7 +245,7 @@ class Premium_Progressbar_Widget extends Widget_Base
240
 
241
  $this->add_control('premium_progressbar_right_label_hint',
242
  [
243
- 'label' => esc_html__('Right Label', 'premium_elementor'),
244
  'type' => Controls_Manager::HEADING,
245
  'separator' => 'before'
246
  ]
@@ -249,7 +254,7 @@ class Premium_Progressbar_Widget extends Widget_Base
249
  /*Right Label Color*/
250
  $this->add_control('premium_progressbar_right_label_color',
251
  [
252
- 'label' => esc_html__('Color', 'premium_elementor'),
253
  'type' => Controls_Manager::COLOR,
254
  'scheme' => [
255
  'type' => Scheme_Color::get_type(),
@@ -274,7 +279,7 @@ class Premium_Progressbar_Widget extends Widget_Base
274
  /*Right Label Margin*/
275
  $this->add_responsive_control('premium_progressbar_right_label_margin',
276
  [
277
- 'label' => esc_html__('Margin', 'premium_elementor'),
278
  'type' => Controls_Manager::DIMENSIONS,
279
  'size_units' => [ 'px', 'em', '%' ],
280
  'selectors' => [
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Progress Bar', 'premium-addons-for-elementor');
20
+ }
21
+
22
+ public function get_script_depends()
23
+ {
24
+ return ['premium-addons-js'];
25
  }
26
 
27
  public function get_icon() {
39
  /* Start Progress Content Section */
40
  $this->start_controls_section('premium_progressbar_labels',
41
  [
42
+ 'label' => esc_html__('Progress Bar Settings', 'premium-addons-for-elementor'),
43
  ]
44
  );
45
 
46
  /*Left Label*/
47
  $this->add_control('premium_progressbar_left_label',
48
  [
49
+ 'label' => esc_html__('Left Label', 'premium-addons-for-elementor'),
50
  'type' => Controls_Manager::TEXT,
51
+ 'default' => esc_html__('My Skill','premium-addons-for-elementor'),
52
  'label_block' => true,
53
  ]
54
  );
56
  /*Right Label*/
57
  $this->add_control('premium_progressbar_right_label',
58
  [
59
+ 'label' => esc_html__('Right Label', 'premium-addons-for-elementor'),
60
  'type' => Controls_Manager::TEXT,
61
+ 'default' => esc_html__('50%','premium-addons-for-elementor'),
62
  'label_block' => true,
63
  ]
64
  );
66
  /*Progressbar Width*/
67
  $this->add_control('premium_progressbar_progress_percentage',
68
  [
69
+ 'label' => esc_html__('Percentage (%)', 'premium-addons-for-elementor'),
70
  'type' => Controls_Manager::SLIDER,
71
  'default' => [
72
  'size' => 50,
81
  /*Progress Bar Style*/
82
  $this->add_control('premium_progressbar_progress_style',
83
  [
84
+ 'label' => esc_html__('Progress Bar', 'premium-addons-for-elementor'),
85
  'type' => Controls_Manager::SELECT,
86
  'default' => 'solid',
87
  'options' => [
88
+ 'solid' => esc_html__('Solid', 'premium-addons-for-elementor'),
89
+ 'stripped' => esc_html__('Stripped', 'premium-addons-for-elementor'),
90
  ],
91
  ]
92
  );
94
  /*Progress Bar Animated*/
95
  $this->add_control('premium_progressbar_progress_animation',
96
  [
97
+ 'label' => esc_html__('Progress Bar Animation', 'premium-addons-for-elementor'),
98
  'type' => Controls_Manager::SWITCHER,
99
  'condition' => [
100
  'premium_progressbar_progress_style' => 'stripped'
109
  /*Start progressbar Settings*/
110
  $this->start_controls_section('premium_progressbar_progress_bar_settings',
111
  [
112
+ 'label' => esc_html__('Progress Bar', 'premium-addons-for-elementor'),
113
  'tab' => Controls_Manager::TAB_STYLE,
114
  ]
115
  );
117
  /*Progressbar Height*/
118
  $this->add_control('premium_progressbar_progress_bar_height',
119
  [
120
+ 'label' => esc_html__('Height (Pixels)', 'premium-addons-for-elementor'),
121
  'type' => Controls_Manager::SLIDER,
122
  'default' => [
123
  'size' => 25,
132
  /*Border Radius*/
133
  $this->add_control('premium_progressbar_progress_bar_radius',
134
  [
135
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
136
  'type' => Controls_Manager::SLIDER,
137
  'size_units' => ['px', '%', 'em'],
138
  'default' => [
153
 
154
  $this->add_control('premium_progressbar_ind_background_hint',
155
  [
156
+ 'label' => esc_html__('Indicator Background', 'premium-addons-for-elementor'),
157
  'type' => Controls_Manager::HEADING,
158
  ]
159
  );
173
 
174
  $this->add_control('premium_progressbar_main_background_hint',
175
  [
176
+ 'label' => esc_html__('Main Background', 'premium-addons-for-elementor'),
177
  'type' => Controls_Manager::HEADING,
178
  ]
179
  );
194
  /*Start Labels Settings Section*/
195
  $this->start_controls_section('premium_progressbar_labels_section',
196
  [
197
+ 'label' => esc_html__('Labels', 'premium-addons-for-elementor'),
198
  'tab' => Controls_Manager::TAB_STYLE,
199
  ]
200
  );
201
 
202
  $this->add_control('premium_progressbar_left_label_hint',
203
  [
204
+ 'label' => esc_html__('Left Label', 'premium-addons-for-elementor'),
205
  'type' => Controls_Manager::HEADING,
206
  ]
207
  );
209
  /*Left Label Color*/
210
  $this->add_control('premium_progressbar_left_label_color',
211
  [
212
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
213
  'type' => Controls_Manager::COLOR,
214
  'scheme' => [
215
  'type' => Scheme_Color::get_type(),
234
  /*Left Label Margin*/
235
  $this->add_responsive_control('premium_progressbar_left_label_margin',
236
  [
237
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
238
  'type' => Controls_Manager::DIMENSIONS,
239
  'size_units' => [ 'px', 'em', '%' ],
240
  'selectors' => [
245
 
246
  $this->add_control('premium_progressbar_right_label_hint',
247
  [
248
+ 'label' => esc_html__('Right Label', 'premium-addons-for-elementor'),
249
  'type' => Controls_Manager::HEADING,
250
  'separator' => 'before'
251
  ]
254
  /*Right Label Color*/
255
  $this->add_control('premium_progressbar_right_label_color',
256
  [
257
+ 'label' => esc_html__('Color', 'premium-addons-for-elementor'),
258
  'type' => Controls_Manager::COLOR,
259
  'scheme' => [
260
  'type' => Scheme_Color::get_type(),
279
  /*Right Label Margin*/
280
  $this->add_responsive_control('premium_progressbar_right_label_margin',
281
  [
282
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
283
  'type' => Controls_Manager::DIMENSIONS,
284
  'size_units' => [ 'px', 'em', '%' ],
285
  'selectors' => [
widgets/premium-testimonials.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Testimonials_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Testimonial', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -33,19 +33,19 @@ class Premium_Testimonials_Widget extends Widget_Base
33
  /*Testimonials Content Section */
34
  $this->start_controls_section('premium_testimonial_person_settings',
35
  [
36
- 'label' => esc_html__('Person Details', 'premium_elementor'),
37
  ]
38
  );
39
 
40
  /*Person Image*/
41
  $this->add_control('premium_testimonial_person_image',
42
  [
43
- 'label' => esc_html__('Person Image','premium_elementor'),
44
  'type' => Controls_Manager::MEDIA,
45
  'default' => [
46
  'url' => PREMIUM_ADDONS_URL. 'assets/images/person-image.jpg',
47
  ],
48
- 'description' => esc_html__( 'Choose an image for the author', 'premium_elementor' ),
49
  'show_label' => true,
50
  ]
51
  );
@@ -53,9 +53,9 @@ class Premium_Testimonials_Widget extends Widget_Base
53
  /*Person Image Shape*/
54
  $this->add_control('premium_testimonial_person_image_shape',
55
  [
56
- 'label' => esc_html__('Image Style', 'premium_elementor'),
57
  'type' => Controls_Manager::SELECT,
58
- 'description' => esc_html__( 'Choose image style', 'premium_elementor' ),
59
  'options' => [
60
  'square' => esc_html__('Square'),
61
  'circle' => esc_html__('Circle'),
@@ -68,10 +68,10 @@ class Premium_Testimonials_Widget extends Widget_Base
68
  /*Person Name*/
69
  $this->add_control('premium_testimonial_person_name',
70
  [
71
- 'label' => esc_html__('Person Name', 'premium_elementor'),
72
  'type' => Controls_Manager::TEXT,
73
- 'default' => esc_html__('Person Name', 'premium_elementor'),
74
- 'description' => esc_html__( 'Enter author name', 'premium_elementor' ),
75
  'label_block' => true
76
  ]
77
  );
@@ -79,9 +79,9 @@ class Premium_Testimonials_Widget extends Widget_Base
79
  /*Name Title Tag*/
80
  $this->add_control('premium_testimonial_person_name_size',
81
  [
82
- 'label' => esc_html__('Name Tag', 'premium_elementor'),
83
  'type' => Controls_Manager::SELECT,
84
- 'description' => esc_html__( 'Select a heading tag for author name', 'premium_elementor' ),
85
  'options' => [
86
  'h1' => 'H1',
87
  'h2' => 'H2',
@@ -101,17 +101,17 @@ class Premium_Testimonials_Widget extends Widget_Base
101
  /*Start Company Content Section*/
102
  $this->start_controls_section('premium_testimonial_company_settings',
103
  [
104
- 'label' => esc_html__('Company Details', 'premium_elementor')
105
  ]
106
  );
107
 
108
  /*Company Name*/
109
  $this->add_control('premium_testimonial_company_name',
110
  [
111
- 'label' => esc_html__('Company Name', 'premium_elementor'),
112
  'type' => Controls_Manager::TEXT,
113
- 'default' => esc_html__('Company Name','premium_elementor'),
114
- 'description' => esc_html__( 'Enter company name', 'premium_elementor' ),
115
  'label_block' => true,
116
  ]
117
  );
@@ -119,9 +119,9 @@ class Premium_Testimonials_Widget extends Widget_Base
119
  /*Company Name Tag*/
120
  $this->add_control('premium_testimonial_company_name_size',
121
  [
122
- 'label' => esc_html__('Company Name Tag', 'premium_elementor'),
123
  'type' => Controls_Manager::SELECT,
124
- 'description' => esc_html__( 'Select a heading tag for company name', 'premium_elementor' ),
125
  'options' => [
126
  'h1' => esc_html('H1'),
127
  'h2' => esc_html('H2'),
@@ -138,9 +138,9 @@ class Premium_Testimonials_Widget extends Widget_Base
138
  /*Company Link */
139
  $this->add_control('premium_testimonial_company_link',
140
  [
141
- 'label' => esc_html__('Company Link', 'premium_elementor'),
142
  'type' => Controls_Manager::TEXT,
143
- 'description' => esc_html__( 'Add company URL', 'premium_elementor' ),
144
  'label_block' => true,
145
  ]
146
  );
@@ -148,16 +148,16 @@ class Premium_Testimonials_Widget extends Widget_Base
148
  /*Link Target*/
149
  $this->add_control('premium_testimonial_link_target',
150
  [
151
- 'label' => esc_html__('Link Target', 'premium_elementor'),
152
  'type' => Controls_Manager::SELECT,
153
- 'description' => esc_html__( 'Select link target', 'premium_elementor' ),
154
  'options' => [
155
  'blank' => esc_html__('Blank'),
156
  'parent' => esc_html__('Parent'),
157
  'self' => esc_html__('Self'),
158
  'top' => esc_html__('Top'),
159
  ],
160
- 'default' => esc_html__('blank','premium_elementor'),
161
  ]
162
  );
163
 
@@ -167,14 +167,14 @@ class Premium_Testimonials_Widget extends Widget_Base
167
  /*Start Testimonial Content Section*/
168
  $this->start_controls_section('premium_testimonial_settings',
169
  [
170
- 'label' => esc_html__('Testimonial Content', 'premium_elementor'),
171
  ]
172
  );
173
 
174
  /*Testimonial Content*/
175
  $this->add_control('premium_testimonial_content',
176
  [
177
- 'label' => esc_html__('Testimonial Content', 'premium_elementor'),
178
  'type' => Controls_Manager::WYSIWYG,
179
  'default' => esc_html__('Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cras mattis consectetur purus sit amet fermentum. Nullam id dolor id nibh ultricies vehicula ut id elit. Donec id elit non mi porta gravida at eget metus.','premium-elementor'),
180
  'label_block' => true,
@@ -188,7 +188,7 @@ class Premium_Testimonials_Widget extends Widget_Base
188
  /*Image Styling*/
189
  $this->start_controls_section('premium_testimonial_image_style',
190
  [
191
- 'label' => esc_html__('Image', 'premium_elementor'),
192
  'tab' => Controls_Manager::TAB_STYLE,
193
  ]
194
  );
@@ -196,7 +196,7 @@ class Premium_Testimonials_Widget extends Widget_Base
196
  /*Image Size*/
197
  $this->add_control('premium_testimonial_img_size',
198
  [
199
- 'label' => esc_html__('Image Size', 'premium_elementor'),
200
  'type' => Controls_Manager::SLIDER,
201
  'size_units' => ['px', 'em'],
202
  'default' => [
@@ -218,7 +218,7 @@ class Premium_Testimonials_Widget extends Widget_Base
218
  /*Image Border Width*/
219
  $this->add_control('premium_testimonial_img_border_width',
220
  [
221
- 'label' => esc_html__('Image Border Width (PX)', 'premium_elementor'),
222
  'type' => Controls_Manager::SLIDER,
223
  'default' => [
224
  'unit' => 'px',
@@ -239,7 +239,7 @@ class Premium_Testimonials_Widget extends Widget_Base
239
  /*Image Border Color*/
240
  $this->add_control('premium_testimonial_image_border_color',
241
  [
242
- 'label' => esc_html__('Image Border Color', 'premium_elementor'),
243
  'type' => Controls_Manager::COLOR,
244
  'scheme' => [
245
  'type' => Scheme_Color::get_type(),
@@ -256,7 +256,7 @@ class Premium_Testimonials_Widget extends Widget_Base
256
  /*Start Person Settings Section*/
257
  $this->start_controls_section('premium_testimonials_person_style',
258
  [
259
- 'label' => esc_html__('Person Name', 'premium_elementor'),
260
  'tab' => Controls_Manager::TAB_STYLE,
261
  ]
262
  );
@@ -264,7 +264,7 @@ class Premium_Testimonials_Widget extends Widget_Base
264
  /*Person Name Color*/
265
  $this->add_control('premium_testimonial_person_name_color',
266
  [
267
- 'label' => esc_html__('Person Name Color', 'premium_elementor'),
268
  'type' => Controls_Manager::COLOR,
269
  'scheme' => [
270
  'type' => Scheme_Color::get_type(),
@@ -279,7 +279,7 @@ class Premium_Testimonials_Widget extends Widget_Base
279
  /*Separator Color*/
280
  $this->add_control('premium_testimonial_separator_color',
281
  [
282
- 'label' => esc_html__('Separator Color', 'premium_elementor'),
283
  'type' => Controls_Manager::COLOR,
284
  'scheme' => [
285
  'type' => Scheme_Color::get_type(),
@@ -306,7 +306,7 @@ class Premium_Testimonials_Widget extends Widget_Base
306
  /*Start Company Settings Section*/
307
  $this->start_controls_section('premium_testimonial_company_style',
308
  [
309
- 'label' => esc_html__('Company Name', 'premium_elementor'),
310
  'tab' => Controls_Manager::TAB_STYLE,
311
  ]
312
  );
@@ -314,7 +314,7 @@ class Premium_Testimonials_Widget extends Widget_Base
314
  /*Company Name Color*/
315
  $this->add_control('premium_testimonial_company_name_color',
316
  [
317
- 'label' => esc_html__('Company Name Color', 'premium_elementor'),
318
  'type' => Controls_Manager::COLOR,
319
  'scheme' => [
320
  'type' => Scheme_Color::get_type(),
@@ -342,7 +342,7 @@ class Premium_Testimonials_Widget extends Widget_Base
342
  /*Start Content Settings Section*/
343
  $this->start_controls_section('premium_testimonial_content_style',
344
  [
345
- 'label' => esc_html__('Testimonial Content', 'premium_elementor'),
346
  'tab' => Controls_Manager::TAB_STYLE,
347
  ]
348
  );
@@ -350,7 +350,7 @@ class Premium_Testimonials_Widget extends Widget_Base
350
  /*Content Color*/
351
  $this->add_control('premium_testimonial_content_color',
352
  [
353
- 'label' => esc_html__('Testimonial Text Color', 'premium_elementor'),
354
  'type' => Controls_Manager::COLOR,
355
  'scheme' => [
356
  'type' => Scheme_Color::get_type(),
@@ -376,7 +376,7 @@ class Premium_Testimonials_Widget extends Widget_Base
376
  /*Testimonial Text Margin*/
377
  $this->add_responsive_control('premium_testimonial_margin',
378
  [
379
- 'label' => esc_html__('Testimonial Text Margin', 'premium_elementor'),
380
  'type' => Controls_Manager::DIMENSIONS,
381
  'size_units' => ['px', 'em', '%'],
382
  'default' =>[
@@ -398,7 +398,7 @@ class Premium_Testimonials_Widget extends Widget_Base
398
  /*Start Quotes Style Section*/
399
  $this->start_controls_section('premium_testimonial_quotes',
400
  [
401
- 'label' => esc_html__('Quotation Mark', 'premium_elementor'),
402
  'tab' => Controls_Manager::TAB_STYLE,
403
  ]
404
  );
@@ -406,7 +406,7 @@ class Premium_Testimonials_Widget extends Widget_Base
406
  /*Quotes Color*/
407
  $this->add_control('premium_testimonial_quote_icon_color',
408
  [
409
- 'label' => esc_html__('Quotes Color','premium_elementor'),
410
  'type' => Controls_Manager::COLOR,
411
  'default' => 'rgba(110,193,228,0.2)',
412
  'selectors' => [
@@ -418,7 +418,7 @@ class Premium_Testimonials_Widget extends Widget_Base
418
  /*Quotes Size*/
419
  $this->add_control('premium_testimonial_quotes_size',
420
  [
421
- 'label' => esc_html__('Quotes Size', 'premium_elementor'),
422
  'type' => Controls_Manager::SLIDER,
423
  'size_units' => ['px', '%', 'em'],
424
  'default' => [
@@ -440,7 +440,7 @@ class Premium_Testimonials_Widget extends Widget_Base
440
  /*Upper Quote Position*/
441
  $this->add_responsive_control('premium_testimonial_upper_quote_position',
442
  [
443
- 'label' => esc_html__('Upper Quote Position', 'premium_elementor'),
444
  'type' => Controls_Manager::DIMENSIONS,
445
  'size_units' => ['px', 'em', '%'],
446
  'default' =>[
@@ -457,7 +457,7 @@ class Premium_Testimonials_Widget extends Widget_Base
457
  /*Lower Quote Position*/
458
  $this->add_responsive_control('premium_testimonial_lower_quote_position',
459
  [
460
- 'label' => esc_html__('Lower Quote Position', 'premium_elementor'),
461
  'type' => Controls_Manager::DIMENSIONS,
462
  'size_units' => ['px', 'em', '%'],
463
  'default' =>[
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Testimonial', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
33
  /*Testimonials Content Section */
34
  $this->start_controls_section('premium_testimonial_person_settings',
35
  [
36
+ 'label' => esc_html__('Person Details', 'premium-addons-for-elementor'),
37
  ]
38
  );
39
 
40
  /*Person Image*/
41
  $this->add_control('premium_testimonial_person_image',
42
  [
43
+ 'label' => esc_html__('Person Image','premium-addons-for-elementor'),
44
  'type' => Controls_Manager::MEDIA,
45
  'default' => [
46
  'url' => PREMIUM_ADDONS_URL. 'assets/images/person-image.jpg',
47
  ],
48
+ 'description' => esc_html__( 'Choose an image for the author', 'premium-addons-for-elementor' ),
49
  'show_label' => true,
50
  ]
51
  );
53
  /*Person Image Shape*/
54
  $this->add_control('premium_testimonial_person_image_shape',
55
  [
56
+ 'label' => esc_html__('Image Style', 'premium-addons-for-elementor'),
57
  'type' => Controls_Manager::SELECT,
58
+ 'description' => esc_html__( 'Choose image style', 'premium-addons-for-elementor' ),
59
  'options' => [
60
  'square' => esc_html__('Square'),
61
  'circle' => esc_html__('Circle'),
68
  /*Person Name*/
69
  $this->add_control('premium_testimonial_person_name',
70
  [
71
+ 'label' => esc_html__('Person Name', 'premium-addons-for-elementor'),
72
  'type' => Controls_Manager::TEXT,
73
+ 'default' => esc_html__('Person Name', 'premium-addons-for-elementor'),
74
+ 'description' => esc_html__( 'Enter author name', 'premium-addons-for-elementor' ),
75
  'label_block' => true
76
  ]
77
  );
79
  /*Name Title Tag*/
80
  $this->add_control('premium_testimonial_person_name_size',
81
  [
82
+ 'label' => esc_html__('Name Tag', 'premium-addons-for-elementor'),
83
  'type' => Controls_Manager::SELECT,
84
+ 'description' => esc_html__( 'Select a heading tag for author name', 'premium-addons-for-elementor' ),
85
  'options' => [
86
  'h1' => 'H1',
87
  'h2' => 'H2',
101
  /*Start Company Content Section*/
102
  $this->start_controls_section('premium_testimonial_company_settings',
103
  [
104
+ 'label' => esc_html__('Company Details', 'premium-addons-for-elementor')
105
  ]
106
  );
107
 
108
  /*Company Name*/
109
  $this->add_control('premium_testimonial_company_name',
110
  [
111
+ 'label' => esc_html__('Company Name', 'premium-addons-for-elementor'),
112
  'type' => Controls_Manager::TEXT,
113
+ 'default' => esc_html__('Company Name','premium-addons-for-elementor'),
114
+ 'description' => esc_html__( 'Enter company name', 'premium-addons-for-elementor' ),
115
  'label_block' => true,
116
  ]
117
  );
119
  /*Company Name Tag*/
120
  $this->add_control('premium_testimonial_company_name_size',
121
  [
122
+ 'label' => esc_html__('Company Name Tag', 'premium-addons-for-elementor'),
123
  'type' => Controls_Manager::SELECT,
124
+ 'description' => esc_html__( 'Select a heading tag for company name', 'premium-addons-for-elementor' ),
125
  'options' => [
126
  'h1' => esc_html('H1'),
127
  'h2' => esc_html('H2'),
138
  /*Company Link */
139
  $this->add_control('premium_testimonial_company_link',
140
  [
141
+ 'label' => esc_html__('Company Link', 'premium-addons-for-elementor'),
142
  'type' => Controls_Manager::TEXT,
143
+ 'description' => esc_html__( 'Add company URL', 'premium-addons-for-elementor' ),
144
  'label_block' => true,
145
  ]
146
  );
148
  /*Link Target*/
149
  $this->add_control('premium_testimonial_link_target',
150
  [
151
+ 'label' => esc_html__('Link Target', 'premium-addons-for-elementor'),
152
  'type' => Controls_Manager::SELECT,
153
+ 'description' => esc_html__( 'Select link target', 'premium-addons-for-elementor' ),
154
  'options' => [
155
  'blank' => esc_html__('Blank'),
156
  'parent' => esc_html__('Parent'),
157
  'self' => esc_html__('Self'),
158
  'top' => esc_html__('Top'),
159
  ],
160
+ 'default' => esc_html__('blank','premium-addons-for-elementor'),
161
  ]
162
  );
163
 
167
  /*Start Testimonial Content Section*/
168
  $this->start_controls_section('premium_testimonial_settings',
169
  [
170
+ 'label' => esc_html__('Testimonial Content', 'premium-addons-for-elementor'),
171
  ]
172
  );
173
 
174
  /*Testimonial Content*/
175
  $this->add_control('premium_testimonial_content',
176
  [
177
+ 'label' => esc_html__('Testimonial Content', 'premium-addons-for-elementor'),
178
  'type' => Controls_Manager::WYSIWYG,
179
  'default' => esc_html__('Donec id elit non mi porta gravida at eget metus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cras mattis consectetur purus sit amet fermentum. Nullam id dolor id nibh ultricies vehicula ut id elit. Donec id elit non mi porta gravida at eget metus.','premium-elementor'),
180
  'label_block' => true,
188
  /*Image Styling*/
189
  $this->start_controls_section('premium_testimonial_image_style',
190
  [
191
+ 'label' => esc_html__('Image', 'premium-addons-for-elementor'),
192
  'tab' => Controls_Manager::TAB_STYLE,
193
  ]
194
  );
196
  /*Image Size*/
197
  $this->add_control('premium_testimonial_img_size',
198
  [
199
+ 'label' => esc_html__('Image Size', 'premium-addons-for-elementor'),
200
  'type' => Controls_Manager::SLIDER,
201
  'size_units' => ['px', 'em'],
202
  'default' => [
218
  /*Image Border Width*/
219
  $this->add_control('premium_testimonial_img_border_width',
220
  [
221
+ 'label' => esc_html__('Image Border Width (PX)', 'premium-addons-for-elementor'),
222
  'type' => Controls_Manager::SLIDER,
223
  'default' => [
224
  'unit' => 'px',
239
  /*Image Border Color*/
240
  $this->add_control('premium_testimonial_image_border_color',
241
  [
242
+ 'label' => esc_html__('Image Border Color', 'premium-addons-for-elementor'),
243
  'type' => Controls_Manager::COLOR,
244
  'scheme' => [
245
  'type' => Scheme_Color::get_type(),
256
  /*Start Person Settings Section*/
257
  $this->start_controls_section('premium_testimonials_person_style',
258
  [
259
+ 'label' => esc_html__('Person Name', 'premium-addons-for-elementor'),
260
  'tab' => Controls_Manager::TAB_STYLE,
261
  ]
262
  );
264
  /*Person Name Color*/
265
  $this->add_control('premium_testimonial_person_name_color',
266
  [
267
+ 'label' => esc_html__('Person Name Color', 'premium-addons-for-elementor'),
268
  'type' => Controls_Manager::COLOR,
269
  'scheme' => [
270
  'type' => Scheme_Color::get_type(),
279
  /*Separator Color*/
280
  $this->add_control('premium_testimonial_separator_color',
281
  [
282
+ 'label' => esc_html__('Separator Color', 'premium-addons-for-elementor'),
283
  'type' => Controls_Manager::COLOR,
284
  'scheme' => [
285
  'type' => Scheme_Color::get_type(),
306
  /*Start Company Settings Section*/
307
  $this->start_controls_section('premium_testimonial_company_style',
308
  [
309
+ 'label' => esc_html__('Company Name', 'premium-addons-for-elementor'),
310
  'tab' => Controls_Manager::TAB_STYLE,
311
  ]
312
  );
314
  /*Company Name Color*/
315
  $this->add_control('premium_testimonial_company_name_color',
316
  [
317
+ 'label' => esc_html__('Company Name Color', 'premium-addons-for-elementor'),
318
  'type' => Controls_Manager::COLOR,
319
  'scheme' => [
320
  'type' => Scheme_Color::get_type(),
342
  /*Start Content Settings Section*/
343
  $this->start_controls_section('premium_testimonial_content_style',
344
  [
345
+ 'label' => esc_html__('Testimonial Content', 'premium-addons-for-elementor'),
346
  'tab' => Controls_Manager::TAB_STYLE,
347
  ]
348
  );
350
  /*Content Color*/
351
  $this->add_control('premium_testimonial_content_color',
352
  [
353
+ 'label' => esc_html__('Testimonial Text Color', 'premium-addons-for-elementor'),
354
  'type' => Controls_Manager::COLOR,
355
  'scheme' => [
356
  'type' => Scheme_Color::get_type(),
376
  /*Testimonial Text Margin*/
377
  $this->add_responsive_control('premium_testimonial_margin',
378
  [
379
+ 'label' => esc_html__('Testimonial Text Margin', 'premium-addons-for-elementor'),
380
  'type' => Controls_Manager::DIMENSIONS,
381
  'size_units' => ['px', 'em', '%'],
382
  'default' =>[
398
  /*Start Quotes Style Section*/
399
  $this->start_controls_section('premium_testimonial_quotes',
400
  [
401
+ 'label' => esc_html__('Quotation Mark', 'premium-addons-for-elementor'),
402
  'tab' => Controls_Manager::TAB_STYLE,
403
  ]
404
  );
406
  /*Quotes Color*/
407
  $this->add_control('premium_testimonial_quote_icon_color',
408
  [
409
+ 'label' => esc_html__('Quotes Color','premium-addons-for-elementor'),
410
  'type' => Controls_Manager::COLOR,
411
  'default' => 'rgba(110,193,228,0.2)',
412
  'selectors' => [
418
  /*Quotes Size*/
419
  $this->add_control('premium_testimonial_quotes_size',
420
  [
421
+ 'label' => esc_html__('Quotes Size', 'premium-addons-for-elementor'),
422
  'type' => Controls_Manager::SLIDER,
423
  'size_units' => ['px', '%', 'em'],
424
  'default' => [
440
  /*Upper Quote Position*/
441
  $this->add_responsive_control('premium_testimonial_upper_quote_position',
442
  [
443
+ 'label' => esc_html__('Upper Quote Position', 'premium-addons-for-elementor'),
444
  'type' => Controls_Manager::DIMENSIONS,
445
  'size_units' => ['px', 'em', '%'],
446
  'default' =>[
457
  /*Lower Quote Position*/
458
  $this->add_responsive_control('premium_testimonial_lower_quote_position',
459
  [
460
+ 'label' => esc_html__('Lower Quote Position', 'premium-addons-for-elementor'),
461
  'type' => Controls_Manager::DIMENSIONS,
462
  'size_units' => ['px', 'em', '%'],
463
  'default' =>[
widgets/premium-title.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Title_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Title', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,16 +34,16 @@ class Premium_Title_Widget extends Widget_Base
34
  /* Start Title General Settings Section */
35
  $this->start_controls_section('premium_title_content',
36
  [
37
- 'label' => esc_html__('Title Settings', 'premium_elementor'),
38
  ]
39
  );
40
 
41
  /*Title Text*/
42
  $this->add_control('premium_title_text',
43
  [
44
- 'label' => esc_html__('Title Content', 'premium_elementor'),
45
  'type' => Controls_Manager::TEXT,
46
- 'default' => esc_html__('Premium Title','premium_elementor'),
47
  'label_block' => true,
48
  ]
49
  );
@@ -51,7 +51,7 @@ class Premium_Title_Widget extends Widget_Base
51
  /*Title Style*/
52
  $this->add_control('premium_title_style',
53
  [
54
- 'label' => esc_html__('Title Style', 'premium_elementor'),
55
  'type' => Controls_Manager::SELECT,
56
  'default' => 'style1',
57
  'options' => [
@@ -70,7 +70,7 @@ class Premium_Title_Widget extends Widget_Base
70
  /*Icon Switcher*/
71
  $this->add_control('premium_title_icon_switcher',
72
  [
73
- 'label' => esc_html__('Icon', 'premium_elementor'),
74
  'type' => Controls_Manager::SWITCHER,
75
  ]
76
  );
@@ -78,7 +78,7 @@ class Premium_Title_Widget extends Widget_Base
78
  /*Icon*/
79
  $this->add_control('premium_title_icon',
80
  [
81
- 'label' => esc_html__('Font Awesome Icon', 'premium_elementor'),
82
  'type' => Controls_Manager::ICON,
83
  'label_block' => true,
84
  'condition' => [
@@ -90,9 +90,9 @@ class Premium_Title_Widget extends Widget_Base
90
  /*Title HTML TAG*/
91
  $this->add_control('premium_title_tag',
92
  [
93
- 'label' => esc_html__('Title HTML Tag', 'premium_elementor'),
94
  'type' => Controls_Manager::SELECT,
95
- 'default' => esc_html__('h2','premium_elementor'),
96
  'options' => [
97
  'h1' => 'H1',
98
  'h2' => 'H2',
@@ -107,19 +107,19 @@ class Premium_Title_Widget extends Widget_Base
107
  /*Title Align*/
108
  $this->add_responsive_control('premium_title_align',
109
  [
110
- 'label' => esc_html__( 'Align', 'premium_elementor' ),
111
  'type' => Controls_Manager::CHOOSE,
112
  'options' => [
113
  'left' => [
114
- 'title'=> esc_html__( 'Left', 'premium_elementor' ),
115
  'icon' => 'fa fa-align-left',
116
  ],
117
  'center' => [
118
- 'title'=> esc_html__( 'Center', 'premium_elementor' ),
119
  'icon' => 'fa fa-align-center',
120
  ],
121
  'right' => [
122
- 'title'=> esc_html__( 'Right', 'premium_elementor' ),
123
  'icon' => 'fa fa-align-right',
124
  ],
125
  ],
@@ -136,7 +136,7 @@ class Premium_Title_Widget extends Widget_Base
136
  /*Strip Width*/
137
  $this->add_control('premium_title_style7_strip_width',
138
  [
139
- 'label' => esc_html__('Strip Width (PX)', 'premium_elementor'),
140
  'type' => Controls_Manager::SLIDER,
141
  'size_units' => ['px', '%', 'em'],
142
  'default' => [
@@ -156,7 +156,7 @@ class Premium_Title_Widget extends Widget_Base
156
  /*Strip Height*/
157
  $this->add_control('premium_title_style7_strip_height',
158
  [
159
- 'label' => esc_html__('Strip Height (PX)', 'premium_elementor'),
160
  'type' => Controls_Manager::SLIDER,
161
  'size_units' => ['px', 'em'],
162
  'default' => [
@@ -176,7 +176,7 @@ class Premium_Title_Widget extends Widget_Base
176
  /*Strip Top Spacing*/
177
  $this->add_control('premium_title_style7_strip_top_spacing',
178
  [
179
- 'label' => esc_html__('Strip Top Spacing (PX)', 'premium_elementor'),
180
  'type' => Controls_Manager::SLIDER,
181
  'size_units' => ['px', '%', 'em'],
182
  'selectors' => [
@@ -192,7 +192,7 @@ class Premium_Title_Widget extends Widget_Base
192
  /*Strip Bottom Spacing*/
193
  $this->add_control('premium_title_style7_strip_bottom_spacing',
194
  [
195
- 'label' => esc_html__('Strip Bottom Spacing (PX)', 'premium_elementor'),
196
  'type' => Controls_Manager::SLIDER,
197
  'size_units' => ['px', '%', 'em'],
198
  'label_block' => true,
@@ -240,7 +240,7 @@ class Premium_Title_Widget extends Widget_Base
240
  /*Start Styling Section*/
241
  $this->start_controls_section('premium_title_style_section',
242
  [
243
- 'label' => esc_html__('Title', 'premium_elementor'),
244
  'tab' => Controls_Manager::TAB_STYLE,
245
  ]
246
  );
@@ -248,7 +248,7 @@ class Premium_Title_Widget extends Widget_Base
248
  /*Title Color*/
249
  $this->add_control('premium_title_color',
250
  [
251
- 'label' => esc_html__('Title Color', 'premium_elementor'),
252
  'type' => Controls_Manager::COLOR,
253
  'scheme' => [
254
  'type' => Scheme_Color::get_type(),
@@ -288,7 +288,7 @@ class Premium_Title_Widget extends Widget_Base
288
  /*Background Color*/
289
  $this->add_control('premium_title_style2_background_color',
290
  [
291
- 'label' => esc_html__('Background Color', 'premium_elementor'),
292
  'type' => Controls_Manager::COLOR,
293
  'scheme' => [
294
  'type' => Scheme_Color::get_type(),
@@ -310,7 +310,7 @@ class Premium_Title_Widget extends Widget_Base
310
  /*Background Color*/
311
  $this->add_control('premium_title_style3_background_color',
312
  [
313
- 'label' => esc_html__('Background Color', 'premium_elementor'),
314
  'type' => Controls_Manager::COLOR,
315
  'scheme' => [
316
  'type' => Scheme_Color::get_type(),
@@ -330,7 +330,7 @@ class Premium_Title_Widget extends Widget_Base
330
  /*Header Line Color*/
331
  $this->add_control('premium_title_style5_header_line_color',
332
  [
333
- 'label' => esc_html__('Header Line Color', 'premium_elementor'),
334
  'type' => Controls_Manager::COLOR,
335
  'scheme' => [
336
  'type' => Scheme_Color::get_type(),
@@ -361,7 +361,7 @@ class Premium_Title_Widget extends Widget_Base
361
  /*Header Line Color*/
362
  $this->add_control('premium_title_style6_header_line_color',
363
  [
364
- 'label' => esc_html__('Header Line Color', 'premium_elementor'),
365
  'type' => Controls_Manager::COLOR,
366
  'scheme' => [
367
  'type' => Scheme_Color::get_type(),
@@ -379,7 +379,7 @@ class Premium_Title_Widget extends Widget_Base
379
  /*Triangle Color*/
380
  $this->add_control('premium_title_style6_triangle_color',
381
  [
382
- 'label' => esc_html__('Triangle Color', 'premium_elementor'),
383
  'type' => Controls_Manager::COLOR,
384
  'scheme' => [
385
  'type' => Scheme_Color::get_type(),
@@ -399,7 +399,7 @@ class Premium_Title_Widget extends Widget_Base
399
  /*Strip Color*/
400
  $this->add_control('premium_title_style7_strip_color',
401
  [
402
- 'label' => esc_html__('Strip Color', 'premium_elementor'),
403
  'type' => Controls_Manager::COLOR,
404
  'scheme' => [
405
  'type' => Scheme_Color::get_type(),
@@ -417,7 +417,7 @@ class Premium_Title_Widget extends Widget_Base
417
  /*Title Margin*/
418
  $this->add_responsive_control('premium_title_margin',
419
  [
420
- 'label' => esc_html__('Margin', 'premium_elementor'),
421
  'type' => Controls_Manager::DIMENSIONS,
422
  'size_units' => ['px', 'em', '%'],
423
  'selectors' => [
@@ -441,7 +441,7 @@ class Premium_Title_Widget extends Widget_Base
441
  /*Start Icon Style Section*/
442
  $this->start_controls_section('premium_title_icon_style_section',
443
  [
444
- 'label' => esc_html__('Icon Style', 'premium_elementor'),
445
  'tab' => Controls_Manager::TAB_STYLE,
446
  'condition' => [
447
  'premium_title_icon_switcher' => 'yes',
@@ -452,7 +452,7 @@ class Premium_Title_Widget extends Widget_Base
452
  /*Icon Color*/
453
  $this->add_control('premium_title_icon_color',
454
  [
455
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
456
  'type' => Controls_Manager::COLOR,
457
  'scheme' => [
458
  'type' => Scheme_Color::get_type(),
@@ -467,7 +467,7 @@ class Premium_Title_Widget extends Widget_Base
467
  /*Icon Size*/
468
  $this->add_control('premium_title_icon_size',
469
  [
470
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
471
  'type' => Controls_Manager::SLIDER,
472
  'size_units' => ['px', 'em', '%'],
473
  'selectors' => [
@@ -498,7 +498,7 @@ class Premium_Title_Widget extends Widget_Base
498
  /*Icon Border Radius*/
499
  $this->add_control('premium_title_icon_border_radius',
500
  [
501
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
502
  'type' => Controls_Manager::SLIDER,
503
  'size_units' => ['px', '%', 'em'],
504
  'selectors' => [
@@ -510,7 +510,7 @@ class Premium_Title_Widget extends Widget_Base
510
  /*Icon Margin*/
511
  $this->add_responsive_control('premium_title_icon_margin',
512
  [
513
- 'label' => esc_html__('Margin', 'premium_elementor'),
514
  'type' => Controls_Manager::DIMENSIONS,
515
  'size_units' => [ 'px', 'em', '%' ],
516
  'selectors' => [
@@ -522,7 +522,7 @@ class Premium_Title_Widget extends Widget_Base
522
  /*Icon Padding*/
523
  $this->add_responsive_control('premium_title_icon_padding',
524
  [
525
- 'label' => esc_html__('Padding', 'premium_elementor'),
526
  'type' => Controls_Manager::DIMENSIONS,
527
  'size_units' => [ 'px', 'em', '%' ],
528
  'selectors' => [
@@ -535,7 +535,7 @@ class Premium_Title_Widget extends Widget_Base
535
  $this->add_group_control(
536
  Group_Control_Text_Shadow::get_type(),
537
  [
538
- 'label' => esc_html__('Icon Shadow', 'premium_elementor'),
539
  'name' => 'premium_title_icon_text_shadow',
540
  'selector' => '{{WRAPPER}} .premium-title-icon',
541
  ]
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Title', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /* Start Title General Settings Section */
35
  $this->start_controls_section('premium_title_content',
36
  [
37
+ 'label' => esc_html__('Title Settings', 'premium-addons-for-elementor'),
38
  ]
39
  );
40
 
41
  /*Title Text*/
42
  $this->add_control('premium_title_text',
43
  [
44
+ 'label' => esc_html__('Title Content', 'premium-addons-for-elementor'),
45
  'type' => Controls_Manager::TEXT,
46
+ 'default' => esc_html__('Premium Title','premium-addons-for-elementor'),
47
  'label_block' => true,
48
  ]
49
  );
51
  /*Title Style*/
52
  $this->add_control('premium_title_style',
53
  [
54
+ 'label' => esc_html__('Title Style', 'premium-addons-for-elementor'),
55
  'type' => Controls_Manager::SELECT,
56
  'default' => 'style1',
57
  'options' => [
70
  /*Icon Switcher*/
71
  $this->add_control('premium_title_icon_switcher',
72
  [
73
+ 'label' => esc_html__('Icon', 'premium-addons-for-elementor'),
74
  'type' => Controls_Manager::SWITCHER,
75
  ]
76
  );
78
  /*Icon*/
79
  $this->add_control('premium_title_icon',
80
  [
81
+ 'label' => esc_html__('Font Awesome Icon', 'premium-addons-for-elementor'),
82
  'type' => Controls_Manager::ICON,
83
  'label_block' => true,
84
  'condition' => [
90
  /*Title HTML TAG*/
91
  $this->add_control('premium_title_tag',
92
  [
93
+ 'label' => esc_html__('Title HTML Tag', 'premium-addons-for-elementor'),
94
  'type' => Controls_Manager::SELECT,
95
+ 'default' => esc_html__('h2','premium-addons-for-elementor'),
96
  'options' => [
97
  'h1' => 'H1',
98
  'h2' => 'H2',
107
  /*Title Align*/
108
  $this->add_responsive_control('premium_title_align',
109
  [
110
+ 'label' => esc_html__( 'Align', 'premium-addons-for-elementor' ),
111
  'type' => Controls_Manager::CHOOSE,
112
  'options' => [
113
  'left' => [
114
+ 'title'=> esc_html__( 'Left', 'premium-addons-for-elementor' ),
115
  'icon' => 'fa fa-align-left',
116
  ],
117
  'center' => [
118
+ 'title'=> esc_html__( 'Center', 'premium-addons-for-elementor' ),
119
  'icon' => 'fa fa-align-center',
120
  ],
121
  'right' => [
122
+ 'title'=> esc_html__( 'Right', 'premium-addons-for-elementor' ),
123
  'icon' => 'fa fa-align-right',
124
  ],
125
  ],
136
  /*Strip Width*/
137
  $this->add_control('premium_title_style7_strip_width',
138
  [
139
+ 'label' => esc_html__('Strip Width (PX)', 'premium-addons-for-elementor'),
140
  'type' => Controls_Manager::SLIDER,
141
  'size_units' => ['px', '%', 'em'],
142
  'default' => [
156
  /*Strip Height*/
157
  $this->add_control('premium_title_style7_strip_height',
158
  [
159
+ 'label' => esc_html__('Strip Height (PX)', 'premium-addons-for-elementor'),
160
  'type' => Controls_Manager::SLIDER,
161
  'size_units' => ['px', 'em'],
162
  'default' => [
176
  /*Strip Top Spacing*/
177
  $this->add_control('premium_title_style7_strip_top_spacing',
178
  [
179
+ 'label' => esc_html__('Strip Top Spacing (PX)', 'premium-addons-for-elementor'),
180
  'type' => Controls_Manager::SLIDER,
181
  'size_units' => ['px', '%', 'em'],
182
  'selectors' => [
192
  /*Strip Bottom Spacing*/
193
  $this->add_control('premium_title_style7_strip_bottom_spacing',
194
  [
195
+ 'label' => esc_html__('Strip Bottom Spacing (PX)', 'premium-addons-for-elementor'),
196
  'type' => Controls_Manager::SLIDER,
197
  'size_units' => ['px', '%', 'em'],
198
  'label_block' => true,
240
  /*Start Styling Section*/
241
  $this->start_controls_section('premium_title_style_section',
242
  [
243
+ 'label' => esc_html__('Title', 'premium-addons-for-elementor'),
244
  'tab' => Controls_Manager::TAB_STYLE,
245
  ]
246
  );
248
  /*Title Color*/
249
  $this->add_control('premium_title_color',
250
  [
251
+ 'label' => esc_html__('Title Color', 'premium-addons-for-elementor'),
252
  'type' => Controls_Manager::COLOR,
253
  'scheme' => [
254
  'type' => Scheme_Color::get_type(),
288
  /*Background Color*/
289
  $this->add_control('premium_title_style2_background_color',
290
  [
291
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
292
  'type' => Controls_Manager::COLOR,
293
  'scheme' => [
294
  'type' => Scheme_Color::get_type(),
310
  /*Background Color*/
311
  $this->add_control('premium_title_style3_background_color',
312
  [
313
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
314
  'type' => Controls_Manager::COLOR,
315
  'scheme' => [
316
  'type' => Scheme_Color::get_type(),
330
  /*Header Line Color*/
331
  $this->add_control('premium_title_style5_header_line_color',
332
  [
333
+ 'label' => esc_html__('Header Line Color', 'premium-addons-for-elementor'),
334
  'type' => Controls_Manager::COLOR,
335
  'scheme' => [
336
  'type' => Scheme_Color::get_type(),
361
  /*Header Line Color*/
362
  $this->add_control('premium_title_style6_header_line_color',
363
  [
364
+ 'label' => esc_html__('Header Line Color', 'premium-addons-for-elementor'),
365
  'type' => Controls_Manager::COLOR,
366
  'scheme' => [
367
  'type' => Scheme_Color::get_type(),
379
  /*Triangle Color*/
380
  $this->add_control('premium_title_style6_triangle_color',
381
  [
382
+ 'label' => esc_html__('Triangle Color', 'premium-addons-for-elementor'),
383
  'type' => Controls_Manager::COLOR,
384
  'scheme' => [
385
  'type' => Scheme_Color::get_type(),
399
  /*Strip Color*/
400
  $this->add_control('premium_title_style7_strip_color',
401
  [
402
+ 'label' => esc_html__('Strip Color', 'premium-addons-for-elementor'),
403
  'type' => Controls_Manager::COLOR,
404
  'scheme' => [
405
  'type' => Scheme_Color::get_type(),
417
  /*Title Margin*/
418
  $this->add_responsive_control('premium_title_margin',
419
  [
420
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
421
  'type' => Controls_Manager::DIMENSIONS,
422
  'size_units' => ['px', 'em', '%'],
423
  'selectors' => [
441
  /*Start Icon Style Section*/
442
  $this->start_controls_section('premium_title_icon_style_section',
443
  [
444
+ 'label' => esc_html__('Icon Style', 'premium-addons-for-elementor'),
445
  'tab' => Controls_Manager::TAB_STYLE,
446
  'condition' => [
447
  'premium_title_icon_switcher' => 'yes',
452
  /*Icon Color*/
453
  $this->add_control('premium_title_icon_color',
454
  [
455
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
456
  'type' => Controls_Manager::COLOR,
457
  'scheme' => [
458
  'type' => Scheme_Color::get_type(),
467
  /*Icon Size*/
468
  $this->add_control('premium_title_icon_size',
469
  [
470
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
471
  'type' => Controls_Manager::SLIDER,
472
  'size_units' => ['px', 'em', '%'],
473
  'selectors' => [
498
  /*Icon Border Radius*/
499
  $this->add_control('premium_title_icon_border_radius',
500
  [
501
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
502
  'type' => Controls_Manager::SLIDER,
503
  'size_units' => ['px', '%', 'em'],
504
  'selectors' => [
510
  /*Icon Margin*/
511
  $this->add_responsive_control('premium_title_icon_margin',
512
  [
513
+ 'label' => esc_html__('Margin', 'premium-addons-for-elementor'),
514
  'type' => Controls_Manager::DIMENSIONS,
515
  'size_units' => [ 'px', 'em', '%' ],
516
  'selectors' => [
522
  /*Icon Padding*/
523
  $this->add_responsive_control('premium_title_icon_padding',
524
  [
525
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
526
  'type' => Controls_Manager::DIMENSIONS,
527
  'size_units' => [ 'px', 'em', '%' ],
528
  'selectors' => [
535
  $this->add_group_control(
536
  Group_Control_Text_Shadow::get_type(),
537
  [
538
+ 'label' => esc_html__('Icon Shadow', 'premium-addons-for-elementor'),
539
  'name' => 'premium_title_icon_text_shadow',
540
  'selector' => '{{WRAPPER}} .premium-title-icon',
541
  ]
widgets/premium-videobox.php CHANGED
@@ -16,7 +16,7 @@ class Premium_Video_Box_Widget extends Widget_Base
16
  }
17
 
18
  public function get_title() {
19
- return esc_html__('Premium Video Box', 'premium_elementor');
20
  }
21
 
22
  public function get_icon() {
@@ -34,15 +34,15 @@ class Premium_Video_Box_Widget extends Widget_Base
34
  /* Start Image Settings Section */
35
  $this->start_controls_section('premium_video_box_image_settings',
36
  [
37
- 'label' => esc_html__('Video Box Content', 'premium_elementor'),
38
  ]
39
  );
40
 
41
  /*Video Box Image*/
42
  $this->add_control('premium_video_box_image',
43
  [
44
- 'label' => esc_html__('Image', 'premium_elementor'),
45
- 'description' => esc_html__('Choose an image for the video box', 'premium_elementor' ),
46
  'type' => Controls_Manager::MEDIA,
47
  'default' => [
48
  'url' => Utils::get_placeholder_image_src()
@@ -57,7 +57,7 @@ class Premium_Video_Box_Widget extends Widget_Base
57
  /*Start Play Icon Settings*/
58
  $this->start_controls_section('premium_video_box_play_icon_settings',
59
  [
60
- 'label' => esc_html__('Play Icon', 'premium_elementor'),
61
  ]
62
  );
63
 
@@ -65,7 +65,7 @@ class Premium_Video_Box_Widget extends Widget_Base
65
  /*Play Icon Switcher*/
66
  $this->add_control('premium_video_box_play_icon_switcher',
67
  [
68
- 'label' => esc_html__('Play Icon', 'premium_elementor'),
69
  'type' => Controls_Manager::SWITCHER,
70
  'default' => 'yes'
71
  ]
@@ -73,7 +73,7 @@ class Premium_Video_Box_Widget extends Widget_Base
73
 
74
  $this->add_control('premium_video_box_icon_ver_position',
75
  [
76
- 'label' => esc_html__('Vertical Position (%)', 'premium_elementor'),
77
  'type' => Controls_Manager::SLIDER,
78
  'label_block' => true,
79
  'default' => [
@@ -90,7 +90,7 @@ class Premium_Video_Box_Widget extends Widget_Base
90
 
91
  $this->add_control('premium_video_box_icon_hor_position',
92
  [
93
- 'label' => esc_html__('Horizontal Position (%)', 'premium_elementor'),
94
  'type' => Controls_Manager::SLIDER,
95
  'label_block' => true,
96
  'default' => [
@@ -111,13 +111,13 @@ class Premium_Video_Box_Widget extends Widget_Base
111
  /*Start Description Text Section*/
112
  $this->start_controls_section('premium_video_box_description_text_section',
113
  [
114
- 'label' => esc_html__('Video Text', 'premium_elementor'),
115
  ]
116
  );
117
 
118
  $this->add_control('premium_video_box_video_text_switcher',
119
  [
120
- 'label' => esc_html__('Video Text', 'premium_elementor'),
121
  'type' => Controls_Manager::SWITCHER,
122
  ]
123
  );
@@ -125,7 +125,7 @@ class Premium_Video_Box_Widget extends Widget_Base
125
  /*Description Text*/
126
  $this->add_control('premium_video_box_description_text',
127
  [
128
- 'label' => esc_html__('Text', 'premium_elementor'),
129
  'type' => Controls_Manager::TEXTAREA,
130
  'condition' => [
131
  'premium_video_box_video_text_switcher' => 'yes'
@@ -137,7 +137,7 @@ class Premium_Video_Box_Widget extends Widget_Base
137
  /*Description Top Position*/
138
  $this->add_control('premium_video_box_description_ver_position',
139
  [
140
- 'label' => esc_html__('Vertical Position (%)', 'premium_elementor'),
141
  'type' => Controls_Manager::SLIDER,
142
  'label_block' => true,
143
  'default' => [
@@ -154,7 +154,7 @@ class Premium_Video_Box_Widget extends Widget_Base
154
 
155
  $this->add_control('premium_video_box_description_hor_position',
156
  [
157
- 'label' => esc_html__('Horizontal Position (%)', 'premium_elementor'),
158
  'type' => Controls_Manager::SLIDER,
159
  'label_block' => true,
160
  'default' => [
@@ -176,19 +176,19 @@ class Premium_Video_Box_Widget extends Widget_Base
176
  /*Start Video Settings Section*/
177
  $this->start_controls_section('premium_video_box_video_settings_section',
178
  [
179
- 'label' => esc_html__('Video Type', 'premium_elementor'),
180
  ]
181
  );
182
 
183
  /*Video Type*/
184
  $this->add_control('premium_video_box_video_type',
185
  [
186
- 'label' => esc_html__('Video Type', 'premium_elementor'),
187
  'type' => Controls_Manager::SELECT,
188
  'default' => 'youtube',
189
  'options' => [
190
- 'youtube' => esc_html__('Youtube', 'premium_elementor'),
191
- 'vimeo' => esc_html__('Vimeo', 'premium_elementor'),
192
  ]
193
  ]
194
  );
@@ -196,12 +196,12 @@ class Premium_Video_Box_Widget extends Widget_Base
196
  /*Video Id or Link*/
197
  $this->add_control('premium_video_box_video_id_embed_selection',
198
  [
199
- 'label' => esc_html__('ID/URL', 'premium_elementor'),
200
  'type' => Controls_Manager::SELECT,
201
  'default' => 'id',
202
  'options' => [
203
- 'id' => esc_html__('ID', 'premium_elementor'),
204
- 'embed' => esc_html__('Embed URL', 'premium_elementor'),
205
  ]
206
  ]
207
  );
@@ -209,8 +209,8 @@ class Premium_Video_Box_Widget extends Widget_Base
209
  /*Video Id*/
210
  $this->add_control('premium_video_box_video_id',
211
  [
212
- 'label' => esc_html__('Video ID', 'premium_elementor'),
213
- '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_elementor'),
214
  'type' => Controls_Manager::TEXT,
215
  'condition' => [
216
  'premium_video_box_video_id_embed_selection' => 'id',
@@ -221,8 +221,8 @@ class Premium_Video_Box_Widget extends Widget_Base
221
  /*Video Link*/
222
  $this->add_control('premium_video_box_video_embed',
223
  [
224
- 'label' => esc_html__('Embed URL', 'premium_elementor'),
225
- 'description' => esc_html__('Enter your YouTube/Vimeo video link. For example, https://www.youtube.com/embed/z1hQgVpfTKU.', 'premium_elementor'),
226
  'type' => Controls_Manager::TEXT,
227
  'condition' => [
228
  'premium_video_box_video_id_embed_selection' => 'embed',
@@ -236,7 +236,7 @@ class Premium_Video_Box_Widget extends Widget_Base
236
  /*Start Text Below Icon Style Section*/
237
  $this->start_controls_section('premium_video_box_text_style_section',
238
  [
239
- 'label' => esc_html__('Video Box','premium_elementor'),
240
  'tab' => Controls_Manager::TAB_STYLE,
241
  ]
242
  );
@@ -253,7 +253,7 @@ class Premium_Video_Box_Widget extends Widget_Base
253
  /*Image Border Radius*/
254
  $this->add_control('premium_video_box_image_border_radius',
255
  [
256
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
257
  'type' => Controls_Manager::SLIDER,
258
  'size_units' => ['px', '%', 'em'],
259
  'selectors' => [
@@ -277,7 +277,7 @@ class Premium_Video_Box_Widget extends Widget_Base
277
  /*Start Play Icon Style Section*/
278
  $this->start_controls_section('premium_video_box_icon_style',
279
  [
280
- 'label' => esc_html__('Play Icon Style','premium_elementor'),
281
  'tab' => Controls_Manager::TAB_STYLE,
282
  'condition' => [
283
  'premium_video_box_play_icon_switcher' => 'yes',
@@ -288,7 +288,7 @@ class Premium_Video_Box_Widget extends Widget_Base
288
  /*Play Icon Color*/
289
  $this->add_control('premium_video_box_play_icon_color',
290
  [
291
- 'label' => esc_html__('Icon Color', 'premium_elementor'),
292
  'type' => Controls_Manager::COLOR,
293
  'scheme' => [
294
  'type' => Scheme_Color::get_type(),
@@ -303,7 +303,7 @@ class Premium_Video_Box_Widget extends Widget_Base
303
  /*Play Icon Color*/
304
  $this->add_control('premium_video_box_play_icon_color_hover',
305
  [
306
- 'label' => esc_html__('Icon Hover Color', 'premium_elementor'),
307
  'type' => Controls_Manager::COLOR,
308
  'scheme' => [
309
  'type' => Scheme_Color::get_type(),
@@ -318,7 +318,7 @@ class Premium_Video_Box_Widget extends Widget_Base
318
  /*Play Icon Size*/
319
  $this->add_control('premium_video_box_play_icon_size',
320
  [
321
- 'label' => esc_html__('Icon Size', 'premium_elementor'),
322
  'type' => Controls_Manager::SLIDER,
323
  'default' => [
324
  'unit' => 'px',
@@ -353,7 +353,7 @@ class Premium_Video_Box_Widget extends Widget_Base
353
  /*Play Icon Border Radius*/
354
  $this->add_control('premium_video_box_icon_border_radius',
355
  [
356
- 'label' => esc_html__('Border Radius', 'premium_elementor'),
357
  'type' => Controls_Manager::SLIDER,
358
  'default' => [
359
  'unit' => 'px',
@@ -369,7 +369,7 @@ class Premium_Video_Box_Widget extends Widget_Base
369
  /*Icon Padding*/
370
  $this->add_responsive_control('premium_video_box_icon_padding',
371
  [
372
- 'label' => esc_html__('Padding', 'premium_elementor'),
373
  'type' => Controls_Manager::DIMENSIONS,
374
  'default' => [
375
  'top' => 40,
@@ -388,9 +388,9 @@ class Premium_Video_Box_Widget extends Widget_Base
388
  /*Enable Icon Hover Size Change*/
389
  $this->add_control('premium_video_box_icon_hover_animation',
390
  [
391
- 'label' => esc_html__('Hover Animation', 'premium_elementor'),
392
  'type' => Controls_Manager::SWITCHER,
393
- 'description' => esc_html__('Hover animation works only when you set a background color or image for play icon', 'premium_elementor'),
394
  'default' => 'yes',
395
  ]
396
  );
@@ -398,7 +398,7 @@ class Premium_Video_Box_Widget extends Widget_Base
398
  /*Icon Padding*/
399
  $this->add_responsive_control('premium_video_box_icon_padding_hover',
400
  [
401
- 'label' => esc_html__('Hover Padding', 'premium_elementor'),
402
  'type' => Controls_Manager::DIMENSIONS,
403
  'size_units' => [ 'px', 'em', '%' ],
404
  'selectors' => [
@@ -418,7 +418,7 @@ class Premium_Video_Box_Widget extends Widget_Base
418
  /*Start Video Text Style*/
419
  $this->start_controls_section('premium_video_box_text_style',
420
  [
421
- 'label' => esc_html__('Video Text', 'premium_elementor'),
422
  'tab' => Controls_Manager::TAB_STYLE,
423
  'condition' => [
424
  'premium_video_box_video_text_switcher' => 'yes'
@@ -429,7 +429,7 @@ class Premium_Video_Box_Widget extends Widget_Base
429
  /*Text Color*/
430
  $this->add_control('premium_video_box_text_color',
431
  [
432
- 'label' => esc_html__('Text Color', 'premium_elementor'),
433
  'type' => Controls_Manager::COLOR,
434
  'scheme' => [
435
  'type' => Scheme_Color::get_type(),
@@ -444,7 +444,7 @@ class Premium_Video_Box_Widget extends Widget_Base
444
  /*Text Hover Color*/
445
  $this->add_control('premium_video_box_text_color_hover',
446
  [
447
- 'label' => esc_html__('Text Hover Color', 'premium_elementor'),
448
  'type' => Controls_Manager::COLOR,
449
  'scheme' => [
450
  'type' => Scheme_Color::get_type(),
@@ -459,7 +459,7 @@ class Premium_Video_Box_Widget extends Widget_Base
459
  /*Text Hover Color*/
460
  $this->add_control('premium_video_box_text_background_color',
461
  [
462
- 'label' => esc_html__('Background Color', 'premium_elementor'),
463
  'type' => Controls_Manager::COLOR,
464
  'scheme' => [
465
  'type' => Scheme_Color::get_type(),
@@ -483,7 +483,7 @@ class Premium_Video_Box_Widget extends Widget_Base
483
 
484
  $this->add_responsive_control('premium_video_box_text_padding',
485
  [
486
- 'label' => esc_html__('Padding', 'premium_elementor'),
487
  'type' => Controls_Manager::DIMENSIONS,
488
  'size_units' => [ 'px', 'em', '%' ],
489
  'selectors' => [
16
  }
17
 
18
  public function get_title() {
19
+ return esc_html__('Premium Video Box', 'premium-addons-for-elementor');
20
  }
21
 
22
  public function get_icon() {
34
  /* Start Image Settings Section */
35
  $this->start_controls_section('premium_video_box_image_settings',
36
  [
37
+ 'label' => esc_html__('Video Box Content', 'premium-addons-for-elementor'),
38
  ]
39
  );
40
 
41
  /*Video Box Image*/
42
  $this->add_control('premium_video_box_image',
43
  [
44
+ 'label' => esc_html__('Image', 'premium-addons-for-elementor'),
45
+ 'description' => esc_html__('Choose an image for the video box', 'premium-addons-for-elementor' ),
46
  'type' => Controls_Manager::MEDIA,
47
  'default' => [
48
  'url' => Utils::get_placeholder_image_src()
57
  /*Start Play Icon Settings*/
58
  $this->start_controls_section('premium_video_box_play_icon_settings',
59
  [
60
+ 'label' => esc_html__('Play Icon', 'premium-addons-for-elementor'),
61
  ]
62
  );
63
 
65
  /*Play Icon Switcher*/
66
  $this->add_control('premium_video_box_play_icon_switcher',
67
  [
68
+ 'label' => esc_html__('Play Icon', 'premium-addons-for-elementor'),
69
  'type' => Controls_Manager::SWITCHER,
70
  'default' => 'yes'
71
  ]
73
 
74
  $this->add_control('premium_video_box_icon_ver_position',
75
  [
76
+ 'label' => esc_html__('Vertical Position (%)', 'premium-addons-for-elementor'),
77
  'type' => Controls_Manager::SLIDER,
78
  'label_block' => true,
79
  'default' => [
90
 
91
  $this->add_control('premium_video_box_icon_hor_position',
92
  [
93
+ 'label' => esc_html__('Horizontal Position (%)', 'premium-addons-for-elementor'),
94
  'type' => Controls_Manager::SLIDER,
95
  'label_block' => true,
96
  'default' => [
111
  /*Start Description Text Section*/
112
  $this->start_controls_section('premium_video_box_description_text_section',
113
  [
114
+ 'label' => esc_html__('Video Text', 'premium-addons-for-elementor'),
115
  ]
116
  );
117
 
118
  $this->add_control('premium_video_box_video_text_switcher',
119
  [
120
+ 'label' => esc_html__('Video Text', 'premium-addons-for-elementor'),
121
  'type' => Controls_Manager::SWITCHER,
122
  ]
123
  );
125
  /*Description Text*/
126
  $this->add_control('premium_video_box_description_text',
127
  [
128
+ 'label' => esc_html__('Text', 'premium-addons-for-elementor'),
129
  'type' => Controls_Manager::TEXTAREA,
130
  'condition' => [
131
  'premium_video_box_video_text_switcher' => 'yes'
137
  /*Description Top Position*/
138
  $this->add_control('premium_video_box_description_ver_position',
139
  [
140
+ 'label' => esc_html__('Vertical Position (%)', 'premium-addons-for-elementor'),
141
  'type' => Controls_Manager::SLIDER,
142
  'label_block' => true,
143
  'default' => [
154
 
155
  $this->add_control('premium_video_box_description_hor_position',
156
  [
157
+ 'label' => esc_html__('Horizontal Position (%)', 'premium-addons-for-elementor'),
158
  'type' => Controls_Manager::SLIDER,
159
  'label_block' => true,
160
  'default' => [
176
  /*Start Video Settings Section*/
177
  $this->start_controls_section('premium_video_box_video_settings_section',
178
  [
179
+ 'label' => esc_html__('Video Type', 'premium-addons-for-elementor'),
180
  ]
181
  );
182
 
183
  /*Video Type*/
184
  $this->add_control('premium_video_box_video_type',
185
  [
186
+ 'label' => esc_html__('Video Type', 'premium-addons-for-elementor'),
187
  'type' => Controls_Manager::SELECT,
188
  'default' => 'youtube',
189
  'options' => [
190
+ 'youtube' => esc_html__('Youtube', 'premium-addons-for-elementor'),
191
+ 'vimeo' => esc_html__('Vimeo', 'premium-addons-for-elementor'),
192
  ]
193
  ]
194
  );
196
  /*Video Id or Link*/
197
  $this->add_control('premium_video_box_video_id_embed_selection',
198
  [
199
+ 'label' => esc_html__('ID/URL', 'premium-addons-for-elementor'),
200
  'type' => Controls_Manager::SELECT,
201
  'default' => 'id',
202
  'options' => [
203
+ 'id' => esc_html__('ID', 'premium-addons-for-elementor'),
204
+ 'embed' => esc_html__('Embed URL', 'premium-addons-for-elementor'),
205
  ]
206
  ]
207
  );
209
  /*Video Id*/
210
  $this->add_control('premium_video_box_video_id',
211
  [
212
+ 'label' => esc_html__('Video ID', 'premium-addons-for-elementor'),
213
+ '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'),
214
  'type' => Controls_Manager::TEXT,
215
  'condition' => [
216
  'premium_video_box_video_id_embed_selection' => 'id',
221
  /*Video Link*/
222
  $this->add_control('premium_video_box_video_embed',
223
  [
224
+ 'label' => esc_html__('Embed URL', 'premium-addons-for-elementor'),
225
+ 'description' => esc_html__('Enter your YouTube/Vimeo video link. For example, https://www.youtube.com/embed/z1hQgVpfTKU.', 'premium-addons-for-elementor'),
226
  'type' => Controls_Manager::TEXT,
227
  'condition' => [
228
  'premium_video_box_video_id_embed_selection' => 'embed',
236
  /*Start Text Below Icon Style Section*/
237
  $this->start_controls_section('premium_video_box_text_style_section',
238
  [
239
+ 'label' => esc_html__('Video Box','premium-addons-for-elementor'),
240
  'tab' => Controls_Manager::TAB_STYLE,
241
  ]
242
  );
253
  /*Image Border Radius*/
254
  $this->add_control('premium_video_box_image_border_radius',
255
  [
256
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
257
  'type' => Controls_Manager::SLIDER,
258
  'size_units' => ['px', '%', 'em'],
259
  'selectors' => [
277
  /*Start Play Icon Style Section*/
278
  $this->start_controls_section('premium_video_box_icon_style',
279
  [
280
+ 'label' => esc_html__('Play Icon Style','premium-addons-for-elementor'),
281
  'tab' => Controls_Manager::TAB_STYLE,
282
  'condition' => [
283
  'premium_video_box_play_icon_switcher' => 'yes',
288
  /*Play Icon Color*/
289
  $this->add_control('premium_video_box_play_icon_color',
290
  [
291
+ 'label' => esc_html__('Icon Color', 'premium-addons-for-elementor'),
292
  'type' => Controls_Manager::COLOR,
293
  'scheme' => [
294
  'type' => Scheme_Color::get_type(),
303
  /*Play Icon Color*/
304
  $this->add_control('premium_video_box_play_icon_color_hover',
305
  [
306
+ 'label' => esc_html__('Icon Hover Color', 'premium-addons-for-elementor'),
307
  'type' => Controls_Manager::COLOR,
308
  'scheme' => [
309
  'type' => Scheme_Color::get_type(),
318
  /*Play Icon Size*/
319
  $this->add_control('premium_video_box_play_icon_size',
320
  [
321
+ 'label' => esc_html__('Icon Size', 'premium-addons-for-elementor'),
322
  'type' => Controls_Manager::SLIDER,
323
  'default' => [
324
  'unit' => 'px',
353
  /*Play Icon Border Radius*/
354
  $this->add_control('premium_video_box_icon_border_radius',
355
  [
356
+ 'label' => esc_html__('Border Radius', 'premium-addons-for-elementor'),
357
  'type' => Controls_Manager::SLIDER,
358
  'default' => [
359
  'unit' => 'px',
369
  /*Icon Padding*/
370
  $this->add_responsive_control('premium_video_box_icon_padding',
371
  [
372
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
373
  'type' => Controls_Manager::DIMENSIONS,
374
  'default' => [
375
  'top' => 40,
388
  /*Enable Icon Hover Size Change*/
389
  $this->add_control('premium_video_box_icon_hover_animation',
390
  [
391
+ 'label' => esc_html__('Hover Animation', 'premium-addons-for-elementor'),
392
  'type' => Controls_Manager::SWITCHER,
393
+ 'description' => esc_html__('Hover animation works only when you set a background color or image for play icon', 'premium-addons-for-elementor'),
394
  'default' => 'yes',
395
  ]
396
  );
398
  /*Icon Padding*/
399
  $this->add_responsive_control('premium_video_box_icon_padding_hover',
400
  [
401
+ 'label' => esc_html__('Hover Padding', 'premium-addons-for-elementor'),
402
  'type' => Controls_Manager::DIMENSIONS,
403
  'size_units' => [ 'px', 'em', '%' ],
404
  'selectors' => [
418
  /*Start Video Text Style*/
419
  $this->start_controls_section('premium_video_box_text_style',
420
  [
421
+ 'label' => esc_html__('Video Text', 'premium-addons-for-elementor'),
422
  'tab' => Controls_Manager::TAB_STYLE,
423
  'condition' => [
424
  'premium_video_box_video_text_switcher' => 'yes'
429
  /*Text Color*/
430
  $this->add_control('premium_video_box_text_color',
431
  [
432
+ 'label' => esc_html__('Text Color', 'premium-addons-for-elementor'),
433
  'type' => Controls_Manager::COLOR,
434
  'scheme' => [
435
  'type' => Scheme_Color::get_type(),
444
  /*Text Hover Color*/
445
  $this->add_control('premium_video_box_text_color_hover',
446
  [
447
+ 'label' => esc_html__('Text Hover Color', 'premium-addons-for-elementor'),
448
  'type' => Controls_Manager::COLOR,
449
  'scheme' => [
450
  'type' => Scheme_Color::get_type(),
459
  /*Text Hover Color*/
460
  $this->add_control('premium_video_box_text_background_color',
461
  [
462
+ 'label' => esc_html__('Background Color', 'premium-addons-for-elementor'),
463
  'type' => Controls_Manager::COLOR,
464
  'scheme' => [
465
  'type' => Scheme_Color::get_type(),
483
 
484
  $this->add_responsive_control('premium_video_box_text_padding',
485
  [
486
+ 'label' => esc_html__('Padding', 'premium-addons-for-elementor'),
487
  'type' => Controls_Manager::DIMENSIONS,
488
  'size_units' => [ 'px', 'em', '%' ],
489
  'selectors' => [