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
- When should you use WP_Query vs query_posts() vs get_posts()?
- When to use WP_query(), query_posts() and pre_get_posts
- Get post ids from WP_Query?
- Nested meta_query with multiple relation keys
- 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
- Ignoring initial articles (like ‘a’, ‘an’ or ‘the’) when sorting queries?
- 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 where title begins with a specific letter
- 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
- Using OR conditions in meta_query for query_posts argument
- Secondary Sort (fallback) for WP_Query
- How to get order of posts?
- Custom WP_Query order by post_meta and (author) user_meta
- Sorting posts by custom date fields (non standard date format)
- Query Multiple Post types each with own meta query
- Get posts by menu ID
- Get the number of posts from the current page results
- WordPress Custom Query to show posts from last x years
- 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?
- How to know which one is the main query?
- Get posts by meta data OR title
- Perform query with meta_value date
- Using is_main_query to select custom post type on certain page
- get query’s query string
- Meta Query with date and time on the same Day before given time
- get_the_title($postID) OR get_the_title()?
- WP_Query sort by comment meta data
- Display Posts by modifying the where clause only for my query
- Order posts by tags count?
- Merge 2 args in one WP_Query and order it by date
- Orderby = none not working [duplicate]
- How do I create my own nested meta_query using posts_where / posts_join?
- WP_query ‘orderby=none’ Problem
- How to use filter hook posts_join for querying taxonomy terms in posts_where?
- 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
- Revolution Slider Orderby Two Custom Fields
- How to Get All Posts but the Private ones?
- Order posts ascending with number in title
- List taxonomy terms plus their latest post ordered by post date
- Order by the results of a function with WP_query
- How to order posts in wp_query by a meta_value of the corresponding author
- 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]
- Order by menu structure
- Multiple search queries on one page
- How to show only one post for each categories of taxonomy of custom post that contains a specific custom field
- Pass the same object to multiple widgets in a template with one query
- 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
- Ordering by meta_value AND date NOT WORKING with wp_query
- WP query exclude post within the last month / only show over 1 month old
- WordPress query for most recent posts from multiple categories
- WP_Query orderby breaks when using AJAX?
- How do you query wordpress posts using a math formula between multiple meta field values?
- Order WP Query posts by custom order calculated from post meta values
- How add a custom posttype name using ACF field to a query post array
- Custom Post order for homepage
- How to implement time filter to show random post 1 month for one category and 3 months for other categories
- Too many posts cause slow load when paginating
- Meta query with order by another custom field
- Change default ordering of taxonomy terms – pre_get_terms
- WordPress WP_Query orderby being overwritten
- WP_Query Order by Specific Post ID First
- Page navigation doesn’t show when query category
- Multiple instances of Featured Image Query
- Order Posts by meta value AND published date
- Wp query orderby ‘title’ doesn’t work
- 2 loops on page – one with orderby rand second orderby date
- How do you Query posts with nothing in common?
- Query post with meta_query where date is not in future
- Next/Prev posts on same page
- How can I order Wp_Query hierarchically?
- Custom category search box for WordPress
- How do I sort posts with multiple pages
- Sorting posts DESC based on the number of comments using WP_Query
- 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
- Complex Orderby Parameters: How to query with multiple orderby parameters using meta_value_num?
- Query with custom taxonomy not working
- pre_get_posts order by not working