Removing "All Items" on Radio Button Post Meta

Forums › Forums › Search & Filter Pro › Removing "All Items" on Radio Button Post Meta

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #179638

    Hello,

    i need to find a way on removing the “All Items” from my radio button. Could you kindly help me on that?

    Best Regards,

    Trevor
    #179641

    The problem with doing this is that, with radio buttons, one option must always be chosen. Do you have an option that will always be the default? If not, you should use checkboxes instead.

    Anonymous
    #179813

    Hello Trevor,

    Yes, we have an option that will always be the default. Do you know a way to do this?

    Best Regards,

    Trevor
    #179852

    You would need to code this yourself, but we have a filter for that:

    Filter Input Object

    It may be possible to do as you want with that. If you search our forum for sf_input_object_pre you might find some helpful snippets, plus there is a link to some snippet code on Github in that documentation):

    https://gist.github.com/rmorse/7b59b45a14b1ca179868

Viewing 4 posts – 1 through 4 (of 4 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.