From 8c20a2062b57564db95123b4d03c526c8314dbef Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 24 Jul 2015 14:34:00 -0400 Subject: [PATCH] Limit top display to 3rd level, or 2nd dropdown. --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index 91dd719..65b1ed7 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -20,7 +20,7 @@ if ( ! function_exists( 'emmetcounty_top_bar' ) ) { 'after' => '', // after each link 'link_before' => '', // before each link text 'link_after' => '', // after each link text - 'depth' => 5, // limit the depth of the nav + 'depth' => 3, // limit the depth of the nav 'fallback_cb' => false, // fallback function (see below) 'walker' => new Emmetcounty_Top_Bar_Walker() )); -- 2.17.1