[wp-hackers] WP Query - OrderBy Author

Robert Lusby nanogwp at gmail.com
Sun May 13 19:01:58 UTC 2012

I was using orderby => author in WP_Query, and wondering why I was 
getting a strange order.

Then I suddenly twigged - it's sorting by Author ID, rather than Author 

How would you order by Author Display Name, rather than ID, within WP_Query?


More information about the wp-hackers mailing list