?> <a href="<?php echo get_permalink($post->ID); ?> " class="nav-previous" style="width: 49%;"> <?php $post_format = get_post_format($post->ID) ? get_post_format($post->ID) : 'standard'; ?> <div class="bgfallback"> </div><?php if ($post) { ?> <span> </span> <div class="tab_icon tab_<?php echo $post_format; ?> "><i class="<?php echo get_post_icon($post->ID); ?> "></i></div> <div class="bgimage" style="background-image: url('<?php echo get_post_image($post->ID, 'small'); ?> ');"></div> <h5 style="padding-top: 25px;"><?php echo get_the_title($post->ID); ?> </h5><?php echo the_excerpt(); } ?> </a> <?php }
function the_post_icon() { echo get_post_icon(); }
if ($next_post) { ?> <a href="<?php echo get_permalink($next_post->ID); ?> " class="nav-next" style="float:left;"> <div class="bgfallback"> </div> <?php $post_format = get_post_format($next_post->ID) ? get_post_format($next_post->ID) : 'standard'; ?> <span> </span> <div class="tab_icon tab_<?php echo $post_format; ?> "><i class="<?php echo get_post_icon($next_post); ?> "></i></div> <div class="bgimage" style="background-image: url('<?php echo get_post_image($next_post->ID, 'small'); ?> ');"></div> <h5><?php echo get_the_title($next_post->ID); ?> <i class="icon-angle-double-right"></i></h5> </a> <?php } ?> </div>
</figure> </a> <?php } ?> <div class="<?php echo get_post_icon() ? 'medium-9' : 'medium-12'; ?> columns"> <a class="list-link" href="<?php echo get_permalink(); ?> " title="See more info about <?php echo get_the_title(); ?> "> <h2 class="entry-list-title <?php echo !get_post_icon() ? 'text-center' : ''; ?> "><?php echo get_the_title(); ?> </h2> </a> <?php the_fancy_excerpt(); ?> </div> </li>