Removing the WordPress comments box

 

Overview

This article describes how to use built-in WordPress tools to remove the comments box from pages and posts.

How to turn off comments on pages and posts

You can turn off comments for new (or yet-to-be-published) pages/posts as well as for pages/posts that have already been published.

Option 1 — Disabling comments on new pages and posts

To disable comments for any new pages and posts you create:

  1. Open the WP-Admin dashboard for your WordPress site.
  2. Click the Discussion link under Settings in the left-side panel.
    The Discussion Settings dashboard opens.
  3. Uncheck the Allow people to post comments on the new posts box.

Option 2 — Disabling comments on pages and posts that are already published

To disable comments to pages and posts that have already been published:

  1. Open the WP-Admin dashboard for your WordPress site.
  2. Click the All Pages link under Pages in the left-side panel.
    The Pages dashboard opens.
  3. Select all of the published pages by checking the check box directly next to Title at the top.
  4. Click the Bulk Actions drop-down box, select Edit, and then click the Apply button.
    The Bulk Action page opens.
  5. In the Comments drop-down box, select Do not allow and then click the Update button to save your changes.
  6. Repeat these steps for posts as needed.

How to turn off comments on pages only

WordPress allows you to disable comments on individual pages.

Using the Quick Edit link on individual pages

To turn off comments on individual pages, click the Quick Edit link under each page listing. Then, uncheck the Allow Comments check box:

WP Admin comments spam

Enabling the Discussion option on pages

To enable Discussion options to appear on pages:

  1. Open the WP-Admin dashboard for your WordPress site and open a page to edit.
  2. Click the three-dot icon in the upper right corner and click the Preferences link, which opens the Preferences menu.
  3. Click the Panels tab and make sure the Discussion checkbox is checked.
    When you return to the page you're editing, click the gear icon in the upper right to view the page's settings:
    WP admin allow comments
  4. Return to the page you're editing and click the gear icon in the upper right.
  5. Make sure the Allow Comments checkbox is unchecked.

See also

DreamHost links

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?