這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Vacant Line BReaker

描述

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.

  1. Choose the target area: in posts, comments, or both(default).
  2. Choose the breaking tag format: <br />(default) or <br>.
  3. Choose the tag which the paragraphs will be wrapped with: <p> tag(default) or none.
  4. 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>タグを追加するか、といったいくつかの設定ができます。
※ビジュアルリッチエディターではうまく動作しません

螢幕截圖

  • Edit settings through the 'Settings' menu as you like.

安裝

  1. Upload ‘vacant-line-breaker’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit settings through the ‘Settings’ menu as you like

常見問題

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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Vacant Line BReaker” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Vacant Line BReaker 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.