adding full width template
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 12 Oct 2016 19:15:34 +0000 (15:15 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 12 Oct 2016 19:15:34 +0000 (15:15 -0400)
full-width.php [new file with mode: 0644]

diff --git a/full-width.php b/full-width.php
new file mode 100644 (file)
index 0000000..ed2a3aa
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/*
+Template Name: Full Width Template
+*/
+?>
+<?php get_header(); ?>
+<main class="page-inside">
+    <div id="header-image" class="page-header">
+        <?php echo glm_get_header();?>
+    </div>
+    <div id="page-title" class="text-center">
+        <?php echo "<h1>" . get_the_title() . "</h1>"; ?>
+    </div>    
+        <div id="content-wrapper">
+            <div class="row">
+                <div id="main-content" class="small-12 columns">
+                    <?php
+                    get_template_part('parts/bread-crumbs');
+                    ?>
+                    <?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>
+        </div>
+<?php get_footer(); ?>
\ No newline at end of file