Skip Navigation

[Gelöst] 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.

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by marijkeM vor 4 Jahre, 9 Monate.

Assigned support staff: Luo Yang.

Author
Artikel
#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: Englisch (English ) Vereinfachtes Chinesisch (简体中文 )

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!