Опис
On display, duplicate whitespace (including unicode whitespace characters) in between sentences or elsewhere within posts will be replaced with a single space. Useful if multiple contributors use different styles for sentence spacing or as a catch-all for any unintended extra whitespace.
This enables consistency in a blog with multiple contributors where one writer uses double spaces between sentences and another uses single spaces.
No modifications are made to the post content itself, the replacement happens when the content is displayed to the user.
Встановлення
- Unzip
remove-double-space.zip
. - Upload the
remove-double-space
directory to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to the admin panel
Settings > Remove Spaces
to turn the replacement on/off (off by default).
Часті питання
- Does this plugin clean up after itself if uninstalled?
-
Yes, if deleted via the admin interface, the plugin will remove its options from the database using the
uninstall.php
file. Deactivating the plugin won’t have any effect on the database options. If this file is not included with the plugin, the uninstall process will not run.
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“Remove Double Space” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Remove Double Space” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
0.3
- Tested up to 3.2
0.2
- Fully uses Settings API
- Changed menu name and moved to Settings panel, added link to settings from plugins page
- Encapsulated plugin in a class
- Fixed donation link
0.1
- Initial release, supports switching replacement off/on globally.