I have a page set up like

Page One - Page Red - Page Green - Page Blue

On Page One I can show the child pages with


How can I show the sibling pages on Page Red, Green and Blue

So on Page Red, Green and Blue I would see Page Red, Page Green, Page Blue

1 Answer 1


You can query pages that have same parent excluding the page itself:


Use parent instead of child_of to get only direct siblings without children of the siblings.

  • Hi gmazzap - Thanks for your reply, your code shows all pages
    – user668499
    Commented Feb 17, 2015 at 8:42
  • @user668499 yep, I typed too quickly. I fixed the code, now should work.
    – gmazzap
    Commented Feb 17, 2015 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.