adding images
authorIan Weller <ian@gaslightmedia.com>
Mon, 26 Oct 2015 16:01:21 +0000 (12:01 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 26 Oct 2015 16:01:21 +0000 (12:01 -0400)
13 files changed:
footer.php
front-page.php
functions.php
header.php
parts/glm-blocks.php
parts/top-bar_about.php
parts/top-bar_art-gallery.php
parts/top-bar_bay-view.php
parts/top-bar_crooked-river.php
parts/top-bar_drawbridge.php
parts/top-bar_perry.php
parts/top-bar_vacation.php
parts/top-bar_weathervane.php

index a9e926a..d758ac3 100644 (file)
@@ -5,13 +5,13 @@
                             <div class="row">
                                 <div class="small-12 small-centered medium-6 columns">
                                     <div class="small-12 medium-4">
-                                        <a href="#"><img src=""></a>
+                                        <a href="#"><img src="<?php bloginfo('template_url'); ?>/assets/gift-cards.jpg"></a>
                                     </div>
                                     <div class="small-12 medium-4">
-                                        <a href="#"><img src=""></a>
+                                        <a href="#"><img src="<?php bloginfo('template_url'); ?>/assets/frequent-diners-club.jpg"></a>
                                     </div>
                                     <div class="small-12 medium-4">
-                                        <a href="#"><img src=""></a>
+                                        <a href="#"><img src="<?php bloginfo('template_url'); ?>/assets/enews-signup.jpg"></a>
                                     </div>
                                 </div>
                             </div>
index 6c373bb..72024ea 100644 (file)
@@ -8,19 +8,5 @@
             get_template_part('parts/glm-blocks');
             ?>
         </div>
-<!--
-        <div class="row">
-            <div id="main-content" class="small-12 medium-6 large-8 columns">
-                <?php if(have_posts()) : while(have_posts()): the_post();?>
-                <?php the_content();?>
-                <?php endwhile; else:?>
-                <p><?php _e('Sorry, no posts yet');?></p>
-                <?php endif;?>
-            </div>
-            <div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">
-                <?php get_sidebar(); ?>
-            </div>
-        </div>
--->
     </div>
 <?php get_footer(); ?>
index 901a860..a817d81 100644 (file)
@@ -81,6 +81,7 @@ function glm_page_menu($parent = 0, $class = '')
 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',
@@ -112,13 +113,31 @@ if ( ! function_exists( 'feature_top_bar' ) ) {
       ));
   }
 }
+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>
@@ -136,7 +155,7 @@ if ( ! function_exists( 'art_top_bar' ) ) {
           '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>
@@ -154,7 +173,7 @@ if ( ! function_exists( 'river_top_bar' ) ) {
           '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>
@@ -172,7 +191,7 @@ if ( ! function_exists( 'bridge_top_bar' ) ) {
           '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>
@@ -190,7 +209,7 @@ if ( ! function_exists( 'perry_top_bar' ) ) {
           '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>
@@ -208,7 +227,7 @@ if ( ! function_exists( 'pier_top_bar' ) ) {
           '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>
@@ -226,7 +245,7 @@ if ( ! function_exists( 'boat_top_bar' ) ) {
           '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>
@@ -244,7 +263,7 @@ if ( ! function_exists( 'vacation_top_bar' ) ) {
           '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>
@@ -262,7 +281,7 @@ if ( ! function_exists( 'weathervane_top_bar' ) ) {
           '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>
@@ -280,7 +299,7 @@ if ( ! function_exists( 'about_top_bar' ) ) {
           '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>
@@ -337,7 +356,7 @@ class Feature_Top_Bar_Walker extends Walker_Nav_Menu {
 //        }
 //        $output .= $item_html;
 //    }
-//
+
 //    function start_lvl( &$output, $depth = 0, $args = array() ) {
 //        if ($depth == 0) {
 //            $output .= "\n<ul class=\"sub-menu dropdown\">\n";
index 4153128..54cc561 100644 (file)
@@ -5,8 +5,10 @@
     <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>
index 636ea4d..28c4b5e 100644 (file)
@@ -22,5 +22,5 @@
     </div>
     <?php endforeach;?>
 </div>
-<div class="separator"><hr></div>
+<div class="separator"><img src="<?php bloginfo('template_url'); ?>/assets/fancy-divider-large.jpg"></div>
 <?php endif;?>
index 07361ba..628a1bd 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            
+            <?php about_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 07361ba..ba390fc 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            
+            <?php art_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 07361ba..8e67611 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            
+            <?php bay_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 07361ba..7a11cfd 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            
+            <?php river_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 07361ba..8397d5b 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            
+            <?php bridge_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 07361ba..cf7e518 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            
+            <?php perry_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 15a0798..072297f 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            <?php feature_top_bar(); ?>
+            <?php vacation_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">
index 15a0798..a6f5b49 100644 (file)
@@ -1,7 +1,7 @@
 <div class="row">
     <nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
         <section class="top-bar-section">
-            <?php feature_top_bar(); ?>
+            <?php weathervane_top_bar(); ?>
         </section>
     </nav>
     <nav class="tab-bar show-for-medium-down">