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

Katherine Elsken
Katherine Elsken
2,330 Points

Displaying nav menu and page child (Foundation 5)

How would I go about displaying a menu along with the page child in wordpress using foundation 5's top bar coding and class structure?

1 Answer

Andrew Shook
Andrew Shook
31,709 Points

You need to use what is called a Nav-Walker. Essentially its a piece of php that parses the nav info stored in WordPress and wraps it in the HTML needed to work with Foundation. You can find a nav walker for foundation 4 here and one for Foundation 5 here . This site has a short and easy tutorial on what a nav walker is and how to use one for zurd.

Katherine Elsken
Katherine Elsken
2,330 Points

THANK YOU THANK YOU THANK YOU!!!!