WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List Authors Including Admin (2 posts)

  1. passionbeer
    Member
    Posted 4 years ago #

    Hello.

    I'm using this code to display a list of all authors on my blog; however, I'm running into two problems. First off, it is only displaying my two authors but I'd like to display myself (admin). How can I do that?

    Also, how can I display each post count associated with the author and admin next to their name?

    <li class="widget widget_authors">
        <h2><span>Authors</span><small></small></h2>
        <ul>
        <?php wp_list_authors('show_fullname=1'); ?>
        </ul>
    </li>
  2. MichaelH
    Member
    Posted 4 years ago #

    With template tag, wp_list_authors(), use

    'exclude_admin' => false,

    and

    'optioncount'   => true,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.