| [ XREF Home ] [ Index ] |
PHP Cross Reference of WordPress TrunkProvided by Yoast |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The main template file. 4 * 5 * This is the most generic template file in a WordPress theme 6 * and one of the two required files for a theme (the other being style.css). 7 * It is used to display a page when nothing more specific matches a query. 8 * E.g., it puts together the home page when no home.php file exists. 9 * Learn more: http://codex.wordpress.org/Template_Hierarchy 10 * 11 * @package WordPress 12 * @subpackage Twenty_Eleven 13 */ 14 15 get_header(); ?> 16 17 <div id="primary"> 18 <div id="content" role="main"> 19 20 <?php twentyeleven_content_nav( 'nav-above' ); ?> 21 22 <?php /* Start the Loop */ ?> 23 <?php while ( have_posts() ) : the_post(); ?> 24 25 <?php get_template_part( 'content', get_post_format() ); ?> 26 27 <?php endwhile; ?> 28 29 <?php twentyeleven_content_nav( 'nav-below' ); ?> 30 31 </div><!-- #content --> 32 </div><!-- #primary --> 33 34 <?php get_sidebar(); ?> 35 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jun 1 08:30:02 2011 |
Cross-referenced by PHPXref 0.7 Provided by Yoast and awesome WordPress Hosting |