How to Manually Insert a Line Break in WordPress

How to Manually Insert a Line Break in WordPress

Sometimes WordPress acts like an evil devil, a digital psychotic dictator that decides it doesn’t want you to have spaces where you want to have spaces. It simply strips out the code no matter how many times you reset it or how many times you save it.

The Problem

Mr. WordPress: “Oh, you want to start a new paragraph here? Sorry. I don’t want that.”

You: “But I do.”

Mr. WordPress: “Sorry. I don’t. I win.”

If you’ve never experienced this, trust me, you will.

To give an example, say you want your post to look like this:

Instead, it comes out looking like this:

The Solution

There is an easily solution to this that SHOULD work for you (at least most of the time). Simply switch to the HTML mode in your editor and manually add a line break with the following HTML code:

FREE EBOOK
Your step-by-step roadmap to a profitable web dev business. From landing more clients to scaling like crazy.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

FREE EBOOK
Plan, build, and launch your next WP site without a hitch. Our checklist makes the process easy and repeatable.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

<br />

(“br” stands for “break” – easy enough to remember)

*** Sometimes you may even need to add two line breaks, depending on how well your WordPress editor is obeying you.

<br />
<br />

Another Example

It’s important to note that you will get a new line break where you put the line break code, even if it seems to be in the middle of sentence.

Tags: