Adds a [br] shortcode. Plugin modeled after the w4-internal-link-shortcode plugin.
Author: | Tim Reynolds (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 3.0.5 |
Plugin version: | 1.0.1 |
Added to WordPress repository: | 23-02-2011 |
Last updated: | 24-02-2011
Warning! This plugin has not 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.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | http://briteskies.com/ |
Total downloads: | 7 989 |
Active installs: | 400+ |
Click to start download |
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