added separate blog-text-single file so that it doesn't inherit from the archive...
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 2 Dec 2016 14:27:46 +0000 (09:27 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 2 Dec 2016 14:27:46 +0000 (09:27 -0500)
parts/blog-text-single.php [new file with mode: 0644]
parts/blog-text.php
sections/blog-single.php

diff --git a/parts/blog-text-single.php b/parts/blog-text-single.php
new file mode 100644 (file)
index 0000000..bb1fd00
--- /dev/null
@@ -0,0 +1,14 @@
+<article id="<?php the_ID()?>" <?php post_class()?>>
+    <header class="entry-header">
+        <h3 class="entry-title"><?php the_title();?></h3>
+        <?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>
+        <?php get_template_part('parts/share-this'); ?>
+    </header>
+
+    <?php echo the_content(); ?>
+</article>
\ No newline at end of file
index 342dfa1..57f1a5f 100644 (file)
@@ -1,14 +1,14 @@
-                                                <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>
-                                                        <?php get_template_part('parts/share-this'); ?>
-                                                    </header>
-                                                       
-                                                    <?php echo the_content(); ?>
-                                                </article>
\ No newline at end of file
+<article id="<?php the_ID()?>" <?php post_class()?>>
+    <header class="entry-header">
+        <h3 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3>
+        <?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>
+        <?php get_template_part('parts/share-this'); ?>
+    </header>
+
+    <?php echo 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; ?>