-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
30 lines (24 loc) · 876 Bytes
/
single.php
File metadata and controls
30 lines (24 loc) · 876 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
<?php
/**
* The Template for displaying all single posts.
*
* @since 1.0.0
*/
get_header(); ?>
<div class="container">
<div class="row">
<div id="primary" <?php bavotasan_primary_attr(); ?>>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<div id="posts-pagination" class="clearfix">
<h3 class="sr-only"><?php _e( 'Post navigation', 'arcade' ); ?></h3>
<div class="previous pull-left"><?php previous_post_link( '%link', __( '← %title', 'arcade' ) ); ?></div>
<div class="next pull-right"><?php next_post_link( '%link', __( '%title →', 'arcade' ) ); ?></div>
</div><!-- #posts-pagination -->
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>