Home › Forums › General Issues › get_posts, filtering by acf date field › Reply To: get_posts, filtering by acf date field
Thank you for your input.
Well I tried your first idea, and it did not work.
It is just exactly the same.
It is as if the filter is just not applied at all.
Honestly I would have wondered if adding an order would have resolved it.
I then tried your second suggestion, because I indeed don’t need another meta field.
But this also does not work. Exactly the same as above.
Playing with the syntax is difficult if I don’t see any effect at all…
Am i missing something with the syntax? Is there something with Date fields that is different from other filter comparisons? Is there any way to gain more insight what my filter actually does? Like logging an actual comparison, to see which dates are compared and what the outcome of it is?
Thanks in advance.
Cheers
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.