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.