WordPress.org

Ready to get started?Download WordPress

Forums

new author style 'none' fails to return authors list (6 posts)

  1. butche
    Member
    Posted 5 years ago #

    <?php wp_list_authors('style=none'); ?>

    this fails to return author list

    argument 'style=list' returns authors list

    argument 'style=' sporadically returns authors list ( maybe 1 out of 100 )

  2. MichaelH
    Member
    Posted 5 years ago #

    With latest version (Revision: 11521) using WordPress Default theme, two authors (one of them admin) where each author has one post:

    This in sidebar.php shows the one user that is not the admin user:
    <?php wp_list_authors('style=&hide_empty=0'); ?>

    This shows nothing:
    <?php wp_list_authors('style=&exclude_admin=0'); ?>

    You want to open a trac ticket on that???
    See Reporting Bugs

  3. MichaelH
    Member
    Posted 5 years ago #

    Since 2.8 release is nearing, I jumped the gun and reported via Trac Ticket 10042. Thanks for the report.

  4. butche
    Member
    Posted 5 years ago #

    Update:

    The problem remains unresolved in 2.8 RC-1

  5. MichaelH
    Member
    Posted 5 years ago #

    You can try the patch on that ticket, and if it works for you, please report that on the ticket.

  6. butche
    Member
    Posted 5 years ago #

    The patch solves the problem of failing to display, but the contents are output in a comma delimited list which is inconsistent with either the wp_list_categories, and wp_list_pages tags which output their content with

  7. notation suitable for use in a DIV class.

    These functions are used on the right hand column at

    newsroom-magazine.com

    When style="list' the output fails to stay in the column.

    after the fix

    when style= is used

    the output is displayed one continuous comma delimited block.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags