Support » Fixing WordPress » Authors ordered by post count?
9 years, 1 month ago
Is it possible to order author list in the sidebar (wp_list_authors) by post count instead of doing it alphabetically?
8 years, 11 months ago
So it’s not possible?
well, the codex page doesn’t say it’s possible.
that doesn’t mean its not possible, it just means that it probably isn’t using that function.
Is there any way to make it use that function?
8 years, 6 months ago
wp_list_authors option count only displays the number of posts you can’t sort by it yet. The list authors plus plugin will do just that and also allow you to filter out authors by role or ID.
8 years, 3 months ago
How about allowing for a sort by the authors’ recent posts? This query should do it. I’m good at writing queries, but not so much with PHP. If this was an option in list authors plus, it would rock!
SELECT display_name FROM wp_users JOIN (wp_posts) ON ( wp_users.ID = wp_posts.post_author ) GROUP BY display_name ORDER BY MAX( post_date ) DESC