Closed getdave closed 11 years ago
Example file might be
<?php if ( has_post_thumbnail() ) { ?>
<figure class="post-thumbnail">
<?php the_post_thumbnail(
array(
'width' => 662,
'height' => 300,
'crop' => true,
'jpeg_quality' => 80,
'resize' => true
)
);?>
</figure>
<?php } ?>
We need to create a standardised featured-image / post-thumbnail file to display the featured image.
Should test and apply to single and page content templates.