<!-- article Scenic Touring -->
					<?php if (in_category('scenic-touring')) { ?>
			

			<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			<section id="scenic-touring-banner" class="extended-wrapper">

			
			<div class="feature-img">
			<?php 

			$image = get_field('banner_image');

			if( !empty($image) ): ?>

			<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />

			<?php endif; ?>
			</div>
			
			</section>



			<div class="dev-news-container">
			<?php
			if ( function_exists('yoast_breadcrumb') ) {
			yoast_breadcrumb('
			<p id="breadcrumbs">','</p>
			');
			}
			?>
			<div class="feature-title">
			<h1><?php the_title(); ?> </h1>
			<h2>
			<?php
			$value = get_field( "feature_sub_title" );
			if( $value ) {
       		echo $value;
			} else {
		   echo '';
    
			}
			 ?></h2>
			 </div>
			<?php the_content(); // Dynamic Content ?>
					
			
<!--BEGIN .author-bio-->
<section class="content-container">
<div class="author-bio">
			
			<div class="author-info">
				<h4><?php _e( 'Feature by ', 'peakie-2015' ); the_author(); ?> &copy; <?php echo date("Y") ?></h4>
				<p class="author-description"><?php the_author_meta('description'); ?></p>
				<p>Website: <a href="<?php the_author_meta('user_url');?>"><?php the_author_meta('user_url');?></a></p>
				<ul id="icons">
					<?php 
						$rss_url = get_the_author_meta( 'rss_url' );
						if ( $rss_url && $rss_url != '' ) {
							echo '<li class="rss"><a href="' . esc_url($rss_url) . '"></a></li>';
						}
						
						$google_profile = get_the_author_meta( 'google_profile' );
						if ( $google_profile && $google_profile != '' ) {
							echo '<li class="google"><a href="' . esc_url($google_profile) . '" rel="author"></a></li>';
						}
						
						$twitter_profile = get_the_author_meta( 'twitter_profile' );
						if ( $twitter_profile && $twitter_profile != '' ) {
							echo '<li class="twitter"><a href="' . esc_url($twitter_profile) . '"><img src="http://www.mountainpassions.com/winter/wp-content/uploads/2015/12/1451332801_twitter.svg" style="width:50px; height:50px;" alt="Follow us on Twitter" target="blank"></a></li>';
						}
						
						$facebook_profile = get_the_author_meta( 'facebook_profile' );
						if ( $facebook_profile && $facebook_profile != '' ) {
							echo '<li class="facebook"><a href="' . esc_url($facebook_profile) . '"><img src="http://www.mountainpassions.com/winter/wp-content/uploads/2015/12/1451330871_facebook_circle.svg" style="width:50px; height:50px;" alt="follow us on Facebook"></a></li>';
						}
						
						$pinterest_profile = get_the_author_meta( 'pinterest_profile' );
						if ( $pinterest_profile && $pinterest_profile != '' ) {
							echo '<li class="pinterest"><a href="' . esc_url($pinterest_profile) . '"><img src="http://www.mountainpassions.com/winter/wp-content/uploads/2015/12/1451330896_pinterest_circle.svg" style="width:50px; height:50px;" alt="follow us on Facebook"></a></li>';
						}

						$instagram_profile = get_the_author_meta( 'instagram_profile' );
						if ( $instagram_profile && $instagram_profile != '' ) {
							echo '<li class="instagram"><a href="' . esc_url($instagram_profile) . '"><img src="http://www.mountainpassions.com/winter/wp-content/uploads/2017/01/Instagram-logo-50px.jpg" style="width:50px; height:50px;" alt="follow us on Instagram"></a></li>';
						}

						$linkedin_profile = get_the_author_meta( 'linkedin_profile' );
						if ( $linkedin_profile && $linkedin_profile != '' ) {
							echo '<li class="linkedin"><a href="' . esc_url($linkedin_profile) . '"></a></li>';
						}
					?>
				</ul>

			</div>
<!--END .author-bio-->
</div>
</section>
			

		
		
	
		

</article>
<!-- /ends scenic touring -->

<?php get_sidebar ('scenic-touring'); ?>

<?php } //end if in Scenic Touring ?>

<!-- ends scenic touring -->
