updating the style.css data and putting an if statment in blog develop
authorIan Weller <ian@gaslightmedia.com>
Thu, 27 Oct 2016 18:20:54 +0000 (14:20 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 27 Oct 2016 18:20:54 +0000 (14:20 -0400)
I changed the style.css data to reflect a change to generic form.  I also
changed the blog text area with an if statement where the excerpt feed
will work on the blog properly.  It is working at the moment.

parts/blog-text.php
style.css

index ebb264f..7a05e3f 100644 (file)
@@ -1,3 +1,4 @@
+<?php if (is_single()) {  ?>
                                                 <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>
@@ -9,4 +10,15 @@
                                                         <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
                                                     </header>
                                                     <?php echo the_content(); ?>
-                                                </article>
\ No newline at end of file
+                                                </article>
+<?php } else { ?>
+                                                <article id="<?php the_ID()?>" <?php post_class()?>>
+                                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
+                                                <div class="blog-excerpt-date">
+                                                    Posted on <strong><?php the_time('F jS, Y'); ?></strong>
+                                                </div>
+                                                <?php echo the_advanced_excerpt('length=265&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?>
+                                                <!--                    <hr class="contentBreak">-->
+                                            </article>
+<?php } ?>
+                                                
\ No newline at end of file
index 5591b2f..1f6458a 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,7 +1,7 @@
 /*
-Theme Name: PetosegaRebuild
+Theme Name: GenericCampPetosegaFoundation6
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
-Description: A theme for PetosegaRebuild
+Description: A theme based off CampPetosega in Foundation 6 format
 Version: 1.0
 */