bbPress is giving me a headache trying to figure out how to remove <br> and <p> tags from existing post in the database after an import. I have tried editing "formatting.php" but with no results except to hide all my forum posts for a day. Any suggestions?


Take a look in here, not sure if this will accomplish what you're looking to do (the existing posts) but it should stem the tide going forward:


You're looking for something like this I think:

remove_filter( 'the_content', 'wpautop' );

This plugin also does something like that, though I've never used it:


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.