updating blog text area
authorIan Weller <ian@gaslightmedia.com>
Fri, 16 Dec 2016 18:51:09 +0000 (13:51 -0500)
committerIan Weller <ian@gaslightmedia.com>
Fri, 16 Dec 2016 18:51:09 +0000 (13:51 -0500)
I updated the blog text area with the updates made to the normal glmTheme.

root/parts/blog-text.php

index ebb264f..6de7e4b 100644 (file)
@@ -3,10 +3,9 @@
                                                         <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 echo the_content(); ?>
+                                                    <?php the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,div,h1,h2,h3,h4,h5,h6'); ?>
                                                 </article>
\ No newline at end of file