Disable Comments turns off comment functionality on posts and pages. Comments are closed, comment forms disappear, and the comment discussion interface is hidden from editors.
What this feature does
WordPress allows visitors to leave comments on posts and pages by default. For some sites, this is valuable for engagement. For others, especially corporate sites, documentation sites, or single-author blogs, comments invite spam and add moderation burden without providing value.
This setting disables comments entirely. The comment form disappears from the front-end, existing comments become hidden, the discussion metabox vanishes from the post editor, and the Comments menu item disappears from the WordPress admin bar. Existing comment data is preserved in the database but not displayed. You can re-enable comments anytime to show them again.
If you don't need user comments, disabling them removes spam submission attempts, eliminates comment moderation work, and keeps your site cleaner. Existing comments remain in the database, so you're never stuck if you change your mind later.
How to enable it
- Open AdminEase and navigate to Posts. Click AdminEase in the WordPress admin menu, then switch to the Posts tab.
- Toggle Disable Comments on. Save the setting. Changes take effect immediately.
- Verify on the front-end. Visit any post or page on your site. The comment form and any existing comments should be hidden. Visitors will see no comment section.
- Check the post editor. Open a post for editing. The Discussion metabox (which controls comment settings) should be gone from the editor sidebar.
Settings reference
| Setting | What it does | Default |
|---|---|---|
| Disable Comments | Closes comments on all posts and pages, hides the comment form from the front-end, hides existing comments from display, removes the Discussion metabox from post editor, and removes Comments from the admin bar. Comment data is preserved in the database. Compatible with WP 6.0+. | Off |
What happens behind the scenes
AdminEase disables comments using several hooks:
comments_openandpings_open: Forces comments closed on the front-endinitat priority 100: Removes comment and trackback post type support from posts and pages, hiding the Discussion metaboxcomments_template: Returns an empty template so no comment form or list renderscomments_array: Returns an empty array of comments so existing comments don't displaywp_before_admin_bar_render: Removes the Comments menu item from the front-end admin bar
All of these combine to completely hide the comment interface while preserving data.
Troubleshooting
I disabled comments, but I still see the comment form on the front-end
Clear your browser cache and do a hard refresh. Sometimes cached HTML can display old comment forms. If comments still appear after a full cache clear, confirm the setting is still enabled in AdminEase > Posts. Check that you're not using a theme or plugin that hardcodes comment forms outside of WordPress's standard template.
I want to re-enable comments. Can I do that?
Yes. Simply toggle the setting off in AdminEase > Posts and save. Existing comments will reappear. This is safe and non-destructive; no data is lost when disabling or re-enabling comments.
Existing comments are still in the database, right?
Yes. Disabling comments only hides them from display; it doesn't delete them. They remain in the WordPress database and can be accessed via the WordPress admin if you re-enable comments. If you want to permanently delete comments, you would need to delete them manually from the database or use the WordPress admin panel before disabling the feature.
Will this affect custom post types?
This feature disables comments on the default post and page post types. Custom post types are not affected unless they're explicitly configured to use comments. If you need to disable comments on custom post types, use custom code or a different plugin that allows per-post-type control.
