Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Punal Chotrani
Punal Chotrani
8,817 Points

How to create a secondary wordpress navigation from the sub menu items of the primary navigation?

I'm trying to create a secondary menu, by pulling the items from a submenu of the primary navigation for a custom page template i'm building.

Any help on this would be great. Thanks

3 Answers

Stephen O'Connor
Stephen O'Connor
22,291 Points

Punal, are you looking for something like this? This technique allows you to list child pages when on the parent page.

Punal Chotrani
Punal Chotrani
8,817 Points

Yes, thats exactly what i'm looking for.

Punal Chotrani
Punal Chotrani
8,817 Points

Thanks Stephan,

Been looking for hours for something like this.