mirror of
https://github.com/kennethreitz-archive/wp-krtheme.git
synced 2026-06-05 23:40:16 +00:00
30 lines
761 B
PHP
30 lines
761 B
PHP
<?php /* Template Name: Single */
|
|
|
|
get_header(); ?>
|
|
|
|
<?php if (have_posts()): while (have_posts()): the_post(); ?>
|
|
<div class="contentBody blogEntry">
|
|
<nav class="blogSerial asideBlock">
|
|
<?php ia3_prevnext(); ?>
|
|
</nav>
|
|
<article>
|
|
<hgroup>
|
|
<h1 class="contentTitle"><?php the_title(); ?></h1>
|
|
<h2 class="postDate date"><?php echo date('l, F jS, Y', strtotime($post->post_date)); ?><?php edit_post_link('» Edit This Post', ' '); ?></h2>
|
|
</hgroup>
|
|
<div class="asideBlock">
|
|
|
|
</div>
|
|
<div class="content entry">
|
|
<?php the_content(); ?>
|
|
</div>
|
|
</article>
|
|
|
|
<?php if(comments_open()): ?>
|
|
<section id="comments">
|
|
<?php comments_template(); ?>
|
|
</section>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php endwhile; endif; get_footer(); ?>
|