diff --git a/src/wp-content/themes/twentyfourteen/archive.php b/src/wp-content/themes/twentyfourteen/archive.php index 158dd3e411..689c80fb25 100644 --- a/src/wp-content/themes/twentyfourteen/archive.php +++ b/src/wp-content/themes/twentyfourteen/archive.php @@ -45,14 +45,22 @@ get_header(); ?> */ rewind_posts(); - while ( have_posts() ) : - the_post(); + // Start the Loop. + while ( have_posts() ) : the_post(); + /* + * Include the post format-specific template for the content. If you want to + * use 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; + // Previous/next page navigation. twentyfourteen_paging_nav(); else : + // If no content, include the "No posts found" template. get_template_part( 'content', 'none' ); endif; diff --git a/src/wp-content/themes/twentyfourteen/category.php b/src/wp-content/themes/twentyfourteen/category.php index e52358a280..cd27134884 100644 --- a/src/wp-content/themes/twentyfourteen/category.php +++ b/src/wp-content/themes/twentyfourteen/category.php @@ -29,14 +29,22 @@ get_header(); ?> " > " >

', '

' ); ?> diff --git a/src/wp-content/themes/twentyfourteen/featured-content.php b/src/wp-content/themes/twentyfourteen/featured-content.php index 28852ffe2c..1a623acfd8 100644 --- a/src/wp-content/themes/twentyfourteen/featured-content.php +++ b/src/wp-content/themes/twentyfourteen/featured-content.php @@ -11,15 +11,26 @@