Bootstrap submenu does not collapse

Fellow friends,

I have following bootstrap based menu that does not collapse for some reason. The menu is generated by WordPress and I am using bootstrap. What could be causing this and what would be the resolution?

<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-29" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-29 dropdown"><a title="Therapieën" href="#" data-toggle="dropdown" class="dropdown-toggle" aria-haspopup="true">Therapieën <span class="caret"></span></a>
<ul role="menu" class=" dropdown-menu" >
    <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-86" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-86"><a title="Logopedie" href="http://localhost:81/wordpress/logopedie/">Logopedie</a></li>
    <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-85" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-85"><a title="Bijlessen" href="http://localhost:81/wordpress/bijlessen/">Bijlessen</a></li>
    <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-84" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-84"><a title="Audiologie" href="http://localhost:81/wordpress/audiologie/">Audiologie</a></li>
    <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-83" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-83"><a title="Stemtherapie" href="http://localhost:81/wordpress/stemtherapie/">Stemtherapie</a></li>
    <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-82" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-82"><a title="Verder ook begeleiding in" href="http://localhost:81/wordpress/verder-ook-begeleiding-in/">Verder ook begeleiding in</a></li>
</ul>
</li>

Thanks for your help.

Read more here: Bootstrap submenu does not collapse

Leave a Reply

Your email address will not be published. Required fields are marked *