Support » Plugin: WP Show Posts » Display Child Posts

Viewing 4 replies - 1 through 4 (of 4 total)
  • David

    (@diggeddy)

    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.

    Clifford Paulick

    (@cliffpaulick)

    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://wordpress.org/plugins/page-list/ has a bunch of nice logic but yours has better designed output

    Clifford Paulick

    (@cliffpaulick)

    His snippet actually doesn’t work because the wp_show_posts_shortcode_args filter only passes $args, not the second $settings arg.

    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.