Learn to Insert A Line Break in WordPress Posts
Sometimes WordPress editor acts weird. Although it’s a good text editor but not flexible as MS Word.
What do you think?
I am using it for a long time but still I face issues with it like inserting lists, line spaces, line breaks, tab etc. Sometimes they don’t work as expected. One such problem that I face too often is the missing line break between my headings and paragraphs.
Every time I enter space between the two lines, WordPress strips out the code and resets it with no line break. When I check the same thing in the WordPress editor, it shows me the space between the lines but when I preview the same post in the browser, there’s no space between them.
Also Read: How to Delete WordPress Post Revisions?
Insert A Line Break in WordPress – The Solution
If you are also facing the same issue that I have mentioned above then follow the below solution to fix it in your WordPress post.
- First of all, switch to the TEXT or HTML mode in your editor first.
- Search the code where you want to insert a line break.
- Then just manually add a line break using this HTML tag “<br/>”.
- Hit “Save Draft” before leaving text editor.
- Check preview to make sure the results are as expected.
After adding the above code, it will look like shown below:
Sometimes you may even need to add two line breaks, depending on how well your WordPress editor is following you.
Another Usage of Line Break HTML tab
Break this line using <br/> and continue from the next this.
When you see the above code in the web browser, you will notice a line break is inserted after the “<br/>” HTML tag.
Also Read: How to Add Author to Your WordPress Blog?
If you like this article, do share this with your friends on Facebook, Twitter & LinkedIn. I’m sure you must have encountered this problem in past and was looking for options to correct it.
If you are already using this technique then please share your experience with others in the comments section? If you do something else to fix this, then please your work around with others?