Dynamic Navigation (parent/child page active state)
-
I have a test website that I created using a twentytwelve child theme. Below is the link.
yolkbyte.com/test
I am NOT using the built-in menu. I created a new header.php in my child theme and erased all the code for the menu, navigation, etc. And I put the new custom navigation that I designed. I found a method to highlight the active pages (with no parent) but when it comes to child pages, I can’t find a way to do this dymamically.
I searched the forums and codex for answers but most of the solutions are based on built-in menu, again I’m NOT using menus and I created my own navigation from scratch.
Relatively new to WordPress, so very new to PHP. I’m pretty OK with HTML + CSS.
Any help would be greatly appreciated.
- The topic ‘Dynamic Navigation (parent/child page active state)’ is closed to new replies.