Portal Home > Knowledgebase > WordPress Themes > How to enable and disable comments?


How to enable and disable comments?




Comments are enabled on new WordPress.com blog posts by default. You can change this default for new posts or pages you’ll publish in the future, as well as change it for posts or pages you already published.

This page will help you enable or disable comments for posts and page you already published.

To change the defaults for new posts or pages, go to Settings → Discussion.

Enabling and Disabling comments using the Discussion module

To change the comment settings for a post or page you already published, open it for editing. In your Dashboard, go to either Pages or Posts, locate the one you want to edit, and click on its title.

Then, locate the Discussion module on the edit screen, and either check or uncheck the two options it offers:

  • To prevent any kind of discussion, uncheck both boxes.
  • To disable the ability to use the comment form, but allow comments as Pingbacks or Trackbacks from other blogs, uncheck the box that says Allow comments, and leave the other box checked.
  • To allow visitors to compose comments on the page but prevent responses from coming in as Pingbacks or Trackbacks from other blog, uncheck the box that says Allow Trackbacks and Pingbacks, and leave the other box checked.

Make sure to save the post after you change any comment setting.

Can’t find the Discussion module?

The edit screen on your blog is highly customizable. You can move modules around, minimize them, or hide them completely, so this module might not always be in the same place on every blog.

By default, new blogs on WordPress.com will have the Discussion module hidden. You can reveal it by clicking on Screen Options on the top right, and checking the box that says Discussion.

See the Screen Options support page for more information about this.

Bulk Editing Comments

There is not a way to turn comments on or off for all published posts and pages in a blog at once. However, you can use the bulk edit feature to change multiple posts/pages at a time.

  1. Go to the Posts page in your blog dashboard.
  2. Select the posts you would like to modify or check the box next to ‘Post’ at the top to select all posts on that page.
  3. Select Edit from the Bulk Actions drop down menu.
  4. Click the Apply button.
  5. Change the options for Comments and Pings to Allow or Do not allow.
  6. Click the Update Posts button.

Automatically Closing Comments on Old Posts

It’s possible to turn comments off automatically after a certain number of days. To do that, go to the Settings → Discussion page and look for Other comment settings on the left. Check the box next to the following option, fill in the number of days, and save.

  • Automatically close comments on articles older than __ days.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution