My wordpress site has a top menu, with sub items dropping down (so, if you mouseover a parent nav item, it's children drop down).
I'm looking to add an additional side nav menu for these section pages (so, if it is the ABOUT section, the side nav will list only the children of that section (such as HISTORY, WHO WE ARE, MISSION). I want this menu to appear only on pages within that nav item (so, only on the ABOUT page, and the children of that page). Is there an easy way to do this?
I'm not great with PHP... but I figure I could add IF-THEN statements to my templates and say...
IF the URL contains http://www.mydomain.com/sectionnav1/ THEN show menu for Section1.
Or, if that's not possible, is there a way to say...
IF the page is a child of "sectionnav1" THEN show menu for Section1.
How would I do this using PHP?
Additionally, is there a way to automatically print out the menu. So, if the THEN statement run, it will automatically list out the children of the page? Or do I need to hard code the menu's into my templates ?
Please let me know. Thanks!