-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsingle.php
More file actions
32 lines (28 loc) · 712 Bytes
/
Copy pathsingle.php
File metadata and controls
32 lines (28 loc) · 712 Bytes
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
<?php
/**
* The template for displaying all single posts
*
* @package super-minimal
*/
get_header();
?>
<?php
while (have_posts()): the_post();
get_template_part('template-parts/post/content-single');
if (is_singular('post')) {
super_minimal_the_posts_navigation();
?>
<small>
<?php previous_post_link('%link', __('« previous', 'super-minimal'), false);?>
<?php next_post_link('%link', __('next »', 'super-minimal'), false);?>
</small>
<?php
}
if (comments_open() || get_comments_number()):
comments_template();
endif;
endwhile;
?>
<?php
get_footer();
?>