WordPress.org

Ready to get started?Download WordPress

Forums

Limiting the number of authors listed using list_authors or wp_lsit_authors (6 posts)

  1. greeenkaos
    Member
    Posted 7 years ago #

    I'm using wp_list_authors in a sidebar. Is there a way to limit the number of authors listed?

  2. whooami
    Member
    Posted 7 years ago #

    limit them based on what? by count? by how many posts? by letters in their name? what?

  3. greeenkaos
    Member
    Posted 7 years ago #

    I want to limit the number of authors that are listed. Let's say there are 100 registered users, but I only want 20 to show up when I use wp_list_authors.

  4. Chris_K
    Member
    Posted 7 years ago #

    well... let's continue on whoo's thread. Which 20? How will you decide?

  5. greeenkaos
    Member
    Posted 7 years ago #

    doh! i see. little slow on the uptake, i was. got some coffee in me now. :P

    Okay, I'd like to limit the authors to 20 --by the number of posts from most to least, as in:

    author 1 (309)
    author 2 (247)
    author 3 (101)
    ... [etc]

    Any suggestions?

  6. anafikir
    Member
    Posted 6 years ago #

    I'm looking for it too.

    Top 10 author

    like

    author 1 (309)
    author 2 (247)
    author 3 (101)
    ....

Topic Closed

This topic has been closed to new replies.

About this Topic