<main>
<div class="row" data-equalizer>
<div id="front" class="small-12 medium-7 large-8 columns" data-equalizer-watch>
+ <h1>EMMET COUNTY NEWS</h1>
+ <div id="home-feed-posts">
+ <?php
+ $args = array( 'numberposts' => 3);
+ $lastposts = get_posts( $args );
+ foreach($lastposts as $post) : setup_postdata($post); ?>
+ <div class="home-feed-post">
+
+ <div class="row">
+ <?php if (has_post_thumbnail( $post->ID )) { ?>
+ <div class="small-8 small-centered medium-3 medium-uncentered columns home-feed-post-image">
+ <?php echo get_the_post_thumbnail($post->ID, array(190, 190), array('class' => 'blog-excerpt-img-wrap')); ?>
+ </div>
+ <div class="small-12 medium-9 columns home-feed-post-content">
+ <?php } else { ?>
+ <div class="small-12 columns home-feed-post-content">
+ <?php } ?>
+ <h3 class="title-posts" href="<?php the_permalink(); ?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
+
+<!-- <p id="date" class="italic"><?php // echo get_the_date('D, F j, Y g:iA', $post->ID); ?></p>-->
+
+ <div><?php echo the_advanced_excerpt('length=95&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?></div>
+ </div>
+ </div>
+ </div>
+ <?php endforeach; ?>
+ </div>
<div class="row collapse">
<?php if(have_posts()) : while(have_posts()): the_post();?>
<?php the_content();?>
get_template_part('parts/glm-blocks');
?>
</div>
- <h1>RECENT EMMET COUNTY NEWS</h1>
- <div id="blog-feed" class="small-12 columns">
- <?php get_template_part("parts/blog-feed");?>
- </div>
<!--
<div id="video" class="small-12 columns">
<div class="row">
</div>
</div>
<footer>
- <div class="row">
+ <div class="row">
<div class="small-12 small-text-center columns">
<img src="<?php echo get_template_directory_uri(); ?>/assets/slogan.png">
</div>