[WordPress] 外掛分享: Disable Comments & Delete All Comments

首頁外掛目錄 › Disable Comments & Delete All Comments
WordPress 外掛 Disable Comments & Delete All Comments 的封面圖片
9,000+
安裝啟用
★★★★★
5/5 分(39 則評價)
65 天前
最後更新
問題解決
WordPress 5.6+ PHP 7.4+ v1.3.0 上架:2017-10-16

內容簡介

的" 外掛說明:

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”。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Disable Comments & Delete All Comments」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Disable comments across your entire site or only for selected post types. This removes comment forms from the front end, hides comment-related menus and widgets in the dashboard, and disables pingbacks and trackbacks.
Delete comments in bulk with a simple cleanup tool. You can remove all comments at once or filter them by post type or comment status.
Manage links in comments by disabling the website field from the comment form for cleaner, safer comment submissions. Replace external links in comments with safe span tags so they no longer act as real, followable links.
Key Features
Disable comments
– Disable comments globally or by post type
– Hide all comment-related admin menus, dashboard widgets and settings
– Disable pingbacks and trackbacks
– Disable comments in RSS/Atom feeds
Delete comments
– Delete all comments in WordPress at once
– Delete comments by post type
– Delete comments by comment status (spam, unapproved, trash)
Manage links in comments
– Replace all external comment links with span tags via JavaScript, removing their SEO impact while keeping the text visible to users.
– Remove the website/URL field from the comment form
All features can be enabled or disabled safely, and comment disabling does not remove existing comments unless you choose to delete them.
Why use this plugin?
WordPress still loads comment features even when you don’t use them, which can clutter your dashboard, expose unused functionality, and create unnecessary moderation work. This plugin gives you complete control over WordPress comments, whether you want to disable comments globally, bulk delete comments, or just manage them more efficiently.
Advanced Configuration
To prevent the plugin from replacing your theme’s comment template, define the following constant:
define('DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE', false);

You can add this definition either to your wp-config.php file or to your theme’s functions.php file.
Support
We’re here to help. Feel free to open a new thread on the Support Forum.
Useful Resources

If you like this plugin, you’re sure to love our other plugins as well.
Our blog is a great place to learn more about WordPress.
Get the most out of your website with our helpful WordPress YouTube Tutorials.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon