WordPress.org

Plugin Directory

Wyłącz komentarze – usuń komentarze & zatrzymaj spam [wsparcie dla sieci witryn]

Image
Image

Wyłącz komentarze – usuń komentarze & zatrzymaj spam [wsparcie dla sieci witryn]

Opis

Wyłącz komentarze – usuń komentarze & zatrzymaj spam [wsparcie dla sieci witryn]

Włączaj/wyłączaj komentarze do dowolnej zawartości WordPress (stron, wpisów lub mediów), aby powstrzymać spamerów. WP-CLI, XML-RPC & obsługa REST-API w celu powstrzymania spamerskich komentarzy.

Więcej o wtyczce ◼️ Dokumentacja ◼️ Forum wsparcia

Przejmij globalną kontrolę nad swoją witryną WordPress

Zastąp wszystkie ustawienia związane z komentarzami w swojej witrynie & zarządzaj komentarzami tak, jak chcesz.

Wyłącz komentarze do wpisów, stron i multimediów

Wybierz, które wpisy, strony lub media powinny zezwalać na komentarze odwiedzających witrynę & odpowiednio skonfiguruj „Wyłącz komentarze”.

Nie zezwalaj na komentarze w sieci witryn

Masz wiele stron internetowych? Pozbądź się nieistotnych komentarzy w całej sieci za pomocą wtyczki „Wyłącz komentarze”.

KLUCZOWE FUNKCJE KOMENTARZY WYŁĄCZAJĄCYCH

  • Wszystkie odnośniki „Komentarze” są ukryte w menu administratora i na pasku administratora.
  • Wszystkie sekcje związane z komentarzami („Ostatnie komentarze”, „Dyskusja” itp.) są ukryte w kokpicie WordPress.
  • Wszystkie widżety związane z komentarzami są wyłączone (więc twój motyw nie może z nich korzystać).
  • Strona ustawień „Dyskusja” jest ukryta.
  • Wszystkie kanały RSS/Atom komentarzy są wyłączone (a zapytania o nie będą przekierowywane do postu nadrzędnego).
  • Nagłówek HTTP X-Pingback jest usuwany ze wszystkich stron.
  • Pingbacki wychodzące są wyłączone.
  • Jednym kliknięciem całkowicie zatrzymaj spam w komentarzach na stronie.
  • Delete comments by type, including WooCommerce product reviews.
  • Disable comments via XML-RPC & REST-API
  • Fully Multi-site Network supported.
  • Manage multiple website network-specific subsites or entire network comments in advance.
  • Exclude Disable Comments Settings based on user roles.
  • Keep the WordPress 6.9+ Block Editor “Notes” comment type working while every other comment stays off.
  • [New in 2.8.0] AI-agent ready: supports the WordPress Abilities API (WP 6.9+), so AI assistants and MCP clients can read your comment settings.

Usuń wszystkie istniejące komentarze na swojej stronie przed zastosowaniem tego ustawienia, w przeciwnym razie (w zależności od motywu) komentarze te mogą być nadal wyświetlane odwiedzającym. Możesz użyć narzędzia Usuń komentarze, aby usunąć wszelkie istniejące komentarze na swojej stronie.

🌟 CO NOWEGO Z WYŁĄCZANIEM KOMENTARZY 2.0

ZADZIWIAJĄCY INTERFEJS PRZYJAZNY UŻYTKOWNIKOWI
Łatwo konfiguruj ustawienia związane z komentarzami za pomocą niesamowitego i atrakcyjnego interfejsu użytkownika przypominającego aplikację.

KOMENDY WP-CLI DO WYŁĄCZANIA KOMENTARZY
Użyj WP-CLI dla ustawień związanych z komentarzami, aby wyłączyć komentarze w wpisach, stronach, załącznikach lub wszędzie na swojej witrynie internetowej.

ZACZNIJ Z KREATOREM SZYBKIEJ KONFIGURACJI
Skorzystaj z kreatora szybkiej konfiguracji po aktywacji wtyczki, aby natychmiast skonfigurować ustawienia związane z komentarzami dla swojej witryny WordPress.

WYŁĄCZ KOMENTARZE NA STRONACH DOKUMENTACJI
Natychmiast wyłącz komentarze na stronach dokumentacji lub w bazie wiedzy WordPress za pomocą jednego kliknięcia.

USUŃ NIEKTÓRE RODZAJE KOMENTARZY
Trwale usuń niektóre rodzaje komentarzy ze swojej witryny internetowej WordPress, w tym recenzje produktów WooCommerce, a także komentarze ogólne.

