<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package The Columnist * @since The Columnist 1.0 */ get_header(); ?> <div id="primary" class="site-content"> <?php while ( have_posts() ) : the_post(); ?> <div id="left-col"> <header id="masthead" class="site-header" role="banner"> <a class="thumbnail" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <?php $header_image = get_header_image(); ?> <?php if ( ! empty( $header_image ) ) : ?> <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /> <?php endif; ?> </a> <hgroup class="single-title"> <h1><?php the_title(); ?></h1> </hgroup><!-- end .single-title --> </header> </div> <div id="content" role="main"> <?php get_template_part( 'content', 'page' ); ?> <?php comments_template( '', true ); ?> <?php get_sidebar(); ?> </div><!-- #content --> <?php endwhile; // end of the loop. ?> </div><!-- #primary .site-content --> <?php get_footer(); ?>