I have 5 sets of identical navigation for 5 mini sites under one main landing page (hope that makes sense).
Here is the code I've used http://pastebin.com/m2a2a70b0
The problem I'm having is that once I am on a sub page, the sub menu's then dissapear. This is because I am naming only the parent pages in the if statment.
Is there any way I can ammend this code so it displays the correct sub pages regardless of which page I am on? Page or sub-page or sub-sub-page
I think I need a statement like: If I am on the about page or any child of about page then display these sub-pages.
I just don't know how to mark that up into a query.
Sorry if this is confusing, but any help would be greatly appreciated.