forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 136
/
single.php
executable file
·38 lines (33 loc) · 1.03 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
37
38
<?php
/**
* Default Post Template
* Description: Post template with a content container and right sidebar.
*
* @package WordPress
* @subpackage BootstrapWP
*/
get_header(); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="container">
<div class="row">
<div class="span12">
<?php if (function_exists('bootstrapwp_breadcrumbs')) {
bootstrapwp_breadcrumbs();
} ?>
</div><!--/.span12 -->
</div><!--/.row -->
<header class="post-title">
<h1><?php the_title();?></h1>
</header>
<div class="row content">
<div class="span8">
<p class="meta"><?php echo bootstrapwp_posted_on();?></p>
<?php the_content(); ?>
<?php the_tags('<p>Tags: ', ', ', '</p>'); ?>
<?php endwhile; // end of the loop. ?>
<hr/>
<?php comments_template(); ?>
<?php bootstrapwp_content_nav('nav-below'); ?>
</div><!-- /.span8 -->
<?php get_sidebar('blog'); ?>
<?php get_footer(); ?>