fixing home link placemenent, removed it from the wrong off canvas menu, placing...
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 2 Nov 2016 15:33:50 +0000 (11:33 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 2 Nov 2016 15:33:50 +0000 (11:33 -0400)
lib/navigation.php

index 13ec488..aea2e0a 100644 (file)
@@ -33,6 +33,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="' . home_url() . '">Home</a></li>';
         echo glm_get_mobile_nav_menu( 'top-bar' );
         echo '</ul></div>';
     }
@@ -43,7 +44,6 @@ if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) {
 if ( ! function_exists( 'glm_regions_mobile_off_canvas' ) ) {
     function glm_regions_mobile_off_canvas() {
         echo '<div class="left-off-canvas-list">';
-        echo '<ul><li class="page_item"><a href="' . home_url() . '">Home</a></li>';
         echo glm_get_mobile_nav_menu( 'regions' );
         echo '</ul></div>';
     }