Add template for beer crauft page
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 6 Jul 2016 17:13:03 +0000 (13:13 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 6 Jul 2016 17:13:03 +0000 (13:13 -0400)
move the crowdriff to top in place of the header image.

craft-beer-template.php [new file with mode: 0644]
index.php
style.css

diff --git a/craft-beer-template.php b/craft-beer-template.php
new file mode 100644 (file)
index 0000000..881996f
--- /dev/null
@@ -0,0 +1,38 @@
+<?php
+/*
+ * Template Name: Craft Beer Template
+ */
+?>
+<?php get_header(); ?>
+<main class="page-inside">
+    <div id="lens">
+        <script id="cr__init-38a0f95d" src="https://embed.crowdriff.com/js/init?hash=38a0f95d"></script>
+    </div>
+    <div id="content-wrapper">
+        <div class="row">
+        <?php if(is_page(3714)){ ?>
+            <div class="small-12 large-12 columns right">
+        <?php } else { ?>
+            <div class="small-12 large-8 columns right">
+        <?php } ?>
+                <div class="row">
+                    <?php get_template_part('parts/bread-crumbs'); ?>
+                    <div id="main-content" class="small-12 columns">
+                        <?php get_template_part('parts/content-section'); ?>
+                    </div>
+                </div>
+            </div>
+            <?php if(! (is_page(3714))){ ?>
+                <?php get_sidebar(); ?>
+            <?php } ?>
+            <div class="small-12 columns small-center text-center">
+                <a id="big-lens"><h1>#DiscoverKZoo</h1></a>
+            </div>
+        </div>
+        <?php if ((get_post_type( $post ) != "ai1ec_event") && ($post != get_post(3198))  && ($post != get_post(1140))) { ?>
+        <div id="bottom-lens">
+        </div>
+        <?php } ?>
+    </div>
+
+<?php get_footer(); ?>
index 57ae1c6..cb46756 100644 (file)
--- a/index.php
+++ b/index.php
         </div>
         <?php if ((get_post_type( $post ) != "ai1ec_event") && ($post != get_post(3198))  && ($post != get_post(1140))) { ?>
         <div id="bottom-lens">
-            <?php if ( is_page( 3334 ) ) { ?>
-            <script id="cr__init-38a0f95d" src="https://embed.crowdriff.com/js/init?hash=38a0f95d"></script>
-            <?php } else { ?>
             <script id="cr__init-b054762a" src="https://embed.crowdriff.com/js/init?hash=b054762a"></script>
-            <?php } ?>
         </div>
         <?php } ?>
     </div>
index dd695f6..1263593 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: DiscoverKalamazoo
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for DiscoverKalamazoo
-Version: 1.0.5
+Version: 1.0.6
 */