Skip to content

Disable Comments

Disable Comments turns commenting off for the post types you choose - forms, admin shortcuts, and theme comment areas - when the site is not meant for public discussion.

  • Disable Comments On: pick public post types (defaults to post and page when unset).
  • Forces comments_open / pings_open closed; empties comment lists and comment counts for those types.
  • Removes post type support for comments/trackbacks and related meta boxes; loads a blank comments template on singular views.
  • Blocks REST comment inserts for disabled types; when all capable types are disabled, removes wp.newComment and comment REST endpoints.
  • Always removes the admin bar comments icon while at least one type is selected.
  • Admin Cleanup: Remove Comments menu from admin, Remove Recent Comments widget from dashboard, Remove Comments column from selected post type lists.

Enable it if:

  • Brochure, landing, or catalog sites should not accept comments.
  • You want comments off on pages but still on posts (or the reverse).
  • Spam arrives through REST/XML-RPC even with the theme form hidden.
  1. Go to WP PowerSuite -> Modules.
  2. Enable Disable Comments and open settings.
  3. Under Disable Comments On, choose the post types to close.
  4. Adjust Admin Cleanup checkboxes as needed.
  5. Save and view a singular URL for a selected type.
  • Disable comments on Posts; open a post on the front end.
  • ✅ Pass: no comment form; theme comment area is blank.
  • Try adding a comment via the REST API to that post.
  • ✅ Pass: 403 with comments closed for this post type.
  • With Remove Comments menu from admin on, open wp-admin.
  • ✅ Pass: Comments menu is gone (and direct comments screen redirects).
  • ❌ Fail: confirm the post type is checked under Disable Comments On.
  • Comments still open on a CPT. Add that post type under Disable Comments On.
  • Menu still visible. Enable Remove Comments menu from admin, or disable comments on every capable type (menu removal also triggers then).
  • Other plugins still show comment UI. This module closes core hooks; custom UIs may need their own settings.
What does Disable Comments do?

It closes comments and pings for the post types under Disable Comments On, and can clean up admin menus, widgets, and columns.

Is Disable Comments free?

Yes. Enable it under WP PowerSuite -> Modules.

What Admin Cleanup options exist?

Remove Comments menu from admin, Remove Recent Comments widget from dashboard, and Remove Comments column from selected post type lists.

Are REST and XML-RPC comments blocked?

REST comment inserts are blocked for disabled types. When all capable types are disabled, wp.newComment XML-RPC and comment REST endpoints are removed.

How do I turn Disable Comments off?

Go to WP PowerSuite -> Modules, find Disable Comments, and toggle it off.

Developer notes (hooks & filters)

Source: modules/disable-comments/module.php. Boot: standard · context: both.

Filter: wp_powersuite_disable_comments_is_disabled_for_post_type. Hooks: comments_open, pings_open, rest_pre_insert_comment, xmlrpc_methods, rest_endpoints, admin bar/menu cleanup.