{"id":30095,"date":"2010-04-08T14:20:41","date_gmt":"2010-04-08T18:20:41","guid":{"rendered":"http:\/\/wpmu.org\/?p=30095"},"modified":"2012-10-02T23:04:27","modified_gmt":"2012-10-03T03:04:27","slug":"daily-tip-how-to-list-all-blog-authors-on-a-wordpress-multisite-site","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-how-to-list-all-blog-authors-on-a-wordpress-multisite-site\/","title":{"rendered":"How to List All Blog Authors on a WordPress Multisite Site"},"content":{"rendered":"<p>We&#8217;re often asked how to display a list of blog authors for WordPress Multisite. This piece of code does exactly that.<\/p>\n<p>Drop it into one of your theme&#8217;s template files wherever you want it to display:<\/p>\n<p><code>&lt;?php wp_list_authors('exclude_admin=0&amp;optioncount=1&amp;show_fullname=1&amp;hide_empty=1'); ?&gt;<\/code><\/p>\n<p>Then you can edit the parameters as shown below:<\/p>\n<p><b>exclude_admin:<\/b> 0 (include the admin\u2019s name in the authors) \/ 1 (exclude the admin\u2019s name from the list)<br \/>\n<b>optioncount :<\/b> 0 (No post count against the author\u2019s name) \/ 1 (display post count against the author\u2019s name)<br \/>\n<b>show_fullname :<\/b> 0 (display first name only) \/ 1 (display full name of the author)<br \/>\n<b>hide_empty :<\/b> 0 (display authors with no posts) \/ 1 (display authors who have one or more posts)<\/p>\n<p style=\"font-size: 11px;\">Source: <a href=\"http:\/\/www.blogohblog.com\/10-wordpress-hacks-to-make-your-life-even-easier\/\" rel=\"noopener\" target=\"_blank\">Blog oh Blog<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re often asked how to display a list of blog authors for WordPress Multisite. This piece of code does exactly that. Drop it into one of your theme&#8217;s template files wherever you want it to display: &lt;?php wp_list_authors(&#8216;exclude_admin=0&amp;optioncount=1&amp;show_fullname=1&amp;hide_empty=1&#8217;); ?&gt; Then you can edit the parameters as shown below: exclude_admin: 0 (include the admin\u2019s name in [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1,557,263],"tags":[640],"tutorials_categories":[],"class_list":["post-30095","post","type-post","status-publish","format-standard","hentry","category-news-community","category-development","category-tutorials","tag-authors"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/30095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=30095"}],"version-history":[{"count":3,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/30095\/revisions"}],"predecessor-version":[{"id":181660,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/30095\/revisions\/181660"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=30095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=30095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=30095"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=30095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}