Documentation for Disable Comments on Post Categories Plugin

This is a very simple plugin with a Single Settings screen.

Disable Comments on Post Categories ScreenShot

Here is how to use this plugin

1. Go to Settings-> Disable Comments Post Categories

2. Select the Categories to disable comments on

3. Save!

What does this plugin do?

This plugin does 3 things

  1. Disable the commenst on the post using comments_open filter
  2. In case the theme does not make use of comment_open filter, the plugin loads an Empty Comment Template to hide the comments
  3. Deregister the comment-reply.js on respective posts.

If you want to dig deep into how the plugin works then refer to this post.

Thats it. If you face any trouble pls ask on the forums.

Leave a Comment