user avatar in map field

WordPress Released
July 22, 2020 07:29:28
neil123
Topics: 3
Messages: 9
Hi i am trying to insert into my template a field that will show as the user avatar when i download my PDF.
unfortunately i cannot find somthing like that.
Please Help.

Neil
July 22, 2020 09:05:46
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Is your WordPress installation use default functionality for profile pictures (gravatar)?

We remain at your service.

We would really appreciate your feedback at WordPress.org!
July 22, 2020 09:34:02
neil123
Topics: 3
Messages: 9
Hi,
I am using "WP User Avatar" Plugin to upload my avatar image
July 22, 2020 11:12:32
E2Pdf
Topics: 7
Messages: 3617
Support
We just released an update to RC Candidate Build (1.11.04.6) with supported feature to output user avatars.

It will be included on next release. You can also apply update now by turning on updates from "e2pdf.com". Option can be enabled at "E2Pdf" -> "Settings" -> "Release Candidate Builds" (screenshot attached).

After enabling this option you must be able check for updates at "Dashboard" -> "Updates" and update plugin as usual. Plugin must be updated to 1.11.04.6 version. It's recommended to turn off this option after update.

After plugin update you must use one of the following shortcodes to output user image:

[e2pdf-user key="user_avatar"]

* Shortcode must show any user avatar that is set to user (Gravatar or WP User Avatar user image)

OR

[e2pdf-user key="wp_user_avatar" attachment_image_url="true"]

* Shortcode will output only WP User Avatar if set and will work only if this plugin installed.

Let us know please if you will face any issues after update. Thank you.

We would really appreciate your feedback at WordPress.org!
July 22, 2020 12:03:26
neil123
Topics: 3
Messages: 9
Thanks so much! works great!
July 22, 2020 12:07:24
neil123
Topics: 3
Messages: 9
one more issue.
Whaat is the meta key to display the user nick name (or first name) on the pdf?
July 22, 2020 12:29:57
E2Pdf
Topics: 7
Messages: 3617
Support
This are the keys that can be used to output user "names" data:

[e2pdf-user key="user_login"]
[e2pdf-user key="user_nicename"]
[e2pdf-user key="display_name"]
[e2pdf-user key="first_name"]
[e2pdf-user key="last_name"]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
July 23, 2020 11:23:00
neil123
Topics: 3
Messages: 9
Hi again,
the avatar indeed shows but the user that is online,
how can i show the post author avatar?

thank you
Neil
July 23, 2020 14:42:49
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Please follow the update process with prevous post and update plugin to 1.11.04.7 version. After update you must be able to use such one of shortcodes below:

[post_author subkey="user_avatar"]

or

[post_author subkey="wp_user_avatar" attachment_image_url="true"]

P.S. It was included in previous update however we found issues with using it under 1.11.04.6 version so update is required to 1.11.04.7 to fix it. Sorry for inconvenience.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
August 04, 2020 14:51:49
neil123
Topics: 3
Messages: 9
Hi again,
what is the shortkey to display the author "displayname"?

thank you
August 05, 2020 05:19:49
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

It must work such shortcode:

[post_author subkey="display_name"]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.