Skip Navigation

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

This support ticket is created 6 years, 1 month 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.

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

Assigned support staff: 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

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

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!