Change theme name, remove extra menus from topbar, add main nav
authorLaury GvR <laury@gaslightmedia.com>
Mon, 29 Oct 2018 15:16:01 +0000 (11:16 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 29 Oct 2018 15:16:01 +0000 (11:16 -0400)
lib/navigation.php
sections/header.php
style.css

index 0166c2f..3009794 100644 (file)
@@ -1,13 +1,8 @@
 <?php
 
 register_nav_menus(array(
-  'boards'      => 'boards-committees',
-  'departments' => 'departments-services',
-  'township'    => 'township-resources',
-  'calendar'    => 'township-calendar',
-  'parks'       => 'Parks and Rec',
+  'main-navigation' => 'Main Navigation',
   'mobile-menu' => 'Off Canvas',
-  'alt-menu'    => "How Do I...",
 ));
 
 /**
@@ -16,11 +11,7 @@ register_nav_menus(array(
 if ( ! function_exists( 'glm_theme_top_bar' ) ) {
     function glm_theme_top_bar() {
         echo '<ul>';
-        echo glm_get_top_bar_nav_menu( 'boards' );
-        echo glm_get_top_bar_nav_menu( 'departments' );
-        echo glm_get_top_bar_nav_menu( 'calendar' );
-        echo glm_get_top_bar_nav_menu( 'township' );
-        echo glm_get_top_bar_nav_menu( 'parks' );
+        echo glm_get_top_bar_nav_menu( 'main-navigation' );
         echo '</ul>';
     }
 }
@@ -63,12 +54,7 @@ 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 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('parks');
-        echo glm_get_mobile_nav_menu('alt-menu');
+        echo glm_get_mobile_nav_menu('main-navigation');
         echo '</ul></div>';
     }
 }
index 0c1ecea..652c9c6 100644 (file)
@@ -1,11 +1,6 @@
 <header class="main not-fixed">
     <div class="header-top-half">
         <div class="row">
-            <div class="small-12 large-3 columns header-logo-container">
-                <a class="large-logo-link" href="<?php echo get_bloginfo('url'); ?>">
-                    <img class="small-header-logo" src="<?php echo get_template_directory_uri();?>/assets/large-logo.png" alt="">
-                </a>
-            </div>
             <div class="medium-7 large-8 columns secondary-nav-menu">
            
                 <nav class="large-12 columns top-bar-alt text-center show-for-medium-up opensearchserver.ignore" data-topbar role="navigation" data-options="sticky_on: large">
index ee2fe25..73e55ee 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,7 +1,7 @@
 /*
-Theme Name: Frederic Township
+Theme Name: City of Harbor Springs
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
-Description: A theme for Frederic Township
-Version: 1.0.1
+Description: A theme for City of Harbor Springs
+Version: 0.0.1
 */