1、登陆phpMyaAmin后台,点击左侧你使用的数据库名,在右侧选项卡上选择SQL。

2、键入以下SQL查询语句并执行,这样就大功告成了。UPDATE wp_posts p SET comment_status = ‘closed',ping_status = ‘closed’ WHERE comment_status = ‘open’;

3、如果再要开启评论功能,在SQL查询语句咽疖纲掇状态下运行以下命令即可。UPDATE wp_posts p SET comment_status = ‘open’,ping_status = ‘closed’ WHERE comment_status = ‘closed’;