How to Add Multiple Line Breaks in WordPress

by on Feb.02, 2010, under Web Development, Wordpress

WordPress strips / deletes automatically all <p> and <br> tags. If you want to have more than one line break, paragraph or spacing between two lines you’ll get problems. But there are three different methods to bypass this:

  1. Simply add a non-break space. WordPress then thinks there is content so allows the spacing:

    &nbsp;<br />

  2. or

  3. Use an empty paragraph tag:
  4. <p align=”none”>&nbsp;</p>

    or

  5. Install the TinyMCE Advanced plugin for WordPress. This adds a more complex WYSIWYG (“What You See Is What You Get”) editor to your WordPress. After installing and activating, the option to enable line breaks can be found in the Settings->TinyMCE Advanced panel:multiple line breaks

Now you should be able to add extra line breaks :)

Incoming search terms:

Share
:, , , , , , , , ,

1 Comment for this entry

  • ricky

    I have searched high and low in the forums and could never find an answer to this question! Thank you Thank you Thank you!

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!