d7266c0c00
Nice to have, but optional, improvements it'd be nice to have: * Ability to have random rotating headers. (Core improvement to custom header functionality.) * Color and layout options. * More post formats. (Currently supporst Asides, Links, and Galleries.) * CMS-style slider home page option. Welcome, TwentyEleven née Duster. :) Track at #17198. git-svn-id: https://develop.svn.wordpress.org/trunk@17669 602fd350-edb4-49c9-b593-d223f7449a82
45 lines
1.2 KiB
PHP
45 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* @package WordPress
|
|
* @subpackage Twenty Eleven
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<section id="primary">
|
|
<div id="content" role="main">
|
|
|
|
<?php the_post(); ?>
|
|
|
|
<header class="page-header">
|
|
<h1 class="page-title">
|
|
<?php if ( is_day() ) : ?>
|
|
<?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
|
|
<?php elseif ( is_month() ) : ?>
|
|
<?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?>
|
|
<?php elseif ( is_year() ) : ?>
|
|
<?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
|
|
<?php else : ?>
|
|
<?php _e( 'Blog Archives', 'twentyeleven' ); ?>
|
|
<?php endif; ?>
|
|
</h1>
|
|
</header>
|
|
|
|
<?php rewind_posts(); ?>
|
|
|
|
<?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 -->
|
|
</section><!-- #primary -->
|
|
|
|
<?php get_sidebar(); ?>
|
|
<?php get_footer(); ?>
|