projects
/
WP-Themes
/
michigantrailmaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1323749
)
fixing the depth
author
Ian Weller
<ian@gaslightmedia.com>
Fri, 3 Mar 2017 19:36:21 +0000
(14:36 -0500)
committer
Ian Weller
<ian@gaslightmedia.com>
Fri, 3 Mar 2017 19:36:21 +0000
(14:36 -0500)
I limited the depth of the nav to 2 so there won't be any third level
visible.
lib/navigation.php
patch
|
blob
|
history
diff --git
a/lib/navigation.php
b/lib/navigation.php
index
cc9e678
..
a2c9d0e
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()
));