-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsingle.php
36 lines (32 loc) · 1.1 KB
/
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
<?php get_header(); ?>
<div class="subhead">
<div class="container">
<h3><small><a href="<?php echo home_url(); ?>"><i class="fa fa-chevron-left"></i></a></small> <?php the_title(); ?></h3>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-10">
<?php while ( have_posts() ) : the_post(); ?>
<?php
get_template_part('content', 'single');
?>
<div class="text-right">
<?php
// Pagination
gitsta_wp_link_pages();
?>
</div>
<?php
// Comments
if(comments_open() || get_comments_number() != '0') {
comments_template();
}
?>
<?php endwhile; ?>
</div>
<div class="col-md-2">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>