WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Line Break Shortcode

Adds a [br] shortcode. Plugin modeled after the w4-internal-link-shortcode plugin.

Use this to force line breaks into your posts and pages. It is simple. [br] will add a line break. It won't be filtered out by TinyMCE.

There are no attributes. Not much else to see here. I couldn't find a plugin that did this anywhere. Thought that was odd.

Example time!

If your text editor content looks like this:

Hello this is my 
[br]
example!

The HTML will end up:

<p>Hello this is my</p>
<p><br /></p>
<p>example!</p>

Because the default styling of a paragraph tag adds an area of white space below it this may result in more of a break than you wanted. Solution:

Hello this is my [br] example!

Which results in the following HTML:

<p>Hello this is my <br /> example!</p>

Question/Comments: Please hit up the forum or drop me a line at Reynolds.TimJ+LinebreakPlugin@gmail.com

Requires: 3.0 or higher
Compatible up to: 3.0.5
Last Updated: 2011-2-23
Downloads: 3,337

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2
50,2,1
100,1,1