[prisna-google-website-translator]
WordPress 允许分类描述添加 html 代码

WordPress 允许分类描述添加 html 代码

解决方法

直接将下面的代码添加到当前主题的 functions.php 文件即可:

<?php
/**
 * 允许分类描述添加html代码
 */
remove_filter('pre_term_description', 'wp_filter_kses');
remove_filter('term_description', 'wp_kses_data');
?>
暂无评论

发送评论 编辑评论


				
上一篇
下一篇