Index: wp-content/themes/twentyfourteen/content-aside.php
===================================================================
--- wp-content/themes/twentyfourteen/content-aside.php (revision 0)
+++ wp-content/themes/twentyfourteen/content-aside.php (revision 0)
@@ -0,0 +1,60 @@
+
+
+>
+
+
+
+ →', 'twentyfourteen' ) );
+ wp_link_pages( array(
+ 'before' => '
' . __( 'Pages:', 'twentyfourteen' ) . '',
+ 'after' => '
',
+ 'link_before' => '
',
+ 'link_after' => '',
+ ) );
+ ?>
+
+
+
+
Index: wp-content/themes/twentyfourteen/archive.php
===================================================================
--- wp-content/themes/twentyfourteen/archive.php (revision 25069)
+++ wp-content/themes/twentyfourteen/archive.php (working copy)
@@ -47,7 +47,7 @@
while ( have_posts() ) :
the_post();
- twentyfourteen_get_template_part();
+ get_template_part( 'content', get_post_format() );
endwhile;
twentyfourteen_paging_nav();
Index: wp-content/themes/twentyfourteen/content.php
===================================================================
--- wp-content/themes/twentyfourteen/content.php (revision 25069)
+++ wp-content/themes/twentyfourteen/content.php (working copy)
@@ -18,16 +18,10 @@
-
-
-
-
-
-
-
>
- get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) );
- if ( $images ) :
- $image = array_shift( $images );
- ?>
-
- ID, 'featured-thumbnail-large' ); ?>
-
-
-
-
-
-
- →', 'twentyfourteen' ) );
- wp_link_pages( array(
- 'before' => '
' . __( 'Pages:', 'twentyfourteen' ) . '',
- 'after' => '
',
- 'link_before' => '
',
- 'link_after' => '',
- ) );
- ?>
-
-
-
-
Index: wp-content/themes/twentyfourteen/content-quote.php
===================================================================
--- wp-content/themes/twentyfourteen/content-quote.php (revision 0)
+++ wp-content/themes/twentyfourteen/content-quote.php (revision 0)
@@ -0,0 +1,60 @@
+
+
+
>
+
+
+
+ →', 'twentyfourteen' ) );
+ wp_link_pages( array(
+ 'before' => '
' . __( 'Pages:', 'twentyfourteen' ) . '',
+ 'after' => '
',
+ 'link_before' => '
',
+ 'link_after' => '',
+ ) );
+ ?>
+
+
+
+
Index: wp-content/themes/twentyfourteen/inc/template-tags.php
===================================================================
--- wp-content/themes/twentyfourteen/inc/template-tags.php (revision 25069)
+++ wp-content/themes/twentyfourteen/inc/template-tags.php (working copy)
@@ -196,14 +196,3 @@
}
add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' );
add_action( 'save_post', 'twentyfourteen_category_transient_flusher' );
-
-/**
- * Include the Post-Format-specific template for the content.
- * This is called in index.php and single.php
- */
-function twentyfourteen_get_template_part() {
- if ( has_post_format( array( 'aside', 'quote', 'link', 'video', 'image' ) ) )
- get_template_part( 'content', 'post-format' );
- else
- get_template_part( 'content', get_post_format() );
-}
Index: wp-content/themes/twentyfourteen/content-single.php
===================================================================
--- wp-content/themes/twentyfourteen/content-single.php (revision 25069)
+++ wp-content/themes/twentyfourteen/content-single.php (working copy)
@@ -1,70 +0,0 @@
-
-
-
>
-
-
-
-
-
-
-
-
-
- '
' . __( 'Pages:', 'twentyfourteen' ) . '',
- 'after' => '
',
- 'link_before' => '
',
- 'link_after' => '',
- ) );
- ?>
-
-
-
-
Index: wp-content/themes/twentyfourteen/content-gallery.php
===================================================================
--- wp-content/themes/twentyfourteen/content-gallery.php (revision 0)
+++ wp-content/themes/twentyfourteen/content-gallery.php (revision 0)
@@ -0,0 +1,84 @@
+ get_the_ID(),
+ 'fields' => 'ids',
+ 'numberposts' => 1,
+ 'post_status' => 'inherit',
+ 'post_type' => 'attachment',
+ 'post_mime_type' => 'image',
+ 'order' => 'ASC',
+ 'orderby' => 'menu_order ID',
+ ) );
+ $image = array_shift( $images );
+endif;
+?>
+
+
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ →', 'twentyfourteen' ) );
+ wp_link_pages( array(
+ 'before' => '
' . __( 'Pages:', 'twentyfourteen' ) . '',
+ 'after' => '
',
+ 'link_before' => '
',
+ 'link_after' => '',
+ ) );
+ ?>
+
+
+
+
+
+
Index: wp-content/themes/twentyfourteen/search.php
===================================================================
--- wp-content/themes/twentyfourteen/search.php (revision 25069)
+++ wp-content/themes/twentyfourteen/search.php (working copy)
@@ -21,7 +21,7 @@
while ( have_posts() ) :
the_post();
- twentyfourteen_get_template_part();
+ get_template_part( 'content', get_post_format() );
endwhile;
twentyfourteen_paging_nav();
Index: wp-content/themes/twentyfourteen/content-link.php
===================================================================
--- wp-content/themes/twentyfourteen/content-link.php (revision 0)
+++ wp-content/themes/twentyfourteen/content-link.php (revision 0)
@@ -0,0 +1,52 @@
+
+
+
>
+
+
+
+ '
' . __( 'Pages:', 'twentyfourteen' ) . '',
+ 'after' => '
',
+ 'link_before' => '
',
+ 'link_after' => '',
+ ) );
+ ?>
+
+
+
+
+
+
Index: wp-content/themes/twentyfourteen/front-page.php
===================================================================
--- wp-content/themes/twentyfourteen/front-page.php (revision 25069)
+++ wp-content/themes/twentyfourteen/front-page.php (working copy)
@@ -24,7 +24,7 @@
while ( have_posts() ) :
the_post();
- twentyfourteen_get_template_part();
+ get_template_part( 'content', get_post_format() );
comments_template();
endwhile;
Index: wp-content/themes/twentyfourteen/index.php
===================================================================
--- wp-content/themes/twentyfourteen/index.php (revision 25069)
+++ wp-content/themes/twentyfourteen/index.php (working copy)
@@ -22,7 +22,7 @@
while ( have_posts() ) :
the_post();
- twentyfourteen_get_template_part();
+ get_template_part( 'content', get_post_format() );
endwhile;
twentyfourteen_paging_nav();
Index: wp-content/themes/twentyfourteen/content-video.php
===================================================================
--- wp-content/themes/twentyfourteen/content-video.php (revision 0)
+++ wp-content/themes/twentyfourteen/content-video.php (revision 0)
@@ -0,0 +1,60 @@
+
+
+
>
+
+
+
+ '
' . __( 'Pages:', 'twentyfourteen' ) . '',
+ 'after' => '
',
+ 'link_before' => '
',
+ 'link_after' => '',
+ ) );
+ ?>
+
+
+
+
+
+
Index: wp-content/themes/twentyfourteen/single.php
===================================================================
--- wp-content/themes/twentyfourteen/single.php (revision 25069)
+++ wp-content/themes/twentyfourteen/single.php (working copy)
@@ -14,7 +14,7 @@
while ( have_posts() ) :
the_post();
- get_template_part( 'content', 'single' );
+ get_template_part( 'content', get_post_format() );
twentyfourteen_post_nav();
Index: wp-content/themes/twentyfourteen/style.css
===================================================================
--- wp-content/themes/twentyfourteen/style.css (revision 25069)
+++ wp-content/themes/twentyfourteen/style.css (working copy)
@@ -1025,7 +1025,7 @@
display: inline;
}
.post-formatted-posts .entry-title:after,
-.content-area span + span.entry-date:before,
+.content-area span + .entry-date:before,
span + .byline:before,
span + .comments-link:before,
span + .edit-link:before,
@@ -1140,11 +1140,6 @@
.format-video {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
-.format-aside .entry-title,
-.format-quote .entry-title,
-.format-link .entry-title {
- display: none;
-}
.format-aside .entry-content,
.format-aside .entry-summary,
.format-quote .entry-content,
Index: wp-content/themes/twentyfourteen/content-image.php
===================================================================
--- wp-content/themes/twentyfourteen/content-image.php (revision 0)
+++ wp-content/themes/twentyfourteen/content-image.php (revision 0)
@@ -0,0 +1,60 @@
+
+
+
>
+
+
+
+ '
' . __( 'Pages:', 'twentyfourteen' ) . '',
+ 'after' => '
',
+ 'link_before' => '
',
+ 'link_after' => '',
+ ) );
+ ?>
+
+
+
+
+
+