-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
48 lines (21 loc) · 869 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 get_header(); ?>
<section role="main" class="page-content alignleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<footer class="post-meta">
Tags: <?php the_tags( 'Tags: ', ', ', ''); ?>
Posted in: <?php the_category(', ') ?>
On: <?php the_date(); ?>
</footer>
</article>
<div class="pagination cf">
<span class="alignleft"><?php previous_post_link( '%link', 'Previous post' ); ?></span>
<span class="alignright"><?php next_post_link( '%link', 'Next post' ); ?></span>
</div>
<?php comments_template(); ?>
<?php endwhile; endif; ?>
</section><?php //End .page-content ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>