Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Vacant Line BReaker

Beskrivning

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>タグを追加するか、といったいくつかの設定ができます。
※ビジュアルリッチエディターではうまく動作しません

Skärmdumpar

Installation

  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

Vanliga frågor

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Vacant Line BReaker” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Vacant Line BReaker” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.