-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsingle.php
executable file
·46 lines (37 loc) · 1.09 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
<?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(); ?>
<section id="body">
<div class="container post">
<div class="row">
<div class="span8 content">
<?php if (function_exists('appifywp_breadcrumbs')) appifywp_breadcrumbs(); ?>
<header class="post-title">
<h1><?php the_title();?></h1>
</header>
<?php
if ( theme_options( 'blog', 'show_feature_image' ) != 'off' && has_post_thumbnail() ) {
the_post_thumbnail('featured-image');
} ?>
<p class="meta"><?php echo appifywp_posted_on();?></p>
<?php the_content();?>
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
<?php endwhile; // end of the loop. ?>
<?php comments_template(); ?>
</div><!-- /.span8 -->
<?php get_sidebar(); ?>
</div><!-- .container-->
</div>
</section>
<?php get_footer(); ?>