updating blog single
authorIan Weller <ian@gaslightmedia.com>
Fri, 16 Dec 2016 18:54:46 +0000 (13:54 -0500)
committerIan Weller <ian@gaslightmedia.com>
Fri, 16 Dec 2016 18:54:46 +0000 (13:54 -0500)
I made more updates that were made on the original glmTheme.

root/parts/blog-text-single.php [new file with mode: 0644]
root/sections/blog-single.php

diff --git a/root/parts/blog-text-single.php b/root/parts/blog-text-single.php
new file mode 100644 (file)
index 0000000..6fda71f
--- /dev/null
@@ -0,0 +1,12 @@
+<article id="<?php the_ID()?>" <?php post_class()?>>
+    <header class="entry-header">
+        <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
+        <?php if ( has_post_thumbnail() ):?>
+                 <?php if (get_post_type( $post ) != "ai1ec_event") { ?>
+        <div class="featured-image-wrap"><?php the_post_thumbnail("large"); ?></div>
+        <?php } ?>
+        <?php endif; ?>
+        <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
+    </header>
+    <?php the_content(); ?>
+</article>
\ No newline at end of file
index a7197c4..d69ed64 100644 (file)
@@ -6,7 +6,7 @@
                 <div class="small-11 small-centered columns">
                     <div class="row">
                         <div class="small-12 columns">
-                            <?php get_template_part('parts/blog-text'); ?>
+                            <?php get_template_part('parts/blog-text-single'); ?>
                             <?php if ( comments_open() || get_comments_number() ) :
                             comments_template();
                             endif; ?>