Celebrate Our 22nd Anniversary with Huge Savings! Up to 70% Off

How to Enable or Disable Comments on an Individual Page in WordPress?

There are various practical features in WordPress' commenting system. Increased engagement is one benefit of allowing comments on your blog. On the other hand, not every website will want or desire this feature.

Fortunately, it is possible to disable WordPress comments if you aren't using them. This removes an unwanted feature while also speeding up and reducing spam on your WordPress website.

The step-by-step guide provided below to enable or disable comments:

Option - 1: Using WordPress Dashboard

To Enable Comments -

  • Log into your WordPress Dashboard.
  • Move to the Pages menu, and select All Pages.
  • Select the page you want to enable/disable comments.

  • On the page, navigate to the “Discussion” section.
  • To enable comments, check the box with the text “Allow Comment”.

To Disable comment -

  • Uncheck that checkbox with the text “Allow Comments”

Option - 2: Using Bulk Edit

To Enable comments -

  • Log into your WordPress Dashboard.
  • Scroll down to the pages section.
  • Check that one page that you want to modify.
  • Click on "Edit" from the "Bulk Actions" dropdown menu.
  • Choose the “Apply” button.

  • In the page Comments section, select “Allow” from the dropdown menu to enable comments.

  • Select the “Update” button.

To Disable comments-

  • In the page Comments section, select “Do not allow” from the dropdown menu to disable comments.

  • Select the “Update” button.

Option - 3: Using a Plugin

To Enable comment -

  • Go to your WordPress Dashboard.
  • Navigate to the plugins and Add new
  • Search for plugins to enable/disable comments (Ex. No Page Comment ).
  • Install the “No Page Comment” plugin and then Activate it.
  • To get more information about this plugin, check this link - No Page Comment.

  • Scroll down to Setting > No Page Comment(plugin).

  • There are also other useful plugins available to manage spam comments, such as WP Bruiser or Akismet.

Option - 4: Using Code

To Enable comments -

  • Log into your WordPress Dashboard.
  • Scroll down to Appearance > Theme File Editor.

  • Select the page.php file from the right side of the page.

  • Add this line to the page.php file: <? php comments_template( '', true ); ?>

To Disable comments -

  • Add this line: <? php comments_template( ); ?>

That's all!


Was this answer helpful?

« Back

chat