-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
53 lines (25 loc) · 1 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
<?php get_header();
?>
<div id="content">
<div class="blogpage">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="pagetitle"><h1><?php the_title();?></h1></div>
<div class="blogmeta">
<span onclick="window.location.href='<?php the_permalink() ?>'" class="post-time"><?php the_time('M d, Y') ?></span> ⋅
<span onclick="window.location.href='<?php the_permalink() ?>'" class="post-comment"><?php comments_number( '0 Comments', '1 Comments', '% Comments' ); ?></span> ⋅
<span onclick="window.location.href='<?php the_permalink() ?>'" class="post-categories"><?php the_category(', '); ?></span> ⋅
<span class="post-author">By <?php the_author_posts_link(); ?></span>
</div>
<?php the_content(); ?>
<p><?php the_tags(); ?></p>
<div id="comments">
<?php comments_template(); ?>
</div>
<div class="clear"></div>
<?php endwhile; ?>
<?php endif; ?>
<div class="clear"></div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>