<?php /** * @package Coraline * @since Coraline 1.0 */ get_header(); ?> <div id="content-container"> <div id="content" role="main"> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_front_page() ) : the_title( '<h2 class="entry-title">', '</h2>' ); else : the_title( '<h1 class="entry-title">', '</h1>' ); endif; ?> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'coraline' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __( 'Edit', 'coraline' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-content --> </div><!-- #post-## --> <?php comments_template(); ?> <?php endwhile; ?> </div><!-- #content --> </div><!-- #content-container --> <?php get_sidebar(); ?> <?php get_footer(); ?>