projects
/
WP-Themes
/
mackinawareavb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
451eb7b
)
limiting nav menu to 2 levels to prevent unstyled nested menu elements
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 7 Dec 2016 18:15:06 +0000
(13:15 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 7 Dec 2016 18:15:06 +0000
(13:15 -0500)
lib/navigation.php
patch
|
blob
|
history
diff --git
a/lib/navigation.php
b/lib/navigation.php
index
e4b346e
..
deaedd3
100644
(file)
--- a/
lib/navigation.php
+++ b/
lib/navigation.php
@@
-20,7
+20,7
@@
if ( ! function_exists( 'glm_theme_top_bar' ) ) {
'after' => '', // after each link </a>
'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()
));