adding off canvas menu items
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 1 Mar 2018 17:24:12 +0000 (12:24 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 1 Mar 2018 17:24:12 +0000 (12:24 -0500)
adding the topbar menu items to the off canvas

lib/navigation.php
parts/header-meta.php
style.css

index 3f6cfb5..e792480 100644 (file)
@@ -58,11 +58,14 @@ function glm_get_top_bar_nav_menu( $theme_location )
  * Mobile off-canvas
  */
 if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) {
-    function glm_theme_mobile_off_canvas($location) {
+    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 glm_get_mobile_nav_menu( $location );
-        echo glm_get_mobile_nav_menu( 'top-bar' );
+        echo glm_get_mobile_nav_menu('boards');
+        echo glm_get_mobile_nav_menu('departments');
+        echo glm_get_mobile_nav_menu('calendar');
+        echo glm_get_mobile_nav_menu('township');
+        echo glm_get_mobile_nav_menu('alt-menu');
         echo '</ul></div>';
     }
 }
index 7828fdc..cccdd4e 100644 (file)
@@ -2,7 +2,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.1">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico">
     <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <?php wp_head(); ?>
index 533b2ea..826b07a 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: Resort Township
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Resort Township
-Version: 1.0.0
+Version: 1.0.1
 */