Mariamz

Quick tip for WordPress.com bloggers: how to add extra lines in posts

Posted on: May 1, 2011

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

This blog is about utilizing and optimizing the social web for business, pleasure and social change

My tweets

Enter your email address to follow this blog and receive notifications of new posts by email.

Creative Commons License
This work is licenced under a Creative Commons Licence.

PositionDial

The views in this blog do not reflect that of my employer