How to Add Multiple Line Breaks in Wordpress

by admin 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 :)

  • Share/Bookmark

No related posts.

:, , , , , , , , ,

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!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...