1 to 4 of 4
Hey Simon,
Do you know off the top of your head if there is a way to stop wordpress trying to reformat posts?
It keeps adding damn P tags around everything.. sometimes in the wrong places too.
I'll go ask at wordpress forum if you dont know.. cant see any setting for it in admin.
Brad
I don't think there is a way to disable the use of <p> tags by default within Wordpress, however you can use a plugin to remove them:
http://urbangiraffe.com/plugins/disable-wpautop
The plugin is literally 2 lines, to remove the tags from the content (you may not want to use the 2nd line):
remove_filter ('the_content', 'wpautop');
remove_filter ('comment_text', 'wpautop');
thanks... that was the ticket... and good tip about editing it to leave formatting enabled for comments.
Sucks the way it also strips <br> tags too... and only way to fix that one seems to be a script hack.. which I dont want to dick around with as it will just make me not want not to update.
Yeh, for me it's more trouble than it's worth. I just leave the <p> tags to do as they please.
1 to 4 of 4