【WordPress教程】禁止WordPress文章自动转义字符

当前主题的functions.php文件添加以下代码实现禁止Wordpress文章自动转义字符

//取消内容转义
remove_filter('the_content', 'wptexturize');
//取消摘要转义
remove_filter('the_excerpt', 'wptexturize');
//取消评论转义
remove_filter('comment_text', 'wptexturize');

给TA打赏
共{{data.count}}人
人已打赏
WordPress主题

【WordPress主题】Close-网站维护专用wordpress主题

2020-3-14 22:27:24

WordPress教程

【WordPress教程】正在执行例行维护,请一分钟后回来卡住的问题解决

2020-3-17 23:09:09

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索