mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-18 16:05:46 +03:00
Use the post-type when choosing template partial
This commit is contained in:
parent
847e99f44e
commit
3847e83cf3
2 changed files with 6 additions and 10 deletions
|
@ -9,7 +9,7 @@ get_header(); ?>
|
|||
<?php while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/plugin', 'single' );
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
endwhile; ?>
|
||||
|
||||
</main><!-- #main -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue