This is just a shot in the dark but I would try ordering the events in descending order instead of ascending. 'order' => 'DESC'
Related Posts:
- How to handle optional end date in compare clause in meta_query
- Order by nested named meta queries with ‘exists’ and ‘not exists’
- Ordering posts by anniversary using only day and month
- WP_Query ordered by meta_value_num doesn’t fetch posts without this meta field
- Custom post type archive with rand and meta_value
- Query posts with numeric meta values within a given range
- WordPress Screwing Up ‘orderby’ => ‘meta_value_num’ in ‘pre_get_posts’
- Ordering posts by custom field named “date” in backend
- Orderby doesn’t work like expected on custom query
- last_name + first_name orderby with meta_query [solved]
- Meta Query Based on Month Range
- wordpress meta value compare between two date
- Ordering custom posts by meta field date
- Order resultset by configured value and then list all the rest
- meta_query check multiple date formats
- Multiple orderby date arguments
- Why does this incorrect pre_get_posts meta_query work for sort order?
- How to compare date in post meta value
- Order Wp Query by earliest of 3 dates meta query
- How to do a meta query using REST-API in WordPress 4.7+?
- WP_Query orderby date not working
- How can I query all users who registered today?
- Using meta_query on pre_get_posts to exclude a particular meta_key value
- WP_Query() show posts that end later than today
- Query posts from current year
- WP REST API: Order posts by meta value (acf)?
- Return posts with specific meta key first, but the rest in alpha order by last name
- meta_query key value from array
- How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
- WP_User_Query with meta_query array relation ‘OR’
- Retrieve taxonomy terms in order of their post’s date?
- meta_query problem
- How to exlude posts that have certain meta_value?
- Order WP Query posts by custom order calculated from post meta values
- User Relationship
- Order by meta_key with two meta_queries
- Meta query with order by another custom field
- List of posts by day of the week
- sort by date in Advanced Custom Field
- WordPress Core – Optimizing meta_query generated SQL?
- Edit post_content on posts with Featured Image
- Sorting posts by custom fields in meta_query
- Display no post when metavalue is 0
- meta_query, number comparison, not quite working as it should
- SQL: What is wrong with the following query (generated by WordPress WP_Query, ordering prices)
- Complex WP_Query order request: DESC by day, but then ASC by time
- Fastest way to do meta query when I don’t need the actual posts, and just need post_id?
- How to orderby multiple meta fields if some fields are empty
- How to query post only with different excerpt?
- WP User Query Issues
- How to use meta query for greater than value in array?
- Wp Query custom search by meta query
- Filter posts by meta query?
- How to filter a query by multiple meta keys and order by other meta keys
- Meta query with multiple custom fields for archives page ordering problem
- Sorting a query Field by date
- Check post_date in pre_get_posts
- How to use orderby with meta_query?
- Advanced WP_Query with meta_query, orderby?
- I would like to have add_post_meta to return the ID instead of true or false
- Find posts by related taxonomy field
- Can I use pre_get_posts to add up values from two different meta_keys?
- get_users with Serialized Custom Meta Value
- Sorting posts by ACF field
- WordPress giving a 404 page when passing a year argument different than the current year
- latitude/longitude meta_query
- Meta query stopped working
- meta_query displays all results and none, my query is wrong
- How to query posts by month based on date custom field?
- Delete all posts with a specific custom field using meta_query
- Use meta_query in args for relationship
- meta_query Array
- meta_query compare “=“ returns nothing when it seems it should
- Issue with user meta_query
- What’s wrong with this meta query? (order by meta key, then title, doesn’t work)
- Sort products by Sale price and stock status
- How to get an archive page meta?
- Search for value(s) in meta field for a multi select
- How can I create a meta_query with an array of dates?
- WordPress Query custom ordering by temporary variable
- Orderby if between two meta fields
- Comparing Meta Field date in WPQuery using Meta_Query?
- How to count items of meta query?
- WordPress Admin – Automatically Sort Custom Posts by Custom Field Date Value in d-m-Y Fomat
- WordPress meta query with meta serialized data array value
- WP Query. Ordering posts by another post types meta
- meta_query not filering but meta_key works fine
- get posts meta query returning the latest post if no meta key found
- WordPress search between two newmeric values with a custom post type
- like_escape notice when using LIKE in meta query
- wp_query sorting – one specific meta_key value at last and then sort by create date
- WP User Query with meta queries
- Query Posts that have or don’t have a meta_value and order by the same ASC
- WP_Query with UNIX timestamp in meta query
- Querying by meta key and value
- Sort posts by post views and consider meta key
- Meta query “OR” comparison not working as expected with array
- Checking if field is set before comparing with meta_query in query_posts?
- Last three posts not being put in order by date. How to fix this?
- Merge meta_value’s into a single row and then loop