Sorting authors (3 posts)

  1. gilliancs
    Posted 9 years ago #

    Does anyone know how wp_list-authors sorts? I would like to sort on Last Name but can't see how to do it. I'd be grateful for advice or pointers.

  2. Kafkaesqui

    Posted 9 years ago #

    Sorry, but wp_list_authors() does not sport a parameter for sorting its output.

    You would have to modify the list_authors() function in wp-includes/template-author-functions.php to get something like this -- and that would require a rewrite of the query it performs (since the last name value is not found in the users, but rather the usermeta table).

  3. akwhitacre
    Posted 9 years ago #

    I sent this to Kakfaesqui for his thoughts, but a friend and I just figured out how to do this:

Topic Closed

This topic has been closed to new replies.

About this Topic