Press Elements – Widgets for Elementor - Version 1.4.0

Version Description

General

  • Fix "Site Counters" post types display and taxonomy total count.
  • Update "Custom Field" widget with display condition to the image angle controller.
  • Enhance "Post Author" widget "Style" tab. Different design controllers for author images and other author data.
  • Upgrade Minimum Requirements to PHP 5.4 - like Elementor.

New Widgets

  • Advanced Custom Fields (Pro)
  • Gravatar (Pro)
Download this release

Release Info

Developer ramiy
Plugin Icon 128x128 Press Elements – Widgets for Elementor
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.1 to 1.4.0

language/press-elements.pot CHANGED
@@ -19,7 +19,7 @@ msgstr ""
19
  msgid "Press Elements - Widgets for Elementor"
20
  msgstr ""
21
 
22
- #: press-elements-admin.php:121, press-elements.php:157, press-elements.php:201
23
  msgid "Press Elements"
24
  msgstr ""
25
 
@@ -27,11 +27,11 @@ msgstr ""
27
  msgid "About"
28
  msgstr ""
29
 
30
- #: press-elements-admin.php:165, press-elements-admin.php:605
31
  msgid "Getting Started"
32
  msgstr ""
33
 
34
- #: press-elements-admin.php:167, press-elements-admin.php:759
35
  msgid "Changelog"
36
  msgstr ""
37
 
@@ -40,11 +40,11 @@ msgid "Pro Version"
40
  msgstr ""
41
 
42
  #: press-elements-admin.php:261
43
- msgid "An easy-to-use widgets that help you display and design your content using Elementor page builder."
44
  msgstr ""
45
 
46
  #: press-elements-admin.php:269
47
- msgid "Press Elements allows you to style a single pages using the built-in WordPress post components."
48
  msgstr ""
49
 
50
  #: press-elements-admin.php:281
@@ -107,7 +107,7 @@ msgstr ""
107
  msgid "Included Widgets"
108
  msgstr ""
109
 
110
- #: press-elements-admin.php:341, press-elements-admin.php:383
111
  msgid "Site Elements:"
112
  msgstr ""
113
 
@@ -156,298 +156,394 @@ msgid "Post Featured Image (Pro)"
156
  msgstr ""
157
 
158
  #: press-elements-admin.php:371
159
- msgid "Post Custom Fields (Pro)"
160
  msgstr ""
161
 
162
  #: press-elements-admin.php:373
163
  msgid "Post Comments"
164
  msgstr ""
165
 
166
- #: press-elements-admin.php:379
167
- msgid "Coming Soon"
168
  msgstr ""
169
 
170
- #: press-elements-admin.php:387
171
- msgid "Login Form"
172
  msgstr ""
173
 
174
- #: press-elements-admin.php:391
175
- msgid "Comments Elements:"
176
  msgstr ""
177
 
178
- #: press-elements-admin.php:395
179
- msgid "Comments Form"
180
  msgstr ""
181
 
182
  #: press-elements-admin.php:397
183
- msgid "Comments List"
184
  msgstr ""
185
 
186
  #: press-elements-admin.php:399
187
- msgid "Comments Pagination"
188
  msgstr ""
189
 
190
  #: press-elements-admin.php:403
191
- msgid "WooCommerce Elements:"
192
  msgstr ""
193
 
194
  #: press-elements-admin.php:407
195
- msgid "Product Price (Pro)"
196
  msgstr ""
197
 
198
  #: press-elements-admin.php:409
199
- msgid "Product Gallery (Pro)"
 
 
 
 
200
  msgstr ""
201
 
202
- #: press-elements-admin.php:427, press-elements-admin.php:431
 
 
 
 
 
 
 
 
203
  msgid "Post edit screen with WordPress elements."
204
  msgstr ""
205
 
206
- #: press-elements-admin.php:445, press-elements-admin.php:449
207
  msgid "Elementor widgets for each site and post element."
208
  msgstr ""
209
 
210
- #: press-elements-admin.php:463, press-elements-admin.php:467
211
  msgid "Styling post title with a dedicated Elementor widget."
212
  msgstr ""
213
 
214
- #: press-elements-admin.php:481, press-elements-admin.php:485
215
  msgid "Display post custom fields."
216
  msgstr ""
217
 
218
- #: press-elements-admin.php:499, press-elements-admin.php:503
219
  msgid "Create your own author bio section."
220
  msgstr ""
221
 
222
- #: press-elements-admin.php:517, press-elements-admin.php:521
223
  msgid "Widgets for your site logo, site name and site description."
224
  msgstr ""
225
 
226
- #: press-elements-admin.php:535, press-elements-admin.php:539
227
  msgid "Site counters for Post Types, Taxonomies, Comments and Users."
228
  msgstr ""
229
 
230
- #: press-elements-admin.php:553, press-elements-admin.php:557
231
  msgid "Custom fields as text fields and images, and linking to other custom fields."
232
  msgstr ""
233
 
234
- #: press-elements-admin.php:609
 
 
 
 
235
  msgid "Welcome to Press Elements getting started guide."
236
  msgstr ""
237
 
238
- #: press-elements-admin.php:617
239
  msgid "Getting started with Press Elements is easy! We put together this quick start guide to help first time users of the plugin. Our goal is to get you up and running in no time. Let's begin!"
240
  msgstr ""
241
 
242
- #: press-elements-admin.php:629
243
  msgid "STEP 1: Create a new post"
244
  msgstr ""
245
 
246
- #: press-elements-admin.php:633
247
  msgid "Navigate to \"Posts\" > \"Add New\" to create a new post. Enter a post title, write an excerpt, select a featured image, set an author, select a publish date and publish the post."
248
  msgstr ""
249
 
250
- #: press-elements-admin.php:653
251
  msgid "STEP 2: Design your own template"
252
  msgstr ""
253
 
254
- #: press-elements-admin.php:657
255
  msgid "Click the \"Edit with Elementor\" button and start designing the page layout. Design a page header, footer, and the content area."
256
  msgstr ""
257
 
258
- #: press-elements-admin.php:661
259
  msgid "Use \"Press Elements\" widgets to display the post title, post excerpt, post date and the other fields used by WordPress. Don't forget to style those elements!"
260
  msgstr ""
261
 
262
- #: press-elements-admin.php:681
263
  msgid "STEP 3: Save the template"
264
  msgstr ""
265
 
266
- #: press-elements-admin.php:685
267
  msgid "Click on the \"Add Template\" button located at the bottom, and save the design. You will see the newly created template at the \"My Templates\" tab."
268
  msgstr ""
269
 
270
- #: press-elements-admin.php:689
271
  msgid "You can save several templates for blogs posts, pages, and other post types. Or even several templates for a particular post type."
272
  msgstr ""
273
 
274
- #: press-elements-admin.php:709
275
  msgid "STEP 4: Apply the design to new posts"
276
  msgstr ""
277
 
278
- #: press-elements-admin.php:713
279
  msgid "For each new post you create, load the desired template and apply it to the post. The post will enherite the design but the elements will be updated with the current post data."
280
  msgstr ""
281
 
282
- #: press-elements-admin.php:763
283
  msgid "Press Elements changelog."
284
  msgstr ""
285
 
286
- #: press-elements-admin.php:771
287
  msgid "The Press Elements plugin is developed continuasly, this is the full changelog."
288
  msgstr ""
289
 
290
- #: press-elements-admin.php:813
291
  msgid "No valid changelog was found."
292
  msgstr ""
293
 
294
- #: press-elements-plugin.php:135
295
  msgid "Site Elements"
296
  msgstr ""
297
 
298
- #: press-elements-plugin.php:151
299
  msgid "Post Elements"
300
  msgstr ""
301
 
302
- #: press-elements.php:155
 
 
 
 
303
  msgid "\"%1$s\" requires \"%2$s\" to be installed and activated."
304
  msgstr ""
305
 
306
- #: press-elements.php:159, press-elements.php:203
307
  msgid "Elementor"
308
  msgstr ""
309
 
310
- #: press-elements.php:199
311
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
312
  msgstr ""
313
 
314
- #: widgets/post-author.php:37, widgets/post-author.php:59, widgets/post-author.php:167
315
- msgid "%s Author"
316
  msgstr ""
317
 
318
- #: widgets/post-author.php:68
319
- msgid "Author"
 
 
 
 
 
 
 
 
320
  msgstr ""
321
 
322
- #: widgets/post-author.php:78, widgets/post-custom-field.php:102, widgets/post-date.php:81, widgets/post-excerpt.php:135, widgets/post-terms.php:79, widgets/post-title.php:68, widgets/site-counters.php:110, widgets/site-description.php:56, widgets/site-logo.php:63, widgets/site-title.php:56
 
 
 
 
323
  msgid "HTML Tag"
324
  msgstr ""
325
 
326
- #: widgets/post-author.php:81, widgets/post-custom-field.php:105, widgets/post-date.php:84, widgets/post-excerpt.php:141, widgets/post-terms.php:82, widgets/post-title.php:71, widgets/site-counters.php:113, widgets/site-description.php:59, widgets/site-logo.php:66, widgets/site-title.php:59
327
  msgid "H1"
328
  msgstr ""
329
 
330
- #: widgets/post-author.php:82, widgets/post-custom-field.php:106, widgets/post-date.php:85, widgets/post-excerpt.php:143, widgets/post-terms.php:83, widgets/post-title.php:72, widgets/site-counters.php:114, widgets/site-description.php:60, widgets/site-logo.php:67, widgets/site-title.php:60
331
  msgid "H2"
332
  msgstr ""
333
 
334
- #: widgets/post-author.php:83, widgets/post-custom-field.php:107, widgets/post-date.php:86, widgets/post-excerpt.php:145, widgets/post-terms.php:84, widgets/post-title.php:73, widgets/site-counters.php:115, widgets/site-description.php:61, widgets/site-logo.php:68, widgets/site-title.php:61
335
  msgid "H3"
336
  msgstr ""
337
 
338
- #: widgets/post-author.php:84, widgets/post-custom-field.php:108, widgets/post-date.php:87, widgets/post-excerpt.php:147, widgets/post-terms.php:85, widgets/post-title.php:74, widgets/site-counters.php:116, widgets/site-description.php:62, widgets/site-logo.php:69, widgets/site-title.php:62
339
  msgid "H4"
340
  msgstr ""
341
 
342
- #: widgets/post-author.php:85, widgets/post-custom-field.php:109, widgets/post-date.php:88, widgets/post-excerpt.php:149, widgets/post-terms.php:86, widgets/post-title.php:75, widgets/site-counters.php:117, widgets/site-description.php:63, widgets/site-logo.php:70, widgets/site-title.php:63
343
  msgid "H5"
344
  msgstr ""
345
 
346
- #: widgets/post-author.php:86, widgets/post-custom-field.php:110, widgets/post-date.php:89, widgets/post-excerpt.php:151, widgets/post-terms.php:87, widgets/post-title.php:76, widgets/site-counters.php:118, widgets/site-description.php:64, widgets/site-logo.php:71, widgets/site-title.php:64
347
  msgid "H6"
348
  msgstr ""
349
 
350
- #: widgets/post-author.php:87, widgets/post-custom-field.php:111, widgets/post-date.php:90, widgets/post-excerpt.php:153, widgets/post-terms.php:88, widgets/post-title.php:77, widgets/site-counters.php:119, widgets/site-description.php:65, widgets/site-logo.php:72, widgets/site-title.php:65
351
  msgid "p"
352
  msgstr ""
353
 
354
- #: widgets/post-author.php:88, widgets/post-custom-field.php:112, widgets/post-date.php:91, widgets/post-excerpt.php:155, widgets/post-terms.php:89, widgets/post-title.php:78, widgets/site-counters.php:120, widgets/site-description.php:66, widgets/site-logo.php:73, widgets/site-title.php:66
355
  msgid "div"
356
  msgstr ""
357
 
358
- #: widgets/post-author.php:89, widgets/post-custom-field.php:113, widgets/post-date.php:92, widgets/post-excerpt.php:157, widgets/post-terms.php:90, widgets/post-title.php:79, widgets/site-counters.php:121, widgets/site-description.php:67, widgets/site-logo.php:74, widgets/site-title.php:67
359
  msgid "span"
360
  msgstr ""
361
 
362
- #: widgets/post-author.php:98, widgets/post-custom-field.php:122, widgets/post-date.php:101, widgets/post-excerpt.php:175, widgets/post-featured-image.php:88, widgets/post-terms.php:99, widgets/post-title.php:88, widgets/site-counters.php:130, widgets/site-description.php:76, widgets/site-logo.php:83, widgets/site-title.php:76
363
  msgid "Alignment"
364
  msgstr ""
365
 
366
- #: widgets/post-author.php:102, widgets/post-custom-field.php:126, widgets/post-date.php:105, widgets/post-excerpt.php:183, widgets/post-featured-image.php:92, widgets/post-terms.php:103, widgets/post-title.php:92, widgets/site-counters.php:134, widgets/site-description.php:80, widgets/site-logo.php:87, widgets/site-title.php:80
367
  msgid "Left"
368
  msgstr ""
369
 
370
- #: widgets/post-author.php:106, widgets/post-custom-field.php:130, widgets/post-date.php:109, widgets/post-excerpt.php:191, widgets/post-featured-image.php:96, widgets/post-terms.php:107, widgets/post-title.php:96, widgets/site-counters.php:138, widgets/site-description.php:84, widgets/site-logo.php:91, widgets/site-title.php:84
371
  msgid "Center"
372
  msgstr ""
373
 
374
- #: widgets/post-author.php:110, widgets/post-custom-field.php:134, widgets/post-date.php:113, widgets/post-excerpt.php:199, widgets/post-featured-image.php:100, widgets/post-terms.php:111, widgets/post-title.php:100, widgets/site-counters.php:142, widgets/site-description.php:88, widgets/site-logo.php:95, widgets/site-title.php:88
375
  msgid "Right"
376
  msgstr ""
377
 
378
- #: widgets/post-author.php:114, widgets/post-custom-field.php:138, widgets/post-date.php:117, widgets/post-excerpt.php:207, widgets/post-featured-image.php:104, widgets/post-terms.php:115, widgets/post-title.php:104, widgets/site-counters.php:146, widgets/site-description.php:92, widgets/site-logo.php:99, widgets/site-title.php:92
379
  msgid "Justified"
380
  msgstr ""
381
 
382
- #: widgets/post-author.php:128, widgets/post-custom-field.php:152, widgets/post-date.php:131, widgets/post-excerpt.php:235, widgets/post-featured-image.php:118, widgets/post-featured-image.php:137, widgets/post-terms.php:129, widgets/post-title.php:118, widgets/site-description.php:106, widgets/site-logo.php:113, widgets/site-title.php:106
383
  msgid "Link to"
384
  msgstr ""
385
 
386
- #: widgets/post-author.php:132, widgets/post-custom-field.php:156, widgets/post-date.php:135, widgets/post-excerpt.php:243, widgets/post-featured-image.php:122, widgets/post-terms.php:133, widgets/post-title.php:122, widgets/site-description.php:110, widgets/site-logo.php:117, widgets/site-title.php:110
387
  msgid "None"
388
  msgstr ""
389
 
390
- #: widgets/post-author.php:135, widgets/post-custom-field.php:159, widgets/post-date.php:138, widgets/post-excerpt.php:249, widgets/post-featured-image.php:125, widgets/post-title.php:125
391
- msgid "%s URL"
392
  msgstr ""
393
 
394
- #: widgets/post-author.php:138
395
- msgid "Author URL"
396
  msgstr ""
397
 
398
- #: widgets/post-author.php:139, widgets/post-custom-field.php:163, widgets/post-date.php:141, widgets/post-excerpt.php:255, widgets/post-featured-image.php:129, widgets/post-title.php:128, widgets/site-description.php:112, widgets/site-logo.php:119, widgets/site-title.php:112
399
  msgid "Custom URL"
400
  msgstr ""
401
 
402
- #: widgets/post-author.php:147, widgets/post-custom-field.php:171, widgets/post-date.php:149, widgets/post-excerpt.php:271, widgets/post-title.php:136, widgets/site-description.php:120, widgets/site-logo.php:127, widgets/site-title.php:120
403
  msgid "Link"
404
  msgstr ""
405
 
406
- #: widgets/post-author.php:149, widgets/post-custom-field.php:173, widgets/post-date.php:151, widgets/post-excerpt.php:275, widgets/post-featured-image.php:139, widgets/post-title.php:138, widgets/site-description.php:122, widgets/site-logo.php:129, widgets/site-title.php:122
407
  msgid "http://your-link.com"
408
  msgstr ""
409
 
410
- #: widgets/post-author.php:177, widgets/post-custom-field.php:239, widgets/post-date.php:179, widgets/post-excerpt.php:331, widgets/post-terms.php:156, widgets/post-title.php:166, widgets/site-counters.php:170, widgets/site-counters.php:212, widgets/site-description.php:146, widgets/site-title.php:146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
  msgid "Text Color"
412
  msgstr ""
413
 
414
- #: widgets/post-author.php:202, widgets/post-custom-field.php:342, widgets/post-date.php:204, widgets/post-excerpt.php:381, widgets/post-featured-image.php:256, widgets/post-terms.php:181, widgets/post-title.php:191, widgets/site-counters.php:194, widgets/site-counters.php:236, widgets/site-description.php:171, widgets/site-logo.php:219, widgets/site-title.php:171
 
 
 
 
 
 
 
 
 
 
 
 
415
  msgid "Hover Animation"
416
  msgstr ""
417
 
418
- #: widgets/post-author.php:305
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
419
  msgid "First Name"
420
  msgstr ""
421
 
422
- #: widgets/post-author.php:306
423
  msgid "Last Name"
424
  msgstr ""
425
 
426
- #: widgets/post-author.php:307
427
  msgid "First Name + Last Name"
428
  msgstr ""
429
 
430
- #: widgets/post-author.php:308
431
  msgid "Last Name + First Name"
432
  msgstr ""
433
 
434
- #: widgets/post-author.php:309
435
  msgid "Nick Name"
436
  msgstr ""
437
 
438
- #: widgets/post-author.php:310
439
  msgid "Display Name"
440
  msgstr ""
441
 
442
- #: widgets/post-author.php:311
443
  msgid "User Name"
444
  msgstr ""
445
 
446
- #: widgets/post-author.php:312
447
  msgid "User Bio"
448
  msgstr ""
449
 
450
- #: widgets/post-author.php:313
451
  msgid "User Image"
452
  msgstr ""
453
 
@@ -471,18 +567,6 @@ msgstr ""
471
  msgid "Custom Field"
472
  msgstr ""
473
 
474
- #: widgets/post-custom-field.php:89
475
- msgid "Display As"
476
- msgstr ""
477
-
478
- #: widgets/post-custom-field.php:92
479
- msgid "Text"
480
- msgstr ""
481
-
482
- #: widgets/post-custom-field.php:93
483
- msgid "Image"
484
- msgstr ""
485
-
486
  #: widgets/post-custom-field.php:162
487
  msgid "Other Custom Field"
488
  msgstr ""
@@ -491,38 +575,6 @@ msgstr ""
491
  msgid "Custom Field Link"
492
  msgstr ""
493
 
494
- #: widgets/post-custom-field.php:205, widgets/post-custom-field.php:394, widgets/post-featured-image.php:156, widgets/post-featured-image.php:299
495
- msgid "Premium Feature"
496
- msgstr ""
497
-
498
- #: widgets/post-custom-field.php:208, widgets/post-custom-field.php:397, widgets/post-featured-image.php:159, widgets/post-featured-image.php:302
499
- msgid "This feature is available only for Press Elements Pro."
500
- msgstr ""
501
-
502
- #: widgets/post-custom-field.php:211, widgets/post-custom-field.php:400, widgets/post-featured-image.php:162, widgets/post-featured-image.php:305
503
- msgid "Upgrade Now!"
504
- msgstr ""
505
-
506
- #: widgets/post-custom-field.php:270, widgets/post-featured-image.php:190, widgets/site-logo.php:153
507
- msgid "Size (%)"
508
- msgstr ""
509
-
510
- #: widgets/post-custom-field.php:295, widgets/post-featured-image.php:212, widgets/site-logo.php:175
511
- msgid "Opacity (%)"
512
- msgstr ""
513
-
514
- #: widgets/post-custom-field.php:319, widgets/post-featured-image.php:233, widgets/site-logo.php:196
515
- msgid "Angle (deg)"
516
- msgstr ""
517
-
518
- #: widgets/post-custom-field.php:351, widgets/post-featured-image.php:265, widgets/site-logo.php:228
519
- msgid "Image Border"
520
- msgstr ""
521
-
522
- #: widgets/post-custom-field.php:362, widgets/post-featured-image.php:273, widgets/site-logo.php:236
523
- msgid "Border Radius"
524
- msgstr ""
525
-
526
  #: widgets/post-date.php:37, widgets/post-date.php:59, widgets/post-date.php:169
527
  msgid "%s Date"
528
  msgstr ""
@@ -579,11 +631,11 @@ msgstr ""
579
  msgid "Post Type"
580
  msgstr ""
581
 
582
- #: widgets/site-counters.php:75, widgets/site-counters.php:261, widgets/site-counters.php:308
583
  msgid "Comments"
584
  msgstr ""
585
 
586
- #: widgets/site-counters.php:76, widgets/site-counters.php:255, widgets/site-counters.php:302
587
  msgid "Users"
588
  msgstr ""
589
 
19
  msgid "Press Elements - Widgets for Elementor"
20
  msgstr ""
21
 
22
+ #: press-elements-admin.php:121, press-elements.php:155, press-elements.php:197
23
  msgid "Press Elements"
24
  msgstr ""
25
 
27
  msgid "About"
28
  msgstr ""
29
 
30
+ #: press-elements-admin.php:165, press-elements-admin.php:635
31
  msgid "Getting Started"
32
  msgstr ""
33
 
34
+ #: press-elements-admin.php:167, press-elements-admin.php:789
35
  msgid "Changelog"
36
  msgstr ""
37
 
40
  msgstr ""
41
 
42
  #: press-elements-admin.php:261
43
+ msgid "Easy-to-use widgets that help you display and design your content using Elementor page builder."
44
  msgstr ""
45
 
46
  #: press-elements-admin.php:269
