Post language available in: English / 简体中文

English

Quotmarks Replacer is a plugin disables wptexturize founction that keeps all quotation marks and suspension points in DBC case.

Update

2.1:

2.0 beta:

  • Now 2.0 use remove_filter make it works, instead of using add_filter to replace the wptexturized text.

1.20 beta:

  • Added filter single_post_title (Thanks to yskin)

1.1.0 beta:

  • More filters are added (category_description, comment_author, comment_excerpt, list_cats)
  • Optimized code

1.0.5 beta:

  • Error in converting #8211 and #8212.

1.0.4 beta:

  • Error in converting #8243. (Thanks to Erac)

1.0.3 beta:

  • Error in converting multiple quotation marks. (Thanks to herllin)

1.0.2 beta:

  • New feature: Convert suspension points(…) into DBC case. (Thanks to Zeax)

1.0.1 beta:

  • Error in mistaking converting blog title into DBC case. (Thanks to raenoll)

Installation

  • Upload the "qmr" directory to /wp-content/plugins/
  • Go to Plugins page and activate Quotmarks Replacer
  • Have fun :)

This plugin is released under the GPL license. Feel free to use it but please do not remove credit infomation.

Download / qmr21.zip / 1.27 KB

简体中文

Quotmarks Replacer 是一个通过禁用 wptexturize 函数,解决 WordPress 自动将半角的单引号、双引号和省略号转换为全角标点的问题。使后台输入的标点格式与前台读者浏览的标点格式保持一致的插件。

更新

2.1:

2.0 beta:

  • 新版本使用 remove_filter 的方法来实现,废弃之前使用 add_filter 替换的方法

1.20 beta:

  • 新增 filter single_post_title(感谢 yskin

1.1.0 beta:

  • 添加了更多的 filter(category_description、comment_author、comment_excerpt、list_cats)
  • 代码优化

1.0.5 beta:

  • 修正 #8211 和 #8212 破折号的自动转换问题

1.0.4 beta:

  • 修正 #8243 双引号的问题(感谢 Erac

1.0.3 beta:

  • 修正多重引号的转换问题(感谢 herllin

1.0.2 beta:

  • 新功能:增加了对全角省略号(…)的转换(感谢 Zeax

1.0.1 beta:

  • 修正未转换 blog 标题的错误(感谢 raenoll)

安装

  • 将“qmr” 目录上传到 /wp-content/plugins/
  • 进入 Plugins(插件)页面,激活 Quotmarks Replacer
  • Have fun :)

此插件基于 GPL 发布。免费使用,但请不要删除其中的版权信息。

Download / qmr21.zip / 1.27 KB

Demo
Original texts:
Original texts

Before using:
Before using

After using:
After using

Also see the original post:
http://sparanoid.com/blog/quotations-test-by-sparanoid-sparanoid/


« older in this category

newer in this category »