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
Elegant Themes
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 »

Comments

  1. takaitra says:

    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.

  2. Gagan says:

    Thanks alot..

  3. Gagan says:

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

    • Editorial Staff says:

      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.

  4. Fonda says:

    Hello!

    How can you add gravatar and descriptions?

    Thanks!!!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.