Forums

Problem displaying authors without posts. (4 posts)

  1. RenFromPenn
    Member
    Posted 2 years ago #

    I am trying to building a page that displays all of the members of my site even if they have never posted. I tried the Show users Without Posts plugin as well as List Authors Plus plugin and neither one showed those authors.

    I next added the following to my template and it was almost perfect.

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

    It displayed all of the members, but it didn't link to their author page unless they had posted. How can I fix this? Also exclude_admin=0 is being overridden. Any ideas how to truly exclude the admin?

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    but it didn't link to their author page unless they had posted. How can I fix this?

    You can't fix it cause there is nothing to see until an author writes a post.

  3. RenFromPenn
    Member
    Posted 2 years ago #

    Not true. I can type in the URL for the author page and it will display when I go about it that way. Yes, it won't contain any posts, but it does show their profile.

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    If that is what you want then you will need to manufacture your own author links with something like get_users_of_blog() and not use wp_list_authors.

Topic Closed

This topic has been closed to new replies.

About this Topic