w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Wordpress Bootstrap Responsive Nav Menu - how to toggle top menu's href link using Bootstrap Navwalker

try with this one: (befor trying it you should create your navigation menu from wordpress admin panel, without that, it will not work.)

<div class="collapse navbar-collapse navbar-ex1-collapse">
    <?php wp_nav_menu(array(
        'container_class' => 'menu-header',
        'theme_location' => 'primary',
        'items_wrap' => '<ul id="%1$s" class="%2$s nav
        'walker' => new BS3_Walker_Nav_Menu,
    )); ?>
<!-- /.navbar-collapse -->

and for submenus see here

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.