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.

See the following article to learn more about how to disable comments in WordPress:

Turning off comments on pages and posts

You can turn off comments to achieve either of the following, which are described in the following sections:

  • Option one: Comments won't appear on any new (or yet-to-be-published) pages and posts
  • Option two: Additional comments won't appear on pages and posts that have already been published

Option 1 — Disable comments on new pages and posts

The following steps disable comments for any new pages and posts you create:

  1. Open the WP-Admin panel 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 articles check box.

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

Use the following steps to disable comments to pages and posts that have already been published:

  1. Open the WP-Admin panel 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.

Turning off comments on pages only

WordPress allows you to disable comments on individual pages. The following steps show you how to use the Quick Edit link to make changes as well as how to make discussion options available on each page.

Using the Quick Edit link on individual pages

You can easily turn off comments on individual pages by clicking the Quick Edit link under each page listing.

When the Quick Edit page opens, 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 panel for your WordPress site and open a page to edit.
  2. Click the three vertical dots in the upper right corner and click the Preferences link. This 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. Make sure the Allow Comments checkbox is unchecked.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?