In Multi-Writer blogs, it's nice to listing all authors, so the reader is aware of who's behind the positioning. We've written a information with 21 Great Plugins to Manage a Multi-Author WordPress Blog Efficiently. On this tutorial we present you a guide code that you should use to listing all authors out of your weblog.
It is advisable to place the next code the place you wish to show this listing:
<ul>
<?php wp_list_authors('exclude_admin=zero&optioncount=1&show_fullname=1&hide_empty=1'); ?>
</ul>
That can show the listing. Now listed here are some parameters so you'll be able to modify and tweak the code to your wants.
- exclude_admin: zero (embrace the admin’s identify within the authors listing) / 1 (exclude the admin’s identify from the listing)
- optioncount : zero (No put up rely in opposition to the writer’s identify) / 1 (show put up rely in opposition to the writer’s identify)
- show_fullname : zero (show first identify solely) / 1 (show full identify of the writer)
- hide_empty : zero (show authors with no posts) / 1 (show authors who've a number of posts)
The plugin known as List Authors Widget does this for you, however if you wish to do it manually above is the best way you are able to do it.