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
- How to get products with the same custom attribute like ean code
- WP_Query filtering in ACF field containing dates
- ACF Relationship Field Search Filtering [closed]
- ACF datepicker meta_query Compare Dates in m/d/Y g:i a – Not in Ymd Format
- Is “orderby” in WP Meta Query conflicting with Meta Query?
- WP Meta Query for some meta (array) values
- Sort users by meta_value_num
- meta_query with array as value
- Using OR in WP_Query negates the “NOT EXISTS” compare
- Meta_query with or without value
- How can i make WP_Query return post image and categories?
- How add a custom posttype name using ACF field to a query post array
- wp_query not searching with apostrophe
- Custom query based on meta key – Reduce three states to two in results?
- How to display multiple custom fields with the same meta_key in an ascending order?
- Make meta query treat meta_value as 1 or 0
- Order by meta_key doesn’t work
- WP_QUERY with group by with custom fields
- Multiple meta_key ordering with pre_get_posts
- Query posts using less than
- Query using string from custom field as array value
- WP_Query meta compare must include ALL array values
- wp query to use both author id and meta_query
- Query posts by post type, author and post meta
- WP_Query for a taxonomy value OR a custom post type meta field
- Get posts having meta value between two numbers
- 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
- WP_Query returns empty if meta_query has more than 7 values
- WP_Query with Pagination and orderby meta_value_num showing duplicates
- Using orderby with 2 meta keys
- 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
- Query Posts by date range with fixed beginning and end
- Issue with sorting by post date and custom post type
- Display all custom meta field values from the database using ACF Repeater
- Get all user with both meta_value
- Using ‘meta_query’ with the ‘pre_get_posts()’ hook disables searching for post titles
- Get posts using multiple values from ACF checkbox as meta query wordpress
- WP Query returning all posts when Meta_query is null
- Order custom post type by posts with most likes first
- Complicated `orderby` based on text in custom field
- meta_query post_date not returning results
- WP Query: orderby with one meta key, but multiple values