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 From Bootstrap to WordPress Add Bootstrap Components to WordPress Theme Dropdown Bootstrap Menus and the Walker Class

Agustin Grube
Agustin Grube
39,278 Points

Bootstrap Menus and the Walker Class

Has anyone tried to implement this using the github code:

https://github.com/twittem/wp-bootstrap-navwalker

I've tried it, but it's not working. I followed the instruction step-by-step...a few times.

Maybe there is a conflict with the other menu registration (in functions.php), but I tried deleting it and still not working.

Any thoughts on this?

Agustin Grube
Agustin Grube
39,278 Points

<?php

None needed. See next comment.

?>

3 Answers

Chris Roth
PLUS
Chris Roth
Courses Plus Student 4,379 Points

I had the same problem. If you installed the bootstrap short codes plugin from an earlier video, go to settings -> BS Shortcodes and uncheck the "Load Twitter Boostrap css and javascript file" options, as we enqueue those in an earlier video. This solved it for me

Agustin Grube
Agustin Grube
39,278 Points

Yes, that worked! Thank you very much.

Darren Healy
seal-mask
.a{fill-rule:evenodd;}techdegree
Darren Healy
Front End Web Development Techdegree Student 23,565 Points

Hi guys

I'm having trouble making the dropdown work when the menu has collapsed for smaller screen sizes. Though it does work for larger screen sizes when the menu is able to display (after following the advice in this thread already). Did anyone encounter this problem too?

Darren