projects
/
WP-Themes
/
kalamazoobeerweek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f266b6
)
limiting the main top-bar nav's depth to 1 so there are no dropdown items
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 26 Oct 2016 12:25:51 +0000
(08:25 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 26 Oct 2016 12:25:51 +0000
(08:25 -0400)
lib/navigation.php
patch
|
blob
|
history
diff --git
a/lib/navigation.php
b/lib/navigation.php
index
8fddf68
..
6a2d933
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' =>
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()
));