Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable Search Box on Forum Index Page?

  • @tvguy2000

    Participant

    Hi all, I am using short code on my forum page, but I have duplicate search boxes on my site.

    http://www.aquariumcarebasics.com/forum/

    My main search box is in the sidebar with is site-wide, and one in the Forum section. I prefer to keep the search box is in the sidebar, as I am using a plugin that will incorporate forum contents in my overall searches.

    Is there any way to disable the search box that appears within the forum on the forum index page?

    I am using a child theme and I would prefer to avoid changing core files because of updates.

    Please let me know, thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • @robin-w

    Moderator

    Yes, add this code to your style.css in your child theme

    .bbp-search-form {
     display:none !important;
     }

    @tvguy2000

    Participant

    Thanks! Worked like a charm!

    @netweb

    Keymaster

    Even simpler just disable search in bbPress’ settings

    @robin-w

    Moderator

    when did that appear !?

    @netweb

    Keymaster

    when did that appear !?

    bbPress 2.4 😉

    @tvguy2000

    Participant

    thanks! worked great

    @supremor

    Participant

    That’s great if you want to remove search all together. I unchecked it and it even removed the search widget. I was just looking to remove the one in the index page, not the widget area. 🙁

    @supremor

    Participant

    The code worked. Now is there a way to remove the text ‘FORUMS’ that was on top of the search bar?

    @robkk

    Moderator

    @supremor

    if you used Robins CSS , remove that and it will show up in the widget area.

    do what Stephen said just disable search in settings>forums so it wont appear in the forum archive page

    @ahmadsarif

    Participant

    Hi can I put something else on that area such as banner or Ads?

    @robin-w

    Moderator

    yes if you know how to code

    the nearest action hook is

    ‘bbp_template_before_forums_index’

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