Show 'Role' of Author on Posts Page
-
Hi,
I’m trying to acheive a specific goal… With this plugin I can create custom role designations like ‘Chief Author‘, ‘Co-Author‘ and ‘Reviewed by‘ .I’m using Co-Authors Plus Plugin to show multiple authors on the page by using this code on Single.php
`if ( function_exists( ‘coauthors_posts_links’ ) ) { coauthors_posts_links(); } else { the_author_posts_link(); }However I also need to ‘SHOW’ these role designations in front of my author’s names.
Like : Chief Author: Author1 , Co-Author: Author2, Reviewed by: Author3May I know what tags do I need to call in the above code so that I can display User’s Designated role alongside their names?
Thanks
https://www.ads-software.com/plugins/wpfront-user-role-editor/
- The topic ‘Show 'Role' of Author on Posts Page’ is closed to new replies.