projects
/
WP-Themes
/
DarkSkiesEmmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4aac84
)
If is front page in funcs; ignore
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 24 Apr 2015 20:37:54 +0000
(16:37 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 24 Apr 2015 20:37:54 +0000
(16:37 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
296f5eb
..
05c3c5a
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-65,8
+65,8
@@
function glm_page_menu($parent = 0, $class = '')
$pages = get_pages($args);
echo '<ul'.(($class)?' class="'.$class.'"':'').'><!-- begin -->'."\n";
foreach ($pages as $page) {
- $childs = get_pages('child_of=' . $page->ID);
if (!is_page('Front Page')) {
+ $childs = get_pages('child_of=' . $page->ID);
if (count($childs) > 0) {
echo '<li class="has-dropdown">'."\n";
echo '<a href="'.get_permalink($page->ID).'">'.$page->post_title.'</a>'."\n";