Disable Comments – Remove Comments & Protect From Spam

Descrizione

Instantly allow or disallow comments from any post type in WordPress (Pages, Posts or Media) to stop the spammers and gain complete control over your full website. WP-CLI Suppprt & Control comments via XML-RPC and REST-API too!

More About Plugin ◼️ Documentation ◼️ Support Forum

Take Global Control Over Your WordPress Site

Override all comments-related settings throughout your website & manage your comments just the way you want.

Disable Comments On Posts, Pages & Media

Choose which posts, pages or media should allow comments from site visitors & configure Disable Comments accordingly

Disallow Comments On Multi-Site Network

Have multiple websites? Get rid of irrelevant comments on the entire network using Disable Comments Plugin

KEY FEATURES OF DISABLE COMMENTS

  • All “Comments” links are hidden from the Admin Menu and Admin Bar;
  • All comment-related sections (“Recent Comments”, “Discussion” etc.) are hidden from the WordPress Dashboard;
  • Tutti i widget relativi ai commenti sono disabilitati (in questo modo il tema attivo non può utilizzarli);
  • The “Discussion” settings page is hidden;
  • Tutti i feed RSS/Atom dei commenti sono disabilitati (le rispettive richieste HTTP verranno reindirizzate al post genitore);
  • L’header X-Pingback HTTP è stato rimosso da tutte le pagine.
  • I pingback in uscita sono disabilitati.
  • [New] Delete comments by type.

Please delete any existing comments on your site before applying this setting, otherwise (depending on your theme) those comments may still be displayed to visitors. You can use the Delete Comments tool to delete any existing comments on your site.

🌟 WHAT’S NEW WITH DISABLE COMMENTS 2.0

AMAZING USER FRIENDLY INTERFACE
Easily configure your comment-related settings with an amazing and attractive app-like user interface.

WP-CLI COMMANDS TO DISABLE COMMENTS
Use WP-CLI control for comment-related settings to disable comments on posts, pages, attachments or everywhere on your website.

GET STARTED WITH QUICK SETUP WIZARD
Use the quick setup wizard after activating the plugin to instantly configure comment-related settings for your WordPress website.

DISABLE COMMENTS ON DOCS
Instantly disable comments on your documentation pages or WordPress knowledge base with a single click.

DELETE CERTAIN COMMENT TYPE(S)
Permanently delete certain comment types from your WordPress website including WooCommerce product reviews as well as generic comments.

DISABLE COMMENTS VIA XML-RPC And REST API
Block any comments made on your WordPress website via XML-RPC specification and REST API.

Important note: Use this plugin if you don’t want comments at all on your site (or on certain post types). Don’t use it if you want to selectively disable comments on individual posts – WordPress lets you do that anyway. If you don’t know how to disable comments on individual posts, there are instructions in the FAQ.

If you come across any bugs or have suggestions, please use the plugin support forum. I can’t fix it if I don’t know it’s broken! Please check the FAQ for common issues.

Want to contribute? Here’s the GitHub development repository.

È anche disponibile una versione consigliata del plugin.

Configurazione avanzata

Some of the plugin’s behaviour can be modified by site administrators and plugin/theme developers through code:

  • Definisci la variabile DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE e impostane il valore a false per fare in modo che il plugin non sostituisca il template dei commenti del tema con uno vuoto.

  • Definisci la variabile DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS e impostane il valore a true per fare in modo che il plugin non nasconda la pagina delle impostazioni della Discussione.

Questi valori possono essere impostati sia nel file wp-config.php della tua installazione WordPress o nel file functions.php del tuo tema.

THIS PLUGIN IS NOW MAINTAINED BY THE TEAM WPDeveloper.

💙 LOVED DISABLE COMMENTS?

🔥 GET FREEBIES FOR YOUR WORDPRESS SITE

Consider checking out our other WordPress solutions & boost your WordPress website:

🔝 Essential Addons For Elementor: Most popular Elementor addons with 70+ widgets & ready blocks

🔔 NotificationX – Best Social Proof & FOMO Marketing Solution to increase conversion rates.

📄 EmbedPress: EmbedPress lets you embed videos, images, posts, audio, maps and upload PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors.

Templately: Free templates library for Elementor & Gutenberg along with the cloud collaboration for WordPress.

📚 BetterDocs: Best Documentation & Knowledge Base Plugin for WordPress reduce manual support tickets & improve user experience.

WP Scheduled Posts: Advanced editorial calendar & complete solution for WordPress Post Scheduling, social sharing, missed scheduled alerts and more.

ReviewX: WooCommerce Product review plugin that allows users to submit product reviews with multiple criteria, photos, video and more.

Flexia: Most lightweight, customizable & multi purpose theme for WordPress.

