PageRenderTime 262ms CodeModel.GetById 120ms app.highlight 2ms RepoModel.GetById 139ms app.codeStats 0ms

/wp-content/themes/twentyeleven/single.php

https://bitbucket.org/aqge/deptandashboard
PHP | 32 lines | 16 code | 9 blank | 7 comment | 1 complexity | f7eafe15400320cce1dc3ce431c71dd1 MD5 | raw file
 1<?php
 2/**
 3 * The Template for displaying all single posts.
 4 *
 5 * @package WordPress
 6 * @subpackage Twenty_Eleven
 7 * @since Twenty Eleven 1.0
 8 */
 9
10get_header(); ?>
11
12		<div id="primary">
13			<div id="content" role="main">
14
15				<?php while ( have_posts() ) : the_post(); ?>
16
17					<nav id="nav-single">
18						<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
19						<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'twentyeleven' ) ); ?></span>
20						<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span>
21					</nav><!-- #nav-single -->
22
23					<?php get_template_part( 'content', 'single' ); ?>
24
25					<?php comments_template( '', true ); ?>
26
27				<?php endwhile; // end of the loop. ?>
28
29			</div><!-- #content -->
30		</div><!-- #primary -->
31
32<?php get_footer(); ?>