Can you try changing 'type' => 'NUMERIC'
to 'type' => 'DATE'
?
Reference: https://codex.wordpress.org/Class_Reference/WP_Meta_Query
Related Posts:
- Mixing regular and custom post types (with meta_query) on home page
- WP_Query() show posts that end later than today
- WP_Query orderby custom field then post_date in one query
- Filtering a WP_Query meta_query by numeric values isn’t working
- Using Query Posts With Multiple Post Types And A Taxonomy
- Can’t sort order of wp_query with 2 meta keys
- Comparing timestamps in meta query doesn’t work
- Display two post types ordered by two custom fields
- Combine tax_query and meta_query in WP_Query
- query order by date on custom type: wrong order
- exclude custom post type by meta key in wp_query
- Filter posts with meta_query NOT IN where value has multiple values
- Filtering by Post Meta Custom Fields – Performance
- Is it possible to apply a meta_query to one specific post type in a query with multilple post types?
- Setting proper query for multiple custom admin filters
- WP_Query: include custom post type only with specific meta value
- Returning a list of custom post types excluding those without a specific meta_value
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- wp_query check if integer exists in custom field’s array
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- How to do WP_Query with two meta fields with orderby clause
- Stuck in Order by more then one
- Why is this query not working? (Standard posts + custom post type)
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Possible to filter custom post type with multiple meta data?
- Query based on custom fields start and end date
- WP_query – Filter by tax_query and meta_query using multiple select
- Getting a custom post’s custom field based on another custom post’s custom field select
- find custom post type post by searching its custom field with my string
- WP_Query of custom post type sorted by meta_key has unexpected results
- Create a WP_Query where if the first value of the first row is equal to the second compare other value
- Query Posts, order by meta value
- WP_Meta_Query object with conditionals
- Sorting by meta_key different to search criteria?
- Using WP meta query to show custom post types by a start and finish date
- Two queries – one with checkbox ticked, one without – comparing meta_query
- How to order query results based on if a custom field has been populated, then the order by the date of the post?
- build child and anchestor three from post parent
- Custom query result empty on page 2
- Use WP_query to match post types based on custom field values
- meta query multiple values for the same key
- Sort custom post archives by a meta value from a different custom post type?
- Custom post types – meta_query: search lesson which starts sooner
- post type => ‘any’ not applied my custom queries
- How to get the posts that my following users are liked?
- Meta_Query refuses to return results
- Not able to get my custom search result using meta_query and tax_query together?
- Querying, storing, and using data from 2 separate custom post types
- Query events post type after current date and timezone
- Conditional posts in WP_query for search
- Selecting posts older than the current Unix epoch timestamp
- Custom Query With Multiple Meta Key Value
- Trying to combine multiple WordPress queries
- Querying meta values within an array
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Order Wp Query by earliest of 3 dates meta query
- WP_Query() displaying past post / event
- WP Query Conditionally query meta and taxonomy
- How do you get the count of posts in an archive page?
- Get posts based on meta key/value
- How to create a wp_query that contains both meta_query and tax_query
- how to filter by last name for custom post
- Order Posts by Taxonomy and Meta Value
- Use WP_Query object inside a function
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- Calculating Bayesian average for custom post type
- Help with CPT template pagination
- Custom query shows custom post types in trash
- How to connect two custom post types with nested loops
- Custom Post type and Custom Field WP_Query
- Display multiple custom post types and sort them chronological by one of their fields
- How to show CPTs in term archive
- Query/list all terms and their custom post count
- Get custom taxonomies from multiple posts
- Pagination on with query_posts in custom post type template
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Using meta_query and tax_query at the same time
- Problem: wp_query outputs all images on site
- How does order=asc effect a wp_query (its acting pretty weird in a loop)
- Why is my WP_Query outputting my entries twice?
- How to display Related Posts based on number of taxonomy terms matched
- Custom WP_Query doesn’t display all posts
- WP_Query() with custom post type and taxonomy — get all terms?
- Query & the_content() is showing in the header
- Pagination not working on custom query on a page
- Query within a foreach within a query (queryception)
- Query Custom Post Type by Taxonomy
- Related “custom post type” using “custom taxonomy”
- Page that lists publications by classifying them by taxonomy
- Order admin post list table by meta field, and have posts without the meta field always be at the end of the list
- Show posts from WP Custom Post Type selected from a field in a metabox
- Wp Query sort order from custom MetaBox
- Most efficient way of showing children posts?
- Custom post type and custom taxonomies display
- Custom post type single display is ommited
- Query child posts on parents single.php?
- Get all custom_post_type posts + blog posts from one category in a single query
- add_filter > posts_where works partially
- Display ACF object field data using Elementor Custom Query
- WordPress custom field sorting, weird behavior: the latest post is at the end