Description
This plugin changes the WordPress’s native formatting rules to keep the numbers of the line breaks you wrote.
It adds <br /> tags as many as line breaks in posts, comments, or both, even if the line was vacant.
You can change the settings below in the admin panel. For example: you can choose to add <p> tags for wrapping the paragraphs or not.
Settings
You can choose settings below.
- Choose the target area: in posts, comments, or both(default).
- Choose the breaking tag format: <br />(default) or <br>.
- Choose the tag which the paragraphs will be wrapped with: <p> tag(default) or none.
- Shortcodes that you want to exclude from <p> tag wrapping.
This doesn’t work if you choose “none” in option #3.
Default is only “caption” but you can set multiple shortcodes separating “|”. Ex. “caption|map”
Attention
This plugin doesn’t work with the Visual Editor, so far.
For Japanese users
このプラグインは行末に<br />を追加します。
記事投稿時の改行の数だけ<br />が追加されます。
段落に<p>タグを追加するか、といったいくつかの設定ができます。
※ビジュアルリッチエディターではうまく動作しません
Screenshots
Installation
- Upload ‘vacant-line-breaker’ folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Edit settings through the ‘Settings’ menu as you like
FAQ
- Can I use this plugin with the Visual Editor?
-
Unfortunately, no.
- This plugin changes data in DB?
-
No. This plugin changes no data in DB. This plugin just changes a little the WordPress’s native formatting rules when a post or a comment is shown in page.
Reviews
There are no reviews for this plugin.
Contributors and Developers
“Vacant Line BReaker” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Vacant Line BReaker” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change Log
0.7
- Add p tag after shortcodes.
0.6
- Fixed problems with closing tags.
0.5
- Fixed problems with video.
0.4
- Fixed problems with single tags.
0.3
- Add an option for shortcodes.
0.2
- Available in Japanese.
0.1
- First release.