Figured this out.
'order' => 'ASC'
(or DESC
– however you’d like) and 'orderby' => 'menu_order'
solves this.
Related Posts:
- Custom WP_Query order by post_meta and (author) user_meta
- WP_Query ordered by custom field that is a date string?
- Order posts by tags count?
- Custom Post order for homepage
- How to orderby multiple meta fields if some fields are empty
- Weird orderby => post__in issue
- Order by summing multiple values
- Order by empty custom field
- WP_User_Query orderby meta_val_num
- WP_Query custom order and pagination
- Meta query orderby meta_value_num sorting by role first
- Order posts by tags count?
- How to get_comments() ordered by date and parent?
- WP Query. Ordering posts by another post types meta
- Get posts that were most recently tagged
- When should you use WP_Query vs query_posts() vs get_posts()?
- order by numeric value for meta value
- Wp get all the sub pages of the parent using wp query
- Ignoring initial articles (like ‘a’, ‘an’ or ‘the’) when sorting queries?
- Return only Count from a wp_query request?
- WP_Query orderby post__in remains ineffective in the Loop [closed]
- How to query for most viewed posts and show top 5
- WP_Query orderby date not working
- WP_Query vs get_posts
- Order by optional meta key?
- Sorting: custom query with orderby meta_value_num THEN by title
- Order by DESC, ASC in custom WP_Query
- WP_Query order by multiple meta keys & fields
- WP_Comment_Query pagination, delving into the unknown
- Usage of the new “posts_clauses” filter in WordPress 3.1?
- Make a WP Query search match exactly the search term
- WP_Query: query posts by ids from array?
- Secondary Sort (fallback) for WP_Query
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- Query Posts in a Predefined Order
- Sort posts by category name and title
- How to get order of posts?
- Order posts by ID in the given order
- How to uniquely identify queries?
- What is the most efficient way of querying posts based on visits and date for current day?
- Sorting posts by custom date fields (non standard date format)
- Query WooCommerce orders where meta data does not exist
- WP_Query for WooCommerce Products
- pre_get_posts with get_posts
- author.php with ACF and CPTs
- How to order posts tag by tag?
- Query Custom Meta Value with Increment
- How do I order pages and categories by ID or name in the same query?
- When should you use wp_reset_postdata vs wp_reset_query?
- Get posts by meta data OR title
- Identify which loop you are hooking into; primary or secondary?
- Perform query with meta_value date
- How to make an activities stream mixing posts and comments?
- Duplicate Queries
- WP_Query sort by comment meta data
- How to query for a week using key => value WP_Query argument notation?
- Finding all results from database within 500 miles of the given latitude and longitude [closed]
- Show only oldest post by author
- Merge 2 args in one WP_Query and order it by date
- Orderby = none not working [duplicate]
- SQL query equivalent to WP User Query
- Add and in the header while looping over custom query in page template
- How to get the posts published in last two days using WP_Query?
- Highlighting Sub topic in a post?
- WP_query ‘orderby=none’ Problem
- Order posts by date and then by custom field
- Which custom query am I in and how can I access its properties & methods?
- How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
- How to count post type that has a particular term?
- Revolution Slider Orderby Two Custom Fields
- Finding the next 5 posts
- Order posts ascending with number in title
- how to retrieve specific product attribute value in an sql query?
- List taxonomy terms plus their latest post ordered by post date
- Order by the results of a function with WP_query
- Dynamically Override Fancy Title – Part II
- Transient pagination not working properly
- Foreach-generated custom tax queries, each with an ajax “Load more” button
- Can not switch the queried post in pre_get_posts hook
- How to order posts in wp_query by a meta_value of the corresponding author
- view queries made?
- Order by menu structure
- meta_query on a date range using an array of values
- WP_Query Performance Issues with meta_query
- WordPress custom archive page
- How to speed up wp_query, took more 5s to run against 100k posts
- WP_query category__in not working, only pulls from first category
- How to detect custom query inside `posts_where` hook?
- Pass the same object to multiple widgets in a template with one query
- Is temporarily overwriting $wp_query a bad idea?
- Get the post permalink within the loop but without additional DB query
- WP_Query order by date in meta_value
- Query Set Order By Author
- List the 5 most recent child pages
- Splitting the main query in multiple loops with query_posts and/or pre_get_posts?
- Retrieve or Query Pages by ID
- How to use order RAND() on WordPress?
- Show all parents and children in custom post type in right order
- Ordering by meta_value AND date NOT WORKING with wp_query
- WP_Query orderby breaks when using AJAX?