Skip to content

Instantly share code, notes, and snippets.

@theukedge
Last active August 29, 2015 13:56
Show Gist options
  • Save theukedge/9142340 to your computer and use it in GitHub Desktop.
Save theukedge/9142340 to your computer and use it in GitHub Desktop.
<?php
if ( has_nav_menu( 'header-menu' ) ) {
wp_nav_menu( array(
'menu' => '33',
'depth' => 3,
'container' => 'nav',
'menu_class' => 'nav nav-pills',
'fallback_cb' => 'wp_page_menu',
'walker' => new wp_bootstrap_navwalker()
) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment