Thanks for the reply esmi, I should have been more clear.
It seems the list_subpages function only lets me list subpages of the current page. It lets me list siblings, but I don't know how to make that list only show up when on a grandchild page of a particular parent page.
Essentially, I only want this list of siblings to show under a particular parent page which has children and grandchildren. I want the list to only show on the grandchildren pages.
So for example, if this was my sitemap:
- fruits
- red fruits
- apples
- strawberries
- cherries
- green fruits
- kiwis
- limes
- pears
- veggies
- yucky veggies
- squashes
- peas
- yummy veggies
- carrots
- potatoes
- favorites
- pizza
- Del Taco
- Macho Combo Burrito
I want to ONLY show the siblings of the grandchildren of Fruits when on a grandchild of fruits, and only grandchildren of Fruits, not of Veggies or Favorites. So If I'm on Cherries, I want to see links to Cherries, Apples and Strawberries.
Can anyone help with this? AAt this point, I'm even willing to use a custom page template, but as this is for a client I cannot expect them to manually add page ID's to a PHP file. It must be automated to some degree.
Thanks in advance for any advice. I hope I've been clear enough.