ZABLOKUJ KOMENTARZE PRZEZ XML-RPC I REST API
Blokuj wszelkie komentarze na swojej witrynie internetowej WordPress za pośrednictwem specyfikacji XML-RPC i interfejsu API REST.

Ważna uwaga: użyj tej wtyczki, jeśli nie chcesz komentarzy w ogóle na swojej stronie (lub w niektórych rodzajach wpisów). Nie używaj jej, jeśli chcesz selektywnie wyłączyć komentarze w poszczególnych wpisach – WordPress i tak na to pozwala. Jeśli nie wiesz, jak wyłączyć komentarze w poszczególnych wpisach, znajdziesz instrukcje w zakładce FAQ..

Jeśli napotkasz jakieś błędy lub masz sugestie, skorzystaj z forum pomocy wtyczki. Nie mogę go naprawić, jeśli nie wiem, że jest zepsuty! Sprawdź FAQ dla typowych problemów.

Chcesz wnieść swój wkład? Tutaj znajdziesz repozytorium deweloperskie GitHub.

Dostępna jest również wersja must-use wtyczki.

Zaawansowana konfiguracja

Niektóre zachowania wtyczki mogą być modyfikowane przez administratorów witryny i twórców wtyczek/motywów za pomocą kodu:

  • Zdefiniuj DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE i ustaw go na false, aby uniemożliwić wtyczce zastąpienie szablonu komentarzy motywu pustym.

  • Zdefiniuj DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS i ustaw go na true, aby uniemożliwić wtyczce ukrywanie strony ustawień dyskusji.

Definicje te można wprowadzić w głównym pliku wp-config.php lub w pliku functions.php motywu.

TA WTYCZKA JEST TERAZ OPIEKOWANA PRZEZ ZESPÓŁ WPDeveloper.

UWIELBIASZ WYŁĄCZAĆ KOMENTARZE?

ZDOBĄDŹ GRATISY DLA SWOJEJ WITRYNY WORDPRESS

Rozważ sprawdzenie naszych innych rozwiązań WordPress & wzmocnij swoją witrynę WordPress:

🔝 Essential Addons For Elementor: Najpopularniejsze dodatki do Elementora z ponad 2 milionami zadowolonych użytkowników & 95+ widżetów & gotowe bloki

🔔 NotificationX – najlepsze rozwiązanie marketingowe w zakresie społecznego dowodu słuszności i FOMO, zwiększające współczynniki konwersji.

🔗 BetterLinks: najnowsza najlepsza wtyczka do zarządzania linkami WordPress do skracania, śledzenia i analizowania linków.

📄 EmbedPress: EmbedPress umożliwia osadzanie wszystkiego, w tym filmów, obrazków, wpisów, audio, map i przesyłanie plików PDF, DOC, PPT itp.

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

📚 BetterDocs: najlepsza dokumentacja & wtyczka bazy wiedzy dla WordPress zmniejsza liczbę ręcznych zgłoszeń do pomocy technicznej & poprawia komfort użytkowania.

SchedulePress: zaawansowany kalendarz redakcyjny z planowanie wpisów WordPress, udostępnianie społecznościowe, nieodebrane zaplanowane alerty i i nie tylko.

Flexia: najbardziej lekki, konfigurowalny & wielozadaniowy motyw dla WordPress.

Odwiedź WPDeveloper, aby dowiedzieć się więcej na temat tego, jak lepiej radzić sobie z WordPress dzięki poradnikom, wskazówkom i trikom.

Source Code

The JavaScript and CSS shipped in assets/ are compiled with Grunt and Babel from uncompiled sources that are not included in the plugin zip: JavaScript in src/ and Sass in assets/scss/.

Both the sources and the build configuration live in the GitHub development repository. To build them yourself:

npm install
npm run build

Zrzuty ekranu

Instalacja

Nowoczesna metoda:

  1. Idź do kokpitu i przejdź do sekcji „Dodaj nową wtyczkę”.
  2. Wyszukaj „Wyłącz komentarze”.
  3. Zainstaluj, a następnie włącz to.
  4. Dostęp do ustawień wtyczki można uzyskać za pośrednictwem menu „Ustawienia” w obszarze administracyjnym (administracja witryny w przypadku instalacji w pojedynczej witrynie lub administracja sieci w przypadku instalacji sieci witryn).

Stara metoda:

  1. Prześlij katalog wtyczki do katalogu /wp-content/plugins/
  2. Aktywuj wtyczkę w WordPressie w menu 'Wtyczki”
  3. Dostęp do ustawień wtyczki można uzyskać za pośrednictwem menu „Ustawienia” w obszarze administracyjnym (administracja witryny w przypadku instalacji w pojedynczej witrynie lub administracja sieci w przypadku instalacji sieci witryn).

