forked from mirror/_s
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:
commit
f9d4a471e5
|
@ -15,7 +15,7 @@ get_header(); ?>
|
||||||
<?php
|
<?php
|
||||||
while ( have_posts() ) : the_post();
|
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();
|
the_post_navigation();
|
||||||
|
|
||||||
|
|
Reference in New Issue