testing top bar menu depth restriction
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 6 Jan 2016 16:34:36 +0000 (11:34 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 6 Jan 2016 16:34:36 +0000 (11:34 -0500)
lib/navigation.php

index 6ae7e92..5e78a21 100644 (file)
@@ -38,7 +38,7 @@ function glm_get_top_bar_nav_menu( $theme_location )
         'after'           => '',          // after each link </a>
         'link_before'     => '',          // before each link text
         'link_after'      => '',          // after each link text
-        'depth'           => 3,           // limit the depth of the nav
+        'depth'           => 2,           // limit the depth of the nav
         'fallback_cb'     => false,       // fallback function (see below)
         'walker'          => new Glm_Theme_Top_Bar_Walker()
     ));