fixed php error
authorIan Weller <ian@gaslightmedia.com>
Fri, 30 Oct 2015 14:07:36 +0000 (10:07 -0400)
committerIan Weller <ian@gaslightmedia.com>
Fri, 30 Oct 2015 14:07:36 +0000 (10:07 -0400)
page_art-gallery.php
page_bay-view.php
page_crooked-river.php
page_drawbridge.php
page_perry.php
page_pier.php
page_pointer-boat.php
page_vacation.php
page_weathervane.php

index 8a4a1ba..b452f9a 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Stafford's Art Gallery
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("staffords-art-gallery")) {
+    <?php if (is_page("staffords-art-gallery")) { ?>
             <header id="art-head">
                 <?php get_template_part('parts/top-bar_art-gallery');?>
             </header>
@@ -45,7 +45,7 @@ Template Name: Stafford's Art Gallery
                         </div>
                     </div>
                 </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="art-head">
                 <?php get_template_part('parts/top-bar_art-gallery');?>
                 <?php get_template_part('parts/head-image');?>
index c13d4c1..45d8c4f 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Bay View Inn
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("bay-view-inn")) {
+    <?php if (is_page("bay-view-inn")) { ?>
             <header id="bay-head">
                 <?php get_template_part('parts/top-bar_bay-view');?>
             </header>
@@ -45,7 +45,7 @@ Template Name: Bay View Inn
                         </div>
                     </div>
                 </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="bay-head">
                 <?php get_template_part('parts/top-bar_bay-view');?>
                 <?php get_template_part('parts/head-image');?>
index 67288c6..e8984b0 100644 (file)
@@ -4,14 +4,48 @@ Template Name: Crooked River Lodge
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("crooked-river-lodge")) {
+    <?php if (is_page("crooked-river-lodge")) { ?>
             <header id="crooked-head">
                 <?php get_template_part('parts/top-bar_crooked-river');?>
             </header>
             <?php get_template_part('parts/off-canvas_crooked-river'); ?>
             <?php get_template_part('parts/slide-show');?>
-            <?php get_template_part('parts/first-page');?>
-        } else { ?>
+            <main class="page-front">
+                <div id="content-wrapper">
+                    <div class="row">
+                        <?php
+                        get_template_part('parts/glm-blocks');
+                        ?>
+                    </div>
+                    <div class="row">
+                        <div id="main-content" class="small-12 medium-9 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-4 large-3 columns small-text-center medium-text-left">
+                            <div class="sidebar">
+                                <h2></h2>
+                                <h3></h3>
+                                <h2></h2>
+                                <h3></h3>
+                                <h2></h2>
+                                <a href="#"></a>
+                                <h2></h2>
+                                <p></p>
+                                <ul>
+                                    <li><a class="facebook" target="_blank" href="https://www.facebook.com/staffordshospitality"></a></li>
+                                    <li><a class="tweet" target="_blank" href="https://twitter.com/petoskeylodging"></a></li>
+                                    <li><a class="pin" target="_blank" href="https://www.pinterest.com/staffordsnmich/"></a></li>
+                                    <li><a class="youtube" target="_blank" href="https://www.youtube.com/user/staffordsnmichigan"></a></li>
+                                </ul>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+        <?php } else { ?>
             <header id="crooked-head">
                 <?php get_template_part('parts/top-bar_crooked-river');?>
                 <?php get_template_part('parts/head-image');?>
index 112c2c5..1dd8189 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Drawbridge Bistro
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("drawbridge-bistro")) {
+    <?php if (is_page("drawbridge-bistro")) { ?>
         <header id="drawbridge-head">
             <?php get_template_part('parts/top-bar_drawbridge');?>
         </header>
@@ -45,7 +45,7 @@ Template Name: Drawbridge Bistro
                     </div>
                 </div>
             </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="drawbridge-head">
                 <?php get_template_part('parts/top-bar_drawbridge');?>
                 <?php get_template_part('parts/head-image');?>
index 3d9a301..a19938c 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Perry Hotel
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("perry-hotel")) {
+    <?php if (is_page("perry-hotel")) { ?>
             <header id="perry-head">
                 <?php get_template_part('parts/top-bar_perry');?>
             </header>
@@ -45,7 +45,7 @@ Template Name: Perry Hotel
                         </div>
                     </div>
                 </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="perry-head">
                 <?php get_template_part('parts/top-bar_perry');?>
                 <?php get_template_part('parts/head-image');?>
index 81878d2..449620e 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Pier Restaurant
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("pier-restaurant")) {
+    <?php if (is_page("pier-restaurant")) { ?>
         <header id="pier-head">
             <?php get_template_part('parts/top-bar_pier');?>
         </header>
@@ -45,7 +45,7 @@ Template Name: Pier Restaurant
                     </div>
                 </div>
             </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="pier-head">
                 <?php get_template_part('parts/top-bar_pier');?>
                 <?php get_template_part('parts/head-image');?>
index bc7f714..6f664a7 100644 (file)
@@ -4,7 +4,7 @@ Template Name: The Pointer Boat
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("the-pointer-boat")) {
+    <?php if (is_page("the-pointer-boat")) { ?>
         <header id="boat-head">
             <?php get_template_part('parts/top-bar_pointer-boat');?>
         </header>
@@ -45,7 +45,7 @@ Template Name: The Pointer Boat
                     </div>
                 </div>
             </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="boat-head">
                 <?php get_template_part('parts/top-bar_pointer-boat');?>
                 <?php get_template_part('parts/head-image');?>
index b1bf650..265a399 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Vacation Rentals
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("vacation-rentals")) {
+    <?php if (is_page("vacation-rentals")) { ?>
         <header id="vacation-head">
             <?php get_template_part('parts/top-bar_vacation');?>
         </header>
@@ -45,7 +45,7 @@ Template Name: Vacation Rentals
                     </div>
                 </div>
             </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="vacation-head">
                 <?php get_template_part('parts/top-bar_vacation');?>
                 <?php get_template_part('parts/head-image');?>
index 3b50cf4..a83ef5b 100644 (file)
@@ -4,7 +4,7 @@ Template Name: Weathervane Resturant
 */
 ?>
 <?php get_header(); ?>
-    <?php if (is_page("weathervane-restaurant")) {
+    <?php if (is_page("weathervane-restaurant")) { ?>
         <header id="weathervane-head">
             <?php get_template_part('parts/top-bar_weathervane');?>
         </header>
@@ -45,7 +45,7 @@ Template Name: Weathervane Resturant
                     </div>
                 </div>
             </div>
-        } else { ?>
+        <?php } else { ?>
             <header id="weathervane-head">
                 <?php get_template_part('parts/top-bar_weathervane');?>
                 <?php get_template_part('parts/head-image');?>