47
+ msgid "Press Elements combines the simplicity of Elementor with the efficiency of the built-in WordPress theme components."
48
  msgstr ""
49
 
50
  #: press-elements-admin.php:281
107
  msgid "Included Widgets"
108
  msgstr ""
109
 
110
+ #: press-elements-admin.php:341, press-elements-admin.php:393
111
  msgid "Site Elements:"
112
  msgstr ""
113
 
156
  msgstr ""
157
 
158
  #: press-elements-admin.php:371
159
+ msgid "Post Custom Field (Pro)"
160
  msgstr ""
161
 
162
  #: press-elements-admin.php:373
163
  msgid "Post Comments"
164
  msgstr ""
165
 
166
+ #: press-elements-admin.php:377, press-elements-admin.php:415
167
+ msgid "Integrations:"
168
  msgstr ""
169
 
170
+ #: press-elements-admin.php:381
171
+ msgid "Advanced Custom Fields (Pro)"
172
  msgstr ""
173
 
174
+ #: press-elements-admin.php:383
175
+ msgid "Gravatar (Pro)"
176
  msgstr ""
177
 
178
+ #: press-elements-admin.php:389
179
+ msgid "Coming Soon"
180
  msgstr ""
181
 
182
  #: press-elements-admin.php:397
183
+ msgid "Login Form"
184
  msgstr ""
185
 
186
  #: press-elements-admin.php:399
187
+ msgid "Search Form"
188
  msgstr ""
189
 
190
  #: press-elements-admin.php:403
191
+ msgid "Comments Elements:"
192
  msgstr ""
193
 
194
  #: press-elements-admin.php:407
195
+ msgid "Comments Form"
196
  msgstr ""
197
 
198
  #: press-elements-admin.php:409
199
+ msgid "Comments List"
200
+ msgstr ""
201
+
202
+ #: press-elements-admin.php:411
203
+ msgid "Comments Pagination"
204
  msgstr ""
205
 
206
+ #: press-elements-admin.php:419
207
+ msgid "Flickr (Pro)"
208
+ msgstr ""
209
+
210
+ #: press-elements-admin.php:421
211
+ msgid "Pinterest (Pro)"
212
+ msgstr ""
213
+
214
+ #: press-elements-admin.php:439, press-elements-admin.php:443
215
  msgid "Post edit screen with WordPress elements."
216
  msgstr ""
217
 
218
+ #: press-elements-admin.php:457, press-elements-admin.php:461
219
  msgid "Elementor widgets for each site and post element."
220
  msgstr ""
221
 
222
+ #: press-elements-admin.php:475, press-elements-admin.php:479
223
  msgid "Styling post title with a dedicated Elementor widget."
224
  msgstr ""
225
 
226
+ #: press-elements-admin.php:493, press-elements-admin.php:497
227
  msgid "Display post custom fields."
228
  msgstr ""
229
 
230
+ #: press-elements-admin.php:511, press-elements-admin.php:515
231
  msgid "Create your own author bio section."
232
  msgstr ""
233
 
234
+ #: press-elements-admin.php:529, press-elements-admin.php:533
235
  msgid "Widgets for your site logo, site name and site description."
236
  msgstr ""
237
 
238
+ #: press-elements-admin.php:547, press-elements-admin.php:551
239
  msgid "Site counters for Post Types, Taxonomies, Comments and Users."
240
  msgstr ""
241
 
242
+ #: press-elements-admin.php:565, press-elements-admin.php:569
243
  msgid "Custom fields as text fields and images, and linking to other custom fields."
244
  msgstr ""
245
 
246
+ #: press-elements-admin.php:583, press-elements-admin.php:587
247
+ msgid "Display Gravatars based on an email address."
248
+ msgstr ""
249
+
250
+ #: press-elements-admin.php:639
251
  msgid "Welcome to Press Elements getting started guide."
252
  msgstr ""
253
 
254
+ #: press-elements-admin.php:647
255
  msgid "Getting started with Press Elements is easy! We put together this quick start guide to help first time users of the plugin. Our goal is to get you up and running in no time. Let's begin!"
256
  msgstr ""
257
 
258
+ #: press-elements-admin.php:659
259
  msgid "STEP 1: Create a new post"
260
  msgstr ""
261
 
262
+ #: press-elements-admin.php:663
263
  msgid "Navigate to \"Posts\" > \"Add New\" to create a new post. Enter a post title, write an excerpt, select a featured image, set an author, select a publish date and publish the post."
264
  msgstr ""
265
 
266
+ #: press-elements-admin.php:683
267
  msgid "STEP 2: Design your own template"
268
  msgstr ""
269
 
270
+ #: press-elements-admin.php:687
271
  msgid "Click the \"Edit with Elementor\" button and start designing the page layout. Design a page header, footer, and the content area."
272
  msgstr ""
273
 
274
+ #: press-elements-admin.php:691
275
  msgid "Use \"Press Elements\" widgets to display the post title, post excerpt, post date and the other fields used by WordPress. Don't forget to style those elements!"
276
  msgstr ""
277
 
278
+ #: press-elements-admin.php:711
279
  msgid "STEP 3: Save the template"
280
  msgstr ""
281
 
282
+ #: press-elements-admin.php:715
283
  msgid "Click on the \"Add Template\" button located at the bottom, and save the design. You will see the newly created template at the \"My Templates\" tab."
284
  msgstr ""
285
 
286
+ #: press-elements-admin.php:719
287
  msgid "You can save several templates for blogs posts, pages, and other post types. Or even several templates for a particular post type."
288
  msgstr ""
289
 
290
+ #: press-elements-admin.php:739
291
  msgid "STEP 4: Apply the design to new posts"
292
  msgstr ""
293
 
294
+ #: press-elements-admin.php:743
295
  msgid "For each new post you create, load the desired template and apply it to the post. The post will enherite the design but the elements will be updated with the current post data."
296
  msgstr ""
297
 
298
+ #: press-elements-admin.php:793
299
  msgid "Press Elements changelog."
300
  msgstr ""
301
 
302
+ #: press-elements-admin.php:801
303
  msgid "The Press Elements plugin is developed continuasly, this is the full changelog."
304
  msgstr ""
305
 
306
+ #: press-elements-admin.php:843
307
  msgid "No valid changelog was found."
308
  msgstr ""
309
 
310
+ #: press-elements-plugin.php:141
311
  msgid "Site Elements"
312
  msgstr ""
313
 
314
+ #: press-elements-plugin.php:157
315
  msgid "Post Elements"
316
  msgstr ""
317
 
318
+ #: press-elements-plugin.php:173
319
+ msgid "Integrations"
320
+ msgstr ""
321
+
322
+ #: press-elements.php:153
323
  msgid "\"%1$s\" requires \"%2$s\" to be installed and activated."
324
  msgstr ""
325
 
326
+ #: press-elements.php:157, press-elements.php:199
327
  msgid "Elementor"
328
  msgstr ""
329
 
330
+ #: press-elements.php:195
331
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
332
  msgstr ""
333
 
334
+ #: widgets/advanced-custom-fields.php:35, widgets/advanced-custom-fields.php:53, widgets/advanced-custom-fields.php:213
335
+ msgid "Advanced Custom Fields"
336
  msgstr ""
337
 
338
+ #: widgets/advanced-custom-fields.php:72
339
+ msgid "Field"
340
+ msgstr ""
341
+
342
+ #: widgets/advanced-custom-fields.php:81, widgets/post-custom-field.php:89
343
+ msgid "Display As"
344
+ msgstr ""
345
+
346
+ #: widgets/advanced-custom-fields.php:84, widgets/post-custom-field.php:92
347
+ msgid "Text"
348
  msgstr ""
349
 
350
+ #: widgets/advanced-custom-fields.php:85, widgets/post-custom-field.php:93
351
+ msgid "Image"
352
+ msgstr ""
353
+
354
+ #: widgets/advanced-custom-fields.php:94, widgets/gravatar.php:66, widgets/post-author.php:80, widgets/post-custom-field.php:102, widgets/post-date.php:81, widgets/post-excerpt.php:135, widgets/post-terms.php:79, widgets/post-title.php:68, widgets/site-counters.php:110, widgets/site-description.php:56, widgets/site-logo.php:63, widgets/site-title.php:56
355
  msgid "HTML Tag"
356
  msgstr ""
357
 
358
+ #: widgets/advanced-custom-fields.php:97, widgets/gravatar.php:69, widgets/post-author.php:83, widgets/post-custom-field.php:105, widgets/post-date.php:84, widgets/post-excerpt.php:141, widgets/post-terms.php:82, widgets/post-title.php:71, widgets/site-counters.php:113, widgets/site-description.php:59, widgets/site-logo.php:66, widgets/site-title.php:59
359
  msgid "H1"
360
  msgstr ""
361
 
362
+ #: widgets/advanced-custom-fields.php:98, widgets/gravatar.php:70, widgets/post-author.php:84, widgets/post-custom-field.php:106, widgets/post-date.php:85, widgets/post-excerpt.php:143, widgets/post-terms.php:83, widgets/post-title.php:72, widgets/site-counters.php:114, widgets/site-description.php:60, widgets/site-logo.php:67, widgets/site-title.php:60
363
  msgid "H2"
364
  msgstr ""
365
 
366
+ #: widgets/advanced-custom-fields.php:99, widgets/gravatar.php:71, widgets/post-author.php:85, widgets/post-custom-field.php:107, widgets/post-date.php:86, widgets/post-excerpt.php:145, widgets/post-terms.php:84, widgets/post-title.php:73, widgets/site-counters.php:115, widgets/site-description.php:61, widgets/site-logo.php:68, widgets/site-title.php:61
367
  msgid "H3"
368
  msgstr ""
369
 
370
+ #: widgets/advanced-custom-fields.php:100, widgets/gravatar.php:72, widgets/post-author.php:86, widgets/post-custom-field.php:108, widgets/post-date.php:87, widgets/post-excerpt.php:147, widgets/post-terms.php:85, widgets/post-title.php:74, widgets/site-counters.php:116, widgets/site-description.php:62, widgets/site-logo.php:69, widgets/site-title.php:62
371
  msgid "H4"
372
  msgstr ""
373
 
374
+ #: widgets/advanced-custom-fields.php:101, widgets/gravatar.php:73, widgets/post-author.php:87, widgets/post-custom-field.php:109, widgets/post-date.php:88, widgets/post-excerpt.php:149, widgets/post-terms.php:86, widgets/post-title.php:75, widgets/site-counters.php:117, widgets/site-description.php:63, widgets/site-logo.php:70, widgets/site-title.php:63
375
  msgid "H5"
376
  msgstr ""
377
 
378
+ #: widgets/advanced-custom-fields.php:102, widgets/gravatar.php:74, widgets/post-author.php:88, widgets/post-custom-field.php:110, widgets/post-date.php:89, widgets/post-excerpt.php:151, widgets/post-terms.php:87, widgets/post-title.php:76, widgets/site-counters.php:118, widgets/site-description.php:64, widgets/site-logo.php:71, widgets/site-title.php:64
379
  msgid "H6"
380
  msgstr ""
381
 
