register_nav_menus(array(
'top-bar' => 'Site Navigation',
'mobile-off-canvas' => 'Mobile',
+ 'property-bar' => 'Properties Navigation',
'art-bar' => 'Art Gallery Navigation',
'bay-bar' => 'Bay View Inn Navitgation',
'river-bar' => 'Crooked River Lodge Navigation',
));
}
}
+if ( ! function_exists( 'property_top_bar' ) ) {
+ function property_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' => 'property-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( 'bay_top_bar' ) ) {
function bay_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
+ 'menu_class' => 'bay-view', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'art-gallery', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'crooked-river', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'drawbridge', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'perry-hotel', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'pier-restuarant', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'pointer-boat', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'vacation-rental', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'weathervane', // 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>
'container' => false, // remove nav container
'container_class' => '', // class of container
'menu' => '', // menu name
- 'menu_class' => '', // adding custom nav class
+ 'menu_class' => 'about', // adding custom nav class
'theme_location' => 'about-bar', // where it's located in the theme
'before' => '', // before each link <a>
'after' => '', // after each link </a>
// }
// $output .= $item_html;
// }
-//
+
// function start_lvl( &$output, $depth = 0, $args = array() ) {
// if ($depth == 0) {
// $output .= "\n<ul class=\"sub-menu dropdown\">\n";
<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 href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:600italic' rel='stylesheet' type='text/css'>
+-->
<?php wp_head(); ?>
</head>
<body>
<header id="header-all" class="show-for-large-up">
<div class="row collapse">
<div id="properties" class="large-offset-1 large-3 columns">
-
+ <nav class="top-bar text-center" data-topbar role="navigation">
+ <section class="top-bar-section">
+ <?php property_top_bar(); ?>
+ </section>
+ </nav>
</div>
<div class="right large-4">
<ul>
<li><a href="#">About</a></li>
- <li><a target="_blank" href="#"><img></a></li>
- <li><a target="_blank" href="#"><img></a></li>
- <li><a target="_blank" href="#"><img></a></li>
- <li><a target="_blank" href="#"><img></a></li>
- <li><a target="_blank" href="#"><img></a></li>
- <li><a target="_blank" href="#"><img></a></li>
+ <li><a class="share" target="_blank" href="#"></a></li>
+ <li><a class="facebook" target="_blank" href="#"></a></li>
+ <li><a class="tweet" target="_blank" href="#"></a></li>
+ <li><a class="pin" target="_blank" href="#"></a></li>
+ <li><a class="youtube" target="_blank" href="#"></a></li>
+ <li><a class="blog" target="_blank" href="#"></a></li>
<li><a href="#"><img></a></li>
</ul>
</div>
</div>
-<!--
- <div class="search-top show-for-large-up">
- <?php get_template_part('parts/search');?>
- </div>
- <div class="row">
- <?php get_template_part('parts/top-bar');?>
- </div>
- <?php get_template_part('parts/off-canvas-menu');?>
--->
</header>