-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
executable file
·55 lines (51 loc) · 1.87 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* The template for displaying all posts.
*
* Default Post Template
*
* Page template with a fixed 940px container and right sidebar layout
*
* @package WordPress
* @subpackage WP-Bootstrap
* @since WP-Bootstrap 0.1
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="container">
<div class="row content">
<div class="span7 well">
<?php if (function_exists('bootstrapwp_breadcrumbs')) bootstrapwp_breadcrumbs(); ?>
<div class="row">
<header class="post-title">
<?php // Checking for a post thumbnail
if ( has_post_thumbnail() ) ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<div class="img-polaroid home-thumbnail alignleft span2">
<?echo the_post_thumbnail();?>
</div>
<div class="span5">
<h6><?php the_title();?></h6>
</a>
<p class="meta"><?php echo bootstrapwp_posted_on();?><?php comments_popup_link( '0 Comments', '1 Comment', '% Comments', 'comments-link', 'Comments Disabled' ); ?></p>
</header>
</div>
<hr class="soften-post" />
<?php the_content();?>
<p>In: <b><?php the_category(' '); ?></b>
<?php the_tags( ' Tags: <b>', ', ', '</b></p>'); ?>
<hr class="soften-post" />
<?php bootstrapwp_content_nav('nav-below');?>
<?php comments_template(); ?>
</div>
<div class="span4">
<?php get_sidebar('blog'); ?>
</div>
</div>
</div>
<?php endwhile; // end of the loop. ?>
<div class="container">
<div class="row content">
<div class ="span7 well">
<?php get_footer(); ?>
</div><!-- /.span8 -->