382
+ #: widgets/advanced-custom-fields.php:103, widgets/gravatar.php:75, widgets/post-author.php:89, widgets/post-custom-field.php:111, widgets/post-date.php:90, widgets/post-excerpt.php:153, widgets/post-terms.php:88, widgets/post-title.php:77, widgets/site-counters.php:119, widgets/site-description.php:65, widgets/site-logo.php:72, widgets/site-title.php:65
383
  msgid "p"
384
  msgstr ""
385
 
386
+ #: widgets/advanced-custom-fields.php:104, widgets/gravatar.php:76, widgets/post-author.php:90, widgets/post-custom-field.php:112, widgets/post-date.php:91, widgets/post-excerpt.php:155, widgets/post-terms.php:89, widgets/post-title.php:78, widgets/site-counters.php:120, widgets/site-description.php:66, widgets/site-logo.php:73, widgets/site-title.php:66
387
  msgid "div"
388
  msgstr ""
389
 
390
+ #: widgets/advanced-custom-fields.php:105, widgets/gravatar.php:77, widgets/post-author.php:91, widgets/post-custom-field.php:113, widgets/post-date.php:92, widgets/post-excerpt.php:157, widgets/post-terms.php:90, widgets/post-title.php:79, widgets/site-counters.php:121, widgets/site-description.php:67, widgets/site-logo.php:74, widgets/site-title.php:67
391
  msgid "span"
392
  msgstr ""
393
 
394
+ #: widgets/advanced-custom-fields.php:114, widgets/gravatar.php:86, widgets/post-author.php:100, widgets/post-custom-field.php:122, widgets/post-date.php:101, widgets/post-excerpt.php:175, widgets/post-featured-image.php:88, widgets/post-terms.php:99, widgets/post-title.php:88, widgets/site-counters.php:130, widgets/site-description.php:76, widgets/site-logo.php:83, widgets/site-title.php:76
395
  msgid "Alignment"
396
  msgstr ""
397
 
398
+ #: widgets/advanced-custom-fields.php:118, widgets/gravatar.php:90, widgets/post-author.php:104, widgets/post-custom-field.php:126, widgets/post-date.php:105, widgets/post-excerpt.php:183, widgets/post-featured-image.php:92, widgets/post-terms.php:103, widgets/post-title.php:92, widgets/site-counters.php:134, widgets/site-description.php:80, widgets/site-logo.php:87, widgets/site-title.php:80
399
  msgid "Left"
400
  msgstr ""
401
 
402
+ #: widgets/advanced-custom-fields.php:122, widgets/gravatar.php:94, widgets/post-author.php:108, widgets/post-custom-field.php:130, widgets/post-date.php:109, widgets/post-excerpt.php:191, widgets/post-featured-image.php:96, widgets/post-terms.php:107, widgets/post-title.php:96, widgets/site-counters.php:138, widgets/site-description.php:84, widgets/site-logo.php:91, widgets/site-title.php:84
403
  msgid "Center"
404
  msgstr ""
405
 
406
+ #: widgets/advanced-custom-fields.php:126, widgets/gravatar.php:98, widgets/post-author.php:112, widgets/post-custom-field.php:134, widgets/post-date.php:113, widgets/post-excerpt.php:199, widgets/post-featured-image.php:100, widgets/post-terms.php:111, widgets/post-title.php:100, widgets/site-counters.php:142, widgets/site-description.php:88, widgets/site-logo.php:95, widgets/site-title.php:88
407
  msgid "Right"
408
  msgstr ""
409
 
410
+ #: widgets/advanced-custom-fields.php:130, widgets/gravatar.php:102, widgets/post-author.php:116, widgets/post-custom-field.php:138, widgets/post-date.php:117, widgets/post-excerpt.php:207, widgets/post-featured-image.php:104, widgets/post-terms.php:115, widgets/post-title.php:104, widgets/site-counters.php:146, widgets/site-description.php:92, widgets/site-logo.php:99, widgets/site-title.php:92
411
  msgid "Justified"
412
  msgstr ""
413
 
414
+ #: widgets/advanced-custom-fields.php:144, widgets/gravatar.php:116, widgets/post-author.php:130, widgets/post-custom-field.php:152, widgets/post-date.php:131, widgets/post-excerpt.php:235, widgets/post-featured-image.php:118, widgets/post-featured-image.php:137, widgets/post-terms.php:129, widgets/post-title.php:118, widgets/site-description.php:106, widgets/site-logo.php:113, widgets/site-title.php:106
415
  msgid "Link to"
416
  msgstr ""
417
 
418
+ #: widgets/advanced-custom-fields.php:148, widgets/gravatar.php:120, widgets/post-author.php:134, widgets/post-custom-field.php:156, widgets/post-date.php:135, widgets/post-excerpt.php:243, widgets/post-featured-image.php:122, widgets/post-terms.php:133, widgets/post-title.php:122, widgets/site-description.php:110, widgets/site-logo.php:117, widgets/site-title.php:110
419
  msgid "None"
420
  msgstr ""
421
 
422
+ #: widgets/advanced-custom-fields.php:149, widgets/gravatar.php:121
423
+ msgid "Post URL"
424
  msgstr ""
425
 
426
+ #: widgets/advanced-custom-fields.php:150
427
+ msgid "Other ACF Field"
428
  msgstr ""
429
 
430
+ #: widgets/advanced-custom-fields.php:151, widgets/gravatar.php:122, widgets/post-author.php:141, widgets/post-custom-field.php:163, widgets/post-date.php:141, widgets/post-excerpt.php:255, widgets/post-featured-image.php:129, widgets/post-title.php:128, widgets/site-description.php:112, widgets/site-logo.php:119, widgets/site-title.php:112
431
  msgid "Custom URL"
432
  msgstr ""
433
 
434
+ #: widgets/advanced-custom-fields.php:159, widgets/gravatar.php:130, widgets/post-author.php:149, widgets/post-custom-field.php:171, widgets/post-date.php:149, widgets/post-excerpt.php:271, widgets/post-title.php:136, widgets/site-description.php:120, widgets/site-logo.php:127, widgets/site-title.php:120
435
  msgid "Link"
436
  msgstr ""
437
 
438
+ #: widgets/advanced-custom-fields.php:161, widgets/gravatar.php:132, widgets/post-author.php:151, widgets/post-custom-field.php:173, widgets/post-date.php:151, widgets/post-excerpt.php:275, widgets/post-featured-image.php:139, widgets/post-title.php:138, widgets/site-description.php:122, widgets/site-logo.php:129, widgets/site-title.php:122
439
  msgid "http://your-link.com"
440
  msgstr ""
441
 
442
+ #: widgets/advanced-custom-fields.php:175
443
+ msgid "Link to ACF Field"
444
+ msgstr ""
445
+
446
+ #: widgets/advanced-custom-fields.php:193, widgets/advanced-custom-fields.php:381, widgets/gravatar.php:152, widgets/gravatar.php:291, widgets/post-custom-field.php:205, widgets/post-custom-field.php:397, widgets/post-featured-image.php:156, widgets/post-featured-image.php:299
447
+ msgid "Premium Feature"
448
+ msgstr ""
449
+
450
+ #: widgets/advanced-custom-fields.php:196, widgets/advanced-custom-fields.php:384, widgets/gravatar.php:155, widgets/gravatar.php:294, widgets/post-custom-field.php:208, widgets/post-custom-field.php:400, widgets/post-featured-image.php:159, widgets/post-featured-image.php:302
451
+ msgid "This feature is available only for Press Elements Pro."
452
+ msgstr ""
453
+
454
+ #: widgets/advanced-custom-fields.php:199, widgets/advanced-custom-fields.php:387, widgets/gravatar.php:158, widgets/gravatar.php:297, widgets/post-custom-field.php:211, widgets/post-custom-field.php:403, widgets/post-featured-image.php:162, widgets/post-featured-image.php:305
455
+ msgid "Upgrade Now!"
456
+ msgstr ""
457
+
458
+ #: widgets/advanced-custom-fields.php:223, widgets/post-author.php:179, widgets/post-custom-field.php:239, widgets/post-date.php:179, widgets/post-excerpt.php:331, widgets/post-terms.php:156, widgets/post-title.php:166, widgets/site-counters.php:170, widgets/site-counters.php:212, widgets/site-description.php:146, widgets/site-title.php:146
459
  msgid "Text Color"
460
  msgstr ""
461
 
462
+ #: widgets/advanced-custom-fields.php:254, widgets/gravatar.php:182, widgets/post-author.php:210, widgets/post-custom-field.php:270, widgets/post-featured-image.php:190, widgets/site-logo.php:153
463
+ msgid "Size (%)"
464
+ msgstr ""
465
+
466
+ #: widgets/advanced-custom-fields.php:279, widgets/gravatar.php:204, widgets/post-author.php:235, widgets/post-custom-field.php:295, widgets/post-featured-image.php:212, widgets/site-logo.php:175
467
+ msgid "Opacity (%)"
468
+ msgstr ""
469
+
470
+ #: widgets/advanced-custom-fields.php:303, widgets/gravatar.php:225, widgets/post-author.php:259, widgets/post-custom-field.php:319, widgets/post-featured-image.php:233, widgets/site-logo.php:196
471
+ msgid "Angle (deg)"
472
+ msgstr ""
473
+
474
+ #: widgets/advanced-custom-fields.php:329, widgets/gravatar.php:248, widgets/post-author.php:285, widgets/post-custom-field.php:345, widgets/post-date.php:204, widgets/post-excerpt.php:381, widgets/post-featured-image.php:256, widgets/post-terms.php:181, widgets/post-title.php:191, widgets/site-counters.php:194, widgets/site-counters.php:236, widgets/site-description.php:171, widgets/site-logo.php:219, widgets/site-title.php:171
475
  msgid "Hover Animation"
476
  msgstr ""
477
 
478
+ #: widgets/advanced-custom-fields.php:338, widgets/gravatar.php:257, widgets/post-author.php:294, widgets/post-custom-field.php:354, widgets/post-featured-image.php:265, widgets/site-logo.php:228
479
+ msgid "Image Border"
480
+ msgstr ""
481
+
482
+ #: widgets/advanced-custom-fields.php:349, widgets/gravatar.php:265, widgets/post-author.php:305, widgets/post-custom-field.php:365, widgets/post-featured-image.php:273, widgets/site-logo.php:236
483
+ msgid "Border Radius"
484
+ msgstr ""
485
+
486
+ #: widgets/gravatar.php:32, widgets/gravatar.php:48, widgets/gravatar.php:172
487
+ msgid "Gravatar"
488
+ msgstr ""
489
+
490
+ #: widgets/gravatar.php:57
491
+ msgid "Email"
492
+ msgstr ""
493
+
494
+ #: widgets/gravatar.php:59
495
+ msgid "your@email.com"
496
+ msgstr ""
497
+
498
+ #: widgets/post-author.php:39, widgets/post-author.php:61, widgets/post-author.php:169
499
+ msgid "%s Author"
500
+ msgstr ""
501
+
502
+ #: widgets/post-author.php:70
503
+ msgid "Author"
504
+ msgstr ""
505
+
506
+ #: widgets/post-author.php:137, widgets/post-custom-field.php:159, widgets/post-date.php:138, widgets/post-excerpt.php:249, widgets/post-featured-image.php:125, widgets/post-title.php:125
507
+ msgid "%s URL"
508
+ msgstr ""
509
+
510
+ #: widgets/post-author.php:140
511
+ msgid "Author URL"
512
+ msgstr ""
513
+
514
+ #: widgets/post-author.php:426
515
  msgid "First Name"
