Skip to content
Browse files

Enable pill navigation to be two levels deep

  • Loading branch information...
1 parent cbe462b commit 7c523161e68e095f3396bf056eea4989939c0d20 @obenland committed Aug 24, 2012
Showing with 6 additions and 4 deletions.
  1. +3 −2 footer.php
  2. +3 −2 header.php
View
5 footer.php
@@ -15,8 +15,9 @@
'container_class' => 'subnav',
'theme_location' => 'footer-menu',
'menu_class' => 'credits nav nav-pills pull-left',
- 'depth' => 1,
- 'fallback_cb' => 'the_bootstrap_credits'
+ 'depth' => 2,
+ 'fallback_cb' => 'the_bootstrap_credits',
+ 'walker' => new The_Bootstrap_Nav_Walker,
) );
?>
<div id="site-generator"<?php echo has_nav_menu('footer-menu') ? ' class="footer-nav-menu"' : ''; ?>>
View
5 header.php
@@ -34,8 +34,9 @@
'container_class' => 'subnav clearfix',
'theme_location' => 'header-menu',
'menu_class' => 'nav nav-pills pull-right',
- 'depth' => 1,
- 'fallback_cb' => false
+ 'depth' => 2,
+ 'fallback_cb' => false,
+ 'walker' => new The_Bootstrap_Nav_Walker,
) ); ?>
<hgroup>
<h1 id="site-title">

0 comments on commit 7c52316

Please sign in to comment.
Something went wrong with that request. Please try again.