-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsingle.php
33 lines (23 loc) · 848 Bytes
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* The Template for displaying all single posts.
*
* @package Cover
*/
while ( have_posts() ) : the_post();
get_header(); // Call header inside the loop to get author info. ?>
<?php get_template_part( 'template-parts/wrapper', 'top' ); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
get_template_part( 'template-parts/cover', 'post' );
get_template_part( 'template-parts/content', 'single' );
get_template_part( 'template-parts/comments' );
if ( 'thread' != get_post_type() ) {
cover_post_nav();
}
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php endwhile; // End of the loop. ?>
<?php get_footer();