Support » Themes and Templates » wp_list_authors() without subscribers

  • Resolved bitweb

    (@bitweb)


    Hi,

    I’m trying to use wp_list_authors() to show a list of authors and contributors of my site.
    The problem is, I see also subscribers. There is a way to avoid this? Is it normal ?

    Regards..

Viewing 1 replies (of 1 total)
  • ok, solved. Normally subscribers dont have posts, so by using
    <?php wp_list_authors('hide_empty=1'); ?>

    I exclude the users with no posts, whic are the subscribers. Solved.

Viewing 1 replies (of 1 total)
  • The topic ‘wp_list_authors() without subscribers’ is closed to new replies.