From 80fc83002d3235f9cfe8dc1779a24fcd5a1a1783 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 7 Dec 2016 13:15:06 -0500 Subject: [PATCH] limiting nav menu to 2 levels to prevent unstyled nested menu elements --- lib/navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index e4b346e..deaedd3 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' => 3, // limit the depth of the nav + 'depth' => 2, // limit the depth of the nav 'fallback_cb' => false, // fallback function (see below) 'walker' => new Glm_Theme_Top_Bar_Walker() )); -- 2.17.1