| [ 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_Twelve 7 * @since Twenty Twelve 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 <?php get_template_part( 'content', 'single' ); ?> 18 <?php 19 // If comments are open or we have at least one comment, load up the comment template 20 if ( comments_open() || '0' != get_comments_number() ) 21 comments_template( '', true ); 22 ?> 23 24 <?php endwhile; // end of the loop. ?> 25 26 </div><!-- #content --> 27 </div><!-- #primary --> 28 29 <?php get_sidebar(); ?> 30 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Mar 20 03:55:56 2012 | Hosted by follow the white rabbit. |