diff --git a/wp-content/themes/twentytwelve/archive.php b/wp-content/themes/twentytwelve/archive.php index 27360df17..a5548672a 100644 --- a/wp-content/themes/twentytwelve/archive.php +++ b/wp-content/themes/twentytwelve/archive.php @@ -2,6 +2,11 @@ /** * The template for displaying Archive pages. * + * Used to display archive-type pages if nothing more specific matches a query. + * For example, puts together date-based pages if no date.php file exists. + * + * Learn more: http://codex.wordpress.org/Template_Hierarchy + * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 @@ -15,43 +20,47 @@ get_header(); ?> - + - - - + /* Include the post format-specific template for the content. If you want to + * this in a child theme then include a file called called content-___.php + * (where ___ is the post format) and that will be used instead. + */ + get_template_part( 'content', get_post_format() ); - + endwhile; + + twentytwelve_content_nav( 'nav-below' ); + ?>