Hi there,
there is no UI included for child pages.
The add_filter function that Sam provided is all that is required to include the shortcode argument now. No need to edit the plugins files as per the first part of his reply.
OK, thanks. So is there a reason this logic isn’t included by default?
Plus, I think his code would only work for Page post type, not other (e.g. custom) post types that are hierarchical.
https://ww.wp.xz.cn/plugins/page-list/ has a bunch of nice logic but yours has better designed output
His snippet actually doesn’t work because the wp_show_posts_shortcode_args filter only passes $args, not the second $settings arg.
Plugin Support
Elvin
(@ejcabquina)
To add value to this conversation:
You might find some use to Tom’s answers on this topic:
https://wpshowposts.com/support/topic/related-post/