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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.