Linux 软件免费装
Banner图

Pinyin Slugs

开发者 senlin
更新时间 2024年12月3日 00:54
PHP版本: 4.4 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

permalinks pinyin slugs Chinese Mandarin

下载

2.0.0 2.3.0 2.0.3 2.0.4 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.2.0 1.0.0 2.3.2 2.3.3 1.0.1 2.0.1 2.0.2 2.2.1 2.3.1

详情介绍:

Chinese characters don't come out good in permalinks. Without the Pinyin Slugs plugin activated, the example post I made for the screenshot will get a slug like this: %e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e4%bc%98%e5%8c%96. With the plugin the slug automatically becomes sousuoyinqingyouhua. Search engines such as Baidu cannot make much of the first slug, but they can handle pinyin perfectly, especially when it is written as one long string without hyphens or underscores. It is possible to limit the amount of characters in the slug. The default is 100, which should be plenty for most. The Pinyin Slugs plugin was forked from the Pinyin Permalinks plugin by user xiaole_tao as that project seemed abandoned. There have been many improvements since; read the changelog for details. I have decided to only support this plugin through Github. Therefore, if you have any questions, need help and/or want to make a feature request, please open an issue over at Github. You can also browse through open and closed issues to find what you are looking for and perhaps even help others. PLEASE DO NOT POST YOUR ISSUES VIA THE WORDPRESS FORUMS Thanks for your understanding and cooperation.

安装:

WordPress Search for "Pinyin Slugs" and install with the Plugins > Add New back-end page. … OR … Follow these steps:
  1. Download zip file.
  2. Upload the zip file via the Plugins > Add New > Upload page … OR … unpack and upload with your favorite FTP client to the /plugins/ folder.
  3. Activate the plugin on the Plugins page.
完成!

屏幕截图:

  • New Post with title in Chinese characters and auto-generated pinyin slug; Baidu Search Results page underneath
  • WPML Compatible

其他记录:

WPML Compatible The Pinyin Slugs plugin has received the WPML Certification of Compatibility and is featured on the WPML website with the article How to Build a WordPress Website in China and Reach an International Audience.

常见问题:

Does Pinyin Slugs work with Simplified Chinese characters?

Yes, the plugin transforms Simplified Chinese slugs into pinyin.

Does Pinyin Slugs work with Traditional Chinese characters?

Yes, since September 2020 the plugin also can transform Traditional Chinese slugs into pinyin.

Does Pinyin Slugs work with the WP block editor?

Yes, it does, although one caveat is that to be able to see the change of slug, the post/page first needs to be saved. The same applies for edits.

Known Issues

Pinyin Slugs will not auto-transform existing slugs, you will have to change them manually.

I have an issue with this plugin, where can I get support?

Please open an issue over at Github, as I will not use the support forums here on WordPress.org

更新日志:

2.3.3 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.0.1 1.0.0 0.1.3 0.1.2 0.1.1 0.1