Support » Plugin: Ultimate WP Query Search Filter » Setup clear all checkbox?

  • Hi,

    Is it possible to use “Clear All” checkbox for the checked boxes, before the new search?

    I mean, there is “Search All” option for categories, whis is really great idea, I would like to use similar for clear the checked boxes.

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TC.K

    (@wp_dummy)

    By default if you unchecked “Search All”, it will uncheked all chekboxes.

    Hi,
    Thank you, but generally the user check only feew of checkboxes and I am looking for the Clear all option for this case.
    It is a receipe blog with a lot of categories, therefore would be important the additional function.
    Thank you very much for the quick response and the help!

    Plugin Author TC.K

    (@wp_dummy)

    Well, in this case no out of the box solution , you will need to customize it. Just adding a button to the form and use js script to bind the button. Of course in order to do this, you will need to know some php and js coding knowledge.

    You can use uwpqsf_tax_field_checkbox filter to add the button and bind it to the js. The js would be something like this:
    $('.cmf-0').attr('checked', false);
    The .cmf-0 should be the class of the checkboxes.

    Hi,
    Thank you, but unfortunately I am not a JS expert, so I would like to suggest to add the “Clear all” function to the next version of the plugin 🙂
    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Setup clear all checkbox?’ is closed to new replies.