From 479f583fb7c4d70c0e027fbc312f741021a3d223 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 6 Jan 2016 11:34:36 -0500 Subject: [PATCH] testing top bar menu depth restriction --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() )); -- 2.17.1