Linux 软件免费装
Banner图

Extra Sentence Space

开发者 coffee2code
更新时间 2020年1月1日 16:13
捐献地址: 去捐款
PHP版本: 1.5 及以上
WordPress版本: 5.3
版权: GPLv2 or later
版权网址: 版权信息

标签

post content formatting space coffee2code

下载

1.0.1 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9

详情介绍:

Even though you may add two spaces after each sentence when writing a post (assuming you subscribe to a writing style that suggests such spacing) web browsers will collapse consecutive blank spaces into a single space when viewed. This plugin adds a   (non-breaking space) after sentence-ending punctuation to retain the appearance of your two-space intent. NOTE: The plugin will only enforce the two-space gap in places where two or more spaces actually separate sentences in your posts. It will NOT insert a second space if only one space is present. Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

安装:

  1. Install via the built-in WordPress plugin installer. Or download and unzip extra-sentence-space.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the 'Plugins' admin menu in WordPress
  3. Begin (or continue) to use two spaces to separate your sentences when writing a post.

升级注意事项:

1.3.9 Trivial update: noted compatibility through WP 5.3+ and updated copyright date (2020) 1.3.8 Trivial update: modernized unit tests, noted compatibility through WP 5.2+ 1.3.7 Trivial update: created CHANGELOG.md to store historical changelog outside of readme.txt, minor documentation changes, noted compatibility through WP 5.1+, and updated copyright date (2019) 1.3.6 Trivial update: added README.md, noted compatibility through WP 4.9+, and updated copyright date (2018) 1.3.5 Trivial update: noted compatibility through WP 4.7+, updated unit test bootstrap, minor documentation tweaks, updated copyright date 1.3.4 Trivial update: minor unit test tweaks, noted compatibility through WP 4.4+, and updated copyright date 1.3.3 Trivial update: noted compatibility through WP 4.3+ 1.3.2 Trivial update: noted compatibility through WP 4.1+ and updated copyright date 1.3.1 Trivial update: noted compatibility through WP 4.0+; added plugin icon. 1.3 Minor update: fixed bug if using '/' as custom-defined punctuation; added unit tests; noted compatibility through WP 3.8+ 1.2.6 Trivial update: noted compatibility through WP 3.5+ 1.2.5 Trivial update: noted compatibility through WP 3.4+; explicitly stated license 1.2.4 Trivial update: noted compatibility through WP 3.3+ 1.2.3 Trivial update: noted compatibility through WP 3.2+ 1.2.2 Trivial update: add link to plugin homepage to description in readme.txt 1.2.1 Trivial update: noted compatibility through WP 3.1+ and updated copyright date 1.2 Minor update. Highlights: added filter to customize punctuation that get subsequent double-spacing preserved; added if(function_exists()) check around c2c_extra_sentence_space(); minor text reorganization; added verified WP 3.0 compatibility.

常见问题:

What text does this plugin modify (aka filter)?

This plugin potentially modifies the post content, excerpt, title, comment text, and widget text.

Why do my sentences still appear to be separated by only one space despite the plugin being active?

Did you use two spaces to separate the sentences when you wrote the post? This plugin only retains the appearance of those two spaces when the post is viewed in a browser; it does not insert a second space if there wasn't one originally present.

Can I enforce double-spacing after other types of punctuation?

Yes. See the Filters section for an example of the code you'll need to use.

Does this plugin include unit tests?

Yes.

更新日志:

1.3.9 (2019-12-31) 1.3.8 (2019-06-08) 1.3.7 (2019-02-05)