This displays the list of the child pages when on the parent and it displays a list of child pages when on a child pages (if there are any).
The only thing I am missing that I would like is the list of pages that are grandchildren when on a grandchild page, if they exist.
Does that make sense? It confuses the heck out of me!
So, I have a Parent page, and under that page I have child pages. Some of these child pages also have children, some do not.
I can get a list of child pages when on the parent no problem.
I can get a list of grandchild pages when I am on a child page that has children
I can’t get a list of grandchild pages when I am on a grandchild page in the same hierarchy. This is what I would like to add somehow?
Right now I have the grandchild list hard-coded into the grandchild pages and that is fine, but I would like it dynamic obviously.