<?php /** * The template used for displaying page content in page.php * * @package The Columnist * @since The Columnist 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'post-thumbnail' ); if ( '' != get_the_post_thumbnail( $post->ID ) && $image[1] >= 610 ) : the_post_thumbnail( 'banner-image', array( 'class' => 'banner-img' ) ); endif; ?> <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">Home</a> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'the_columnist' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __( 'Edit', 'the_columnist' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-content --> </article><!-- #post-<?php the_ID(); ?> -->