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 trialKonrad Pilch
2,435 PointsHelp please to assign me navigation child to template page
How can i assign a template called 'page-services.php' wheres the navigation is like:
Home
Services
-Business consulting
-Digital Marketing
-Graphic Design
Contact Us
And i want page-services.php, to be assigned to the child of Services . So Business consulting, digital marketing and graphic desing will be assigned the template page-services.php
How can i do it?
1 Answer
Marissa Richardson
47,542 PointsCheck out this WP course on custom menu development. It deals with the walker class that helps you build navigation that has a hierarchical structure: https://teamtreehouse.com/library/custom-menu-development-in-wordpress