Skip Navigation

[Resolved] I want to display user role in a author box

This support ticket is created 7 years, 2 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by marijkeM 7 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#471535

I am trying to: display the role of the author of a post

I tried to insert it automatically, but I cannot find role. I did find userlevel: [wpv-post-author format='meta' meta='user_level'], I would expect the same for user role, but that is not the case. Can you help?

#471714

Dear marijke,

There is not such a feature within shortcode [wpv-post-author ], see document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author

Currently, I suggest you try the solution in another thread:
https://toolset.com/forums/topic/wpv-user-role/#post-227833

#472282

Thank you Luo, the solution works perfect!

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