WordPress.org

Ready to get started?Download WordPress

Forums

How to display comment author's role (1 post)

  1. ShadowArts
    Member
    Posted 5 years ago #

    How to display the role of author of the comment posted? Just like this forum, If we are logged in we are displayed as Member.

    I want to display the role of people who commented but did not login as Guest

    The rest who commented who are logged in, display accordingly to their registered role:
    Administrator
    Editor
    Author
    Contributor
    Subscriber

    I read custom callback for the wp_list_comments function as described in the codex article, to include the relevant code + html. http://codex.wordpress.org/Template_Tags/wp_list_comments

    But don't really understand..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.