Merge pull request #1017 from mrwweb/post-type-templates

Allow for content-{post_type}.php template files in single.php

See #1148
This commit is contained in:
David A. Kennedy 2017-07-26 16:58:46 -04:00 committed by GitHub
commit f9d4a471e5
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ get_header(); ?>
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', get_post_format() );
get_template_part( 'template-parts/content', get_post_type() );
the_post_navigation();