WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Display Posts Shortcode] List pages with a specific parent page?

[Resolved] [Plugin: Display Posts Shortcode] List pages with a specific parent page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bill Erickson

    @billerickson

    You’ll need to find the parent page’s ID. If it was 8, then you could use this shortcode:

    [display-posts post_parent=”8″]

    thanks for the response, tried that, should this be working for pages? I’m not looking for the posts…

    You’ll need to find the parent page’s ID. If it was 8, then you could use this shortcode:

    [display-posts post_parent=”8″]

    Tried this and it didn’t work… Didn’t display anything!

    Plugin Author Bill Erickson

    @billerickson

    If you’re using pages, make sure to specify the post type (the default post type is ‘post’ if none is specified)

    [display-posts post_parent=”8″ post_type=”page”]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Display Posts Shortcode] List pages with a specific parent page?’ is closed to new replies.