Linux 软件免费装
Banner图

Un-Line-Break

开发者 cdillon27
更新时间 2019年1月18日 23:31
PHP版本: 3.5 及以上
WordPress版本: 5.0
版权: GPLv3 or later
版权网址: 版权信息

标签

shortcode content wpautop line breaks auto-paragraph

下载

0.2 0.2.1 0.2.2

详情介绍:

This plugin is up for adoption.
Un-Line-Break is a lightweight plugin with a very specific purpose: Improved shortcode readability. Normally, in the post editor, placing shortcodes on separate lines (like HTML formatting) results in extra line breaks in the rendered output, thanks to the WordPress auto-paragraph function (wpautop). This plugin removes those extra line breaks from the rendered output so, in the post editor, you can place shortcodes on separate lines, thus making it easier to read and edit them. It will not remove any double-spacing or <p> or <br> tags that you have added.

安装:

Option A:
  1. Go to Plugins > Add New.
  2. Search for "un-line-break".
  3. Click "Install Now".
Option B:
  1. Download the zip file.
  2. Unzip it on your hard drive.
  3. Upload the un-line-break folder to the /wp-content/plugins/ directory.
Option C:
  1. Download the zip file.
  2. Upload the zip file via Plugins > Add New > Upload.
After activating the plugin, go to Settings > Un-Line-Break to select which shortcodes the plugin should process.

常见问题:

Does this affect all shortcodes?

No. You must select which shortcodes to process. Typically, this only applies to shortcodes with content like columns, tabs, accordions, and so on.

Leave No Trace?

Some plugins and themes don't fully uninstall themselves, leaving artifacts like settings, database tables, and subdirectories. This plugin will completely remove itself upon deletion. Deactivating the plugin will leave the settings intact, though. You can switch off "Leave No Trace" so the settings remain after deletion, if you want.

更新日志:

0.2.2 0.2.1 0.2 0.1