How to Enable or Disable Comments in WordPress

WordPress allows users to enable or disable comments globally or on individual posts and pages. This documentation provides step-by-step instructions for both methods.

1. Enable or Disable Comments Globally

To control the comment settings for all future posts and pages:

  1. Log into your WordPress Admin Dashboard

  2. Navigate to Settings

    • In the left-hand menu, click on Settings, then choose Discussion.



  3. Adjust Global Comment Settings

    • Under Default post settings, you will see an option labeled Allow people to submit comments on new posts.
      • To enable comments for all new posts, check this box.
      • To disable comments for all new posts, uncheck this box.



  4. Save Changes

    • Once you’ve made your changes, scroll down and click Save Changes to apply them.

2. Enable or Disable Comments for Individual Posts or Pages

You can also control comments for specific posts or pages.

  1. Open the Post/Page Editor

    • From the WordPress dashboard, go to Posts or Pages in the left-hand menu.
    • Find the post or page where you want to enable or disable comments and click Edit.
  2. Locate the Discussion Box

    • Scroll down to the Discussion section below the post editor.
      • If you do not see this box, click on Screen Options at the top of the page and check the box for Discussion.
  3. Enable or Disable Comments

    • In the Discussion section, you will see a checkbox labeled Allow comments.
      • Check this box to enable comments for the specific post or page.
      • Uncheck it to disable comments.
  4. Update the Post/Page

    • After making your changes, click Update to save the settings for the individual post or page.

3. Disable Comments on Already Published Posts/Pages

To disable comments on posts or pages that are already published:

  1. Go to All Posts or Pages

    • Navigate to Posts > All Posts or Pages > All Pages.
  2. Select Multiple Posts/Pages

    • Check the box next to the posts/pages where you want to disable comments.
    • From the Bulk Actions dropdown, select Edit and click Apply.
  3. Change Comment Settings

    • A bulk editing interface will appear. From the Comments dropdown, choose Do not allow to disable comments.
    • Click Update to apply the changes.
Kas see vastus oli kasulik? 0 Kasutajad peavad seda kasulikuks (0 Hääled)