/
single.php
28 lines (28 loc) · 1.15 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
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-header">
<h1><?php the_title(); ?></h1>
<div id="single-date" class="date"><span><?php the_time('Y') ?></span> <?php the_time(__ ('F j', 'vigilance')) ?></div>
</div><!--end post header-->
<div class="meta clear">
<div class="tags"><?php the_tags('tags: ', ', ', ''); ?></div>
<div class="author"><?php printf(__ ('by %s', 'vigilance'), get_the_author())?></div>
</div><!--end meta-->
<div class="entry clear">
<?php the_content(); ?>
<?php edit_post_link(__('Edit This','<p>','</p>', 'vigilance')); ?>
<?php wp_link_pages(); ?>
</div><!--end entry-->
<div class="post-footer">
<p><?php printf(__ ('from %s', 'vigilance'), get_the_category())?></p>
</div><!--end post footer-->
</div><!--end post-->
<?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
<?php comments_template('', true); ?>
<?php else : ?>
<?php endif; ?>
</div><!--end content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>