From 4d64c84f44c9d5b9ddc396ffce23322f804df68e Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 26 Oct 2016 08:25:51 -0400 Subject: [PATCH] limiting the main top-bar nav's depth to 1 so there are no dropdown items --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index 8fddf68..6a2d933 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -20,7 +20,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' => 2, // 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