forked from bigspring/monolith
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
29 lines (16 loc) · 788 Bytes
/
single.php
File metadata and controls
29 lines (16 loc) · 788 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
<?php // Single Post ?>
<? get_template_parts( array( 'parts/html-header', 'parts/header' ) ); ?>
<div class="main" role="document">
<div class="<?= CONTAINER_CLASSES; ?>">
<? get_template_part('parts/breadcrumb'); // load the breadcrumbs ?>
<div class="<?= ROW_CLASSES ?>">
<div class="span<?= MAIN_SIZE ?>" role="main">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<? get_template_part('parts/post/post-single') // load single post ?>
<?php endwhile; ?>
</div><!-- /MAIN_SIZES -->
<? get_template_part('parts/sidebar'); // load the right sidebar ?>
</div><!-- /ROW_CLASSES -->
</div><!-- /CONTAINER_CLASSES -->
</div><!-- /main -->
<?php get_template_parts( array( 'parts/footer','parts/html-footer' ) ); ?>