adding off canvas menu to use appearance menu
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 17 May 2017 19:52:02 +0000 (15:52 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 17 May 2017 19:52:02 +0000 (15:52 -0400)
forgot to add the off canvas support to use the appearance menu instead of the page menu

lib/navigation.php
parts/off-canvas-menu.php

index eccc6c0..f5b5d91 100644 (file)
@@ -32,7 +32,7 @@ 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>';
+        echo '<ul><li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
         echo glm_get_mobile_nav_menu( 'top-bar' );
         echo '</ul></div>';
     }
index 69d6d62..b7171ae 100644 (file)
@@ -1,5 +1,5 @@
 <aside class="left-off-canvas-menu hide-for-large-up">
-    <?php glm_offcanvas_menu(); ?>
+    <?php glm_theme_mobile_off_canvas(); ?>
     <form class="search text-center">
         <input name="s" type="search" placeholder="Search">
         <a class="magnifying-glass" href="#"></a>