Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi schulz,

    You could have a look at the filter ‘bps_field_data_for_search_form’, in file bps-fields.php, that probably can do what you need.

    Thread Starter schulz

    (@schulz)

    Thank you for your reply, however how do I use this?

    When it comes to doing code I am a novice at best (I usually hack/fumble my way through it), would you be able to give me a little more to work with such as sample code and where to use/insert it?

    ‘bps_field_data_for_search_form’ appears on line 148 and 195? I assume this would identify an entire field, is there a way to target individual options within a field (selection boxes or radio buttons)? Also is there a way to target specific form IDs as I would also like to apply different filters on different search forms?

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi schulz,

    Good question, there should be a way to target a specific form, but it’s missing right now.

    As for a code snippet, please allow me a few days so I can test it before publishing it.

    Thread Starter schulz

    (@schulz)

    Thank you for all your efforts. 🙂

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

The topic ‘Hide/Exclude Selection options’ is closed to new replies.