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

Konrad Pilch
Konrad Pilch
2,435 Points

How to add JS to wordpress bootstrap theme on submenu?

HI,

I have bootstrap theme and the submenu is showing, how can i show it on the click , like toggle with jQuery ?

I need to close the submenu of the parent on toggle.

1 Answer

Hi Konrad,

did you manage to fix this I have just spotted the question?

Craig

Konrad Pilch
Konrad Pilch
2,435 Points

HI Craig,

I did, i had to extend the Walker class and do the magic lol pretty long and complex that is, ish.

Thank you anyways!