Forums Forums Search & Filter Pro Month & Year Dropdowns for ACF Event Dates

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #219794

    Hi, is it possible to have a month and year dropdown that will filter results of ACF event dates that are set using datepicker? I have a post meta date range setup and working, but I can’t see how to get these dropdowns working unless I lose datepicker or just categorise the months and years?

    I already have 2 separate category dropdowns that exclude ID’s, so they are different, but is it possible to join the queries so that they only show results that match both? At the moment it will show all the results from either dropdown and won’t show the most relevant results first.

    Trevor
    #219807

    With the current version of the plugin, this is not possible. We may be looking at adding what you ask for in V3 of our plugin (I do not have a release date as yet, but it is still some months away at least). So, yes, you would need to add Year and Month fields (which you could populate automatically with custom code in the child theme functions.php to hook in to the WordPress save_post() function.

    As to two fields based on the same Category source, this you should not do, please see this post:

    https://support.searchandfilter.com/forums/topic/multi-level-filter/#post-217171

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