How to List All Authors From Your Blog in WordPress

Posted on August 26th, 2009 by in Tutorials | 10 Comments  
How to List All Authors From Your Blog in WordPress

In Multi-Author blogs, it is great to list all authors, so the reader knows who is behind the site. We have written a guide with 21 Great Plugins to Manage a Multi-Author WordPress Blog Efficiently. In this tutorial we show you a manual code that you can use to list all authors from your blog.

You need to place the following code where you want to display this list:

<ul>
<?php wp_list_authors('exclude_admin=0&optioncount=1&show_fullname=1&hide_empty=1'); ?>
</ul>

That will display the list. Now here are some parameters so you can adjust and tweak the code to your needs.

  • exclude_admin: 0 (include the admin’s name in the authors list) / 1 (exclude the admin’s name from the list)
  • optioncount : 0 (No post count against the author’s name) / 1 (display post count against the author’s name)
  • show_fullname : 0 (display first name only) / 1 (display full name of the author)
  • hide_empty : 0 (display authors with no posts) / 1 (display authors who have one or more posts)

The plugin called List Authors Widget does this for you, but if you want to do it manually above is the way you can do it.

About

Editorial Staff at WPBeginner mainly Syed and David.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest
takaitra 5 pts

Another good list authors widget, with more features: http://wordpress.org/extend/plugins/list-authors/

I'll look into adding an option to show avatars.

I've have a question, how to show top 10 contributors ?

With this plugin, don't know if there is a way that exist, but there are other ways that exist. We will do a write up on that.

Hello!

How can you add gravatar and descriptions?

Thanks!!!

What do you mean by descriptions? To add gravatar, you would simply have to add the code for author email in the gravatar code.

The description is referred to as "Biographical Info" within the users profile

Hi! Thanks for this great little plugin. But I would also like it to show gravatars. I don't really understand "add the code for author email in the gravatar code."
Do you mind explaining? :)

Thanks,
Anton

Yes, please view our already written article on (how to display author list with avatars)

Tweets about us: