The Children block – sb/children-block block displays the children of the current content. It works for hierarchical post types that support
page-attributes. e.g. page.
These pages demonstrate the following blocks:
- Breadcrumbs block – sb/breadcrumbs-block
- Children block – sb/children-block
- Parent block – sb/parent-block
Click on the links to see the examples up and down the page hierarchy.
Children block examples
Children block example – depth=0
Display a tree of the descendents down to the lowest level.
- SB Children block – child page
Children block example – depth=1
Display the first level only.
Children block example – depth=2
Display two levels: children and grandchildren
Children block example – depth=-1
Display all the descendents in a flat list.