WordPress.org

Ready to get started?Download WordPress

Forums

exclude some authors in wp_list_authors (3 posts)

  1. ghmercado
    Member
    Posted 7 years ago #

    hi im using

    <?php wp_list_authors('exclude_admin=0'); ?>

    to display a list of my authors with links to their corresponding posts.

    Since there are 20 authors, the list of authors take up a large amount of vertical space on my sidebar. I'd like to find a way to make them two columns of 10 authors each so as to take up half the space.

    i figure the way to do this is to exclude authors 11 to 20 on the first column, then 1 to 10 on the second one. I managed to do that with wp_list_cats, which has 'exclude' as one of its parameters.

    i cant find a way to do this with authors. Any help please? I'd much appreciate it. Thank you in advance.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    There's currently no way to do this with wp_list_authors. You'd have to make a custom function to do what you want.

  3. ghmercado
    Member
    Posted 7 years ago #

    hmm ok. well that sucks. do i 'resolve' this?

Topic Closed

This topic has been closed to new replies.

About this Topic