Webmaster Sucks Here I share stuff I used to suck at as a novice webmaster..

10Jun/09Off

How to Listing Blog Authors on WordPress

When you are running a multi-user blog you have want to list authors. Than here is the code to do it.

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

Parametres :

exclude_admin:
0 : Include the admin?s name in the authors
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