516
  msgstr ""
517
 
518
+ #: widgets/post-author.php:427
519
  msgid "Last Name"
520
  msgstr ""
521
 
522
+ #: widgets/post-author.php:428
523
  msgid "First Name + Last Name"
524
  msgstr ""
525
 
526
+ #: widgets/post-author.php:429
527
  msgid "Last Name + First Name"
528
  msgstr ""
529
 
530
+ #: widgets/post-author.php:430
531
  msgid "Nick Name"
532
  msgstr ""
533
 
534
+ #: widgets/post-author.php:431
535
  msgid "Display Name"
536
  msgstr ""
537
 
538
+ #: widgets/post-author.php:432
539
  msgid "User Name"
540
  msgstr ""
541
 
542
+ #: widgets/post-author.php:433
543
  msgid "User Bio"
544
  msgstr ""
545
 
546
+ #: widgets/post-author.php:434
547
  msgid "User Image"
548
  msgstr ""
549
 
567
  msgid "Custom Field"
568
  msgstr ""
569
 
 
 
 
 
 
 
 
 
 
 
 
 
570
  #: widgets/post-custom-field.php:162
571
  msgid "Other Custom Field"
572
  msgstr ""
575
  msgid "Custom Field Link"
576
  msgstr ""
577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
578
  #: widgets/post-date.php:37, widgets/post-date.php:59, widgets/post-date.php:169
579
  msgid "%s Date"
580
  msgstr ""
631
  msgid "Post Type"
632
  msgstr ""
633
 
634
+ #: widgets/site-counters.php:75, widgets/site-counters.php:261, widgets/site-counters.php:309
635
  msgid "Comments"
636
  msgstr ""
637
 
638
+ #: widgets/site-counters.php:76, widgets/site-counters.php:255, widgets/site-counters.php:303
639
  msgid "Users"
640
  msgstr ""
641
 
