forked from Codeinwp/FlatX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
20 lines (18 loc) · 853 Bytes
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php get_header(); ?>
<div id="content" class="site-content" role="main" itemscope itemtype="http://schema.org/Article">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'content', 'single' );
the_post_navigation( array(
'next_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Next', 'flat' ) . '</span> ' .
'<span class="screen-reader-text">' . esc_html__( 'Next post:', 'flat' ) . '</span> ' .
'<span class="post-title">%title</span>',
'prev_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Previous', 'flat' ) . '</span> ' .
'<span class="screen-reader-text">' . esc_html__( 'Previous post:', 'flat' ) . '</span> ' .
'<span class="post-title">%title</span>',
) );
comments_template();
endwhile;
?>
</div>
<?php get_footer(); ?>