If you are a poet, quoting poetry, or need to create a block of text featuring single lines not double lines between each line, here’s how.
By default, WordPress and most blogging programs turn every line into a paragraph. When you hit the ENTER or RETURN button on your keyboard, it puts in a line break which WordPress interprets as the end of a sentence.
Thus, the underlying code of your paragraph looks like this:
<p>This is a paragraph of text that goes on, wrapping around the line over and over again, until you finally get to the end of the paragraph and hit the ENTER key.</p> <p>Then a new paragraph is started on the next line and on your blog post, there is a space between each paragraph, set by the blog designer in your CSS stylesheet. The space is wider on some blog designs and narrower on others.</p>
This looks like the paragraphs you see in this article, with a space between each paragraph, created by the P Paragraph HTML tag.
To create a block of text in which you control the length of the line, but each line is on top of the other with no paragraph spacing between the lines, such as poetry, such as:
We shall never cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time.
T. S. Eliot
Switch your WordPress post editor to the HTML/Code view and manually add a line break HTML tag to the end of each line <br />:
We shall never cease from exploration<br /> And the end of all our exploring<br /> Will be to arrive where we started<br /> And know the place for the first time.<br /> <cite>T. S. Eliot</cite>
WordPress will automatically wrap the whole thing in a Paragraph tag, but will honor the line breaks so each line appears on it’s own with no spacing between.
Related Articles
- How to Write Like a Wanker
- 10 Things You Need to Know Before You Blog
- What Do I Do With My New WordPress.com Blog
- Adding a Signature To Personalize Your Blog Post
- WordPress.com Blog Bling: Signatures and Writing Code
- WordPress.com Blog Bling: Fun Font Bling
- WordPress.com Blog Bling: Lines and Smilies
- WordPress.com Blog Bling: Decorating Your WordPress.com Blog


Site Search Tags: wordpress tips, blogging tips, writing tips, single lines, single lines in posts. blog writing, blogging poetry, poetry blog, writing poetry, writing single lines, publishing single lines
Copyright Lorelle VanFossen, member of the 9Rules Network
Subscribe
Via Feedburner
Subscribe by Email










10 Comments
You can also hit ‘Shift-Enter’ to add line breaks in the WYSIWYG editor.
cite not em for the author
Well, sorta. The CITE has a mixed history. But this should set a better example. Thanks.
In the Code tab, you don’t need to manually add line break tags. You just hit enter. Two line breaks in a row will translate to a new paragraph. I wish the WYSIWYG editor behaved the same way.
After, writing a line, hitting enter, then returning to ‘edit this post’ mode, code-view, all of the codes seam to disappear. It would be nice if this rough code would stay in the system. Otherwise good tip.
It’s rather annoying that the WordPRess editor does strange things with plain ol’ HTML we enter into the posting screen. It re-arranges HTML code, messes with line breaks and such other things.
Does anyone have a plugin to shut off any involvement with the post text?
Simple tips and tricks on how to optimize your WordPress blog for higher search engine rankings. List of excellent plugins that will improve your WordPress blog.
If you are using WordPress platform for your blog, then there are a few things you need to know abo…
Fips has already given the easy answer:
You can also hit ‘Shift-Enter’ to add line breaks in the WYSIWYG editor.
There is no need to use the Code view to solve this.
I get this question from readers and WordPress users frequently, so it is obviously worth providing this how to information.
There are many, thefireplace, who do not use the Rich Text Editor, and need to know about this ability, as well as those who do not use WordPress.
Mark, while it should work automatically, recognizing a single space compared to double space, I’ve found that this is not a consistent ability, sometimes based upon versions, other times when it feels like it.
As for Plugins to stop the Rich Text Editor from influencing your post content, that kind of defeats its purpose. If you don’t like it, turn it off. Personally, I find it cumbersome and only use it when I have to. Of course, I’ve been writing code and HTML manually for a very long time, so I write it like typing a letter, without much thought on the keystrokes and a lot on the intent and purpose.
It’s actually kind of frees the mind to just write as if this was a blank slate instead of a pretty picture.
There really should be a viable option for this. Either hacking the wysiwyg editor or via a plugin.
Only using “code view” is not an option for some people and neither is ’shift-enter’
One Trackback/Pingback
[...] WordPress tip #1 Writing with Single Lines Not Double in Your Blog Posts [...]
Post a Comment