All about Wordpress Web Design

How to disable wordpress comments

Comments can be a valuable feature on WordPress websites, fostering engagement and interaction among readers. However, there are scenarios where comments may not be necessary or desired, such as for businesses, portfolios, or blogs where the owner prefers to keep discussions off-site or minimize moderation tasks. Disabling comments can help in reducing spam, improving page load times, and simplifying content management. This article provides a step-by-step guide on how to effectively disable comments on your WordPress site.

Understanding the Impact of Disabling Comments

Before you proceed with disabling comments, consider the impact it may have on your site’s user engagement and SEO. Comments can increase user-generated content on your site, which can help with SEO. However, managing comments poorly can lead to spam, which might negatively affect your site’s reputation and search engine rankings. If you decide to disable comments, you might want to explore other avenues of engagement like social media platforms or forums that better fit your management capabilities.

Step 1: Disable Comments on Future Posts

WordPress allows you to disable comments for any new content you create. This is the simplest approach if you are just starting a website or no longer wish to allow comments on future posts.

  1. Go to your WordPress dashboard.
  2. Navigate to Settings > Discussion.
  3. Under the ‘Default article settings,’ uncheck the option ‘Allow people to post comments on new articles.’
  4. Save changes.

This action prevents comments on all future posts but does not affect existing posts.

Step 2: Disable Comments on Existing Posts

If you have existing content on your site and want to remove the comment feature from these posts, you’ll need to take a few more steps:

  1. Go to the Posts page in your WordPress dashboard.
  2. Select all the posts you want to disable comments for. You can use the bulk actions feature to modify multiple posts at once.
  3. Choose ‘Edit’ from the Bulk Actions dropdown menu and click Apply.
  4. In the Bulk Edit area, change ‘Comments’ to ‘Do not allow.’
  5. Click the Update button to apply the changes.

These steps will disable comments for the selected posts. If you have a large number of posts, you may need to repeat this process several times.

Step 3: Remove Comment Section from Individual Posts or Pages

Sometimes, you may want to disable comments only on specific posts or pages. WordPress allows you to control this setting on an individual basis:

  1. Open the post or page in the WordPress editor.
  2. If you are using the Gutenberg editor, locate the ‘Discussion’ panel on the right-hand side under the Document settings. If you don’t see it, enable it from the Options menu at the top right corner.
  3. Uncheck the ‘Allow Comments’ box.

This method is useful for selectively disabling comments on particular parts of your website.

Step 4: Disable Comments on Media

Comments can also be enabled on media attachments like images and videos. To disable comments on all media files:

  1. Access your WordPress database via phpMyAdmin (most hosting providers offer access to this from your hosting dashboard).
  2. Navigate to the wp_posts table.
  3. Run a SQL query to disable comments on all media files:
UPDATE `wp_posts` SET `comment_status` = 'closed' WHERE `post_type` = 'attachment';

Make sure to back up your database before making direct changes.

Step 5: Remove Comment-Related Widgets and Menus

Even after disabling comments, elements of the comment system may still appear on your site. You might need to remove any widgets or menu items related to comments:

  1. Go to Appearance > Widgets in your WordPress dashboard.
  2. Remove any widgets that display recent comments.

This ensures that all traces of the comment system are removed from your user interface.

Step 6: Use Plugins to Manage Comments

If you find the above methods too cumbersome or if you need more control over comments, several plugins can help manage or disable comments:

  • Disable Comments: This plugin allows administrators to globally disable comments on any post type (posts, pages, attachments) and remove all comment-related fields from edit and quick-edit screens.
  • WP Disable Comments: This tool is similar but also offers widgets to manage comment-related features.

Plugins can simplify the management of comments across your site, especially if you are dealing with a large number of posts or multiple post types.


Disabling comments on your WordPress site can clean up your pages and reduce the maintenance required to manage user interactions, especially if comments are not central to your site’s strategy. By following the steps outlined above, you can effectively manage comments and ensure your site remains focused on its primary goals. Whether you choose to disable comments site-wide, on specific posts, or through the use of plugins, the flexibility of WordPress allows you to tailor the experience to meet your needs.

Leave a Reply

Your email address will not be published. Required fields are marked *