• Hi,
    I have been testing the plugin and I love it so far ??

    Just read through the description again, apparently there should be a CLEAR button? For some reason I dont see one in my search form. Am I missing something?

    Also, is there a way to hide specific search fields for different member levels?
    I could not find any settings in the backend and unfortunately I cannot edit the form with Elementor. For example, a lower level member would not see the search field: Sports while a higher level member might see all fields and search all fields that I set up in the form.

    Any suggestion might help ??

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

    (@dontdream)

    Hi Chris,

    There is no Clear button in search forms, but there is one after the currently active filters, to clear them.

    To hide specific search fields, use this code in bp-custom.php:

    add_action ('bps_before_search_form', 'hide_fields');
    function hide_fields ($F)
    {
        // $F->fields is an array containing the search fields
        // you can remove unwanted fields based on member level, then return
    }

    Of course you, or your developer, have to write the actual code for the function body. For additional information on $F->fields, please see:

    https://dontdream.it/bp-profile-search/form-templates/

Viewing 1 replies (of 1 total)
  • The topic ‘Hide search fields for specific member levels?’ is closed to new replies.