press-elements-admin.php CHANGED
@@ -128,11 +128,11 @@ class Press_Elements_Admin {
128
 
129
  <h1><?php esc_html_e( 'Press Elements - Widgets for Elementor', 'press-elements' ); ?></h1>
130
 
131
- <p class="about-text"><?php esc_html_e( 'An easy-to-use widgets that help you display and design your content using Elementor page builder.', 'press-elements' );?></p>
132
 
133
  <?php $this->tabs(); ?>
134
 
135
- <p class="about-text"><?php esc_html_e( 'Press Elements allows you to style a single pages using the built-in WordPress post components.', 'press-elements' ); ?></p>
136
 
137
  <div class="feature-section two-col">
138
 
@@ -164,7 +164,7 @@ class Press_Elements_Admin {
164
 
165
  <p class="about-text"><?php esc_html_e( 'You don\'t need to hire developers to generate custom page templates - with Press Elements you can do it using a simple drag & drop interface! Now you can design different templates for different blog posts, pages and other Post Types. When creating new posts, load your predefined templates from your template library.', 'press-elements' ); ?></p>
166
 
167
- <p class="about-text"><?php esc_html_e( 'Developers use theme-functions to generate themes. With Press Elements you can use Elementor widgets to display and design your post elements! How cool is that?!', 'press-elements' ); ?></p>
168
 
169
  <h3><?php esc_html_e( 'Included Widgets', 'press-elements' ); ?></h3>
170
 
@@ -183,15 +183,21 @@ class Press_Elements_Admin {
183
  <li><?php esc_html_e( 'Post Author', 'press-elements' ); ?></li>
184
  <li><?php esc_html_e( 'Post Terms', 'press-elements' ); ?></li>
185
  <li><?php esc_html_e( 'Post Featured Image (Pro)', 'press-elements' ); ?></li>
186
- <li><?php esc_html_e( 'Post Custom Fields (Pro)', 'press-elements' ); ?></li>
187
  <li><?php esc_html_e( 'Post Comments', 'press-elements' ); ?></li>
188
  </ol>
 
 
 
 
 
189
 
190
  <h3><?php esc_html_e( 'Coming Soon', 'press-elements' ); ?></h3>
191
 
192
  <p style="text-decoration: underline;"><?php esc_html_e( 'Site Elements:', 'press-elements' ); ?></p>
193
  <ol>
194
  <li><?php esc_html_e( 'Login Form', 'press-elements' ); ?></li>
 
195
  </ol>
196
  <p style="text-decoration: underline;"><?php esc_html_e( 'Comments Elements:', 'press-elements' ); ?></p>
197
  <ol>
@@ -199,10 +205,10 @@ class Press_Elements_Admin {
199
  <li><?php esc_html_e( 'Comments List', 'press-elements' ); ?></li>
200
  <li><?php esc_html_e( 'Comments Pagination', 'press-elements' ); ?></li>
201
  </ol>
202
- <p style="text-decoration: underline;"><?php esc_html_e( 'WooCommerce Elements:', 'press-elements' ); ?></p>
203
  <ol>
204
- <li><?php esc_html_e( 'Product Price (Pro)', 'press-elements' ); ?></li>
205
- <li><?php esc_html_e( 'Product Gallery (Pro)', 'press-elements' ); ?></li>
206
  </ol>
207
 
208
  </div>
@@ -279,6 +285,15 @@ class Press_Elements_Admin {
279
  <figcaption><?php esc_html_e( 'Custom fields as text fields and images, and linking to other custom fields.', 'press-elements' ); ?></figcaption>
280
  </figure>
281
 
 
 
 
 
 
 
 
 
 
282
  </div>
283
 
284
  </div>
128
 
129
  <h1><?php esc_html_e( 'Press Elements - Widgets for Elementor', 'press-elements' ); ?></h1>
130
 
131
+ <p class="about-text"><?php esc_html_e( 'Easy-to-use widgets that help you display and design your content using Elementor page builder.', 'press-elements' );?></p>
132
 
133
  <?php $this->tabs(); ?>
134
 
135
+ <p class="about-text"><?php esc_html_e( 'Press Elements combines the simplicity of Elementor with the efficiency of the built-in WordPress theme components.', 'press-elements' ); ?></p>
136
 
137
  <div class="feature-section two-col">
138
 
164
 
165
  <p class="about-text"><?php esc_html_e( 'You don\'t need to hire developers to generate custom page templates - with Press Elements you can do it using a simple drag & drop interface! Now you can design different templates for different blog posts, pages and other Post Types. When creating new posts, load your predefined templates from your template library.', 'press-elements' ); ?></p>
166
 
167
+ <p class="about-text"><?php esc_html_e( 'With Press Elements you can use Elementor widgets to display and design your post elements! Just like developers use theme-functions to generate themes. How cool is that?!', 'press-elements' ); ?></p>
168
 
169
  <h3><?php esc_html_e( 'Included Widgets', 'press-elements' ); ?></h3>
170
 
183
  <li><?php esc_html_e( 'Post Author', 'press-elements' ); ?></li>
184
  <li><?php esc_html_e( 'Post Terms', 'press-elements' ); ?></li>
185
  <li><?php esc_html_e( 'Post Featured Image (Pro)', 'press-elements' ); ?></li>
186
+ <li><?php esc_html_e( 'Post Custom Field (Pro)', 'press-elements' ); ?></li>
187
  <li><?php esc_html_e( 'Post Comments', 'press-elements' ); ?></li>
188
  </ol>
189
+ <p style="text-decoration: underline;"><?php esc_html_e( 'Integrations:', 'press-elements' ); ?></p>
190
+ <ol>
191
+ <li><?php esc_html_e( 'Advanced Custom Fields (Pro)', 'press-elements' ); ?></li>
192
+ <li><?php esc_html_e( 'Gravatar (Pro)', 'press-elements' ); ?></li>
193
+ </ol>
194
 
195
  <h3><?php esc_html_e( 'Coming Soon', 'press-elements' ); ?></h3>
196
 
197
  <p style="text-decoration: underline;"><?php esc_html_e( 'Site Elements:', 'press-elements' ); ?></p>
198
  <ol>
199
  <li><?php esc_html_e( 'Login Form', 'press-elements' ); ?></li>
200
+ <li><?php esc_html_e( 'Search Form', 'press-elements' ); ?></li>
201
  </ol>
202
  <p style="text-decoration: underline;"><?php esc_html_e( 'Comments Elements:', 'press-elements' ); ?></p>
203
  <ol>
205
  <li><?php esc_html_e( 'Comments List', 'press-elements' ); ?></li>
206
  <li><?php esc_html_e( 'Comments Pagination', 'press-elements' ); ?></li>
207
  </ol>
208
+ <p style="text-decoration: underline;"><?php esc_html_e( 'Integrations:', 'press-elements' ); ?></p>
209
  <ol>
210
+ <li><?php esc_html_e( 'Flickr (Pro)', 'press-elements' ); ?></li>
211
+ <li><?php esc_html_e( 'Pinterest (Pro)', 'press-elements' ); ?></li>
212
  </ol>
213
 
214
  </div>
285
  <figcaption><?php esc_html_e( 'Custom fields as text fields and images, and linking to other custom fields.', 'press-elements' ); ?></figcaption>
286
  </figure>
287
 
288
+ <br>
289
+
290
+ <figure>
291
+ <a href="<?php echo esc_url( plugins_url( 'screenshot-9.png', __FILE__ ) ); ?>" target="_blank">
292
+ <img src="<?php echo esc_url( plugins_url( 'screenshot-9.png', __FILE__ ) ); ?>" alt="<?php esc_attr_e( 'Display Gravatars based on an email address.', 'press-elements' ); ?>">
293
+ </a>
294
+ <figcaption><?php esc_html_e( 'Display Gravatars based on an email address.', 'press-elements' ); ?></figcaption>
295
+ </figure>
296
+
297
  </div>
298
 
299
  </div>
press-elements-plugin.php CHANGED
@@ -15,6 +15,9 @@ use PressElements\Widgets\Press_Elements_Post_Featured_Image;
15
  use PressElements\Widgets\Press_Elements_Post_Custom_Field;
16
  use PressElements\Widgets\Press_Elements_Post_Comments;
17
 
 
 
 
18
  // Exit if accessed directly
19
  if ( ! defined( 'ABSPATH' ) ) {
20
  exit;
@@ -78,6 +81,14 @@ class Press_Elements_Plugin {
78
  ],
79
  2
80
  );
 
 
 
 
 
 
 
 
81
  }
82
 
83
  /**
@@ -114,6 +125,9 @@ class Press_Elements_Plugin {
114
  require_once __DIR__ . '/widgets/post-featured-image.php';
115
  require_once __DIR__ . '/widgets/post-custom-field.php';
116
  require_once __DIR__ . '/widgets/post-comments.php';
 
 
 
117
  }
118
 
119
  /**
@@ -138,6 +152,9 @@ class Press_Elements_Plugin {
138
  \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Post_Featured_Image() );
139
  \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Post_Custom_Field() );
140
  \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Post_Comments() );
 
 
 
141
  }
142
 
143
  }
15
  use PressElements\Widgets\Press_Elements_Post_Custom_Field;
16
  use PressElements\Widgets\Press_Elements_Post_Comments;
17
 
18
+ use PressElements\Widgets\Press_Elements_Advanced_Custom_Fields;
19
+ use PressElements\Widgets\Press_Elements_Gravatar;
20
+
21
  // Exit if accessed directly
22
  if ( ! defined( 'ABSPATH' ) ) {
23
  exit;
81
  ],
82
  2
83
  );
84
+ \Elementor\Plugin::instance()->elements_manager->add_category(
85
+ 'press-elements-integrations',
86
+ [
87
+ 'title' => __( 'Integrations', 'press-elements' ),
88
+ 'icon' => 'font'
89
+ ],
90
+ 3
91
+ );
92
  }
93
 
94
  /**
125
  require_once __DIR__ . '/widgets/post-featured-image.php';
126
  require_once __DIR__ . '/widgets/post-custom-field.php';
127
  require_once __DIR__ . '/widgets/post-comments.php';
128
+ // Integrations
129
+ require_once __DIR__ . '/widgets/advanced-custom-fields.php';
130
+ require_once __DIR__ . '/widgets/gravatar.php';
131
  }
132
 
133
  /**
152
  \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Post_Featured_Image() );
153
  \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Post_Custom_Field() );
154
  \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Post_Comments() );
155
+ // Integrations
156
+ \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Advanced_Custom_Fields() );
157
+ \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Press_Elements_Gravatar() );
158
  }
159
 
160
  }
press-elements.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /**
3
  * Plugin Name: Press Elements - Widgets for Elementor
4
- * Description: An easy-to-use widgets that help you display and design your content using Elementor page builder.
5
  * Plugin URI: https://wordpress.org/plugins/press-elements/
6
- * Version: 1.3.1
7
  * Author: Rami Yushuvaev
8
  * Author URI: https://wpPlugins.io/
9
  * Text Domain: press-elements
@@ -72,7 +72,6 @@ if ( ! function_exists( 'press_elements_load' ) ) {
72
  * @since 1.1.0
73
  */
74
  function press_elements_admin_notice_missing_main_plugin() {
75
- $class = 'notice notice-warning is-dismissible';
76
  $message = sprintf(
77
  /* translators: 1: Press Elements 2: Elementor */
78
  esc_html__( '"%1$s" requires "%2$s" to be installed and activated.', 'press-elements' ),
@@ -80,7 +79,7 @@ if ( ! function_exists( 'press_elements_load' ) ) {
80
  '<strong>' . esc_html__( 'Elementor', 'press-elements' ) . '</strong>'
81
  );
82
 
83
- printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), $message );
84
  }
85
 
86
 
@@ -94,16 +93,15 @@ if ( ! function_exists( 'press_elements_load' ) ) {
94
  */
95
  function press_elements_admin_notice_main_plugin_required_version() {
96
  $elementor_version_required = '1.3.4';
97
- $class = 'notice notice-warning is-dismissible';
98
  $message = sprintf(
99
- /* translators: 1: Press Elements 2: Elementor 3: Elementor version */
100
  esc_html__( '"%1$s" requires "%2$s" version %3$s or greater.', 'press-elements' ),
101
  '<strong>' . esc_html__( 'Press Elements', 'press-elements' ) . '</strong>',
102
  '<strong>' . esc_html__( 'Elementor', 'press-elements' ) . '</strong>',
103
  $elementor_version_required
104
  );
105
 
106
- printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), $message );
107
  }
108
 
109
 
1
  <?php
2
  /**
3
  * Plugin Name: Press Elements - Widgets for Elementor
4
+ * Description: Easy-to-use widgets that help you display and design your content using Elementor page builder.
5
  * Plugin URI: https://wordpress.org/plugins/press-elements/
6
+ * Version: 1.4.0
7
  * Author: Rami Yushuvaev
8
  * Author URI: https://wpPlugins.io/
9
  * Text Domain: press-elements
72
  * @since 1.1.0
73
  */
74
  function press_elements_admin_notice_missing_main_plugin() {
 
75
  $message = sprintf(
76
  /* translators: 1: Press Elements 2: Elementor */
77
  esc_html__( '"%1$s" requires "%2$s" to be installed and activated.', 'press-elements' ),
79
  '<strong>' . esc_html__( 'Elementor', 'press-elements' ) . '</strong>'
80
  );
81
 
82
+ printf( '<div class="notice notice-warning is-dismissible"><p>%1$s</p></div>', $message );
83
  }
84
 
85
 
93
  */
94
  function press_elements_admin_notice_main_plugin_required_version() {
95
  $elementor_version_required = '1.3.4';
 
96
  $message = sprintf(
97
+ /* translators: 1: Press Elements 2: Elementor 3: Required Elementor version */
98
  esc_html__( '"%1$s" requires "%2$s" version %3$s or greater.', 'press-elements' ),
99
  '<strong>' . esc_html__( 'Press Elements', 'press-elements' ) . '</strong>',
100
  '<strong>' . esc_html__( 'Elementor', 'press-elements' ) . '</strong>',
101
  $elementor_version_required
102
  );
103
 
104
+ printf( '<div class="notice notice-warning is-dismissible"><p>%1$s</p></div>', $message );
105
  }
106
 
107
 
readme.txt CHANGED
@@ -3,17 +3,15 @@ Contributors: ramiy
3
  Tags: elementor, press elements, elements, widgets, page builder
4
  Requires at least: 4.7
5
  Tested up to: 4.7
6
- Stable tag: 1.3.1
7
  License: GPLv3
8
  License URI: https://opensource.org/licenses/GPL-3.0
9
 
10
- An easy-to-use widgets that help you display and design your content using Elementor page builder.
11
 
12
  == Description ==
13
 
14
- **Press Elements** combines the simplicity of Elementor with the efficiency of the built-in WordPress theme components.
15
-
16
- https://www.youtube.com/watch?v=yGzefuK7ngs
17
 
18
  = WordPress Elements =
19
 
@@ -41,44 +39,54 @@ With Press Elements you can create custom designs with post elements and save th
41
 
42
  You don't need to hire developers to generate custom page templates - with Press Elements you can do it using a simple drag & drop interface! Now you can design different templates for different blog posts, pages and other Post Types. When creating new posts, load your predefined templates from your template library.
43
 
44
- Developers use theme-functions to generate themes. With Press Elements you can use Elementor widgets to display and design your post elements! How cool is that?!
 
 
45
 
46
  = Included Widgets =
47
 
 
 
48
  Site Elements:
49
 
50
- * Site Title
51
- * Site Description
52
- * Site Logo
53
- * Site Counters
54
 
55
  Post Elements:
56
 
57
- * Post Title
58
- * Post Excerpt
59
- * Post Date
60
- * Post Author
61
- * Post Terms
62
- * Post Featured Image (Pro)
63
- * Post Custom Fields (Pro)
64
- * Post Comments
 
 
 
 
 
65
 
66
  = Coming Soon =
67
 
68
  Site Elements:
69
 
70
- * Login Form
 
71
 
72
  Comments Elements:
73
 
74
- * Comments Form
75
- * Comments List
76
- * Comments Pagination
77
 
78
- WooCommerce Elements:
79
 
80
- * Product Price (Pro)
81
- * Product Gallery (Pro)
82
 
83
  == Screenshots ==
84
  1. Post edit screen with WordPress elements.
@@ -89,6 +97,7 @@ WooCommerce Elements:
89
  6. Widgets for your site logo, site name and site description.
90
  7. Site counters for Post Types, Taxonomies, Comments and Users.
91
  8. Custom fields as text fields and images, and linking to other custom fields.
 
92
 
93
  == Frequently Asked Questions ==
94
 
@@ -100,7 +109,15 @@ It sure is! Press Elements uses standard theme functions. That plugin will work
100
 
101
  Yes. It works on any post type as long as it supports the relevant post element.
102
 
103
- = Can I optimized the source code for SEO? =
 
 
 
 
 
 
 
 
104
 
105
  Yes you can! Each element has an "HTML Tag" field, which is used as a container tag. This way you can optimize your template design source code the way you want. You are no longer dependent on theme authors for Search Engine Optimization in your source code.
106
 
@@ -110,7 +127,7 @@ Yes you can! Each element has an "HTML Tag" field, which is used as a container
110
 
111
  * WordPress version 4.7 or greater.
112
  * Elementor version 1.3.4 or greater.
113
- * PHP version 5.3 or greater.
114
  * MySQL version 5.0 or greater.
115
 
116
  **Recommended Requirements**
@@ -120,8 +137,40 @@ Yes you can! Each element has an "HTML Tag" field, which is used as a container
120
  * PHP version 7.0 or greater.
121
  * MySQL version 5.6 or greater.
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  == Changelog ==
124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  = 1.3.1 =
126
 
127
  **General**
@@ -212,4 +261,4 @@ Yes you can! Each element has an "HTML Tag" field, which is used as a container
212
  * Post Date
213
  * Post Author
214
  * Post Featured Image (Pro)
215
- * Post Custom Fields (Pro)
3
  Tags: elementor, press elements, elements, widgets, page builder
4
  Requires at least: 4.7
5
  Tested up to: 4.7
6
+ Stable tag: 1.4.0
7
  License: GPLv3
8
  License URI: https://opensource.org/licenses/GPL-3.0
9
 
10
+ Easy-to-use widgets that help you display and design your content using Elementor page builder.
11
 
12
  == Description ==
13
 
14
+ **Press Elements** combines the simplicity of [Elementor](https://wordpress.org/plugins/elementor/) with the efficiency of the built-in WordPress theme components.
 
 
15
 
16
  = WordPress Elements =
17
 
39
 
40
  You don't need to hire developers to generate custom page templates - with Press Elements you can do it using a simple drag & drop interface! Now you can design different templates for different blog posts, pages and other Post Types. When creating new posts, load your predefined templates from your template library.
41
 
42
+ With Press Elements you can use Elementor widgets to display and design your post elements! Just like developers use theme-functions to generate themes. How cool is that?!
43
+
44
+ https://www.youtube.com/watch?v=yGzefuK7ngs
45
 
46
  = Included Widgets =
47
 
48
+ Press Elements comes with 14 useful Elemenotr widgets, 10 of them are free of charge!
49
+
50
  Site Elements:
51
 
52
+ - **Site Title** - The name of the site (set in Settings > General).
53
+ - **Site Description** - The tagline (set in Settings > General).
54
+ - **Site Logo** - Custom site logo (set in the Customizer).
55
+ - **Site Counters** - General site stats for Post Types, Taxonomies, Comments and Users.
56
 
57
  Post Elements:
58
 
59
+ - **Post Title** - The title of the post.
60
+ - **Post Excerpt** - A short description.
61
+ - **Post Date** - Publish date or last modified date.
62
+ - **Post Author** - The post author information.
63
+ - **Post Terms** - The taxonomies assigned to the post.
64
+ - **Post Featured Image (Pro)** - An image assigned to the post.
65
+ - **Post Custom Field (Pro)** - Extra information saved as WordPress meta-data.
66
+ - **Post Comments** - The default Comments Template included in the theme.
67
+
68
+ Integrations:
69
+
70
+ - **Advanced Custom Fields (Pro)** - Fields added by [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/) plugin.
71
+ - **Gravatar (Pro)** - Display single [Gravatars](https://gravatar.com/) based on an email address.
72
 
73
  = Coming Soon =
74
 
75
  Site Elements:
76
 
77
+ - **Login Form**
78
+ - **Search Form**
79
 
80
  Comments Elements:
81
 
82
+ - **Comments Form**
83
+ - **Comments List**
84
+ - **Comments Pagination**
85
 
86
+ Integrations:
87
 
88
+ - **Flickr (Pro)**
89
+ - **Pinterest (Pro)**
90
 
91
  == Screenshots ==
92
  1. Post edit screen with WordPress elements.
97
  6. Widgets for your site logo, site name and site description.
98
  7. Site counters for Post Types, Taxonomies, Comments and Users.
99
  8. Custom fields as text fields and images, and linking to other custom fields.
100
+ 9. Display Gravatars based on an email address.
101
 
102
  == Frequently Asked Questions ==
103
 
109
 
110
  Yes. It works on any post type as long as it supports the relevant post element.
111
 
112
+ = Can I use Press Elements to design archive pages? =
113
+
114
+ Currently the plugin displays post elements on "single" pages. But in the future, it will support "archive" page too.
115
+
116
+ = I am a theme developer, how can it help me? =
117
+
118
+ As a theme developer you probably use theme-functions in your workflow. Press Elements turns those functions to widgets. Replacing code with a visual builder to reduce your development time.
119
+
120
+ = Can I optimize the source code for SEO? =
121
 
122
  Yes you can! Each element has an "HTML Tag" field, which is used as a container tag. This way you can optimize your template design source code the way you want. You are no longer dependent on theme authors for Search Engine Optimization in your source code.
123
 
127
 
128
  * WordPress version 4.7 or greater.
129
  * Elementor version 1.3.4 or greater.
130
+ * PHP version 5.4 or greater.
131
  * MySQL version 5.0 or greater.
132
 
133
  **Recommended Requirements**
137
  * PHP version 7.0 or greater.
138
  * MySQL version 5.6 or greater.
139
 
140
+ = Where can I suggest new features? =
141
+
142
+ You can suggest new features on our [wp.org support forum](https://wordpress.org/support/plugin/press-elements).
143
+
144
+ = Can I customize the author data? =
145
+
146
+ Yes you can. The "Post Author" widgets allows you to display author first name, last name, username, user bio, user image and other user data.
147
+
148
+ = How do I use the custom field widgets? =
149
+
150
+ When using WordPress based custom fields, the data is saved as text based fields. With 3rd party plugins, each plugin saves the data in it's own format (text, array, object). It's impossible to provide solutions for each and every plugin data structure.
151
+
152
+ That's why Press Elements has two widgets to display custom fields. The "Post Custom Field" widget is used to display WordPress based custom fields, and the "Advanced Custom Fields" widget is used to display ACF custom fields.
153
+
154
+ Both widgets can display custom fields as "Text" or as "Images". Each display type reveals it's own advances options in the styling tab. You can also link the fields to URL stored in other custom fields.
155
+
156
+ For more advanced uses, please contact us in our [wp.org support forum](https://wordpress.org/support/plugin/press-elements). The plugin is developed based on user feedback.
157
+
158
  == Changelog ==
159
 
160
+ = 1.4.0 =
161
+
162
+ **General**
163
+
164
+ * Fix "Site Counters" post types display and taxonomy total count.
165
+ * Update "Custom Field" widget with display condition to the image angle controller.
166
+ * Enhance "Post Author" widget "Style" tab. Different design controllers for author images and other author data.
167
+ * Upgrade Minimum Requirements to PHP 5.4 - like Elementor.
168
+
169
+ **New Widgets**
170
+
171
+ * Advanced Custom Fields (Pro)
172
+ * Gravatar (Pro)
173
+
174
  = 1.3.1 =
175
 
176
  **General**
261
  * Post Date
262
  * Post Author
263
  * Post Featured Image (Pro)
264
+ * Post Custom Field (Pro)
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-9.png ADDED
Binary file
widgets/advanced-custom-fields.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace PressElements\Widgets;
4
+
5
+ use Elementor\Widget_Base ;
6
+ use Elementor\Controls_Manager ;
7
+ use Elementor\Scheme_Color ;
8
+ use Elementor\Scheme_Typography ;
9
+ use Elementor\Group_Control_Typography ;
10
+ use Elementor\Group_Control_Border ;
11
+ use Elementor\Group_Control_Box_Shadow ;
12
+ // Exit if accessed directly
13
+ if ( !defined( 'ABSPATH' ) ) {
14
+ die;
15
+ }
16
+ /**
17
+ * Press Elements Advanced Custom Fields
18
+ *
19
+ * Advanced Custom Fields element for elementor.
20
+ *
21
+ * @since 1.4.0
22
+ */
23
+ class Press_Elements_Advanced_Custom_Fields extends Widget_Base
24
+ {
25
+ public function get_name()
26
+ {
27
+ return 'advanced-custom-fields';
28
+ }
29
+
30
+ public function get_title()
31
+ {
32
+ return __( 'Advanced Custom Fields', 'press-elements' );
33
+ }
34
+
35
+ public function get_icon()
36
+ {
37
+ return 'fa fa-plus-square';
38
+ }
39
+
40
+ public function get_categories()
41
+ {
42
+ return array( 'press-elements-integrations' );
43
+ }
44
+
45
+ protected function _register_controls()
46
+ {
47
+ global $post ;
48
+ $this->start_controls_section( 'section_content', array(
49
+ 'label' => __( 'Advanced Custom Fields', 'press-elements' ),
50
+ ) );
51
+ $this->add_control( 'pro_content', array(
52
+ 'type' => Controls_Manager::RAW_HTML,
53
+ 'raw' => '<div class="elementor-panel-nerd-box">
54
+ <i class="elementor-panel-nerd-box-icon fa fa-lock"></i>
55
+ <div class="elementor-panel-nerd-box-title">' . __( 'Premium Feature', 'press-elements' ) . '</div>
56
+ <div class="elementor-panel-nerd-box-message">' . __( 'This feature is available only for Press Elements Pro.', 'press-elements' ) . '</div>
57
+ <a class="elementor-panel-nerd-box-link elementor-button elementor-button-default elementor-go-pro" href="' . press_elements_freemius()->get_upgrade_url() . '" target="_blank">' . __( 'Upgrade Now!', 'press-elements' ) . '</a>
58
+ </div>',
59
+ 'separator' => 'none',
60
+ ) );
61
+ $this->end_controls_section();
62
+ $this->start_controls_section( 'section_style', array(
63
+ 'label' => __( 'Advanced Custom Fields', 'press-elements' ),
64
+ 'tab' => Controls_Manager::TAB_STYLE,
65
+ ) );
66
+ $this->add_control( 'pro_style', array(
67
+ 'type' => Controls_Manager::RAW_HTML,
68
+ 'raw' => '<div class="elementor-panel-nerd-box">
69
+ <i class="elementor-panel-nerd-box-icon fa fa-lock"></i>
70
+ <div class="elementor-panel-nerd-box-title">' . __( 'Premium Feature', 'press-elements' ) . '</div>
71
+ <div class="elementor-panel-nerd-box-message">' . __( 'This feature is available only for Press Elements Pro.', 'press-elements' ) . '</div>
72
+ <a class="elementor-panel-nerd-box-link elementor-button elementor-button-default elementor-go-pro" href="' . press_elements_freemius()->get_upgrade_url() . '" target="_blank">' . __( 'Upgrade Now!', 'press-elements' ) . '</a>
73
+ </div>',
74
+ 'separator' => 'none',
75
+ ) );
76
+ $this->end_controls_section();
77
+ }
78
+
79
+ protected function render()
80
+ {
81
+ }
82
+
83
+ protected function _content_template()
84
+ {
85
+ }
86
+
87
+ }
widgets/gravatar.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace PressElements\Widgets;
4
+
5
+ use Elementor\Widget_Base ;
6
+ use Elementor\Controls_Manager ;
7
+ use Elementor\Group_Control_Border ;
8
+ use Elementor\Group_Control_Box_Shadow ;
9
+ // Exit if accessed directly
10
+ if ( !defined( 'ABSPATH' ) ) {
11
+ die;
12
+ }
13
+ /**
14
+ * Press Elements Gravatar
15
+ *
16
+ * Gravatar element for elementor.
17
+ *
18
+ * @since 1.4.0
19
+ */
20
+ class Press_Elements_Gravatar extends Widget_Base
21
+ {
22
+ public function get_name()
23
+ {
24
+ return 'gravatar';
25
+ }
26
+
27
+ public function get_title()
28
+ {
29
+ return __( 'Gravatar', 'press-elements' );
30
+ }
31
+
32
+ public function get_icon()
33
+ {
34
+ return 'eicon-person';
35
+ }
36
+
37
+ public function get_categories()
38
+ {
39
+ return array( 'press-elements-integrations' );
40
+ }
41
+
42
+ protected function _register_controls()
43
+ {
44
+ $this->start_controls_section( 'section_content', array(
45
+ 'label' => __( 'Gravatar', 'press-elements' ),
46
+ ) );
47
+ $this->add_control( 'pro_content', array(
48
+ 'type' => Controls_Manager::RAW_HTML,
49
+ 'raw' => '<div class="elementor-panel-nerd-box">
50
+ <i class="elementor-panel-nerd-box-icon fa fa-lock"></i>
51
+ <div class="elementor-panel-nerd-box-title">' . __( 'Premium Feature', 'press-elements' ) . '</div>
52
+ <div class="elementor-panel-nerd-box-message">' . __( 'This feature is available only for Press Elements Pro.', 'press-elements' ) . '</div>
53
+ <a class="elementor-panel-nerd-box-link elementor-button elementor-button-default elementor-go-pro" href="' . press_elements_freemius()->get_upgrade_url() . '" target="_blank">' . __( 'Upgrade Now!', 'press-elements' ) . '</a>
54
+ </div>',
55
+ 'separator' => 'none',
56
+ ) );
57
+ $this->end_controls_section();
58
+ $this->start_controls_section( 'section_style', array(
59
+ 'label' => __( 'Gravatar', 'press-elements' ),
60
+ 'tab' => Controls_Manager::TAB_STYLE,
61
+ ) );
62
+ $this->add_control( 'pro_style', array(
63
+ 'type' => Controls_Manager::RAW_HTML,
64
+ 'raw' => '<div class="elementor-panel-nerd-box">
65
+ <i class="elementor-panel-nerd-box-icon fa fa-lock"></i>
66
+ <div class="elementor-panel-nerd-box-title">' . __( 'Premium Feature', 'press-elements' ) . '</div>
67
+ <div class="elementor-panel-nerd-box-message">' . __( 'This feature is available only for Press Elements Pro.', 'press-elements' ) . '</div>
68
+ <a class="elementor-panel-nerd-box-link elementor-button elementor-button-default elementor-go-pro" href="' . press_elements_freemius()->get_upgrade_url() . '" target="_blank">' . __( 'Upgrade Now!', 'press-elements' ) . '</a>
69
+ </div>',
70
+ 'separator' => 'none',
71
+ ) );
72
+ $this->end_controls_section();
73
+ }
74
+
75
+ protected function render()
76
+ {
77
+ }
78
+
79
+ protected function _content_template()
80
+ {
81
+ }
82
+
83
+ }
widgets/post-author.php CHANGED
@@ -6,6 +6,8 @@ use Elementor\Controls_Manager;
6
  use Elementor\Scheme_Color;
7
  use Elementor\Scheme_Typography;
8
  use Elementor\Group_Control_Typography;
 
 
9
 
10
 
11
 
@@ -184,6 +186,9 @@ class Press_Elements_Post_Author extends Widget_Base {
184
  '{{WRAPPER}} .press-elements-author' => 'color: {{VALUE}};',
185
  '{{WRAPPER}} .press-elements-author a' => 'color: {{VALUE}};',
186
  ],
 
 
 
187
  ]
188
  );
189
 
@@ -193,6 +198,84 @@ class Press_Elements_Post_Author extends Widget_Base {
193
  'name' => 'typography',
194
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
195
  'selector' => '{{WRAPPER}} .press-elements-author',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  ]
197
  );
198
 
@@ -204,6 +287,44 @@ class Press_Elements_Post_Author extends Widget_Base {
204
  ]
205
  );
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  $this->end_controls_section();
208
 
209
  }
6
  use Elementor\Scheme_Color;
7
  use Elementor\Scheme_Typography;
8
  use Elementor\Group_Control_Typography;
9
+ use Elementor\Group_Control_Border;
10
+ use Elementor\Group_Control_Box_Shadow;
11
 
12
 
13
 
186
  '{{WRAPPER}} .press-elements-author' => 'color: {{VALUE}};',
187
  '{{WRAPPER}} .press-elements-author a' => 'color: {{VALUE}};',
188
  ],
