File: //home/dorsetandsomersetairambulance.org.uk/public_html/wp-content/themes/dw-focus/single.php
<?php
/**
* The Template for displaying all single posts
*
* @package DW Focus
* @since DW Focus 1.2.6
*/
get_header(); ?>
<div class="container">
<div class="content-inner">
<div class="row">
<div class="<?php dw_focus_primary_column_class(); ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php if ( ! get_post_format() ) : ?>
<?php get_template_part( 'content-single', 'none' ); ?>
<?php else : ?>
<?php get_template_part( 'content-single', get_post_format() ); ?>
<?php endif ?>
<div class="author-info">
<div class="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'dw_starter_author_bio_avatar_size', 72 ) ); ?>
</div>
<div class="author-description">
<h4><?php printf( __( 'About %s', 'dw-focus' ), esc_html( get_the_author() ) ); ?></h4>
<?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'dw-focus' ), esc_html( get_the_author() ) ); ?>
</a>
</div>
</div>
<?php the_post_navigation(); ?>
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; ?>
</main>
</div>
</div>
<div class="<?php dw_focus_secondary_column_class(); ?>">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>