forked from alliswell/min-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
20 lines (20 loc) · 810 Bytes
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php get_header(); ?>
<div id="content">
<div id="main-content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<span class="date">by <?php the_author(); ?> on <?php the_time(__('m/j/Y','min')) ?></span>
<div class="entry">
<?php the_content(__('Read the rest of this post','min').' »'); ?>
<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','min').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p class="string"><?php _e('Sorry, there are no posts about that.','min'); ?></p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>