Posts Tagged ‘autop’
How can I disable WP’s fucking autop filter?!
August 17th, 2009 Posted 5:36 am
With one catch – only on certain pages. I’ve found two plugins that seem ideal but, WordPress it having none of it. I finally installed TinyMCE Advanced which shows, as suspected, WordPress is adding p tags in places they should not be. Actually, that would be /p tags. All I want to do is add some nice br tags but wordpress keeps switching them (or adding) damned /p tags without even adding the opening p tags.
I would gladly give up my first born to a person who has a plugin which actually disables autop. I honestly didn’t think I could be anymore frustrated than I have been this past day. Fuck you WordPress.
Edited to Add:
I can get my pages to validate if I manually add p tags to balance WP’s /p tags (even though that is not the tag I want there) or if I code a page in Textpad and copy it in as one long line. Unfortunately, after saving, WordPress splits my code so paragraphs and line breaks are on a new line so I have to copy it back into Textpad, change it to one continuous line and then add any changes because I cannot change it on the edit page without it fucking up.
