From 3548866f2ce891752cf561c8415886ecbd423bb7 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 26 Jan 2017 10:07:06 -0500 Subject: [PATCH] reducing the top bar depth to 2 so that that 3rd level sub menus don't show --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() )); -- 2.17.1