189
+ 'condition' => [
190
+ 'author!' => 'image',
191
+ ],
192
  ]
193
  );
194
 
198
  'name' => 'typography',
199
  'scheme' => Scheme_Typography::TYPOGRAPHY_1,
200
  'selector' => '{{WRAPPER}} .press-elements-author',
201
+ 'condition' => [
202
+ 'author!' => 'image',
203
+ ],
204
+ ]
205
+ );
206
+
207
+ $this->add_responsive_control(
208
+ 'space',
209
+ [
210
+ 'label' => __( 'Size (%)', 'press-elements' ),
211
+ 'type' => Controls_Manager::SLIDER,
212
+ 'default' => [
213
+ 'size' => 100,
214
+ 'unit' => '%',
215
+ ],
216
+ 'size_units' => [ '%' ],
217
+ 'range' => [
218
+ '%' => [
219
+ 'min' => 1,
220
+ 'max' => 100,
221
+ ],
222
+ ],
223
+ 'selectors' => [
224
+ '{{WRAPPER}} .press-elements-author img' => 'max-width: {{SIZE}}{{UNIT}};',
225
+ ],
226
+ 'condition' => [
227
+ 'author' => 'image',
228
+ ],
229
+ ]
230
+ );
231
+
232
+ $this->add_responsive_control(
233
+ 'opacity',
234
+ [
235
+ 'label' => __( 'Opacity (%)', 'press-elements' ),
236
+ 'type' => Controls_Manager::SLIDER,
237
+ 'default' => [
238
+ 'size' => 1,
239
+ ],
240
+ 'range' => [
241
+ 'px' => [
242
+ 'max' => 1,
243
+ 'min' => 0.10,
244
+ 'step' => 0.01,
245
+ ],
246
+ ],
247
+ 'selectors' => [
248
+ '{{WRAPPER}} .press-elements-author img' => 'opacity: {{SIZE}};',
249
+ ],
250
+ 'condition' => [
251
+ 'author' => 'image',
252
+ ],
253
+ ]
254
+ );
255
+
256
+ $this->add_control(
257
+ 'angle',
258
+ [
259
+ 'label' => __( 'Angle (deg)', 'press-elements' ),
260
+ 'type' => Controls_Manager::SLIDER,
261
+ 'size_units' => [ 'deg' ],
262
+ 'default' => [
263
+ 'unit' => 'deg',
264
+ 'size' => 0,
265
+ ],
266
+ 'range' => [
267
+ 'deg' => [
268
+ 'max' => 360,
269
+ 'min' => -360,
270
+ 'step' => 1,
271
+ ],
272
+ ],
273
+ 'selectors' => [
274
+ '{{WRAPPER}} .press-elements-author img' => '-webkit-transform: rotate({{SIZE}}deg); -moz-transform: rotate({{SIZE}}deg); -ms-transform: rotate({{SIZE}}deg); -o-transform: rotate({{SIZE}}deg); transform: rotate({{SIZE}}deg);',
275
+ ],
276
+ 'condition' => [
277
+ 'author' => 'image',
278
+ ],
279
  ]
280
  );
