{"id":260180,"date":"2025-11-15T08:07:14","date_gmt":"2025-11-15T08:07:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/post-hierarchy-nav\/"},"modified":"2025-11-15T08:06:44","modified_gmt":"2025-11-15T08:06:44","slug":"post-hierarchy-nav","status":"publish","type":"plugin","link":"https:\/\/oci.wordpress.org\/plugins\/post-hierarchy-nav\/","author":20581814,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.8.5","requires":"6.3","requires_php":"8.2","requires_plugins":null,"header_name":"Post Hierarchy Nav","header_author":"Yalogica","header_description":"Dynamic hierarchical navigation for posts, pages & custom post types in Gutenberg.","assets_banners_color":"","last_updated":"2025-11-15 08:06:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/yalogica.com\/post-hierarchy-nav","header_author_uri":"https:\/\/yalogica.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":157,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"yalogica","date":"2025-11-15 08:06:44"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"post-hierarchy-nav\/navigation":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"post-hierarchy-nav\/navigation","title":"Hierarchy Nav","category":"widgets","icon":"list-view","description":"Displays a hierarchical navigation tree of posts or custom post types.","supports":{"html":false,"className":true},"attributes":{"postType":{"type":"string","default":"post"},"mode":{"type":"string","default":"all"},"customPostId":{"type":"number","default":0},"showCount":{"type":"boolean","default":false},"activePostClassName":{"type":"string","default":"active"}},"editorScript":"file:.\/index.js"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[148076,1865,1753,250726,168],"plugin_category":[43],"plugin_contributors":[235815],"plugin_business_model":[],"class_list":["post-260180","plugin","type-plugin","status-publish","hentry","plugin_tags-gutenberg","plugin_tags-menu","plugin_tags-navigation","plugin_tags-post-hierarchy","plugin_tags-sidebar","plugin_category-customization","plugin_contributors-yalogica","plugin_committers-yalogica","plugin_support_reps-mxlawr"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-hierarchy-nav.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Post Hierarchy Nav<\/strong> 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.<\/p>\n\n<h3>\u2728 Features<\/h3>\n\n<p>\u2705 Works with <strong>posts, pages, and any hierarchical custom post type<\/strong><br \/>\n\u2705 Three display modes: <strong>All<\/strong>, <strong>Auto (current context)<\/strong>, or <strong>Custom root<\/strong><br \/>\n\u2705 Live preview via <strong>ServerSideRender<\/strong> \u2014 see changes instantly in the editor<br \/>\n\u2705 Optional <strong>child count<\/strong> badge (e.g., \"Integrations 2\")<br \/>\n\u2705 Fully customizable CSS classes for root and active items<br \/>\n\u2705 Respects WordPress permissions and core data APIs<\/p>\n\n<h3>\ud83c\udfaf Use Cases<\/h3>\n\n<ul>\n<li>Create <strong>auto-expanding documentation menus<\/strong><\/li>\n<li>Build <strong>context-aware sidebars<\/strong> that highlight the current page's branch<\/li>\n<li>Replace hardcoded menus with <strong>dynamic, maintainable trees<\/strong><\/li>\n<\/ul>\n\n<h3>\ud83d\udd10 Privacy &amp; Performance<\/h3>\n\n<ul>\n<li><strong>Zero tracking<\/strong> \u2014 no data collected, no external requests<\/li>\n<li><strong>Lightweight<\/strong> \u2014 only loads when the block is used<\/li>\n<li><strong>GDPR compliant<\/strong> by design<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>post-hierarchy-nav<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Add the <strong>Post Hierarchy Nav<\/strong> block to any post or page.<\/li>\n<li>Configure post type, mode, and styling in the block inspector.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20work%20with%20custom%20post%20types%3F'><h3>Does it work with custom post types?<\/h3><\/dt>\n<dd><p>Yes! As long as your CPT is registered with <code>'hierarchical' =&gt; true<\/code> and <code>'show_in_rest' =&gt; true<\/code>.<\/p><\/dd>\n<dt id='how%20is%20the%20%22auto%22%20mode%20determined%3F'><h3>How is the \"Auto\" mode determined?<\/h3><\/dt>\n<dd><p>It finds the top-level ancestor of the current page\/post and renders its subtree.<\/p><\/dd>\n<dt id='can%20i%20style%20the%20active%20item%3F'><h3>Can I style the active item?<\/h3><\/dt>\n<dd><p>Yes! Use the <strong>\"Active item CSS class\"<\/strong> field in the Advanced panel (defaults to <code>active<\/code>).<\/p><\/dd>\n<dt id='why%20require%20wordpress%206.3%2B%3F'><h3>Why require WordPress 6.3+?<\/h3><\/dt>\n<dd><p>The block uses modern Gutenberg APIs (<code>core-data<\/code>, <code>EntityPicker<\/code>, <code>ServerSideRender<\/code>) that are stable from WP 6.3 onward.<\/p><\/dd>\n<dt id='where%20is%20the%20developer%20version%20hosted%3F'><h3>Where is the developer version hosted?<\/h3><\/dt>\n<dd><p>The developer version is available <a href=\"https:\/\/github.com\/yalogica\/post-hierarchy-nav\">here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Display dynamic, hierarchical navigation trees for posts, pages, and custom post types - directly in the Gutenberg editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/260180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=260180"}],"author":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yalogica"}],"wp:attachment":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=260180"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=260180"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=260180"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=260180"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=260180"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=260180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}