Forums Forums Search & Filter Pro Filter doesn’t work with post meta date from ACF

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #252492

    Hi,

    I have created an ACF date field and i am getting no results from the filter when i use it.
    However, The good post meta has been added in the search form UI, with Date Input Format as YYYYMMDD.

    what is wrong ?
    do i have to choose too a specific date Format for the model in my ACF field to match correctly?

    thank you
    Oliver

    Ross Moderator
    #252550

    Hi Oliver

    It could be that you are using the wrong field name.

    For every ACF field, ACF creates 3 post meta entries:

    _yourfieldname
    yourfieldname
    field_2390234

    I think you need ot make sure you are using the second option, without the underscore.

    If that’s not the issue, then please provide temporary access and we can take a look further – please use a private reply for any sensitive information.

    Thanks

    Anonymous
    #252639

    Effectively the second option without underscore works like a charm !

    Thank you for your help

    Ross Moderator
    #252665

    Great stuff 🙂

Viewing 4 posts - 1 through 4 (of 4 total)