11 月 042014
 

今天发现了一个问题 ,后台编辑的时候显示是 –,然后在前台看到变成了 –,查看源代码,发现不是直接显示–,而是进行了转义变成了:–   别人也出现过这个问题:http://www.01happy.com/wordpress-seo-title-line-escape/

 

后来参考了 http://www.zhizhihu.com/html/y2009/934.html

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

这样的话 就不会进行转义,显示也没问题了。

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny