| [ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
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 10 get_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">←</span> Previous', 'twentyeleven' ) ); ?></span> 20 <span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</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(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri May 25 03:56:23 2012 | Hosted by follow the white rabbit. |