[WordPress] 外掛分享: Post Hierarchy Nav

首頁外掛目錄 › Post Hierarchy Nav
全新外掛
安裝啟用
尚無評分
148 天前
最後更新
問題解決
WordPress 6.3+ PHP 8.2+ v1.0.0 上架:2025-11-14

內容簡介

總結:Post Hierarchy Nav 是一個輕量級的 Gutenberg 區塊,根據現有文章分類系統生成乾淨、語意化的導航樹。非常適合用於文件站點、知識庫或任何使用分層內容的網站。

問題與答案:
1. Post Hierarchy Nav 是什麼樣的外掛?
- Post Hierarchy Nav 是一個輕量級的 Gutenberg 區塊,用來製作乾淨、語意化的導航樹。

2. 這個外掛適用於哪些內容類型?
- 這個外掛適用於文章、頁面,以及任何分層式自訂文章類型。

3. 它有哪些顯示模式?
- 這個外掛有三種顯示模式:全部、自動(目前上下文)、或自訂根。

4. 這個外掛的一些使用案例有哪些?
- 可以用來創建自動展開的文件菜單、建立與當前頁面分支有關的上下文感知側邊欄、以及替換硬編碼菜單為動態、可維護的樹。

5. 關於隱私及效能方面,這個外掛有哪些特點?
- 沒有追蹤行為,不收集數據,不發送外部請求。
- 輕量級,僅在使用該區塊時加載。
- 符合 GDPR 規定。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Post Hierarchy Nav is a lightweight Gutenberg block that renders clean, semantic navigation trees based on your existing post hierarchy. Perfect for documentation sites, knowledge bases, or any site using hierarchical content.
✨ Features
✅ Works with posts, pages, and any hierarchical custom post type
✅ Three display modes: All, Auto (current context), or Custom root
✅ Live preview via ServerSideRender — see changes instantly in the editor
✅ Optional child count badge (e.g., “Integrations 2”)
✅ Fully customizable CSS classes for root and active items
✅ Respects WordPress permissions and core data APIs
🎯 Use Cases

Create auto-expanding documentation menus
Build context-aware sidebars that highlight the current page’s branch
Replace hardcoded menus with dynamic, maintainable trees

🔐 Privacy & Performance

Zero tracking — no data collected, no external requests
Lightweight — only loads when the block is used
GDPR compliant by design

延伸相關外掛

文章
Filter
Apply Filters
Mastodon