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

Space Lover

描述

A must-have plugin if you’re running a Chinese blog. This plugin also works fine with multisite enabled WordPress (aka. WordPress Mu).

No options, no additional database inserts, no stupid banners and shitty ads, install and go.

你客戶/合作夥伴不光文案寫的爛,而且還不會排版?Space Lover 可以幫到你。它會神奇的在中文、日文和英文、數字、符號之間自動加入空白,讓客戶網站的文案、文章看上去規範整潔。

無選項、無 MySQL 插入,無廣告,安裝即用。

覺得這招治標不治本?也可以試試 sparanoid/chinese-copywriting-guidelines,讓你的客戶/合作夥伴學會如何正確的排版。

Before:

今天出去買菜花了5000元

After:

今天出去買菜花了 5000 元

安装

This section describes how to install the plugin and get it working.

Plase Note: Your server must have UTF-8 Mode enabled in order to use this plugin.

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘Space Lover’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select space-lover.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download space-lover.zip
  2. Extract the space-lover directory to your computer
  3. Upload the space-lover directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

常见问题

Compatible with multisite?

Yep.

Can I activate Space Lover and Space Lover Lite at the same time?

Yep.

Differences between Space Lover and Space Lover Lite?

  • The new Space Lover (since v1.0.5) uses PHP regex to replace output contents.
  • Space Lover Lite just inserts one script to dynamic add spaces.
  • Space Lover changes your post output in your themes, RSS output
  • Space Lover Lite only changes what you see, the post output is untouched, so you’ll still get original post contents in your RSS feeds, however this method is slightly safer than Space Lover.

Space Lover 與 Space Lover Lite 的區別?

  • 新版 Space Lover(v1.0.5)使用 PHP 的正則替換文章的輸出內容
  • Space Lover Lite 只插入 JavaScript 腳本,動態添加空格
  • Space Lover 會修改所有文章的輸出形式,例如用戶所看到的頁面,RSS 輸出等
  • Space Lover Lite 只會改變您在網站上看到的形式,而文章本身的內容是沒有被修改過的,所以使用此擴展時,RSS 的輸出並不會產生變化,唯一的優點是,這種方法與 Space Lover 比較相對安全,不會有內容被錯誤替換的可能。

评价

2023 年 1 月 5 日
希望作者大大可以繼續更新,這個外掛簡直就是造福中文 WordPress 網站排版的神器。 雖然沒有更新都還是可以繼續使用,但還是有些地方沒有辦支持,例如 Custom Fields,不過對我來說已經是好到不得了。 感謝作者大大!
2016 年 12 月 19 日
The devil is on the details! Great plugin!
阅读所有4条评价

贡献者及开发者

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

贡献者

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

对开发感兴趣吗?

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

更新日志

1.1.6

  • Compatibility check for 5.8, nothing new, just bump version to tell everyone this plugin still works.

1.1.5

  • Fix: wrong closing punc condition, props John Shen

1.1.4

  • Fix: missing space for special halfwidth characters, props John Shen

1.1.3

  • Fix: unwatned space between general punctuations introduced from the last commit

1.1.2

  • Fix: unwanted space between ruby tags, props John Shen
  • Compatibility check for 5.0

1.1.1

  • Feature: refine ampersand characters fix
  • Compatibility check for 4.9

1.1.0

  • Fix: missing space for percentage sign
  • Fix: unwanted space after special ampersand characters

1.0.15

  • Update assets.

1.0.14

  • Compatibility check for 4.6 and 4.7, nothing new, just bump version to tell everyone this plugin still works.

1.0.13

  • Compatibility check for 4.5, nothing new, just bump version to tell everyone this plugin still works.

1.0.12

  • Compatibility check for 4.4, nothing new, just bump version to tell everyone this plugin still works.

1.0.11

  • Compatibility check for 4.3, nothing new, just bump version to tell everyone this plugin still works.

1.0.10

  • Compatibility check for 4.2.2, nothing new, just bump version to tell everyone this plugin still works.

1.0.9

  • Compatibility check for 4.1 and 4.1 alpha, nothing new, just bump version to tell everyone this plugin still works.

1.0.8

  • Update: Add spaces between links

1.0.7

  • Fix: Better readme

1.0.6

  • Fix: Chinese characters no longer being replaced

1.0.5

  • Update: To provide better result, this plugin no longer uses vinta/paranoid-auto-spacing to add spaces, now it uses PHP regex rules to replace contents ouput.

1.0.4

  • Update: Jetpack Infinite Scroll support

1.0.3

  • Update: New copywriting

1.0.2

  • Fix: Remove actual assets imagess

1.0.1

  • Fix: Add the missing assets files

1.0.0

  • First release