Show siblings to current page

Is there any way to show siblings of the current page? TIA!

Jay Collier


Yes, you can use the following shortcode:

[display-posts post_type=”page” post_parent=”current”]

That will list all the subpages with the same parent as the current page

Published by Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributor to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Join the Conversation

  1. Where do I insert the shortcodes for displayposts on my wordpress website?
    I’m a real beginner .
    All I see is the code appearing on my webpage, and not the posts I hoped for.

    1. Can you share a link to a page that has the issue? You should be able to type the shortcode anywhere in the content area.

Leave a comment

Your email address will not be published. Required fields are marked *