Last active
March 23, 2018 21:32
-
-
Save brentini/3158535 to your computer and use it in GitHub Desktop.
Walker class for WordPress custom menu integration in Twitter Bootstrap navbar #wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="navbar-menu" class="navbar"> | |
<div class="navbar-inner"> | |
<?php | |
wp_nav_menu( array( | |
'theme_location' => 'navbar', | |
'container_class' => 'container', | |
'menu_class' => 'nav', | |
'fallback_cb' => '', | |
'walker' => new Walker_Navbar_Menu(), | |
) ); | |
?> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment