From: Anthony Talarico Date: Wed, 6 Jan 2016 16:34:36 +0000 (-0500) Subject: testing top bar menu depth restriction X-Git-Tag: v1.0.0^2~131 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=479f583fb7c4d70c0e027fbc312f741021a3d223;p=WP-Themes%2Fotsego.git testing top bar menu depth restriction --- diff --git a/lib/navigation.php b/lib/navigation.php index 6ae7e92..5e78a21 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -38,7 +38,7 @@ function glm_get_top_bar_nav_menu( $theme_location ) 'after' => '', // after each link '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() ));