Ah yes it was the theme causing the problem. Interesting. Changing theme fixed the problem.
I was also using a Child Theme of Woothemes Canvas Theme. In my case, it was resolved using the following (I found this solution in this site – http://www.pootlepress.co.uk/2013/06/65-tips-tricks-and-css-tweaks-for-woothemes-canvas/):
Fix for BBPress and Canvas (5.2 and higher)
———————————————
Matty Cohen from WooThemes provided the fix for this one 🙂
Add a file called “bbpress.php” into your child theme. This file can be downloaded here: https://gist.github.com/mattyza/1b01583441b11c8d04d0
Add the following code in the designated area of your “functions.php” file: https://gist.github.com/mattyza/f210cadb7f70188d513d
I am almost sure, you have problems inside your theme’s FUNCTIONS.PHP!
find this phrase in your functions.php ( or maybe problem can be inside any other activated plugin):
add_action(‘pre_get_posts’,……………
there maybe set search query customizations, so if there is set/limited the post types, then bbPress post types maybe left out of scope. So, alter that code (i.e. change to something like this:
add_action('pre_get_posts','my_search_filterr');
function my_search_filterr($query)
{
if ($query->is_search()) //if ($query->is_main_query())
{
$arrs[]='post';
$arrs[]='page';
//and etc...
//Then bbPRESS types:
$arrs[]='topic';
$arrs[]='forum';
$arrs[]='reply';
$query->set('post_type', $arrs );
}
return $query;
}
Matty Cohen from WooThemes provided the fix for this one 🙂
Thank you! This solution fixed my forum search, but messed up my page layout!
Please look here:
http://temp.stillrunnin.com/runnin-board/
My sidebar is now moved to the bottom instead of being next to the forum content!
Any idea what I did wrong and how to fix it?
Any idea what I did wrong and how to fix it?
Got it figured out! In the new bbpress.php file I changed line 22 code:
from this
<section id="main">
to this:
<section id="main" class="col-left">
All good now!
great – glad you’re fixed
Hello!
I am using the Canvas theme with bbpress. I used the above fix to solve the bbpress search issue, however now bbpress seems to have lost the ability to create line breaks.
The line/paragraph breaks that are created when typing into the editor, disappear when the post is submitted, and all the paragraphs merge together making the post much harder to read.
Anyone clever got any ideas? Please help!
The problem could also be related to the new version of WP 4.0.1 which I just updated to.
Best,
Esme