I like to keep my front and back-ends looking nice, adding some padding when necessary, trimming unwanted margins and keeping my code tight! Innocent activity, right? Well, sometimes there are unintended consequences.
> tags just keep multiplying!
If you find yourself not knowing why your site keeps popping out automatic
> tags, keep reading. The pesky wpautop( $text ) function is to blame and set to make mischief by default. Intended to help non-technical WordPress users write properly formatted html, the wpautop() can cause you to lose your love for coding. Unlike those cute lemmings, wpautop() is not programmed for population control.
|04||// remove all auto
|05||remove_filter( ‘the_content’, ‘wpautop’ );|
|06||remove_filter( ‘the_excerpt’, ‘wpautop’ );|
UPDATE :: Please be aware that you will need to edit your posts and pages using the text editor and manually adding your
> tags. If you use the visual editor all P tags will be removed.