Skip Navigation

[Resolved] How can I show author avatar of post

This thread is resolved. Here is a description of the problem and solution.

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 6 years, 10 months ago. 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.

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 replies, has 2 voices.

Last updated by ErdemD1542 6 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#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