Small update
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 6 Apr 2015 17:49:56 +0000 (13:49 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 6 Apr 2015 17:49:56 +0000 (13:49 -0400)
for the other pages to work

functions.php

index 8d6f24c..bb31fe9 100644 (file)
@@ -232,7 +232,9 @@ function glm_page_menu($parent = 0, $class = '')
                 $page_title = $page->post_title;
                 break;
             }
-        }
+        } else {
+                $page_title = $page->post_title;
+            }
         echo '><a href="'.get_permalink($page->ID).'">'.$page_title.'</a>'."\n";
         if ($totalCount > 0) {
             echo glm_page_menu($page->ID, 'sub-menu dropdown');