tanicos2
Member
Posted 4 years ago #
spending hours of searching and trying various methods i gave up and thought to make a post here..who knows..
i don't want the
tags to be replaced by <p> tags or to be deleted..i do the html in dreamweaver and then add it in WP...i use 1 div and then
in order to save time and file size...can anyone tell me how to stop the removing of the
tags...this is outrageous...it's a normal html tag..why in the world would someone remove them!!!
thank you
tanicos2
Member
Posted 4 years ago #
it looks like me break tags were replaced by breaks here
s_ha_dum
Member
Posted 4 years ago #
This isn't WordPress. Its bbPress.
Find the_content() in your theme files. If you replace that with a simple echo $post->post_content you'll basically echo exactly what is in the DB, without any filtering at all. Warning: that is a quick but brute force fix and any plugin that hooks to the_content won't work and the 'more' link won't work either. You are better off figuring out which filters are being applied and selectively removing the ones you don't want using remove_filter.
Search your WP files for lines where add_filter and the_content show up on the same line. That ought to tell you which filters are being applied. 'wpautop' is one of them.
s_ha_dum
Member
Posted 4 years ago #
Oh... that plugin is handy. I didn't know about it.
tanicos2
Member
Posted 4 years ago #
you are simply the best..awesome plugin...FINALLY