Support » Plugins and Hacks » Listing Child-pages on sibling pages

Listing Child-pages on sibling pages

  • I’ve searched the forums and not managed to find an exact solution to this, so maybe someone out there can help?

    What I want is to use the child-parent option to divide up my site into sections, similar to something like the book device in Drupal. I then need to only display the “sibling” pages in the sidebar.

    For example, if I had:

    — Meat
    — Fruit
    — Dairy
    — Water
    — Coffee

    I would want the sidebar to list only “Food” and “Drink” if I’m on the home page. However, if I’m on “Food”, or any of its children, then I’d want to list all of the children in the sidebar.

    Is that possible?

  • The topic ‘Listing Child-pages on sibling pages’ is closed to new replies.