?> <hr> <?php $args = array('numberposts' => 3, 'cat' => $sports_cat, 'tag__not_in' => $frontPageTags); $lastposts = get_posts($args); foreach ($lastposts as $post) { setup_postdata($post); ?> <div> <h3> <a href="<?php the_permalink(); ?> "><?php the_headline(); ?> </a> </h3> <hr> </div> <?php } ?> </div> </div> <div class="row db-story" data-equalizer> <div class="db-divide"></div> <div class="db-story-fe large-8 large-push-4 hide-for-small columns" data-equalizer-watch> <div class="row text-center">
<a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail( 'db-category-thumb', array('class'=>'category-thumb') ); ?> </a> </div> <div class="row" style="padding-left:0"> <?php endif; ?> <span class="db-section-date"> <h4><?php the_category(', ');?></h4> <h4>|</h4> <h5><?php the_time('F j, g:i a');?> </h5> </span> <?php if(has_post_thumbnail()): ?> <h2><a href="<?php the_permalink(); ?>"><?php the_headline(); ?></a></h2> <?php else: ?> <h2 class="db-large-title text-center" style="margin: 2rem 0;"> <a href="<?php the_permalink(); ?>"><?php the_headline(); ?></a> </h2> <?php endif; ?> <div class="entry-content"> <?php the_audio(); ?> <p><?php echo get_the_excerpt(); ?> <a href="<?php the_permalink(); ?>">More »</a></p> </div> <?php if(has_post_thumbnail()): ?> </div> <?php endif; ?> </article> </div> <?php if(++$i > 1): $i=0;?> </div> <?php endif; ?>