How to display a list of WordPress authors with avatars and usernames

Heres a little tip on how to display a list of WordPress authors with avatars and username.

Instructions
Add this code anywhere in your 'templates' file.

Comments

One Reply to “How to display a list of WordPress authors with avatars and usernames”

  1. I’m a little new to WP. How would I go about showing multiple roles? Like the admin and authors? It doesn’t show anything when I try the following:

    $role = ‘author, inbound_marketer, admin’;

    Also, how do I get it to show other user info? Like number of posts? member since date, or their social links?

Leave a Reply

Your email address will not be published. Required fields are marked *

Snippet Info

Tested with Wordpress v. 4.7.3

How to display a list of WordPress authors with avatars and usernames
4.9 (97.5%) 16 votes
Please report broken snippets.
Report Broken Snippet
SE Ranking