Linux 软件免费装
Banner图

Yakura Commenti – Disable & Remove Comments

开发者 yakuradev
更新时间 2026年3月13日 04:27
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

remove comments hide comments stop spam disable comments delete comments

下载

1.0.0

详情介绍:

Yakura Commenti lets you disable comments across your entire WordPress site with one click, or selectively remove comments on specific post types. Hide comment forms, delete existing comments in bulk, stop spam, and clean up your admin — with full multisite network support and WP-CLI commands. Why Yakura Commenti? WordPress's built-in Discussion settings only scratch the surface. They let you close comments on future posts, but existing posts stay open, comment menus clutter the admin, REST API endpoints remain exposed, and pingback headers keep broadcasting. Yakura Commenti closes every door — front end, back end, feeds, APIs — while giving you fine-grained control over what stays open. Features For Developers Yakura Commenti exposes 16+ filters and 7+ actions at every decision point — override whether a post type is disabled, modify settings before save, react after bulk deletions, filter REST endpoints, and more. All hooks are prefixed with yakura_commenti_. WP-CLI: wp yakura-commenti status|settings|delete|stats|export|import|log|reset. REST API: GET/POST /yakura-commenti/v1/settings, GET /yakura-commenti/v1/status (requires manage_options). Requirements

安装:

  1. Upload the yakura-commenti folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu
  3. Complete the setup wizard that appears on first activation, or go to Yakura Commenti in the admin sidebar to configure manually

屏幕截图:

  • Settings page with per-post-type comment controls
  • Setup wizard — configure your site in three steps
  • Tools page with bulk comment deletion and statistics preview
  • Per-post meta box for overriding global comment settings
  • Activity log showing an audit trail of all changes

升级注意事项:

1.0.0 Initial release. Disable and remove comments across your entire site with granular control over every aspect of WordPress comments.

常见问题:

Does this delete existing comments?

No. Disabling comments only prevents new comments from being posted. Your existing comments remain in the database untouched. You can optionally keep displaying them on the front end by enabling the "Show Existing Comments" setting. If you do want to delete comments, use the Tools page for bulk deletion with a preview of exactly what will be removed.

How do I remove the "comments are closed" message?

Yakura Commenti replaces the default comment template with a blank one, so the "comments are closed" message should not appear. If your theme uses a custom template that hard-codes this message, you may need to edit your theme template or use a CSS rule to hide it.

Can I disable comments on specific post types only?

Yes. Instead of disabling everywhere, select individual post types (posts, pages, custom post types) from the Post Types tab in settings. Only the selected types will have comments disabled.

Can I keep comments open on a specific post?

Yes. Every post, page, and custom post type has a "Yakura Commenti" meta box in the editor. Set it to "Enable" to override the global setting and keep comments open on that particular post.

Does this work with WooCommerce?

Yes. WooCommerce order notes use a special comment type. You can whitelist "Order Note" in the Comment Types setting so order notes continue to work normally even when comments are disabled.

Does this stop spam comments?

Yes. Yakura Commenti blocks comment submissions at multiple levels: it closes the comment form, blocks the REST API comment endpoints, removes XML-RPC comment methods, and returns an error on direct form submissions. Spam bots cannot post comments through any channel.

Does this disable pingbacks and trackbacks?

Yes. When feed and pingback removal is enabled, the plugin removes the X-Pingback header, closes pings on all posts, and removes the pingback.ping and pingback.extensions.getPingbacks XML-RPC methods.

Will this break my theme or other plugins?

No. Yakura Commenti uses standard WordPress filters and actions. It does not modify your database schema, alter theme files, or override other plugins. If you deactivate it, everything returns to its previous state.

Can I re-enable comments after disabling them?

Yes. All changes are reversible. Toggle the settings back, deactivate the plugin, or use the per-post override to re-enable comments on individual posts. Nothing is permanently altered.

Does this slow down my site?

No. The plugin is lightweight and only runs the hooks it needs. There are no external API calls, no additional database tables, and no front-end JavaScript. Blocking Gravatar requests can actually improve page load times by preventing external HTTP requests.

Are my settings preserved when I update the plugin?

Yes. Settings are stored in the WordPress options table and are not affected by plugin updates. You can also export your settings as a JSON backup at any time.

Is this compatible with multisite?

Yes. Network activate the plugin and use the Network Settings page to apply configuration across all sites. You can also manage settings per subsite.

Does this work with the block editor (Gutenberg)?

Yes. The plugin removes comment-related blocks (Post Comments, Comments Query Loop) from the block editor inserter so they cannot be added to new posts.

Can I manage this from the command line?

Yes. Yakura Commenti includes 8 WP-CLI commands: wp yakura-commenti status, settings, delete, stats, export, import, log, and reset. Run wp help yakura-commenti for full documentation.

更新日志:

1.0.0