该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Space Remover

描述

Space Remover helps keeping your web page design clean and consistent by removing any leading and/ or trailing spaces from your page content.

The WordPress editor is awesome, but often unintended lines (actually paragraphs) are left at the beginning and /or end of your content. This can be handy , but all to often results in large white spaces in your layout. This simple plugin will remove these lines, helping you get rid of those extra spaces before and after your content without you having to worry about it.

Because of the simplicity of this plugin there are just a few settings:

  • Enable or disable Space Remover to remove all leading and trailing spaces
  • Enable Space Remover for removing only leading spaces
  • Enable Space Remover for removing only trailing spaces
  • NEW! enable/disable the admin metabox

Extra:
Sometimes you want to use that extra space in your content. For this purpose you can also disable Space Remover on a page/ post individual basis.

UPDATE:
Version 2.0 adds Custom Post Type Support and an extra option to disable the admin (edit page) metabox!

UPDATE 2:
Tested in WP version 4.7 Still going strong!

UPDATE 3:
Tested in WP version 4.7.4 No stopping us!

More information

Thats all there is to this plugin.

Supporting future development

Just enjoy! 🙂

Usage

After installing the plugin, you can setup the plugin by going to Settings > MGWE Space Remover. Choose if you want to remove all leading and trailing spaces, just leading of just trailing spaces from your page content. When needed you can disable Space Remover on individual pages and posts pages.

Acknowledgements

Thanks to all language file translators!

License

This plugin is Free Software, released and licensed under the GPL, version 2 (http://www.gnu.org/licenses/gpl-2.0.html).
You may use it free of charge for any purpose.

屏幕截图

  • Space Remover settings page
  • Space Remover individual page disabler

安装

The easiest way to install Space Remover is via your WordPress Dashboard. Go to the “Plugins” page and search for “Space Remover” in the WordPress Plugin Directory. Then click “Install Now” and the following steps will be done for you automatically. You’ll just have to activate Space Remover.

Manual installation works just as for other WordPress plugins:

  1. Download and extract the ZIP file and move the folder “space-Remover” into the “wp-content/plugins/” directory of your WordPress installation.
  2. Activate the plugin “Space Remover“ on the “Plugins” page of your WordPress Dashboard.
  3. Go to Settings > MGWE Space Remover and choose your preferred Space Remover settings

常见问题

Installation Instructions

The easiest way to install Space Remover is via your WordPress Dashboard. Go to the “Plugins” page and search for “Space Remover” in the WordPress Plugin Directory. Then click “Install Now” and the following steps will be done for you automatically. You’ll just have to activate Space Remover.

Manual installation works just as for other WordPress plugins:

  1. Download and extract the ZIP file and move the folder “space-Remover” into the “wp-content/plugins/” directory of your WordPress installation.
  2. Activate the plugin “Space Remover“ on the “Plugins” page of your WordPress Dashboard.
  3. Go to Settings > MGWE Space Remover and choose your preferred Space Remover settings
Where can I find answers to Frequently Asked Questions?
Support?

For support questions, bug reports, or feature requests, please use the WordPress Support Forums. Please search through the forums first, and only open a new thread if you don’t find an existing answer. Thank you!

Requirements?

In short: WordPress 3.2 or higher, while the latest version of WordPress is always recommended.

Languages and Localization?

The plugin currently includes the following languages:
English

Development
Where can I get more information?

There isn’t any to be shared

评价

此插件暂无评价。

贡献者及开发者

“Space Remover” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Space Remover”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 2.0

Added Custom Post Type support and an option to disable the admin meta box