edited the off canvas layout a bit
authorIan Weller <ian@gaslightmedia.com>
Tue, 23 Feb 2016 21:14:47 +0000 (16:14 -0500)
committerIan Weller <ian@gaslightmedia.com>
Tue, 23 Feb 2016 21:14:47 +0000 (16:14 -0500)
lib/navigation.php

index 0c1b74d..c172e80 100644 (file)
@@ -32,7 +32,6 @@ if ( ! function_exists( 'glm_theme_top_bar' ) ) {
 if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) {
     function glm_theme_mobile_off_canvas() {
         echo '<div class="left-off-canvas-list">';
-        echo '<ul><li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
         wp_nav_menu(array(
             'container' => false,                           // remove nav container
             'container_class' => '',                        // class of container
@@ -47,7 +46,7 @@ if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) {
             'fallback_cb' => false,                         // fallback function (see below)
             'walker' => new Glm_Theme_Off_Canvas_Walker()
         ));
-        echo '</ul></div>';
+        echo '</div>';
     }
 }