For all new posts
- Log in to your WordPress dashboard.
- Navigate to Settings and click Discussion.
- Under “Default post settings,” uncheck the box next to “Allow people to submit comments on new posts”.
- Click Save Changes.
For all existing posts
- Go to Posts > All Posts in your WordPress admin area.
Check the box next to “Title” to select all posts. If you have many posts, you may need to adjust your Screen Options to show more posts per page. From the “Bulk Actions” dropdown menu, select Edit and click Apply. In the dropdown menu that appears, change “Comments” to Do not allow. Click Update to apply the changes to all selected posts.
Alternative: Using a plugin
- If you want to disable comments site-wide, you can install and activate a plugin like “Disable Comments” from the Plugins menu. The plugin settings will then be available under the Settings menu to control comments globally.