How to Add Featured Image to A Custom Loop

Hi everyone,

I need to edit a custom loop which is this:

<?php
// as we need it after 1st post we need to have a counter
$post_counter = 0;
?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="cool-loop">
<div class="date">
<div class="background">
<span class="day"><?php the_time('j') ?></span><br />
<span class="month"><?php the_time('M') ?></span>
</div>
</div>
<h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="post-content">
<?php
if(is_singular()){
the_content();
} else {

do_action( 'ultimatum_post_content',$instance );

// now lets check counter
if($post_counter==0){
?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Test Responsive -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-0375707664358081"
data-ad-slot="5026873448"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<?php
// increase the counter
$post_counter++;
}
}
?>
</div>
</div>
<?php endwhile;
ultimatum_posts_nav($instance);
else: ?>
<div class="no-content">
<p>Sorry, nothing to display here.</p>
</div>
<?php endif; ?>

I use this code for this page: http://nulis.net/category/video-tutorial/

I need some help to customise the loop code above so that I will do:

– Delete the Date and Month shown on http://nulis.net/category/video-tutorial/

– Show featured image on the left of every post excerpt.

Thank you :slight_smile: