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!
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
Darren Healy
Front End Web Development Techdegree Student 23,565 PointsIn the Project; "From Bootstrap to Wordpress" my "example pages" link in the nav is...
...actually going to an example pages page. I don't want this page to work, rather when clicked on in the nav it simply shows the dropdown of child pages.
How do I do this?
3 Answers

Zac Gordon
Treehouse Guest TeacherCreate your own custom menu in the admin area then you can control what shows up in the menu.

Darren Healy
Front End Web Development Techdegree Student 23,565 PointsI tried this Zac, was I clear enough in my question? I'll persevere as I think I can work with it anyway, thanks for the fast response!

Jason Taylor
3,059 PointsIt sounds like you are wanting the top level link to not actually click through to the page but instead display the sub navigation items. If this is the case, my recommendation would be to not have an actual link for that specific top level nav.

Darren Healy
Front End Web Development Techdegree Student 23,565 PointsHow would I do that on WordPress Jason? Somewhere in the admin section?

Jason Taylor
3,059 PointsHI Darren, I'll piggy back off of what Zac was recommending. In your Dashboard, go to Appearance > Menus and Create a new Link. You don't have to give it a URL, you can always just use # to reference itself. Make that new Link the top level link and then add your sub navigation links below it. Make sure you add them as child links and not sibling links, if that makes sense.

Darren Healy
Front End Web Development Techdegree Student 23,565 PointsI got it! I had tried to create a link previously leaving the URL blank which wouldn't work. I put the # in and all's well. Thanks Jason and Zac!