Search Date Range using ACF (Not using post_date)

Forums › Forums › Search & Filter Pro › Search Date Range using ACF (Not using post_date)

Tagged: 

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #184533

    Is it possible to perform a date range search within the S&F plugin that ties in with the ACF date picker?

    From what I can see the only date related option I have relates to the post date, whereas the client has asked for some sort of event search functionality.

    The date search does work when referencing the post_date

    Ross Moderator
    #184542

    Yup, ACF creates post meta, so you want to add a post meta field, and choose the date option 🙂

    Just be warned, ACF creates 3 most meta entries for a custom field, only one of them can be used with the field. If your custom field was “location” you would have:

    #1 _location
    #2 field_5a16902ae5c07
    #3 location

    You need to use key #3, without the underscore at the start of the key name, as it is this meta key that holds the term data.

    Thanks

    Anonymous
    #184788

    Excellent, thanks very much this sorted it.

Viewing 3 posts – 1 through 3 (of 3 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.