Display dynamic, hierarchical navigation trees for posts, pages, and custom post types – directly in the Gutenberg editor.
| Author: | Yalogica (profile at wordpress.org) |
| WordPress version required: | 6.3 |
| WordPress version tested: | 6.8.3 |
| Plugin version: | 1.0.0 |
| Added to WordPress repository: | 15-11-2025 |
| Last updated: | 15-11-2025 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://yalogica.com/post-hierarchy-nav |
| Total downloads: | 336 |
![]() Click to start download |
|
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