Najczęściej zadawane pytania

Nic się nie dzieje po wyłączeniu komentarzy we wszystkich wpisach – formularze komentarzy nadal pojawiają się, gdy przeglądam moje wpisy.

Dzieje się tak, ponieważ twój szablon nie sprawdza statusu komentarzy do wpisów w prawidłowy sposób.

Możesz wskazać autorowi motywu to wyjaśnienie, co robi źle i jak to naprawić.

Jak mogę usunąć tekst „komentarze są zamknięte” na dole artykułów, w których komentarze są wyłączone?

Wtyczka dokłada wszelkich starań, aby ukryć te (i wszelkie inne związane z komentarzami) wiadomości.

If you still see the message, then it means your theme is overriding this behaviour, and you will have to edit its files manually to remove it. Two common approaches are to either delete or comment out the relevant lines in wp-content/your-theme/comments.php, or to add a declaration to wp-content/your-theme/style.css that hides the message from your visitors. In either case, make sure you know what you are doing!

Chcę wyłączyć komentarze tylko do niektórych wpisów, nie globalnie. Co mam zrobić?

Przejdź do strony edycji wpisu, dla którego chcesz wyłączyć komentarze. Przewiń w dół do pola „Dyskusja”, gdzie znajdziesz opcje komentarzy dla tego postu. Jeśli nie widzisz pola „Dyskusja”, kliknij „Opcje ekranu” u góry ekranu i upewnij się, że pole wyboru „Dyskusja” jest zaznaczone.

Możesz także zbiorczo edytować status komentarzy wielu wpisów z ekranu wpisów.

Chcę usunąć komentarze z mojej bazy danych. Co mam zrobić?

Go to the tools page for the Disable Comments plugin and use the Delete Comments tool to delete all comments or according to the specified post types from your database.

This cannot be undone. Back up your database before running it.

How do I disable comments across an entire multisite network?

Network-activate the plugin. The settings then live under your Network Admin, where you can either apply one configuration to every site at once or configure individual subsites from the network screen. If you activate the plugin on a single site instead, it only ever affects that site.

How do I disable WooCommerce product reviews?

WooCommerce product reviews are stored as comments on the product post type, so disabling comments on product turns reviews off too. To remove reviews that already exist, use the Delete Comments tool and select the product post type.

Can I configure the plugin from WP-CLI?

Yes. Settings and deletion are both scriptable, which is useful across a fleet of sites:

wp disable-comments settings --types=post
wp disable-comments settings --types=page --add
wp disable-comments settings --xmlrpc --rest-api
wp disable-comments delete --types=all

Run wp help disable-comments settings for the full list of options. Full WP-CLI documentation.

WordPress 6.9 added “Notes” in the Block Editor. Will this plugin break them?

No, as long as you allow them. Notes are technically a comment type (note), so a blanket disable would switch them off along with everything else. Use the Enable Certain Comment Types setting to keep Notes working while all other comments stay disabled.

I disabled comments but a cached page still shows the comment form.

As of version 2.8.0 the plugin clears page caches automatically whenever you save settings or delete comments, so this should resolve itself. If your host or CDN is not covered, it can hook disable_comments_purge_caches to clear its own cache at the same moment.

Note that the plugin never touches your object cache — only page caches. The stale thing is rendered HTML.

Can AI assistants read my comment settings?

Yes, on WordPress 6.9 and above. The plugin registers a read-only disable-comments/get-status ability through the WordPress Abilities API, so AI assistants, the command palette and MCP clients can ask the site where comments are disabled. It is read-only and requires the manage_options capability — nothing can change your settings through it.

What happens if I deactivate the plugin?

Comments go back to whatever WordPress and your theme did before. The plugin filters comment status at runtime rather than rewriting your posts, so your original per-post settings are still intact underneath.

The one exception is the Delete Comments tool: comments it removed are permanently gone and deactivating will not bring them back.

Recenzje

Image
2026-07-21
One of my many websites has been getting hacked by numerous Russian comments, as many as twenty a day! I spent hours online with my hosting company, InMotion Hosting, trying to block this, but they suggested using their CloudFlare feature, which was a total pain! I then researched how to block comments on a WordPress site and this was just as much of a pain, with no way to block comments on all posts and pages. Then I discovered this plugin and it worked in about two minutes to block comments everywhere on the site. Thank you!
Image
2026-04-08 1 odpowiedź
Disable Comments did what I needed without much setup. Easy to use and saves time when managing site content. Worked fine on my end, though a few extra options would make it even better.
Image
2026-03-31 1 odpowiedź
Does exactly what it says. Helps disable comments easily without extra setup. Works fine on most parts. But a few settings could be more flexible. Overall good. tnx 👍
Image
2026-03-06 2 odpowiedzi
Installed this to quickly turn off comments across my site. Setup took like a minute and everything worked as expected. Simple settings, no confusion. Could use a few more options maybe, but overall pretty solid.
Image
2025-11-09
I had a daunting task of first moving 500+ the Pending Comments that I have identified as all SPAM to the Trash folder, page by fricken page, then having to go into the Trash folder to permentantly delete them, page by painstaking page.Then I said there must be a plugin for this. Lo & Behold there was. It was yours. Task finished in less than 3 minute and that included installing and activating the plugin and figuring out which choice I had within the plugin that would accomplish the task. BAM! IT WAS DONE.Bravo!!
Przeczytaj 280 recenzji

