The [documentation_list_children] shortcode is similar to the Document Children widget.


See wp_list_pages (the shortcode uses that function to render its output). All except the post_type and echo attributes, which are fixed, are supported.

Note that the child_of attribute can be used to render children for the currently displayed document by indicating {current} as its value.


[documentation_list_children child_of="{current}"]

… which would be a very common use case for this shortcode as it will render a list of the current document’s children.