Disable/enable custom datepicker filter

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

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16541
    opwolken
    opwolken
    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 Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #16545
    opwolken
    opwolken
    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 Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.