forked from mirror/_s
allow for content-{post_type}.php template files in single.php
This commit is contained in:
parent
9a916a4812
commit
a3739e969b
|
@ -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();
|
||||
|
||||
|
|
Reference in New Issue