[WordPress] 外掛分享: Disable Comments for Any Post Types (Remove comments)

WordPress 外掛 Disable Comments for Any Post Types (Remove comments) 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Disable Comments for Any Post Types (Remove comments)」是 2017-10-16 上架。
  • 目前有 8000 個安裝啟用數。
  • 上一次更新是 2024-12-10,距離現在已有 145 天。
  • 外掛最低要求 WordPress 5.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 36 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

webcraftic | alexkovalevv | creativemotion |

外掛標籤

no self pings | delete comments | disable xml-rpc | remove comments | disable comments |

內容簡介

的" 外掛說明:

Disable comments 外掛是一個透過關閉討論功能,對博客或網站進行設定的有用工具。它可以完全停用或隱藏任何文章類型、頁面或附件的評論。

它可以移除所有評論相關的功能和選項:

完全停用網站所有前端評論;
從 WordPress 儀表板菜單中移除評論選項;
從管理員工具列中隱藏評論選項;
關閉評論小工具。

此外,該外掛還可以在 WordPress 中停用與 XML-RPC 相關的功能,包括關閉 Pingbacks 和關閉 Trackbacks,有助於預防 xmlrpc.php 檔案的攻擊。最後,它會嘗試為 /xmlrpc.php 網址的請求產生「403 Denied」錯誤,但不會對該檔案或您的服務器造成任何影響。

如果您要完全移除評論,您可以為選定的文章類型進行個別設定。您可以輕鬆地批量刪除所有 WordPress 評論,無需使用任何其他「刪除所有評論」外掛或 phpMyAdmin。

您可以關閉評論,但如果您決定保留評論,您需要從搜尋引擎中關閉外部連結。當用戶發表評論時,WordPress 會默認為評論作者 URL 和評論文字中的所有鏈接添加 rel=”nofollow” 屬性。然而,搜尋引擎已經忽略了這一點並且會按照鏈接。這樣做會導致評論中產生數十個無用的外部鏈接,對您的 SEO 没有任何好處。Disable Comments 外掛可以使用 Javascript 使 WordPress 評論中的所有外部鏈接對搜尋引擎不可見,從而改善您的博客或網站的 SEO。

此外,如果您不想關閉評論,您可能需要從 WordPress 評論表單中移除網站欄位。注意:您可以移除評論作者 URL,但該功能可能會在某些主題中無法正常運作。

一般來說,Disable Comments 外掛使用智能算法來隱藏和刪除評論。您只需要打開一些開關即可。

如果您遇到任何錯誤或有關於 Disable Comments 的建議,請使用外掛支援論壇。如果我不知道,我就無法修復它們!請查看 FAQ 以了解常見問題。

詳細資訊

Disable Comments 外掛允許您完全停用 WordPress 中的評論功能。啟用此選項時,您將會獲得以下更改:

* 輕鬆啟用或停用評論;
* 全局關閉評論;
* 僅在某些頁面上停用評論;
* 僅在文章中停用評論;
* 僅在頁面中停用評論;
* 停用任何文章類型的評論;
* 在管理菜單和管理工具列中關閉評論鏈結;
* 關閉與評論相關的部分(“最新留言”,“討論”等),並從 WordPress 儀表板中隱藏;
* 停用與評論相關的小工具(因此您的主題無法使用它們);
* 停用評論「討論」設置頁面;
* 在 RSS/Atom 訂閱中停用評論(並將評論 RSS 的請求重定向到父文章);
* 停用 X-Pingback HTTP 標頭,並從所有頁面中刪除;
* 停用傳出 pingbacks;
* 將評論的外部鏈接設為「nofollow」並對搜尋引擎不可見;
* 從評論表單中刪除網站/網址欄位;
* 刪除評論,在一個點擊中刪除評論。

我們最近向 Disable Comments 外掛新增了全新功能。這些包括「停用 X-Pingback 功能」、「替換外部鏈接」和「刪除網站/網址評論欄位」。

某些功能來自以下流行外掛:Clearfy – disable unused features、Bulk Comments Management、Spam Comments Cleaner、Delete Comments By Status、No Page Comment、WP Disable Comments、Hide “Comments are closed”。

原文外掛簡介

Disable comments plugin is a useful tool for blog or site administrators that allows fully disabling or hiding comments for any post types, pages or attachments.
It removes the all comments related features and options:

disable comments on frontend at all;
remove comments option from WordPress dashboard menu;
hide comments option from the admin bar;
Turn off comments widgets.

