Buddypress and search issue |
|
Debayne
|
Hi guys,
I am using an Artisteer 4 theme on a Buddypress/BBpress site, but seem to have a problem with the search.
Under the forums there is a search function, but when I put in a search phrase it returns a wordpress post rather than searching the forums.
Has anyone come across this and solved it?
Thanks
|
|
Tanya
Artisteer Team
|
Hi,
And when you activate the default WordPress template the problem does not appear?
Best regards,
Tanya
|
|
Debayne
|
Sorry yes Tanya, I tried it with 2012 theme and search worked fine, so has to be down to the Artisteer theme.
Thanks
|
|
Trevor
|
This is an issue with bbPress, it loads the content-search.php template from the theme directory, which is wrong. An easy fix is to rename the content-search.php file in your theme directory to content-searchresults.php and then change this line in search.php: get_template_part('content', 'search'); to this: get_template_part('content', 'searchresults');
|
|
|
|