Forums Forums Search & Filter Pro Post Meta "Dates" not working

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #216447

    Hi there, I’m trying to create a simple events page which will allow you to filter events that occur within a date that you select.

    I have set this up using the Post Meta Field, selected date range and set it to the Event Start Date custom field powered by Advanced Custom Fields.

    Unfortunately I just get no results found. Would appreciate some help!

    Page in question is https://mogabu.com/events/

    FYI I have about 5 events at the moment all occurring between 14th – 30th November 2019.

    Trevor
    #216468
    This reply has been marked as private.
    Anonymous
    #216491
    This reply has been marked as private.
    Trevor
    #216515

    I think this may be the issue:

    https://www.screencast.com/t/Rk48ZZQ0VR

    You need to change the ACF settings on the date fields so that Return Format is Ymd. Then edit each event and re-save them.

    Anonymous
    #216666

    Hi Trevor,

    I have tried that, resaved and rebuilt cache but no joy unfortunately.

    Any other ideas? 🙁

    Trevor
    #216696

    See this screenshot:

    https://www.screencast.com/t/uFuVwgG6JeZ

    The meta key name is incorrect. the meta key name for ACF fields that actually hold the data do NOT start with an underscore. Look further down the list for the one that does not:

    https://www.screencast.com/t/i8qLqsbGlB

    Anonymous
    #217421

    That’s got it thanks Trevor!!

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