From: Steve Sutton Date: Tue, 18 Oct 2016 19:04:00 +0000 (-0400) Subject: Redo the off canvas home item. X-Git-Tag: v1.0.0^2~36 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6868244a958034a12eb1cf18ed3e210c228f4126;p=WP-Themes%2Fharborcountry.git Redo the off canvas home item. Placing this into the off canvas section. --- diff --git a/lib/navigation.php b/lib/navigation.php index 7c319b7..95a4c08 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -123,9 +123,6 @@ function glm_page_menu($parent = 0, $class = '',$page_ids = []) } $pages = get_pages($args); echo ''."\n"; - if ( $parent === 0 ) { - echo '
  • Home
  • '; - } foreach ($pages as $page) { $childs = get_pages('child_of=' . $page->ID); if (count($childs) > 0) { diff --git a/sections/off-canvas.php b/sections/off-canvas.php index f0032a2..d6fbda3 100644 --- a/sections/off-canvas.php +++ b/sections/off-canvas.php @@ -5,6 +5,9 @@
    +