Header function for single blog posts
authorLaury GvR <laury@gaslightmedia.com>
Thu, 11 Dec 2014 20:54:48 +0000 (15:54 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 11 Dec 2014 20:54:48 +0000 (15:54 -0500)
single.php

index 7ff4cb9..6bea9a9 100644 (file)
@@ -1,24 +1,7 @@
 <?php get_header(); ?>
 <?php do_action('foundationPress_before_content'); ?>
 <article <?php post_class() ?> id="interior">
-        <header
-        <?php
-                if (has_post_thumbnail()) {
-                        $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
-                        echo ' style="background: url('.$image_data[0].'); min-height: '.$image_data[2].'px;max-height: 400px; "';
-                }
-                else {
-                        echo ' class="no-image"';
-                }
-        ?>
-        >
-                <h1 class="entry-title">Sanctuary of the great lakes</h1>
-        </header>
-        <div class="row">
-                <div class="small-12 columns">
-                        <?php the_breadcrumbs(">"); ?>
-                </div>
-        </div>
+    <?php GLM_get_header(); ?>
 </article>
 <div class="row">
     <div id="searchform_container" class="small-12 medium-3 columns alignright">