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

Dropdown Menu on Walker Class

i've set the Walker php file and registered the menu , actually i followed all the steps shown on the Walker class installation guide on git .. applied it to this project but i can't get the dropdown to work on the example page i can't figure out if there is something extra i need to do ..

5 Answers

solved , incase someone else face this issue it is a conflict caused by Bootstrap ShortCode plugin deactivate it and the drop down will work just fine

I had the same issue and same solution

lior babi
lior babi
9,075 Points

you don't need to deactiveate the plugin.. just in the plugin options disable the load bootstrap js and css files :)

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

Hi Mohamed,

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. Did you encounter this problem too?

Darren

lior babi Hello, can you tell me how to disable them? I can't find plugin options.

Rai Uriarte
Rai Uriarte
5,050 Points

Hi Echo, Could you find where to disable this?, I think you will need to go inside the plugin file and find the lines where is calling this and comment or delete those.

Please tell me if you find the solution. Thanks.

Rai Uriarte
Rai Uriarte
5,050 Points

Hi Echo,

I all ready find this, I went into the WP admin/Settings/BS Shortcodes, and deselected "Load Twitter Bootstrap javascript file"

I just had that issue and I deselected the "Load Twitter Bootstrap javascript ". Worked perfectly. Thanks Rai Uriarte

Bonnie Martin
Bonnie Martin
13,671 Points

Thank you. Same problem and solution here. I was about to tear my hair out!

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