网站的垃圾评论,着实让人恼火,我实在是没有办法忍受漫如洪水的垃圾评论,夹带着很多的垃圾链接。
今天我们就想办法去掉默认的WordPress博客评论表格里URL一栏。这样做,可以屏蔽垃圾评论。
那就开始吧。
安装Comment Link Remove插件
![Comment Link Remove](https://shelleydigital.com/wp-content/uploads/2022/02/Comment-Link-Remove-plugin.jpg)
在WordPress插件里面搜索comment link remove,找到这款插件,点击安装,并且激活。
设置QC CLR Settings
![Comment Link Remove settings](https://shelleydigital.com/wp-content/uploads/2022/02/Comment-Link-Remove-settings.png)
成功激活comment link remove插件之后,就可以在WordPress后台的左侧功能栏里找到QC CLR Settings,然后打击打开该插件的界面。勾选remove website field from comment form和remove hyper link from author bio这两项。然后点击保存。
完成效果
![before](https://shelleydigital.com/wp-content/uploads/2022/02/before.png)
这是设置之前的样子
这是设置之后的样子
添加代码
除了安装插件,还采用别的办法,添加代码,来去除URL选框。
![remove url comment code](https://shelleydigital.com/wp-content/uploads/2022/02/remove-url-comment-code.png)
点击保存更新,comment的website URL一栏就可以去除了