我有一个标题为"Paper 10x10"的Wordpress页面.在我的侧边栏导航中,此页面显示为"纸张10×10"(请注意,x由Wordpress进行纹理化,因此x成为乘法符号×).
我安装了插件原始html插件.它只禁用wptexturizing the_content.但导航不在,the_content但在get_sidebar().
我试过remove_filter:
remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
Run Code Online (Sandbox Code Playgroud)
但这也只会禁用内容或摘录的纹理化.
如何wptexturize在Wordpress博客中全局禁用过滤器?
| 归档时间: |
|
| 查看次数: |
3759 次 |
| 最近记录: |