Visit WPDeveloper to learn more about how to do better in WordPress with Help Tutorial, Tips & Tricks.

Screenshot

  • Setting Screen for Disable Comments
  • Delete Comments under Tools menu.

Installazione

Modern Way:

  1. Go to the WordPress Dashboard “Add New Plugin” section.
  2. Search For “Disable Comments”.
  3. Install, then Activate it.
  4. Puoi accedere alle impostazioni del plugin tramite il menu “Impostazioni” nell’area di amministrazione di WordPress (questo percorso è valido sia per le installazioni singole che per quelle network multi site).

Old Way:

  1. Carica la cartella del plugin nella directory /wp-content/plugins/
  2. Attiva il plugin attraverso il menu ‘Plugin’ di WordPress
  3. Puoi accedere alle impostazioni del plugin tramite il menu “Impostazioni” nell’area di amministrazione di WordPress (questo percorso è valido sia per le installazioni singole che per quelle network multi site).

FAQ

Dopo aver disabilitato i commenti per ogni articolo, sembra non accadere nulla e continuo a vedere il modulo per commentare sotto agli articoli.

Questo comportamento è dovuto al fatto che il tuo tema non controlla correttamente lo stato dei commenti del post.

Condividi questo articolo con lo sviluppatore del tema che stai utilizzando, in modo da capire cos’è necessario modificare per risolvere il problema.

Come posso fare per rimuovere la dicitura “I commenti sono chiusi” sotto agli articoli peri quali i commenti sono stati disabilitati?

Solitamente il plugin fa del suo meglio per nascondere questo messaggio (insieme ad ogni altro inerente i commenti).

Se ancora vedi la scritta, allora significa che il tema utilizzato sta avendo la precedenza e pertanto dovrai intervenire manualmente modificandone alcuni file in modo da rimuovere il messaggio. Solitamente ci sono due modi per fare questo: il primo è quello di eliminare o commentare le linee di codice relative nel file wp-content/your-theme/comments.php, oppure utilizzare del codice CSS all’nterno di wp-content/your-theme/style.css per nascondere il blocco di testo. In ogni caso, l’importante è che tu sappia cosa stai facendo!

Voglio disabilitare i commenti solo per alcuni articoli. Cosa devo fare?

Apri la pagina di modifica dell’articolo per il quale vuoi disabilitare i commenti. Scrolla verso il basso fino a raggiungere il box “Discussione” dove troverai le opzioni relative ai commenti. Se non vedi il box, fai clic in alto alla pagina su “impostazioni schermata” e controlla che il checkbox “Discussione” sia selezionato.

Puoi anche effettuare una modifica di massa dello stato dei commenti di più articoli dalla schermata degli articoli.

Voglio eliminare tutti i commenti dal mio database. Come posso fare?

Vai alla pagina delle impostazioni del plugin Disable Comments e utilizza lo strumento Cancella Commenti per rimuovere tutti i commenti, o seguendo specifici post type dal tuo database.

Recensioni

2 Dicembre 2020
Helped me disable comments and feeds on sites that do not require blog functionality
1 Dicembre 2020
The latest versinn introduced a new design that does not follow the wordpress design standards or admin color scheme in any way, It took me more clicks and longer time to play whack-a-notice and get through the "Setup wizard" than it'd take me to just go to settings and click "Disable all comments" I don't want plugins that ask for e-mail adress to send "marketing emails" whether it's optional or not. Despite the developers claiming they have "optimized things" it's not.
1 Dicembre 2020
I used to install this plugin on every site that didn't use comments, back when it just disabled comments. Now it has brightly colored admin notifications asking for permission to track identifiable site data. The last thing I need is my clients logging into their sites and seeing what looks like a spam notification asking to track them.
30 Novembre 2020
Sorry to say that v2.0 (under a new owner?) has ruined this plugin. It used to be simple and clean and just doing what it needed to do, now it's a bloated UI, trying to phish for email addresses, with a completely unnecessary "onboarding wizard" (for literally 2 settings), external news integration and whatnot. Switching to a different solution on 100+ sites. Sorry to see this plugin following the latest "buy popular plugin to grab users" trend. One star for basically still working, that's all that's left.
Leggi tutte le recensioni di 244

Contributi e sviluppo

“Disable Comments – Remove Comments & Protect From Spam” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Disable Comments – Remove Comments & Protect From Spam” è stato tradotto in 33 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Disable Comments – Remove Comments & Protect From Spam” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
This will be maiintained from August 19, 2020 – @asif2bd

[2.0.2] – 2020-12-01

  • Removed: Quick Setup Wizard
  • Improved: Redirection settings page after activation.
  • Fixed: Text-Domain Issue.

[2.0.1] – 2020-11-28

  • Bug Fix: Settings page URL issue fixed from plugins page.
  • Improvement: Quick Setup Wizard instructions.

[2.0.0] – 2020-11-28

  • Improved UI for Settings page
  • New feature: Manage Disable Comments settings with WP-CLI
  • New feature: Quick Setup Wizard
  • New feature: Disable Comments via REST-API
  • New feature: Disable Comments via XML-RPC

[1.11.0] – 2020-08-22

  • Introducing Delete Comment by Type – Contribution by garretthyder
  • PHP 7.4 Tested
  • WordPress 5.5 Compatible Tested

[1.10.3] – 2020-07-29

  • Minor fix – changelog backported.

1.10.0

  • Disable “recent comments” Gutenberg block.

1.9.0

  • Fix compatibility with WordPress 5.0 and above.
  • Remove deprecated “persistent mode” feature.

1.8.0

  • Added DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS configuration.

1.7.1

  • Small enhancements to hiding comment-related functionality in the admin.

1.7

  • Dropped logic to try and hide the comments link from the Meta widget. Administrators should manually add styling to hide this link, or replace the Meta widget with an alternative.
  • Removed the disable_comments_allow_persistent_mode filter. Define DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE instead.

1.6

  • Added a tool for deleting comments in bulk.

1.5.2

  • Fix Javascript errors when the Meta widget is enabled.
  • Hide comments link from the Welcome panel.

1.5.1

  • Hide existing comments if there are any.
  • Filter the comments link in the Meta widget if it is enabled.

1.5

  • Remove the comments feed link from the head in WP 4.4 and higher.

1.4.2

  • Delay loading of translation text domain until all plugins are loaded. This allows plugins to modify translations.

1.4

  • Hide the troublesome “persistent mode” option for all sites where it is not in use. This option will be removed in a future release.

1.3.2

  • Compatibility updates and code refactoring for WordPress 4.3
  • Adding a few new translations

1.3.1

  • Change the behaviour for comment feed requests. This removes a potential security issue.

1.3

  • Move persistent mode filter into a define.
  • Add an advanced option to show the theme’s comment template even when comments are disabled.

1.2

  • Allow network administrators to disable comments on custom post types across the whole network.

1.1.1

  • Fix PHP warning when active_sitewide_plugins option doesn’t contain expected data type.

1.1

  • Attempt to hide the comments template (“Comments are closed”) whenever comments are disabled.

1.0.4

  • Fix CSRF vulnerability in the admin. Thanks to dxw for responsible disclosure.

1.0.3

  • Compatibility fix for WordPress 3.8

1.0.2

  • Disable comment-reply script for themes that don’t check comment status properly.
  • Add French translation

1.0.1

  • Fix issue with settings persistence in single-site installations.

1.0

  • Prevent theme comments template from being displayed when comments are disabled everywhere.
  • Prevent direct access to comment admin pages when comments are disabled everywhere.

0.9.2

  • Make persistent mode option filter available all the time.
  • Fix redirection for feed requests
  • Fix admin bar filtering in WP 3.6

0.9.1

  • Short life in the wild.

0.9

  • Added gettext support and German translation.
  • Added links to GitHub development repo.
  • Allow network administrators to prevent the use of persistent mode.

0.8

  • Remove X-Pingback header when comments are completely disabled.
  • Disable comment feeds when comment are completely disabled.
  • Simplified settings page.

0.7

  • Now supports Network Activation – disable comments on your entire multi-site network.
  • Simplified settings page.

0.6

  • Add “persistent mode” to deal with themes that don’t use filterable comment status checking.

0.5

  • Allow temporary disabling of comments site-wide by ensuring that original comment statuses are not overwritten when a post is edited.

0.4

  • Added the option to disable the Recent Comments template widget.
  • Bugfix: don’t show admin messages to users who don’t can’t do anything about them.

0.3.5

  • Bugfix: Other admin menu items could inadvertently be hidden when ‘Remove the “Comments” link from the Admin Menu’ was selected.

0.3.4

  • Bugfix: A typo on the settings page meant that the submit button went missing on some browsers. Thanks to Wojtek for reporting this.

0.3.3

  • Bugfix: Custom post types which don’t support comments shouldn’t appear on the settings page
  • Add warning notice to Discussion settings when comments are disabled

0.3.2

  • Bugfix: Some dashboard items were incorrectly hidden in multisite

0.3.1

  • Compatibility fix for WordPress 3.3

0.3

  • Added the ability to remove links to comment admin pages from the Dashboard, Admin Bar and Admin Menu

0.2.1

  • Usability improvements to help first-time users configure the plugin.

0.2

  • Bugfix: Make sure pingbacks are also prevented when comments are disabled.