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!!!
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.