Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
HuskyPress/single.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
32 lines (23 sloc)
922 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The Template for displaying all single posts. | |
* | |
* @package UConn | |
* @subpackage HuskyPress | |
* @since HuskyPress 1.0 | |
*/ | |
get_header(); ?> | |
<div id="primary"> | |
<div id="content" role="main"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<nav id="nav-single"> | |
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3> | |
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span> | |
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span> | |
</nav><!-- #nav-single --> | |
<?php get_template_part( 'content', 'single' ); ?> | |
<?php comments_template( '', true ); ?> | |
<?php endwhile; // end of the loop. ?> | |
</div><!-- #content --> | |
</div><!-- #primary --> | |
<?php get_footer(); ?> |