Support » Plugin: Code Snippets » Priority of removing search forms

  • Resolved jason4locations

    (@jason975)


    I found code from a couple websites that is supposed to remove the search forms that showed up when a couple themes were activated. I’m able to activate the code, but the forms weren’t removed. (The Disable Search plugin didn’t work either.) Would changing the priority be a good idea, or is there a better way?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Some themes have the search form baked in, making it very difficult to remove. There’s only so much you can do with filter hooks if the theme is not coded well.

    Thread Starter jason4locations

    (@jason975)

    Thank you, Shea Bunge.

    I was able to do it using Appearance > Customize > Additional CSS, and

    #bbpress-forums .bbp-search-form {
        display: none;
    }

    but I don’t remember which themes I had the problem with, or know if that CSS would have worked with all those themes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.