X

How to List All Authors Using wp_list_authors in WordPress

Snippets by IsItWP

Are you looking for a way to display a list of all authors on your WordPress blog? While there’s probably a plugin for this, we have created a quick code snippet that you can use to list all authors using wp_list_authors in WordPress.

Instructions:

All you have to do is add this code to your theme’s index.php file:

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

Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly add code snippets in WordPress, so you don’t accidentally break your site.

If you liked this code snippet, please consider checking out our other articles on the site like: 9 best WordPress help desk plugins and how to fix error establishing a database connection in WordPress.

Comments   Leave a Reply

  1. Tweets that mention Wordpress List all authors wp_list_authors – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com February 5, 2011 at 4:48 pm

    […] This post was mentioned on Twitter by Y Combinator Newest!, HN Firehose and newsery3, WPSNIPP. WPSNIPP said: #wordpress List all authors wp_list_authors http://bit.ly/f1Zo1n #blog please RT 🙂 […]

Add a Comment Cancel reply

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

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!