try adding:
'meta_key' => 'start_date'
Related Posts:
- How can I create a meta_query with an array as meta_field?
- How can I query all users who registered today?
- WordPress creating excessive joins on meta_query with search
- How to display liked posts of current user in wordpress?
- Sorting Grids with Essential Grid and Events Manger
- How can I apply a meta query for a single custom post type in the main query?
- How do I find if a page has a template?
- How to orderby meta_value_num with dollar ($) sign
- How to check current user in meta value array in WP_Query meta_query
- Query metas (and not : query posts by metas)
- How to orderby multiple meta fields with another meta query
- Query returning same results even though the ID changes
- Can’t seem to do combined query AND sort?
- sort query results by newest
- Order by meta value pro first then meta value free in my search function
- get_users with array as meta_value
- Re-sort get_posts query results
- How to manage a particular “order by” for get_search_query()?
- get_post_meta with WP_query
- How to rearrange a pool of posts joined using two queries?
- WordPress Mysql query and Duplicate
- Sort query_terms_list for post_tags alphabetically
- meta_query not working
- Order posts ascending from posts in array
- WordPress query: merge meta key (number) values and sort
- Orderby event date (if it exists) or post date (if it doesn’t) – how to reorder posts based on meta value OR date
- Restrict WordPress search to a single ACF field
- Is there any way to get all custom posts and all custom terms with it’s meta in few queries?
- Fastest and most efficient SQL query to check if UID exists
- New custom post type entries are not sorted correctly in admin using pre_get_posts
- Query Posts that have or don’t have a meta_value and order by the same ASC
- What is the best way to query posts based on live data?
- Sort loop with query in the link
- list or get meta_key where meta_value is ‘something’
- WP_Query orderby meta key/value suddely stopped working
- Query posts alphabetically within this function
- Ascending & descending posts on same page with IF statement
- Meta Query compare with LIKE pulls similar post types: 55 and 155, and 1,155
- Elementor – Sort by name
- How to display SQL query that ran in query?
- Query multiple meta key values?
- How to Optimize WP site for millions of posts
- Using meta_query, how can i filter by a custom field and order by another one?
- How to get comments by post ID?
- ORDER BY custom field value
- Differences between wpdb->get_results() and wpdb->query()
- Sorting: custom query with orderby meta_value_num THEN by title
- How to query_posts using meta_query to orderby meta_key AND have a secondary sort by date?
- Is there a way of increasing the speed of this query?
- Random sort within an already sorted query
- Get all image from single page using this query
- Get Terms by IDs with IDs order
- Reversing the order of posts AFTER the query is performed
- Sort custom post type list table by display name of a user id stored as post meta value
- what are the numbers between curly brackets in search query
- simple sql query on wp_postmeta very slow
- Using WordPress public query variables
- How to Use Wildcards in $wpdb Queries Using $wpdb->get_results & $wpdb->prepare?
- When/why does ‘$query->get( ‘tax_query’ );’ return empty?
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- Meta Query with AND & OR?
- How to get link and title of next and previous post on single page
- Sort posts by category name and title
- Create pagination and order according to alphabet
- wpdb get posts by taxonomy SQL
- How to List Events by Year and Month Using Advanced Custom Fields?
- Is there any difference between hooks posts_where with posts_join and posts_search performance wise?
- Custom WP_Query order by post_meta and (author) user_meta
- wordpress query – orderby child post date
- Query WooCommerce orders where meta data does not exist
- How many WordPress SQL Queries per page?
- How to display Section for certain time
- Add multiple value to a query variable in WordPress
- Search custom post type by meta data
- Custom query_var causes displaying posts archive on front page
- Slow wp_enqueue_media()
- Multipart/formatted MySQL query problem
- Custom Queries: Joining On Meta Values From Two Custom Post Types
- What is the most efficient way of implementing a favorite post system?
- Remove [gallery] shortcode altogether
- Compare two numeric custom fields
- wp_dropdown_categories with multiple select
- Advanced Custom Fields – Query Efficiency
- Why does get_the_time(‘F j’) return November 30 for all posts?
- Query by one meta_key and sort by another (possibly NULL value)
- How to tune search argument in WP_Query to show only exactly the same results?
- Perform query with meta_value date
- Sort X categories by last update and show image
- Custom query filter not working on woocommerce category page
- How to delete a transient on post/page publish?
- Very slow query
- query multiple taxonomy and show post count
- Search Terms – Querying on either description__like OR name__like in the same Term Query?
- Finding all results from database within 500 miles of the given latitude and longitude [closed]
- Query & Sort Comments by custom comment meta
- Fulltext search in posts sorted by relevancy
- How to get my loop to pull posts into three columns
- How do I sort multiples pages?
- How to display lastest post date in the homepage?
- Custom $wpdb Query for Custom Post Type by Category