281
 
287
  ]
288
  );
289
 
290
+ $this->add_group_control(
291
+ Group_Control_Border::get_type(),
292
+ [
293
+ 'name' => 'image_border',
294
+ 'label' => __( 'Image Border', 'press-elements' ),
295
+ 'selector' => '{{WRAPPER}} .press-elements-author img',
296
+ 'condition' => [
297
+ 'author' => 'image',
298
+ ],
299
+ ]
300
+ );
301
+
302
+ $this->add_control(
303
+ 'image_border_radius',
304
+ [
305
+ 'label' => __( 'Border Radius', 'press-elements' ),
306
+ 'type' => Controls_Manager::DIMENSIONS,
307
+ 'size_units' => [ 'px', '%' ],
308
+ 'selectors' => [
309
+ '{{WRAPPER}} .press-elements-author img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
310
+ ],
311
+ 'condition' => [
312
+ 'author' => 'image',
313
+ ],
314
+ ]
315
+ );
316
+
317
+ $this->add_group_control(
318
+ Group_Control_Box_Shadow::get_type(),
319
+ [
320
+ 'name' => 'image_box_shadow',
321
+ 'selector' => '{{WRAPPER}} .press-elements-author img',
322
+ 'condition' => [
323
+ 'author' => 'image',
324
+ ],
325
+ ]
326
+ );
327
+
328
  $this->end_controls_section();
329
 
330
  }
widgets/post-terms.php CHANGED
@@ -234,11 +234,13 @@ class Press_Elements_Post_Terms extends Widget_Base {
234
  foreach ( $taxonomies as $taxonomy ) {
235
  printf( 'all_terms["%1$s"] = [];', $taxonomy );
236
  $terms = get_the_terms( $post->ID, $taxonomy );
237
- $i = 0;
238
- foreach ( $terms as $term ) {
239
- printf( 'all_terms["%1$s"][%2$s] = [];', $taxonomy, $i );
240
- printf( 'all_terms["%1$s"][%2$s] = { slug: "%3$s", name: "%4$s", url: "%5$s" };', $taxonomy, $i, $term->slug, $term->name, esc_url( get_term_link( $term ) ) );
241
- $i++;
 
 
242
  }
243
  }
244
  ?>
234
  foreach ( $taxonomies as $taxonomy ) {
235
  printf( 'all_terms["%1$s"] = [];', $taxonomy );
236
  $terms = get_the_terms( $post->ID, $taxonomy );
237
+ if ( $terms ) {
238
+ $i = 0;
239
+ foreach ( $terms as $term ) {
240
+ printf( 'all_terms["%1$s"][%2$s] = [];', $taxonomy, $i );
241
+ printf( 'all_terms["%1$s"][%2$s] = { slug: "%3$s", name: "%4$s", url: "%5$s" };', $taxonomy, $i, $term->slug, $term->name, esc_url( get_term_link( $term ) ) );
242
+ $i++;
243
+ }
244
  }
245
  }
246
  ?>
widgets/site-counters.php CHANGED
@@ -44,7 +44,7 @@ class Press_Elements_Site_Counters extends Widget_Base {
44
  protected function _register_controls() {
45
 
46
  $post_types = array();
47
- $all_post_types = get_post_types( $args = array( 'public' => true, '_builtin' => true ), 'objects' );
48
  foreach ( $all_post_types as $post_type ) {
49
  $post_types[ $post_type->name ] = $post_type->labels->name;
50
  }
@@ -290,6 +290,7 @@ class Press_Elements_Site_Counters extends Widget_Base {
290
  }
291
 
292
  protected function _content_template() {
 
293
  ?>
294
  <#
295
  var total = 0;
@@ -309,14 +310,16 @@ class Press_Elements_Site_Counters extends Widget_Base {
309
  break;
310
 
311
  case 'taxonomy':
 
312
  var taxonomy_labels = [];
313
  <?php
314
  $taxonomies = get_taxonomies( array( 'public' => true ), 'objects' );
315
  foreach ( $taxonomies as $taxonomy ) {
 
316
  printf( 'taxonomy_labels[ "%1$s" ] = \'%2$s\';', $taxonomy->name, $taxonomy->labels->name );
317
  }
318
  ?>
319
- total = 0;
320
  label = taxonomy_labels[ settings.taxonomy ];
321
  break;
322
 
@@ -325,7 +328,7 @@ class Press_Elements_Site_Counters extends Widget_Base {
325
  var post_type_count = [];
326
  var post_type_labels = [];
327
  <?php
328
- $post_types = get_post_types( $args = array( 'public' => true, '_builtin' => true ), 'objects' );
329
  foreach ( $post_types as $post_type ) {
330
  $query = new \WP_Query( array( 'post_type' => $post_type ) );
331
  printf( 'post_type_count[ "%1$s" ] = \'%2$s\';', $post_type->name, $query->found_posts );
@@ -355,5 +358,6 @@ class Press_Elements_Site_Counters extends Widget_Base {
355
  print( html );
356
  #>
357
  <?php
 
358
  }
359
  }
44
  protected function _register_controls() {
45
 
46
  $post_types = array();
47
+ $all_post_types = get_post_types( $args = array( 'public' => true ), 'objects' );
48
  foreach ( $all_post_types as $post_type ) {
49
  $post_types[ $post_type->name ] = $post_type->labels->name;
50
  }
290
  }
291
 
292
  protected function _content_template() {
293
+ /*
294
  ?>
295
  <#
296
  var total = 0;
310
  break;
311
 
312
  case 'taxonomy':
313
+ var taxonomy_total = [];
314
  var taxonomy_labels = [];
315
  <?php
316
  $taxonomies = get_taxonomies( array( 'public' => true ), 'objects' );
317
  foreach ( $taxonomies as $taxonomy ) {
318
+ printf( 'taxonomy_total[ "%1$s" ] = \'%2$s\';', $taxonomy->name, wp_count_terms( $taxonomy->name ) );
319
  printf( 'taxonomy_labels[ "%1$s" ] = \'%2$s\';', $taxonomy->name, $taxonomy->labels->name );
320
  }
321
  ?>
322
+ total = taxonomy_total[ settings.taxonomy ];
323
  label = taxonomy_labels[ settings.taxonomy ];
324
  break;
325
 
328
  var post_type_count = [];
329
  var post_type_labels = [];
330
  <?php
331
+ $post_types = get_post_types( $args = array( 'public' => true ), 'objects' );
332
  foreach ( $post_types as $post_type ) {
333
  $query = new \WP_Query( array( 'post_type' => $post_type ) );
334
  printf( 'post_type_count[ "%1$s" ] = \'%2$s\';', $post_type->name, $query->found_posts );
358
  print( html );
359
  #>
360
  <?php
361
+ */
362
  }
363
  }