adding menu opions
authorIan Weller <ian@gaslightmedia.com>
Mon, 26 Oct 2015 12:58:07 +0000 (08:58 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 26 Oct 2015 12:58:07 +0000 (08:58 -0400)
functions.php

index 4868803..fb735f3 100644 (file)
@@ -80,7 +80,17 @@ function glm_page_menu($parent = 0, $class = '')
 
 register_nav_menus(array(
   'top-bar' => 'Site Navigation',
-  //'mobile-off-canvas' => 'Mobile',
+  'mobile-off-canvas' => 'Mobile',
+    'art-bar' => 'Art Navigation',
+    'bay-bar' => 'Bay View Inn Navitgation',
+    'river-bar' => 'Crooked River Lodge Navigation',
+    'bridge-bar' => 'Drawbridge Bistro Navigation',
+    'perry-bar' => 'Perry Hotel Navigation',
+    'pier-bar' => 'Pier Restaurant Navigation',
+    'boat-bar' => 'Pointer Boat Navigation',
+    'vacation-bar' => 'Vacation Rental Navigation',
+    'weathervane-bar' => 'Weathervane Restaurant Navigation',
+    'about-bar' => 'Weathervane Restaurant Navigation',
 //  'footer' => 'Footer'
 ));
 
@@ -102,6 +112,168 @@ if ( ! function_exists( 'feature_top_bar' ) ) {
       ));
   }
 }
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'bay-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'art-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'river-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'bridge-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'perry-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'pier-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'boat-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'feature_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'vacation-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
+if ( ! function_exists( 'weathervane_top_bar' ) ) {
+  function feature_top_bar() {
+      wp_nav_menu(array(
+          'container' => false,                           // remove nav container
+          'container_class' => '',                        // class of container
+          'menu' => '',                                   // menu name
+          'menu_class' => '',                             // adding custom nav class
+          'theme_location' => 'weathervane-bar',                  // where it's located in the theme
+          'before' => '',                                 // before each link <a>
+          'after' => '',                                  // after each link </a>
+          'link_before' => '',                            // before each link text
+          'link_after' => '',                             // after each link text
+          'depth' => 3,                                   // limit the depth of the nav
+          'fallback_cb' => false,                         // fallback function (see below)
+          'walker' => new Feature_Top_Bar_Walker()
+      ));
+  }
+}
 if ( ! class_exists( 'Feature_Top_Bar_Walker' ) ) :
 class Feature_Top_Bar_Walker extends Walker_Nav_Menu {