Featured Image in Full width Banner
<?php
// this a single page for a custom post type:
// single-dade-county.php
get_header(); ?>
<?php global $post;
$src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array( 5600,1000 ), false, '' );
?>
<div class="archive_banner" style="background: url(<?php echo $src[0]; ?> ); height: 500px; background-position: center center;">
<?php //the_post_thumbnail(); ?>
<!--
<div class="container">
<div class="archive_title"><?php the_title() ; ?></div>
</div>
-->
</div>
<div class="container padding_bottom0">
<div class="row">
<div id="content" class="main-content-inner col-sm-12">
<div class="content-padder">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php endwhile; // end of the loop. ?>
<?php get_footer(); ?>