-
-
Notifications
You must be signed in to change notification settings - Fork 412
Expand file tree
/
Copy pathsingle.php
More file actions
22 lines (21 loc) · 623 Bytes
/
single.php
File metadata and controls
22 lines (21 loc) · 623 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
* The template for displaying all single posts.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Sakurairo
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'tpl/content', 'single' ); ?>
<?php get_template_part('layouts/sidebox'); ?>
<?php get_template_part('layouts/post', 'nextprev'); ?>
<?php endwhile; endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();
?>