內容簡介
此外掛為 YARPP 提供一個對稱的文章關聯圖,顯示與當前文章相關的文章,增強用戶的瀏覽體驗。透過鍵盤友好的縮放控制,使用者可以輕鬆探索相關內容。
【主要功能】
• 顯示對稱的 YARPP 文章關聯圖
• 使用 YARPP 的資料表快取
• 提供鍵盤友好的縮放控制
• 每日自動重建圖形數據
• 包含 WP-CLI 命令進行手動重建
外掛標籤
開發者團隊
② 後台搜尋「Article Relationship Graph for YARPP」→ 直接安裝(推薦)
原文外掛簡介
Adds a symmetrical graph of YARPP-related articles below singular posts.
Features
Displays a symmetrical, non-directional graph of the website’s current YARPP related articles.
Uses YARPP’s table cache and respects the site’s publicly viewable post types.
Provides keyboard-friendly zoom controls and links to each article.
Rebuilds graph data after supported posts are published and on a daily schedule.
Includes a WP-CLI command for manual rebuilds and status checks.
The graph is rendered locally in the browser with the included D3.js library. It does not send post content, visitor information, or analytics to an external service.
Requirements
Yet Another Related Posts Plugin (YARPP) must be active and configured to use its table cache.
The plugin is an extension for YARPP and does not replace it. YARPP is a separate project and is not bundled with this plugin.
Rebuilding
The graph rebuilds daily, after publication changes, and automatically when relationship-relevant YARPP configuration changes. Matching weights, thresholds, taxonomy requirements/exclusions, eligible post types, ordering, and persistent cache capacity are tracked; templates, CSS and thumbnails are not. Saves coalesce for 90 seconds, with an hourly consistency check as a fallback.
Rebuilds refresh every eligible graph article using YARPP in batches of 25. The previous stored graph remains available until a complete replacement is activated with its configuration fingerprint. Interrupted jobs preserve pending work and retry automatically. Large sites should run WP-Cron through a system scheduler. Safe refresh requires InnoDB options, relationship-cache and graph-edge tables; unsupported engines fail safely without replacing the graph. The integration is audited against YARPP 5.30.11. Custom matching-filter changes cannot be detected from stored settings, and an individual article matching query can still be expensive. See docs/configuration-sync.md in the source repository for implementation details.
Rebuild manually with:
wp yarpp-graph rebuild
Inspect the most recent rebuild outcome with:
wp yarpp-graph status
The graph includes up to 15 related articles plus the current article (16 nodes). Membership and ordering follow YARPP’s website settings; reverse-only and second-degree matches are not added. Developers can lower the total server-side node limit with the article_relationship_graph_node_limit filter and can change supported post types with article_relationship_graph_post_types.
Privacy
This plugin does not collect, store, or transmit personal data. It does not use cookies, tracking pixels, third-party requests, or analytics. Graph data is generated from public WordPress posts and the local YARPP table cache.
Technical notes
Graph connection weights and metrics are stored in two local custom database tables and are removed when the plugin is uninstalled. Deactivating the plugin preserves the tables so a later reactivation does not require data loss. The included D3.js library is distributed under its BSD 3-Clause license; see assets/vendor/D3-LICENSE.txt.
