-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
38 lines (28 loc) · 849 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
34
35
36
37
38
<?php
/**
* The template for displaying all single posts.
*
* @package sth
*/
get_header(); ?>
<section class="breadcrumb-container">
<div class="container">
<div class="col-md-12">
<?php sth_breadcrumbs(); ?>
</div>
</div>
</section>
<div id="primary" class="container">
<div class="row">
<main id="main" class="col-md-7 col-sm-8" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/content', 'single' ); ?>
<?php get_template_part( 'template-parts/content', 'nav' ); ?>
<?php endwhile; // End of the loop. ?>
</main><!-- #main .container -->
<aside class="col-md-4 col-md-offset-1 col-sm-4">
<?php get_sidebar(); ?>
</aside>
</div>
</div><!-- #primary-->
<?php get_footer(); ?>