Currently, the list of pages to choose from seems to be in created order. It’d be useful if this could be presented in alphabetical order.
Additionally, it would be nice if the block defaulted to show children of the current page.
]]>Hi,
Great block idea, but it just needs a few more settings to work better.
It only displayed the last 10 child pages for me, and they were in descending order of creation.
Can you get this changed please to add all child pages, and in ascending order?
Thanks.
]]>This plugin seems super helpful, but the ability to only show children of top-level pages is limiting. Are you planning on updating to allow users to select secondary pages as well?
]]>If you want to respect the sort order of your menu, use this code :
$args = array(
'post_type' => 'page',
'post_parent' => $post_parent,
'orderby'=>'menu_order',
'order' => 'ASC'
);
$the_query = new WP_Query($args);
line 27 of php file included in extension (gutenberg-block-subpages-list.php)
]]>