From: Anthony Talarico Date: Thu, 18 Feb 2016 15:35:06 +0000 (-0500) Subject: restricting dropdown depth to 1 level X-Git-Tag: v1.0.0^2~162 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a5994555686e62fe4f89ef1cb10601a38a9c3ab7;p=WP-Themes%2FDiscoverKZOO.git restricting dropdown depth to 1 level --- diff --git a/lib/navigation.php b/lib/navigation.php index c6f373d..764b1cf 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' => 2, // limit the depth of the nav 'fallback_cb' => false, // fallback function (see below) 'walker' => new Glm_Theme_Top_Bar_Walker() ));