e6a591e5a8
* Improved color contrast for light and dark color schemes * Skip link for skipping directly to sidebar content * Skip links visible on :focus * Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text * Focus styles for password inputs (and a minor style fix) git-svn-id: https://develop.svn.wordpress.org/trunk@18117 602fd350-edb4-49c9-b593-d223f7449a82
34 lines
943 B
PHP
34 lines
943 B
PHP
<?php
|
|
/**
|
|
* The Template for displaying all single posts.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Eleven
|
|
* @since Twenty Eleven 1.0
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<div id="primary">
|
|
<div id="content" role="main">
|
|
|
|
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
|
|
|
<nav id="nav-single">
|
|
<h1 class="assistive-text"><?php _e( 'Post navigation', 'toolbox' ); ?></h1>
|
|
<span class="nav-previous"><?php previous_post_link( '%link', __( '← Previous', 'twentyeleven' ) ); ?></span>
|
|
<span class="nav-next"><?php next_post_link( '%link', __( 'Next →', 'twentyeleven' ) ); ?></span>
|
|
</nav><!-- #nav-single -->
|
|
|
|
<?php get_template_part( 'content', 'single' ); ?>
|
|
|
|
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
</div><!-- #content -->
|
|
</div><!-- #primary -->
|
|
|
|
<?php get_footer(); ?>
|