WP限制评论字数的方法
在主题functions.php文件适当位置加入以下代码: /* 设定评论字数限制开始 */ function set_comments_length($commentdata) { $minCommentlength = 5; //最少字...
在主题functions.php文件适当位置加入以下代码: /* 设定评论字数限制开始 */ function set_comments_length($commentdata) { $minCommentlength = 5; //最少字...