This repository has been archived by the owner on Feb 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
single.php
43 lines (33 loc) · 1.69 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
<?php get_header(); ?>
<div id="content" class="group">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post hentry<?php if (function_exists('sticky_class')) { sticky_class(); } ?>">
<h2 id="post-<?php the_ID(); ?>" class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<p class="comments"><a href="<?php comments_link(); ?>"><?php comments_number(__('without comments', 'journalist'),__('with one comment', 'journalist'),__('with % comments', 'journalist') );?></a></p>
<div class="main entry-content group">
<?php the_content(__('Read the rest of this entry »', 'journalist'));?>
</div>
<div class="meta group">
<div class="signature">
<p><?php printf(__('Written by %s', 'journalist'), the_author('', false));?> <span class="edit"><?php edit_post_link(__('Edit', 'journalist') );?></span></p>
<p><?php echo the_date();?> <?php _e("at", 'journalist');?> <?php the_time();?></p>
</div>
<div class="tags">
<p><?php printf(__('Posted in %s', 'journalist'), get_the_category_list(','));?></p>
<?php the_tags( '<p>' . __('Tags:', 'journalist') . ' ', ', ', '</p>'); ?>
</div>
</div>
</div><!-- END .hentry -->
<div class="navigation group">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<?php if ( comments_open() ) comments_template('', true); ?>
<?php endwhile; else: ?>
<div class="warning">
<p><?php _e('Apologies, but we were unable to find what you were looking for. Perhaps searching will help.', 'journalist');?></p>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>