projects
/
WP-Themes
/
RecycleEmmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0ba6b
)
update nav function for top level navs
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 9 Dec 2014 20:16:12 +0000
(15:16 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 9 Dec 2014 20:16:12 +0000
(15:16 -0500)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
dced8cf
..
d64446b
100755
(executable)
--- a/
functions.php
+++ b/
functions.php
@@
-22,7
+22,7
@@
function glm_page_menu($parent = 0, $class = '')
$childs = get_pages('child_of=' . $page->ID);
if (count($childs) > 0) {
echo '<li class="has-dropdown">'."\n";
- echo '<a href="'.get_permalink($
child
->ID).'">'.$page->post_title.'</a>'."\n";
+ echo '<a href="'.get_permalink($
page
->ID).'">'.$page->post_title.'</a>'."\n";
echo glm_page_menu($page->ID, 'sub-menu dropdown');
echo '</li>'."\n";
} else {
@@
-87,4
+87,4
@@
function glm_site_scripts()
}
add_action('wp_enqueue_scripts', 'glm_site_scripts');
-?>
\ No newline at end of file
+?>