From: Anthony Talarico Date: Thu, 26 Jan 2017 15:07:06 +0000 (-0500) Subject: reducing the top bar depth to 2 so that that 3rd level sub menus don't show X-Git-Tag: v1.0.0^2~54 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=3548866f2ce891752cf561c8415886ecbd423bb7;p=WP-Themes%2Fcrawfordco.git reducing the top bar depth to 2 so that that 3rd level sub menus don't show --- diff --git a/lib/navigation.php b/lib/navigation.php index 560e0d2..bdcac74 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -20,7 +20,7 @@ if ( ! function_exists( 'top_bar' ) ) { '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 Top_Bar_Walker() ));