In addition, this plugin can disable XML-RPC related functions in WordPress including disable pingbacks and disable trackbacks, and helps to prevent the attacks on the xmlrpc.php file. Lastly, it attempts to generate a “403 Denied” error for requests to the /xmlrpc.php URL, but does not affect that file or your server in any way.
If you want completely remove comments, you can do this individually for selected post types. You can easily bulk delete all WordPress comments in some clicks. No any other “Delete All Comments” plugins or phpMyAdmin needed.
You can disable comments but if you decide to leave them, you need to close comments external links from the search engines. By default when users places comments, the WordPress adds rel=”nofollow” attribute to the comment author URL and for all links in the comments text. However, already for a long time, search engines ignores this and follows links. It makes dozens of superfluous external links from comments that are do not bring anything good for your SEO. Disable Comments plugin makes all external links in WordPress comments invisible for search engines with Javascript and improves your blog or website SEO.
In addition, if you do not want to disable comments you may need to remove website field from the WordPress comment form. Note: you can remove comment author URL but this feature can be not work with some themes.
Generally, the Disable Comments plugin uses the intelligent algorithm to hide comments and remove comments. You just need to turn some toggles on.
If you come across any bugs or have suggestions with Disable Comments, please use the plugin support forum. I cannot fix them if I do not know about! Please check the FAQ for common issues.
Details
The Disable Comments plugin allows you completely disable the commenting feature in WordPress. When this option is on you will get the following changes:
* Easy Enable or disable Comments;
* Disable comments globally;
* Disable comments on certain Pages;
* Disable comments on posts Only;
* Disable comments on pages Only;
* Disable comments for any post types;
* Disable comments links in the Admin Menu and Admin Bar;
* Disable comments related sections (“Recent Comments”, “Discussion” etc.) and hide from the WordPress Dashboard;
* Disable comments related widgets (so your theme cannot to use them);
* Disable comments “Discussion” settings page;
* Disable comments in RSS/Atom feeds (and requests for comments RSS will be redirect to the parent post);
* Disable X-Pingback HTTP header and remove from all pages;
* Disable outgoing pingbacks;
* Making comments external links “nofollow” and invisible for search engines;
* Remove website/URL field from the comment form;
* Remove comments, Delete comments in one click.
We recently added brand new features into the Disable Comments plugin. These are Disable X-Pingback function, Replace external links and Remove website/url comment field.
Some functions was taken from the following popular plugins: Clearfy – disable unused features, Bulk Comments Management, Spam Comments Cleaner, Delete Comments By Status, No Page Comment, WP Disable Comments, Hide “Comments are closed”, Hide Show Comment.
Advanced Configuration
Site administrators and plugin/theme developers can modify some of the plugin’s behavior through the code:
Define DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE and set it to false to prevent the plugin from replacing theme’s comment template with an empty one.
These definitions can be make either in your main wp-config.php or in your theme’s functions.php file.
RECOMMENDED SEPARATE MODULES
We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:

Clearfy – WordPress optimization plugin and disable ultimate tweaker
Disable updates, Disable automatic updates, Updates manager
Cyrlitera – transliteration of links and file names
Cyr-to-lat reloaded – transliteration of links and file names
Disable admin notices individually
WordPress Assets manager, dequeue scripts, dequeue styles
Hide login page

Translations

English – default, always included
Russian

If you want to help with the translation, please contact me through this site or through the contacts inside the plugin.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Disable Comments for Any Post Types (Remove comments)」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.4 | 1.0.5 | 1.0.8 | 1.0.9 | 1.1.1 | 1.1.3 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 |

延伸相關外掛(你可能也想知道)

  • Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] 》停用評論 - 刪除評論和防止垃圾評論 [多站支援], 即刻在 WordPress 的任何文章類型 (頁面、文章或媒體) 上允許或禁止留言,以阻止垃圾評論,並完全控制您的整...。
  • Delete All Comments of WordPress 》WordPress 的「刪除所有評論」外掛程式是專為在僅需一個點擊的情況下,從 WordPress 資料庫中刪除所有評論(已核准、待審中)而打造的。操作非常簡單。, 您可...。
  • Bulk Delete Comments 》該外掛可以讓您一次性刪除所有評論,您可以選擇刪除所有未批准和待審批的評論,或基於類別/文章的評論。。
  • Spam Comments Cleaner 》升級版本可前往 WordPress Database Cleaner, 如果你是 WordPress 網站擁有者,你肯定知道每天會有 20-30 則垃圾評論在你網站的不同文章中張貼。如果你不刪除...。
  • Delete Comments By Status 》這個外掛可以協助你刪除所有評論,只需要選擇評論的狀態 (已審核、待審、垃圾或已刪除),然後由網站管理員進行刪除。。
  • CRUDLab Disable Comments 》CRUDLab Disable Comments 外掛讓您可以停用任何頁面、文章或整個網站的評論功能。您可以暫時或永久停用特定頁面或文章的評論功能。, 功能特色, , 停用所有頁...。
  • Bulk Comments Management 》這個外掛允許管理員在全局範圍內刪除註解(垃圾、回收站、未批准註解),並啟用/禁用所有文章的註解。。
  • Remove All Comments 》這個外掛能夠移除你目前的 WordPress 網站上所有的評論。啟用這個外掛後,它將會移除所有使用者的評論。你也可以選擇從指定的文章類型中移除評論。, 你可以選...。
  • Comments Deletion 》Comments Deletion 是一個外掛,可快速刪除所有評論並重置評論計數圖示。管理員可以快速刪除全部的評論... 簡單易懂。。
  • WP Comments Remover 》這是一個小型且易於使用的 WordPress 外掛,可透過搜尋關鍵字來移除待審留言。, 無需進入資料庫,只需設定一個關鍵字,所有包含該關鍵字的留言將會被刪除。, ...。
  • WP Delete Comments 》WP 刪除評論外掛讓您能夠刪除您的待審核、已核准、垃圾郵件、回收桶或全部的評論。。
  • Delete All Comments in One Click for Free With / Without Hyperlink Option 》總結:Delete All Comments in One Click for Free With / Without Hyperlink Option 是一個強大且易於使用的 WordPress 外掛,讓您能夠輕鬆管理和刪除 WordP...。

文章
Filter
Apply Filters
Mastodon