From: Laury GvR Date: Fri, 24 Jul 2015 18:34:00 +0000 (-0400) Subject: Limit top display to 3rd level, or 2nd dropdown. X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=8c20a2062b57564db95123b4d03c526c8314dbef;p=WP-Themes%2Fglmthemes%2Fcrawfordcounty-theme.git Limit top display to 3rd level, or 2nd dropdown. --- 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() ));