put this in the custom css of your theme
#bbpress-forums #bbp-search-form {
display: none !important;
}
Hi Robin, tried the custom CSS and it worked, thank you
Hi Robin, just cleared the cache and found that via GD Power Search for bbPress plugin, the default search works, but when I then select advanced search, the page/script for advance search does not appear. Home › Forums › Search ?
I have left it running an my site incase you get a chance to try for yourself, you do not need to be a forum member for searches etc on my site ?
https://uktechhub.com/forums/
hmmm… css won’t do it then.
you’ll need to amend content-archive-forum.php in your child theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php
transfer this to your pc and edit
delete line 17
<?php bbp_get_template_part( 'form', 'search' ); ?>
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php
bbPress will now use this template instead of the original
Understood, will give this a try
Thanks
Just as an update, editing the content-archive-forum.php file worked and the GD Power Search for bbPress plugin now works as expected
Many thanks for your guidance
great – glad you are fixed !!
Hello. I am trying to understand how to remove the search bar from the forum but not for the sidebar (where I want it to be all the time). If I uncheck “allow forum search” in the admin panel in WP both disappears. Is the only other way the above way?
I am asking before doing anything, because that sound really difficult to me with zero experience with coding or webpages. I am learning by doing 🙂
You and I both 😉
Try the first option: as it does depend on your Theme
i.e go to your Dashboard > Appearance > Customise > Additional CSS and cut and paste the following in there (exactly as it is)
#bbpress-forums #bbp-search-form {
display: none !important;
}
Oh my! Many thanks uksentinel! That worked for taking away the search bar above the forum and keeping the sidebar.
Offtopic/sidenote: for every thing I do on my page I feel really proud of my self. Never knew I could even get a site up and running. Now I am doing code (however with extremely good guides from you guys ofc!) and I feel amazing 🙂 Thank you for helping out!
@flamuren always good to help others – I did my first site in 2012, and it’s great to get things doing what you want – hope you carry on enjoying the challenges 🙂