Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm using the Anything Order Plugin to order custom post types in my dashboard.
For a wp_query, I'd like the output to order the posts in the same order as I have them in the dashboard.
What would I use for the "orderby" parameter?
Figured this out.
'order' => 'ASC' (or DESC - however you'd like) and 'orderby' => 'menu_order' solves this.
'order' => 'ASC'
'orderby' => 'menu_order'
Required, but never shown