
<div id="post-<?php the_ID(); ?>" <?php post_class('nyma-stack-small'); ?>>
	<div>
		<?php
			if (has_post_thumbnail()) {
				the_post_thumbnail('nysu-magazine-medium');
			} else {
				echo '<img class="attachment-nysu-magazine-medium size-nysu-magazine-medium wp-post-image" width="380" height="250" class="nyma-image-placeholder" src="' . esc_url( get_template_directory_uri() . '/public/images/placeholder-medium.png' ) . '" alt="No Picture"  sizes="(max-width: 380px) 100vw, 380px" />';
			} 
		?>
	</div>
	<div class="nyma-stack-caption">
		<?php the_title( 
				'<header class="entry-header"><h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', 
				'</a></h3></header>' 
			  ); 
		?>
		<?php nysu_magazine_post_meta( array('cat-icon','date','author','comment') ); ?>
	</div>
	
</div>
