How to remove the url field from the comment form

If you have ever run a blog, you must have faced the problem of comment spam. Spammers engage in comment spam for link building purpose. One simple way to discourage spammers is to remove the url field from the comment form. This will ensure that spammers cannot use your comment form for link building purpose. […]

How to Turn Off Comments on WordPress Pages

In this tutorial I will share a simple snippet which allows you to disable / turn Off comments on WordPress Pages. The snippet is quite simple and does two things 1) It first checks if the post is of type ‘page’. The check is done after the post object is completely created. 2) In case […]

How to Disable and Hide Comments on Posts of specific categories

In this tutorial I will share a simple snippet which allows you to disable / hide comments on Blog Posts of selected categories. The snippet is quite simple and does two things 1) It first checks if the post belongs to disabled categories. The check is done after the post object is completely created. 2) […]