Adding Narrow Template
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 9 Jun 2016 12:23:13 +0000 (08:23 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 9 Jun 2016 12:23:13 +0000 (08:23 -0400)
Adding a Narrow Page Template.
set to medium-8 centered

page-narrow-template.php [new file with mode: 0644]

diff --git a/page-narrow-template.php b/page-narrow-template.php
new file mode 100644 (file)
index 0000000..8195317
--- /dev/null
@@ -0,0 +1,44 @@
+/**
+ * Template Name: Narrow Template
+ */
+<?php get_header(); ?>
+<main class="page-inside">
+    <div id="head-img">
+        <?php echo glm_get_background(); ?>
+    </div>
+    <div class="row">
+        <div class="small-12 columns">
+            <h2 id="slide-text">Life… Is Good… In The Center Of It All</h2>
+        </div>
+    </div>
+    <?php get_template_part('parts/reservation-form');?>
+    <div class="row">
+        <img class="orb-shadow" src="<?php bloginfo('template_url'); ?>/assets/shadow-lrg.jpg">
+    </div>
+    <?php if (is_page("kitchensink")) {
+    ?>
+    <div id="content-wrapper">
+            <div class="row">
+    <?php get_template_part('parts/glm-kitchen-sink'); ?>
+        </div>
+    </div>
+        <?php } else { ?>
+        <div id="content-wrapper">
+            <div class="row">
+                <?php
+                get_template_part('parts/bread-crumbs');
+                ?>
+            </div>
+            <div class="row">
+                <div id="main-content" class="small-12 medium-8 medium-centered columns">
+                        <?php if(have_posts()) : while(have_posts()): the_post();?>
+                        <?php the_content();?>
+                        <?php endwhile; else:?>
+                        <p><?php _e('Sorry, no results found.');?></p>
+                        <?php endif;?>
+                </div>
+            </div>
+            <?php get_template_part('parts/interior-footer'); ?>
+        </div>
+        <?php } ?>
+<?php get_footer(); ?>