<div class="row">
<?php // get_sidebar('left'); ?>
- <?php
+ <?php if (has_post_thumbnail()) {
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
- echo '<img class="small-12 columns" style="display: block; width: 100%; position: relative; padding: 0;" src="'.$image_data[0].'";>'
+ echo '<img class="small-12 columns" style="display: block; width: 100%; position: relative; padding: 0;" src="'.$image_data[0].'";>';
+ }
+
?>
<div id="main" class="small-12 columns" role="main">