Quick tip for WordPress.com bloggers: how to add extra lines in posts
Posted May 1, 2011on:
If you are a WordPress.com blogger you may have struggled with an annoying little problem. When you try and add extra lines into your post they are stripped out. And even if you are techy enough to click on the HTML editor:
And go to the trouble of adding a paragraph or br tag – they are stripped out immediately. A way around this (don’t tell WordPress in case they disable it) is to use an empty code tag.
If you are not used to going into the HTML screen don’t worry, it’s not difficult. You just need to click on it (as illustrated above). Then find the right place in the text and click on the code button:
Make sure when you click on code button that you see the code tag appear in the editing window… then (as all good coders will remember) close the tag – the code button will have turned into one that looks like this: /code Click on that to make the closing tag appear. So you should end up seeing this, in the html code, where you want your extra line to appear:
Then hit ‘save draft’ (while you are still in HTML view) and preview to check the space is where you want it to be. Beware if you click to go back to ‘Visual’ before you save WordPress will realise you are trying to trick it and strip the code tag out.
As you can see from the example images – I have used this trick to add an extra space beneath all of the images in this post. I also find it useful beneath a bulleted or numbered list – when I want an extra space to make the post easier to read.