Well, the answer was staring right at my tired face. After hours of hairpulling, I noticed I had used:
'orderby' => 'meta_key'
I changed it to:
'orderby' => 'meta_value'
fixed things right up… -_-‘
Related Posts:
- Query Posts in a Predefined Order
- Order posts by ID in the given order
- WP_Query ordered by custom field that is a date string?
- How can I pick a single post from the latest 3?
- How to order posts, that have already been filtered by custom taxonomy, by their category names?
- query_posts with sorting on a custom datestamp
- new WP_Query with order args – no more distinction between categories
- Some doubts about how the main query and the custom query works in this custom theme?
- Wp get all the sub pages of the parent using wp query
- WP_Query orderby post__in remains ineffective in the Loop [closed]
- Get posts by meta data OR title
- Using is_main_query to select custom post type on certain page
- Display Posts by modifying the where clause only for my query
- How do I create my own nested meta_query using posts_where / posts_join?
- Order posts by date and then by custom field
- Best practice for multiple queries on page
- How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
- How to Get All Posts but the Private ones?
- How to query ‘posts_per_page’ to display a different blog posts index template?
- How to find out what “Blog pages show at most” is set to [duplicate]
- WP_Query order by date in meta_value
- 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
- How to implement time filter to show random post 1 month for one category and 3 months for other categories
- Meta query with order by another custom field
- How can I order Wp_Query hierarchically?
- How do I sort posts with multiple pages
- Order a query result by a numeric meta key even if it does not exist, but put the posts with meta key first
- Order WP_Query by multiple fields, subtracting them from one another
- Query with custom taxonomy not working
- Query posts by specific word on title
- SQL: What is wrong with the following query (generated by WordPress WP_Query, ordering prices)
- Order By table field comment_status in WordPress > 4.0
- How to build a WP_Query using mulitple tags and using AND or OR operator between them
- Multiple loops without repeating content
- Complex WP_Query order request: DESC by day, but then ASC by time
- Custom Query num_rows returns wrong amount
- WP_Query orderby author__in
- How to orderby multiple meta fields if some fields are empty
- Fetch Record based on meta key dates
- Sort wordpress custom posts based on meta value
- add active class based on permalink and url
- Filtering out child category posts from parent category archive not working
- Display custom tags on pages that have a specific page parent
- How to filter a query by multiple meta keys and order by other meta keys
- Multiple Orderby’s using random order WP_Query
- How to query for all posts that have a particular meta key?
- Advanced WP Query and/or
- How can I override one post and make it display content for another post?
- Debugging wp_query orderby for taxonomy
- Get all posts which was posted on X Days WordPress
- WP Query – order posts by meta field first and then order the rest
- Advanced WP_Query with meta_query, orderby?
- How to create custom query by keyword in post title?
- Conditional operator OR not working with custom fields
- Order is breaking wp_query
- Should I reset $wp_query?
- Posts query according to meta box date
- How can I comment comma-separated array values?
- WP_Query with multiple orderby NOT working with ASC and DESC, what’s wrong?
- How to use ‘WP_Query’ or ‘query_posts’ to display content in a descending order
- Filtering by multiple conditions in the loop
- 2 queries with counters
- Orderby two meta fields not working
- Randomly select one of last 3 posts
- Multiple Query_Posts
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- orderby ignored by wp_query
- Query post and sort by custom value calculated with custom field on cpt
- What’s wrong with this meta query? (order by meta key, then title, doesn’t work)
- How to sort store location by specific category order in WP store locations
- query hook parse_tax_query function takes no effect
- Duplice post with standard WP loop – fixed by using query_posts() instead
- ElasticPress is (aparently) messing with my search filters
- Custom order of posts in wp_query and different taxonomies
- WP_Query random ordering not working since 5.4
- WordPress Query custom ordering by temporary variable
- Problem with my loops
- WP Query. Ordering posts by another post types meta
- Best way to query posts and order by relevancy to query
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- wp_query sorting – one specific meta_key value at last and then sort by create date
- query_posts based on a meta_key
- Display three sequential posts on each page load, without repeating previous
- Calling body_class and wp_nav_menu for a different post
- Order posts by more than one variable (meta_key and publish date AND time)
- Create custom order sortby based on array of id
- Modify query to exclude certain ids and certain parents and its corresponding children
- Sort by meta key within same day
- how to exclude store in clipper theme wordpress code php
- Find by post_meta, then sort by post_meta, then sort by date (wp_posts)
- Order Custom Field by Price
- Display post list within category list sorted by name [duplicate]
- When should you use WP_Query vs query_posts() vs get_posts()?
- Order by multiple meta keys on wordpress
- How to query post ids liked by the Author
- get contents and permalink from a specified page
- WP_Query with several meta_query-statements and order by meta_value
- Incorrect posts displayed on category page