Wordpress/wp-content/themes/twentyeleven/index.php

27 lines
525 B
PHP
Raw Normal View History

<?php
/**
* @package WordPress
* @subpackage Twenty Eleven
*/
get_header(); ?>
<div id="primary">
<div id="content" role="main">
<?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php twentyeleven_content_nav( 'nav-below' ); ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>