[WordPress] 外掛分享: Internal Pingback Comments

首頁外掛目錄 › Internal Pingback Comments
WordPress 外掛 Internal Pingback Comments 的封面圖片
全新外掛
安裝啟用
尚無評分
89 天前
最後更新
100%
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.1 上架:2026-05-02

外掛標籤

開發者團隊

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

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

原文外掛簡介

When a post is published or updated, Internal Pingback Comments scans its content, finds all internal links, and creates a pingback-style comment on each linked post. It mimics native WordPress pingback behavior but eliminates the need for XML-RPC or outbound network requests.
Works with posts only. No settings page, no configuration.
How it works
The plugin parses post content with DOMDocument — not regex — so it handles real-world HTML correctly: nested tags, encoded entities, relative and protocol-relative URLs. For each internal link found, it inserts a pingback comment on the target post. The comment includes a short excerpt from the source post, with image captions (figcaption) stripped so they do not bleed into the pingback text.
Duplicate detection is precise: the source permalink is stored as private comment meta, and the plugin queries that meta before every insert. Republishing or updating a post never creates duplicate comments. New links added to an existing post will generate their own pingbacks on the next save.
What the pingback looks like to your theme
The comment is stored with comment_type = 'pingback' and auto-approved. Your theme renders it exactly as it would render a native pingback. If your theme does not display pingbacks, the comment will be stored in the database but remain hidden on the front end.
Disclaimer
This plugin is provided “as is”, without warranty of any kind. While best efforts have been made to ensure reliability and security, the author is not liable for any damages or losses resulting from its use.

延伸相關外掛

文章
Filter
Mastodon