projects
/
WP-Themes
/
crawfordco.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dea169
)
reducing the top bar depth to 2 so that that 3rd level sub menus don't show
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 26 Jan 2017 15:07:06 +0000
(10:07 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 26 Jan 2017 15:07:06 +0000
(10:07 -0500)
lib/navigation.php
patch
|
blob
|
history
diff --git
a/lib/navigation.php
b/lib/navigation.php
index
560e0d2
..
bdcac74
100644
(file)
--- a/
lib/navigation.php
+++ b/
lib/navigation.php
@@
-20,7
+20,7
@@
if ( ! function_exists( '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 Top_Bar_Walker()
));