Allow specifying "root" page in Page List block #33883
Labels
[Block] Page List
Affects the Page List Block
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
What problem does this address?
Related to #31063
It would be useful to be able to specify the "root" page in a page list so that only children of that page would render in the list. For example, when allowing users to navigate within a section of a website where the sibling pages are all relevant.
Similarly, it would be useful to control the depth rendered in the list.
What is your proposed solution?
Basically, the Gutenberg Page List block should emulate the
wp_list_pages
method, allowing users to specify thechild_of
,depth
, and other related properties.In PHP, the code for rendering sibling pages
The text was updated successfully, but these errors were encountered: