<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[25213] trunk/src/wp-content/themes/twentyfourteen: Twenty Fourteen: add archive page templates, fix alignment bugs for archive headers, and use `content-none.php` for consistency.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/25213">25213</a></dd>
<dt>Author</dt> <dd>lancewillett</dd>
<dt>Date</dt> <dd>2013-09-02 21:20:56 +0000 (Mon, 02 Sep 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Twenty Fourteen: add archive page templates, fix alignment bugs for archive headers, and use `content-none.php` for consistency. Props obenland, fixes <a href="http://core.trac.wordpress.org/ticket/25181">#25181</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteenarchivephp">trunk/src/wp-content/themes/twentyfourteen/archive.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenfrontpagephp">trunk/src/wp-content/themes/twentyfourteen/front-page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenindexphp">trunk/src/wp-content/themes/twentyfourteen/index.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenrtlcss">trunk/src/wp-content/themes/twentyfourteen/rtl.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteensearchphp">trunk/src/wp-content/themes/twentyfourteen/search.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteenstylecss">trunk/src/wp-content/themes/twentyfourteen/style.css</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteenauthorphp">trunk/src/wp-content/themes/twentyfourteen/author.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencategoryphp">trunk/src/wp-content/themes/twentyfourteen/category.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteencontentnonephp">trunk/src/wp-content/themes/twentyfourteen/content-none.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteentagphp">trunk/src/wp-content/themes/twentyfourteen/tag.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyfourteentaxonomypost_formatphp">trunk/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyfourteennoresultsphp">trunk/src/wp-content/themes/twentyfourteen/no-results.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyfourteenarchivephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/archive.php (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/archive.php 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/archive.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -18,46 +18,46 @@
</span><span class="cx">
</span><span class="cx"> get_header(); ?>
</span><span class="cx">
</span><del>-<section id="primary" class="content-area">
- <div id="content" class="site-content" role="main">
</del><ins>+ <section id="primary" class="content-area">
+ <div id="content" class="site-content" role="main">
</ins><span class="cx">
</span><del>- <?php if ( have_posts() ) : ?>
</del><ins>+ <?php if ( have_posts() ) : ?>
</ins><span class="cx">
</span><del>- <header class="page-header">
- <h1 class="page-title">
- <?php
- if ( is_day() ) :
- printf( __( 'Day: %s', 'twentyfourteen' ), get_the_date() );
</del><ins>+ <header class="page-header">
+ <h1 class="page-title">
+ <?php
+ if ( is_day() ) :
+ printf( __( 'Day: %s', 'twentyfourteen' ), get_the_date() );
</ins><span class="cx">
</span><del>- elseif ( is_month() ) :
- printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( 'F Y' ) );
</del><ins>+ elseif ( is_month() ) :
+ printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( 'F Y' ) );
</ins><span class="cx">
</span><del>- elseif ( is_year() ) :
- printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( 'Y' ) );
</del><ins>+ elseif ( is_year() ) :
+ printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( 'Y' ) );
</ins><span class="cx">
</span><del>- else :
- _e( 'Archives', 'twentyfourteen' );
</del><ins>+ else :
+ _e( 'Archives', 'twentyfourteen' );
</ins><span class="cx">
</span><del>- endif;
- ?>
- </h1>
- </header><!-- .page-header -->
</del><ins>+ endif;
+ ?>
+ </h1>
+ </header><!-- .page-header -->
</ins><span class="cx">
</span><del>- <?php
- while ( have_posts() ) :
- the_post();
</del><ins>+ <?php
+ while ( have_posts() ) :
+ the_post();
</ins><span class="cx">
</span><del>- get_template_part( 'content', get_post_format() );
- endwhile;
- twentyfourteen_paging_nav();
</del><ins>+ get_template_part( 'content', get_post_format() );
+ endwhile;
+ twentyfourteen_paging_nav();
</ins><span class="cx">
</span><del>- else :
- get_template_part( 'no-results', 'archive' );
</del><ins>+ else :
+ get_template_part( 'content', 'none' );
</ins><span class="cx">
</span><del>- endif;
- ?>
- </div><!-- #content -->
-</section><!-- #primary -->
</del><ins>+ endif;
+ ?>
+ </div><!-- #content -->
+ </section><!-- #primary -->
</ins><span class="cx">
</span><span class="cx"> <?php
</span><span class="cx"> get_sidebar( 'content' );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenauthorphp"></a>
<div class="addfile"><h4>Added: trunk/src/wp-content/themes/twentyfourteen/author.php (0 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/author.php (rev 0)
+++ trunk/src/wp-content/themes/twentyfourteen/author.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+<?php
+/**
+ * The template for displaying Author archive pages.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Fourteen
+ */
+
+get_header(); ?>
+
+ <section id="primary" class="content-area">
+ <div id="content" class="site-content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <header class="archive-header">
+ <h1 class="archive-title">
+ <?php
+ /* Queue the first post, that way we know what author
+ * we're dealing with (if that is the case).
+ *
+ * We reset this later so we can run the loop properly
+ * with a call to rewind_posts().
+ */
+ the_post();
+
+ printf( __( 'All posts by %s', 'twentyfourteen' ), sprintf(
+ '<span class="vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="me">%3$s</a></span>',
+ esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+ esc_attr( get_the_author() ),
+ get_the_author()
+ ) );
+ ?>
+ </h1>
+ </header><!-- .archive-header -->
+
+ <?php
+ /* Since we called the_post() above, we need to rewind
+ * the loop back to the beginning that way we can run
+ * the loop properly, in full.
+ */
+ rewind_posts();
+
+ while ( have_posts() ) :
+ the_post();
+
+ get_template_part( 'content', get_post_format() );
+ endwhile;
+ twentyfourteen_paging_nav();
+
+ else :
+ get_template_part( 'content', 'none' );
+
+ endif;
+ ?>
+
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php
+get_sidebar( 'content' );
+get_sidebar();
+get_footer();
</ins><span class="cx">Property changes on: trunk/src/wp-content/themes/twentyfourteen/author.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentyfourteencategoryphp"></a>
<div class="addfile"><h4>Added: trunk/src/wp-content/themes/twentyfourteen/category.php (0 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/category.php (rev 0)
+++ trunk/src/wp-content/themes/twentyfourteen/category.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+<?php
+/**
+ * The template for displaying Category pages.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Fourteen
+ */
+
+get_header(); ?>
+
+ <section id="primary" class="content-area">
+ <div id="content" class="site-content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <header class="archive-header">
+ <h1 class="archive-title"><?php single_cat_title(); ?></h1>
+
+ <?php
+ // Show an optional term description.
+ $term_description = term_description();
+ if ( ! empty( $term_description ) ) :
+ printf( '<div class="taxonomy-description">%s</div>', $term_description );
+ endif;
+ ?>
+ </header><!-- .archive-header -->
+
+ <?php
+ while ( have_posts() ) :
+ the_post();
+
+ get_template_part( 'content', get_post_format() );
+ endwhile;
+ twentyfourteen_paging_nav();
+
+ else :
+ get_template_part( 'content', 'none' );
+
+ endif;
+ ?>
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php
+get_sidebar( 'content' );
+get_sidebar();
+get_footer();
</ins><span class="cx">Property changes on: trunk/src/wp-content/themes/twentyfourteen/category.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentyfourteencontentnonephp"></a>
<div class="addfile"><h4>Added: trunk/src/wp-content/themes/twentyfourteen/content-none.php (0 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/content-none.php (rev 0)
+++ trunk/src/wp-content/themes/twentyfourteen/content-none.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+<?php
+/**
+ * The template for displaying a "No posts found" message.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Fourteen
+ */
+?>
+
+<header class="page-header">
+ <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfourteen' ); ?></h1>
+</header>
+
+<div class="page-content">
+ <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+
+ <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); ?></p>
+
+ <?php elseif ( is_search() ) : ?>
+
+ <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfourteen' ); ?></p>
+ <?php get_search_form(); ?>
+
+ <?php else : ?>
+
+ <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfourteen' ); ?></p>
+ <?php get_search_form(); ?>
+
+ <?php endif; ?>
+</div><!-- .page-content -->
</ins><span class="cx">Property changes on: trunk/src/wp-content/themes/twentyfourteen/content-none.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentyfourteenfrontpagephp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/front-page.php (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/front-page.php 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/front-page.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> twentyfourteen_paging_nav();
</span><span class="cx">
</span><span class="cx"> else :
</span><del>- get_template_part( 'no-results', 'index' );
</del><ins>+ get_template_part( 'content', 'none' );
</ins><span class="cx">
</span><span class="cx"> endif;
</span><span class="cx"> ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenindexphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/index.php (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/index.php 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/index.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> twentyfourteen_paging_nav();
</span><span class="cx">
</span><span class="cx"> else :
</span><del>- get_template_part( 'no-results', 'index' );
</del><ins>+ get_template_part( 'content', 'none' );
</ins><span class="cx">
</span><span class="cx"> endif;
</span><span class="cx"> ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteennoresultsphp"></a>
<div class="delfile"><h4>Deleted: trunk/src/wp-content/themes/twentyfourteen/no-results.php (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/no-results.php 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/no-results.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-<?php
-/**
- * The template for displaying a "No posts found" message.
- *
- * @package WordPress
- * @subpackage Twenty_Fourteen
- */
-?>
-
-<header class="page-header">
- <h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfourteen' ); ?></h1>
-</header>
-
-<div class="page-content">
- <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
-
- <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); ?></p>
-
- <?php elseif ( is_search() ) : ?>
-
- <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfourteen' ); ?></p>
- <?php get_search_form(); ?>
-
- <?php else : ?>
-
- <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfourteen' ); ?></p>
- <?php get_search_form(); ?>
-
- <?php endif; ?>
-</div><!-- .page-content -->
</del></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenrtlcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/rtl.css (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/rtl.css 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/rtl.css 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -551,6 +551,7 @@
</span><span class="cx"> margin: 0 12.5% 0 8.03571428%;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ .archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 12.5% 24px 8.03571428%;
</span><span class="cx"> margin: 0 12.5% 2.4rem 8.03571428%;
</span><span class="lines">@@ -788,6 +789,7 @@
</span><span class="cx"> padding-left: 0;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ .archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 12.5% 24px 8.03571428%;
</span><span class="cx"> margin: 0 12.5% 2.4rem 8.03571428%;
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteensearchphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/search.php (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/search.php 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/search.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -8,31 +8,31 @@
</span><span class="cx">
</span><span class="cx"> get_header(); ?>
</span><span class="cx">
</span><del>-<section id="primary" class="content-area">
- <div id="content" class="site-content" role="main">
</del><ins>+ <section id="primary" class="content-area">
+ <div id="content" class="site-content" role="main">
</ins><span class="cx">
</span><del>- <?php if ( have_posts() ) : ?>
</del><ins>+ <?php if ( have_posts() ) : ?>
</ins><span class="cx">
</span><del>- <header class="page-header">
- <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>
- </header><!-- .page-header -->
</del><ins>+ <header class="page-header">
+ <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>
+ </header><!-- .page-header -->
</ins><span class="cx">
</span><del>- <?php
- while ( have_posts() ) :
- the_post();
</del><ins>+ <?php
+ while ( have_posts() ) :
+ the_post();
</ins><span class="cx">
</span><del>- get_template_part( 'content', get_post_format() );
- endwhile;
- twentyfourteen_paging_nav();
</del><ins>+ get_template_part( 'content', get_post_format() );
+ endwhile;
+ twentyfourteen_paging_nav();
</ins><span class="cx">
</span><del>- else :
- get_template_part( 'no-results', 'search' );
</del><ins>+ else :
+ get_template_part( 'content', 'none' );
</ins><span class="cx">
</span><del>- endif;
- ?>
</del><ins>+ endif;
+ ?>
</ins><span class="cx">
</span><del>- </div><!-- #content -->
-</section><!-- #primary -->
</del><ins>+ </div><!-- #content -->
+ </section><!-- #primary -->
</ins><span class="cx">
</span><span class="cx"> <?php
</span><span class="cx"> get_sidebar( 'content' );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteenstylecss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-content/themes/twentyfourteen/style.css (25212 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/style.css 2013-09-02 21:18:26 UTC (rev 25212)
+++ trunk/src/wp-content/themes/twentyfourteen/style.css 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -1083,14 +1083,12 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> /* .content-area specific styles */
</span><del>-.content-area .entry-header,
-.content-area .page-header {
</del><ins>+.content-area .entry-header {
</ins><span class="cx"> background-color: #fff;
</span><span class="cx"> padding: 24px 10px 12px;
</span><span class="cx"> padding: 2.4rem 1.0rem 1.2rem;
</span><span class="cx"> }
</span><del>-.content-area .entry-title,
-.content-area .page-title {
</del><ins>+.content-area .entry-title {
</ins><span class="cx"> font-size: 33px;
</span><span class="cx"> font-size: 3.3rem;
</span><span class="cx"> font-weight: 300;
</span><span class="lines">@@ -1306,12 +1304,14 @@
</span><span class="cx"> height: 4px;
</span><span class="cx"> height: 0.4rem;
</span><span class="cx"> }
</span><ins>+.archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 0 24px;
</span><span class="cx"> margin: 0 0 2.4rem;
</span><span class="cx"> padding: 0 10px;
</span><span class="cx"> padding: 0 1.0rem;
</span><span class="cx"> }
</span><ins>+.archive-title,
</ins><span class="cx"> .page-title {
</span><span class="cx"> font-size: 16px;
</span><span class="cx"> font-size: 1.6rem;
</span><span class="lines">@@ -1320,7 +1320,7 @@
</span><span class="cx"> margin-bottom: 24px;
</span><span class="cx"> margin-bottom: 2.4rem;
</span><span class="cx"> }
</span><del>-.taxonomy-description p {
</del><ins>+.taxonomy-description {
</ins><span class="cx"> color: #767676;
</span><span class="cx"> font-size: 12px;
</span><span class="cx"> font-size: 1.2rem;
</span><span class="lines">@@ -2563,6 +2563,7 @@
</span><span class="cx"> margin: 1.2rem 4.59183673% 2.4rem;
</span><span class="cx"> padding: 0 4.46428571%;
</span><span class="cx"> }
</span><ins>+ .archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 4.59183673% 24px;
</span><span class="cx"> margin: 0 4.59183673% 2.4rem;
</span><span class="lines">@@ -2701,6 +2702,7 @@
</span><span class="cx"> .content-area .full-width footer.entry-meta {
</span><span class="cx"> margin: 0 11.30926724%;
</span><span class="cx"> }
</span><ins>+ .archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 8.03571428% 24px 12.5%;
</span><span class="cx"> margin: 0 8.03571428% 2.4rem 12.5%;
</span><span class="lines">@@ -2826,8 +2828,7 @@
</span><span class="cx"> margin: 0 0 0 -27.31707317%;
</span><span class="cx"> width: 24.87804878%;
</span><span class="cx"> }
</span><del>- .content-area .entry-header,
- .content-area .page-header {
</del><ins>+ .content-area .entry-header {
</ins><span class="cx"> margin: -48px 4.59183673% 0;
</span><span class="cx"> margin: -4.8rem 4.59183673% 0;
</span><span class="cx"> padding: 24px 4.46428571% 12px;
</span><span class="lines">@@ -2845,6 +2846,7 @@
</span><span class="cx"> margin: 1.2rem 4.59183673% 2.4rem;
</span><span class="cx"> padding: 0 4.46428571%;
</span><span class="cx"> }
</span><ins>+ .archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 4.59183673% 24px;
</span><span class="cx"> margin: 0 4.59183673% 2.4rem;
</span><span class="lines">@@ -2973,8 +2975,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> @media screen and (min-width: 1150px) {
</span><del>- .content-area .entry-header,
- .content-area .page-header {
</del><ins>+ .content-area .entry-header {
</ins><span class="cx"> margin: -48px 8.03571428% 0 12.5%;
</span><span class="cx"> margin: -4.8rem 8.03571428% 0 12.5%;
</span><span class="cx"> }
</span><span class="lines">@@ -3009,6 +3010,7 @@
</span><span class="cx"> .comment-navigation {
</span><span class="cx"> padding-left: 16.77524429%;
</span><span class="cx"> }
</span><ins>+ .archive-header,
</ins><span class="cx"> .page-header {
</span><span class="cx"> margin: 0 8.03571428% 24px 12.5%;
</span><span class="cx"> margin: 0 8.03571428% 2.4rem 12.5%;
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyfourteentagphp"></a>
<div class="addfile"><h4>Added: trunk/src/wp-content/themes/twentyfourteen/tag.php (0 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/tag.php (rev 0)
+++ trunk/src/wp-content/themes/twentyfourteen/tag.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+<?php
+/**
+ * The template for displaying Tag pages.
+ *
+ * Used to display archive-type pages for posts in a tag.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Fourteen
+ */
+
+get_header(); ?>
+
+ <section id="primary" class="content-area">
+ <div id="content" class="site-content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <header class="archive-header">
+ <h1 class="archive-title"><?php single_tag_title();; ?></h1>
+
+ <?php
+ // Show an optional term description.
+ $term_description = term_description();
+ if ( ! empty( $term_description ) ) :
+ printf( '<div class="taxonomy-description">%s</div>', $term_description );
+ endif;
+ ?>
+ </header><!-- .archive-header -->
+
+ <?php
+ while ( have_posts() ) :
+ the_post();
+
+ get_template_part( 'content', get_post_format() );
+ endwhile;
+ twentyfourteen_paging_nav();
+
+ else :
+ get_template_part( 'content', 'none' );
+
+ endif;
+ ?>
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php
+get_sidebar( 'content' );
+get_sidebar();
+get_footer();
</ins><span class="cx">Property changes on: trunk/src/wp-content/themes/twentyfourteen/tag.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentyfourteentaxonomypost_formatphp"></a>
<div class="addfile"><h4>Added: trunk/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php (0 => 25213)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php (rev 0)
+++ trunk/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php 2013-09-02 21:20:56 UTC (rev 25213)
</span><span class="lines">@@ -0,0 +1,70 @@
</span><ins>+<?php
+/**
+ * The template for displaying Post Format pages.
+ *
+ * Used to display archive-type pages for posts with a post format.
+ * If you'd like to further customize these Post Format views, you may create a
+ * new template file for each specific one.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Fourteen
+ */
+
+get_header(); ?>
+
+ <section id="primary" class="content-area">
+ <div id="content" class="site-content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <header class="archive-header">
+ <h1 class="archive-title">
+ <?php
+ if ( is_tax( 'post_format', 'post-format-aside' ) ) :
+ _e( 'Asides', 'twentyfourteen' );
+
+ elseif ( is_tax( 'post_format', 'post-format-image' ) ) :
+ _e( 'Images', 'twentyfourteen');
+
+ elseif ( is_tax( 'post_format', 'post-format-video' ) ) :
+ _e( 'Videos', 'twentyfourteen' );
+
+ elseif ( is_tax( 'post_format', 'post-format-quote' ) ) :
+ _e( 'Quotes', 'twentyfourteen' );
+
+ elseif ( is_tax( 'post_format', 'post-format-link' ) ) :
+ _e( 'Links', 'twentyfourteen' );
+
+ elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) :
+ _e( 'Galleries', 'twentyfourteen' );
+
+ else :
+ _e( 'Archives', 'twentyfourteen' );
+
+ endif;
+ ?>
+ </h1>
+ </header><!-- .archive-header -->
+
+ <?php
+ while ( have_posts() ) :
+ the_post();
+
+ get_template_part( 'content', get_post_format() );
+ endwhile;
+ twentyfourteen_paging_nav();
+
+ else :
+ get_template_part( 'content', 'none' );
+
+ endif;
+ ?>
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php
+get_sidebar( 'content' );
+get_sidebar();
+get_footer();
</ins><span class="cx">Property changes on: trunk/src/wp-content/themes/twentyfourteen/taxonomy-post_format.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span></div>
</body>
</html>