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
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue