Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to List All Authors From Your Blog in WordPress

Last updated on by
Follow WPBeginner on YouTube
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.


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • takaitra

    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.

  • http://www.beepthegeek.com Gagan

    Thanks alot..

  • http://www.beepthegeek.com Gagan

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

    • http://www.wpbeginner.com Editorial Staff

      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.

  • http://fondalashay.com/ Fonda

    Hello!

    How can you add gravatar and descriptions?

    Thanks!!!

    • http://www.wpbeginner.com Editorial Staff

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

      • http://twitter.com/jamesduffell James Duffell

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

      • http://twitter.com/kidrow Anton Trollbäck

        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