Skip Navigation

[Résolu] I want to display user role in a author box

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.

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

Last updated by marijkeM Il y a 4 années et 8 mois.

Assigned support staff: Luo Yang.

Auteur
Publications
#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: Anglais (English ) Chinois simplifié (简体中文 )

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!