16Mar

How to add line breaks in wordpress

Posted by Mr Leet as Wordpress

Well! I came across a problem today when I was blogging… Wordpress likes to clean line breaks and other ways of making white space in your posts.

So I ended up using google to find out some ways to add line breaks in a wordpress post… I didnt find exactly what I wanted but… I found these few tricks on adding line breaks:

  • if you just want one line break add <code><br ></code>
  • A wordpress text control plugin
  • ‘advanced’ editor plugins: Tinymce (there’s a few more out there… I’ll make a post on those later, or just google it?)
  • Last but not least: Turn off wordpress cleaning: this is nifty? I don’t recommended this one..

That all I got for now… If you have any more ways to add line breaks in wordpress please post a comment! Thanks ;)

P.S… I use the first suggestion

Related posts:

  1. Digg like comments for wordpress
  2. Custom css for author comments on wordpress
  3. Integrate phpbb3 with wordpress plugin: wp-united

Comment Form

Calendar

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930