Get role and/or capabilities of author
-
I’d like to add some code to my author.php page that will display additional markup depending on the author’s role. I’m using the User Role Editor plugin to add additional roles for site contributors. Basically, they are both contributor level, but I want to categorize the contributors.
How can I determine the role/capability of the author of a post, and show the appropriate markup? Thanks for any help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get role and/or capabilities of author’ is closed to new replies.