-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
40 lines (32 loc) · 1.44 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
<?php get_header(); ?>
<div id="body" class="clearfix">
<div id="content">
<?php include(TEMPLATEPATH . '/notifications.php'); ?>
<?php if (have_posts()): ?>
<?php while (have_posts()): the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2 class="post-title"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="post-info">Posted by, <?php the_author() ?> on <?php unset($previousday); printf(__('%1$s at %2$s'), the_date('', '', '', false), get_the_time()) ?></div>
<div class="post-content clearfix">
<?php the_content('Read the rest of this entry'); ?>
</div>
<div class="post-meta-data">
<?php if ( function_exists('the_tags') ) { the_tags('<div class="tags"><p>Tags: ', ', ', '</p></div>'); } ?>
<span class="category"><?php the_category(', ') ?></span> |
<span class="edit"><?php edit_post_link('Edit', '', ' |'); ?></span>
<?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'comments', 'Comments disabled'); ?>
</div>
</div>
<?php endwhile; ?>
<?php comments_template(); ?>
<?php else: ?>
<div class="entry">
<h2 class="post-title">Not Found</h2>
<br />
Sorry, but you are looking for something that isn't here.
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>