Wordpress Plugin: Chinese PinYin Slug
For example, when you publish a post with a title like this:
"中文拼音"
Wordpress automatically assigns a long filename to your post, called a post slug:
/%e4%b8%ad%e6%96%87%e6%8b%bc%e9%9f%b3
PinYin Slug plugin convert Chinese character into PinYin character. With Chinese PinYin plugin activated, the slug for our example blog post would look like this:
/zhongwenpinyin
The slug is generated on saving a post (so you get a chance to look at it before publishing, and change it), or on publish. It won't overwrite an existing slug. You can force a new slug generation by deleting the existing one.
Installation
Download the PinYin Plugin and unzip to the '/wp-content/plugins/' directory. Activate the plugin through the 'Plugins' menu in WordPress. Now, when editing a post, give it a title and press Save and Continue Editing. The PinYin Slug plugin will generate a slug. If you edit it, the plugin will honor your slug and won't change it.
If you find this plugin useful, please, link to this page: Chinese PinYin Slug Wordpress Plugin.
View this post on my blog: http://www.dop.net.ru/wordpress-plugin-chinese-pinyin-slug/


0 条评论:
发表评论
指向此帖子的链接:
创建链接
<< 主页