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