How to Get Line Breaks in WordPress
It can be frustrating that WordPress automatically deletes the extra line breaks that you add to a post. I mean, you've got good reason for putting them there, right? Maybe you want some extra white space...maybe you need to align something, whatever. But WordPress doesn't let you do it.
In fact, even if you try workarounds like <br> tags, <p> tags, nbsp symbols, etc., none of them work.
There is a quick and easy fix.
There's a plugin called TinyMCE Advanced. Download and install this plugin.
Then, in the Settings panel for TinyMCE Advanced, there's an option toward the bottom that reads:
"Stop removing the <p> and <br /> tags when saving and show them in the HTML editor"
Set that checkbox on.
You're done! You can now add extra spaces, even from the WYSIWYG editor just by hitting the enter key!
I hope this helps...it was driving me crazy for a while, so when I figured out how to get line breaks in WordPress, I thought I'd share!
Linda - http://how.best-free-information.com - The "How" Blog
April 6th, 2009 - 02:38
This worked, I am so thankfull! it was driving me bonkers before, I was a little worried becuase it came up with a warning saying that the plugin had not been tested with my version of workpress but it worked fine : )
Thankyou once again
April 22nd, 2009 - 02:33
OMG!!!! Thank you! Thank you! Thank you!
May 29th, 2009 - 19:39
WOW – you saved me from jumping off a bridge
. I’m using 2.7.1 and so far, so good. Thank you x1,000!
June 9th, 2009 - 10:54
That is a great plugin that help me keep the few hairs I have left on my head. Why WordPress all of a sudden starts stripping line or paragraph breaks is beyond me, but TinyMCE Advanced fixed that problem and more. Thanks!
June 18th, 2009 - 20:40
wordpress is retarded. Every other blog and program can use line breaks.
To eliminate something as basic as hitting the enter key and seeing a space there is Beyond Ignorant Design! What kind of crazy planet are they living on, every other editor in the WORLD can do this, even free ones designed by monkeys.
/rant
June 26th, 2009 - 19:38
There was a moderator post explaining this and it was excruciatingly obnoxious.