ACF stores it’s dates in Ymd format, this is why i couldn’t compare.
Make sure your date is in Ymd format when you compare it against an ACF datefield.
Related Posts:
- Meta query with string starting like pattern
- compare meta_query in get_posts arguments
- Getting attachments by meta value
- querying with custom meta field with meta_query
- Order by meta_value_num DESC and meta_value ASC on WP 4.0
- WordPress altering my custom query, How to fix it?
- Querying by taxonomy vs Querying by Custom fields Speed Comparison
- Order by meta_key in custom post type doesn’t affect the query
- meta_key and meta_value not working together
- Use meta_query to display events by date in custom field
- How to show recent and upcoming birthdays using meta_query
- Order Posts by meta value AND published date
- Meta Query for specific months
- WP_Query meta_query >= date
- How to make Meta Query case sensitive?
- Fetch Record based on meta key dates
- Meta_query with multiple keys and multiple values
- meta_query BETWEEN, but the range is stored in the custom field
- Extend product search with meta in WooCommerce
- how to make members list directory through wordpress post custom meta key.
- Large AND OR query timing out
- meta_value_num not ordering all items
- WP Group posts by year(desc) > month(desc) > date(asc)
- meta_compare not comparing whole integer
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- Display posts with specific value first in query
- Get every post with value in meta key
- How to show list of posts with custom field value (a date) that are coming soon
- add_query_arg to compare and display events from a certain date
- Show single posts date, in a page of posts
- Comparing 2 Decimal Numbers from custom fields and displaying posts
- meta_query weird behaviour, static int will work, but not user data
- Query multiple post types, but different order for each
- Order by the first array within a meta_query
- Query ACF relationship field – Comparator IN – Value array
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- How to _GET multiple value checkbox WP_Query in Custom Toxonomy / Custom Fields
- How do i create a custom post query when the meta value is an array?
- WP Query – grouping posts by same meta key, adding together values from another key
- meta_query is overriding default search
- Trouble with serialized metadata
- Getting posts by custom field value
- Query against multiple locations within single custom post type post
- WP_Query, ACF field and array
- Problem with my loops
- Order by Date Custom Field
- Sort posts on custom field AND after that sort on date?
- Query by meta value (add a dropdown of all values)
- Order Posts By Custom Field That is an array of objects
- Custom WP_query and integrating into theme file
- Using custom field as ‘orderby’ value causing post grouping by publish date
- Compare meta key separation
- query post based on comparison
- Get posts by meta value except one post [closed]
- WP_Query sort by ACF date field (newest first) with blank dates first
- Meta_query compare operator explanation
- WP_Query with checkbox meta_query
- Meta Query with date and time on the same Day before given time
- How to grab metabox value in wp_query meta_query key
- Date query not inclusive despite parameter being true
- Ordering Posts Type A by Custom Fields of related Post Type B
- Add condition of user capability in WP_query
- Is it a good idea to improve meta query performance by adding tax query?
- WP_Query: Group events by year, sorted DESC; then by date for each year group, sorted ASC
- Understanding the orderby in WP_Query?
- How to list custom fields as headers and list all pages sharing that custom field under it?
- Modify wp-query and sort by post meta key
- Orderby listing issue
- Make meta query treat meta_value as 1 or 0
- Display Current Post’s Position in Custom Taxonomy
- WP Query Meta Value – How To Identify Specific, Unique Values?
- WP_QUERY with group by with custom fields
- Intiger meta value with ‘>=’ returns posts with lower value
- Query posts using less than
- Meta query with compare by more than 2 fields
- WP_Query meta compare must include ALL array values
- meta_query returning excluded result
- Woocommerce Shortcode which displays a table with product data
- Creating a query that get all posts but places meta items first
- get_posts query is taking about 40 seconds to execute
- Query posts by post type, author and post meta
- meta query multiple values for the same key
- WP_Query on custom key and value
- How to set meta_query if get_post_meta returns nested array for that key? [duplicate]
- Custom post types – meta_query: search lesson which starts sooner
- ACF Post Object meta-query by title not ID
- Sorting with meta_query and multiple, optional meta keys
- From admin edit user page query either the user_nicename or username field value of the user profile being edited or viewed
- WP_Query returns empty if meta_query has more than 7 values
- WordPress meta_query not working
- query_posts with sorting on a custom datestamp
- Passing conditional arrays to WP_Query() [closed]
- Query custom post type by date field only working when two posts match the query
- Divide WP_Query posts by date & post type
- Issue with sorting by post date and custom post type
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Taxonomy related query not working
- Get all user with both meta_value
- How do I have multiple metaqueries inside one wordpress query
- Display only posts with thumbnails