Kontrybutorzy i deweloperzy

„Wyłącz komentarze – usuń komentarze & zatrzymaj spam [wsparcie dla sieci witryn]” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Wtyczka „Wyłącz komentarze – usuń komentarze & zatrzymaj spam [wsparcie dla sieci witryn]” została przetłumaczona na 41 języków. Podziękuj tłumaczom za ich wkład.

Przetłumacz wtyczkę “Wyłącz komentarze – usuń komentarze & zatrzymaj spam [wsparcie dla sieci witryn]” na swój język.

Interesuje cię rozwój wtyczki?

Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.

Rejestr zmian

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

[2.9.0] – 2026-09-01

  • New Feature: Conditional rules – disable or re-enable comments by taxonomy term, page template, or post age, instead of by post type alone
  • New Feature: Dry-run preview for Delete Comments – see which comments a delete will remove before running it, and download them as CSV first
  • New Feature: Blocked-attempt counter – see how many comment, trackback and REST attempts the plugin has turned away, reported in Site Health
  • New Feature: Export and import settings as JSON, with a diff preview before anything is written
  • New Feature: WooCommerce product reviews are now a first-class setting, separate from ordinary comments, including closing reviews while other product comments stay open
  • New Feature: Theme conflict scanner – diagnoses a theme that still renders a comment form after comments are disabled
  • New Feature: Abilities API write support (WordPress 6.9+) – AI assistants and MCP clients can change comment settings and delete comments, gated on the same capabilities as the admin screens
  • New Feature: The advanced tools now have a Settings tab of their own, leaving the first screen to the core choice of where comments are off
  • Improved: The Delete Comments preview lists the comments it matched – author, date, post and an excerpt – rather than only how many there are
  • Improved: Conditional rule terms are searchable, so a taxonomy with more than 200 terms is fully reachable
  • Improved: Site Health reports conditional rules, so the overview no longer reads „comments are enabled everywhere” while a rule is closing them
  • Improved: Settings screen layout – aligned rule controls, a readable blocked-attempt breakdown, consistent label sizes, and result boxes that match the rest of the plugin
  • Improved: readme and plugin directory listing rewritten for clarity
  • Fixed: CSV backups escape every free-text column, so a comment cannot execute as a formula when the file is opened in a spreadsheet
  • Fixed: An anonymous REST read is no longer counted as a blocked attempt
  • Fixed: „Counting blocked attempts since” keeps its start date instead of showing today’s date until the first block
  • Fixed: A delete that matches nothing no longer reloads the whole settings screen
  • Fixed: The review prompt can be dismissed on every screen it appears on
  • Fixed: Uninstall removes the review-prompt data the plugin created
  • Fixed: The Abilities API set-status summary describes the site’s configuration rather than the calling user’s role exemption
  • Fixed: „Total Comments” says what it counts, so it no longer contradicts the mode-specific delete preview
  • Developer: disable-comments delete gains --dry-run and --export=<file>; new disable-comments export and disable-comments import WP-CLI commands

[2.8.0] – 2026-07-27

  • New Feature: WordPress Abilities API support (WordPress 6.9+) — AI assistants, the command palette and MCP clients can now ask the site where comments are disabled, via the read-only disable-comments/get-status ability
  • Fixed: Page caches are now purged when settings are saved or comments are deleted — previously a cached page kept serving the comment form after comments were disabled
  • Compatible with WordPress 7.0

[2.7.1] – 2026-07-22

  • Improvement: General improvements

[2.7.0] – 2026-04-05

  • Improvement: Improved overall performance and stability

[2.6.2] – 2026-01-20

  • Fixed: An issue where deleting Notes in WordPress 6.9+ throws an error

[2.6.1] – 2025-12-02

  • Compatible with WordPress 6.9
  • Added: Introduced the “Enable Certain Comment Types” setting, allowing you to exclude the new Block Editor “Notes” comment type introduced in WordPress 6.9

Older releases are listed in changelog.txt.