Support » Fixing WordPress » Sorting authors

  • gilliancs

    (@gilliancs)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kafkaesqui

    (@kafkaesqui)

    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).

    I sent this to Kakfaesqui for his thoughts, but a friend and I just figured out how to do this:
    http://wordpress.org/support/topic/101637?replies=1#post-502444

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sorting authors’ is closed to new replies.