From c30ad190b88608786788f9482a16f6c8f6625c74 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 10 May 2016 16:43:55 -0400 Subject: [PATCH] restricting depth for drop down --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index 9d43c12..9973891 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -19,7 +19,7 @@ if ( ! function_exists( 'glm_theme_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' => 1, // limit the depth of the nav 'fallback_cb' => false, // fallback function (see below) 'walker' => new Glm_Theme_Top_Bar_Walker() )); -- 2.17.1