-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
39 lines (25 loc) · 762 Bytes
/
Copy pathsingle.php
File metadata and controls
39 lines (25 loc) · 762 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
31
32
33
34
35
36
37
38
39
<?php
/**
* Default Single
*
* Uses default headers and footers with a 9 col content and a 3 col sidebar
* Will always be the single for the 'post' post type and will act as a
* fallback/default single template for all other post types
*
* @author Simon Holloway <holloway.sy@gmail.com>
* @license http://opensource.org/licenses/MIT MIT
*/
render_template('header'); ?>
<div class="container">
<div class="row">
<section class="col-md-9">
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php render_template('single-item'); ?>
<?php endwhile; endif; ?>
</section>
<section class="col-md-3 sidebar">
<?php render_template('sidebar'); ?>
</section>
</div>
</div>
<?php render_template('footer'); ?>