Skip to content

Commit

Permalink
Add page list inside a vertical navigation block. Issue #32
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jun 1, 2021
1 parent d05ecba commit 48531e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion block-template-parts/page-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ <h3>Page Tree ( shortcode )</h3>

<!-- wp:html -->
[bw_tree post_type=page post_parent=0 orderby="menu_order title ID" order=ASC exclude=-1]
<!-- /wp:html -->
<!-- /wp:html -->


<!-- wp:navigation {"orientation":"vertical"} -->
<!-- wp:page-list /-->
<!-- /wp:navigation -->

0 comments on commit 48531e8

Please sign in to comment.