list ONLY page siblings?
-
I’ve Googled this for ages now, and the only code I can get ahold of lists siblings WITH a parent heading. I want to ONLY list sibling pages, NOT any parent(s).
Anyone know of a way to do this using standard template tags?
For example, if my page structure was:
- veggies
- carrots
- peas
- potato
- fruits
- apples
- pears
- plums
if I were on ‘Plums’, i want to show a list of:
- apples
- pears
- plums
I do not want any list to show if the user is on ‘fruits’ or ‘veggies’.
- The topic ‘list ONLY page siblings?’ is closed to new replies.