This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Disable/enable custom datepicker filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Disable/enable custom datepicker filter

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16541
    opwolkenopwolken
    Participant

    Hi,

    I’m using the plugin with great joy! but I stumbled upon a question; the searchbar is working for 3 post types, 1 post type are events and I would like to filter these events by starting date.

    So far so good. But, the filter is set up standard and the other 2 post types are filtered away by default this way. Is there a way to make a button or whatever to disable the single datepicker filter?

    #16544
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Actually, this should be possible, by enabling this option: https://i.imgur.com/rCta0xp.png

    This basically allows those results to appear, that have no connection with the filtered custom field.

    #16545
    opwolkenopwolken
    Participant

    Yes! this actually helps me in the right direction. The next step is to select a date in de datepicker so that only events show up.

    #16546
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Have you considered making a post type filter as well?

    If that option is enabled, the date filter will not affect the other post types, no matter what. However if there was checkbox filter with all post types selected by default, the user could de-select the other two if not desired. I think that would be easiest solution.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.