Skip Navigation

[Résolu] How can I show author avatar of post

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: I would like to show the post Author's avatar, i.e. their profile picture.

Solution: You can use the wpv-post-author shortcode to display the author's profile picture:

[wpv-post-author format="profile_picture"]

Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author

This support ticket is created Il y a 6 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 réponses, has 2 voix.

Last updated by ErdemD1542 Il y a 6 années et 1 mois.

Assisted by: Christian Cox.

Auteur
Publications
#619442

Tell us what you are trying to do?
I'm trying to show author avatar at the top of the post.
Is there any documentation that you are following?
I searched at views and layouts forums but couldn't found. View shortcodes just show current user.
Is there a similar example that we can see?
[wpv-user field="profile_picture"]
I tried this but it shows current user.

#619541

Hi, you can use the wpv-post-author shortcode to display the author's profile picture:

[wpv-post-author format="profile_picture"]

Here's the documentation showing various options for this shortcode:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author

#619582

Thanks Christian

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.