-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsingle.php
48 lines (30 loc) · 888 Bytes
/
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
<?php
/**
* The Template for displaying all single posts.
*
* @package WPAnniversary
*/
get_header(); ?>
<div class="container">
<div class="row">
<div class="span8 offset2">
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php wpann_process_post_display ( $post ); ?>
<hr/>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no media posts exist.'); ?></p>
<?php endif; ?>
</div><!-- #content -->
</div><!-- #primary -->
</div>
</div>
</div>
<?php //get_sidebar(); ?>
<?php get_footer(); ?>