| [ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Template Name: Sidebar Template 4 * Description: A Page Template that adds a sidebar to pages 5 * 6 * @package WordPress 7 * @subpackage Twenty_Eleven 8 * @since Twenty Eleven 1.0 9 */ 10 11 get_header(); ?> 12 13 <div id="primary"> 14 <div id="content" role="main"> 15 16 <?php while ( have_posts() ) : the_post(); ?> 17 18 <?php get_template_part( 'content', 'page' ); ?> 19 20 <?php comments_template( '', true ); ?> 21 22 <?php endwhile; // end of the loop. ?> 23 24 </div><!-- #content --> 25 </div><!-- #primary --> 26 27 <?php get_sidebar(); ?> 28 <?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. |