66 lines
1.3 KiB
PHP
66 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* The template for displaying any single post.
|
|
*
|
|
*/
|
|
|
|
get_header(); ?>
|
|
<div id="primary" class="wrapper--default">
|
|
<div class="wrapper--inner">
|
|
<div id="content" role="main" class="span8 offset2">
|
|
|
|
<?php if ( have_posts() ) :
|
|
|
|
?>
|
|
|
|
<?php while ( have_posts() ) : the_post();
|
|
|
|
?>
|
|
|
|
<article class="post">
|
|
|
|
<h1 class="title"><?php the_title(); ?></h1>
|
|
<div class="post-meta">
|
|
<?php the_time('m.d.Y'); ?>
|
|
<?php ?>
|
|
|
|
</div>
|
|
<!--/post-meta -->
|
|
|
|
<div class="the-content">
|
|
<?php the_content();
|
|
|
|
?>
|
|
|
|
<?php wp_link_pages(); ?>
|
|
</div><!-- the-content -->
|
|
|
|
<div class="meta clearfix">
|
|
<div class="category"><?php echo get_the_category_list(); ?></div>
|
|
<div class="tags"><?php echo get_the_tag_list( '| ', ' ' ); ?></div>
|
|
</div><!-- Meta -->
|
|
|
|
</article>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
<?php
|
|
|
|
if ( comments_open() || '0' != get_comments_number() )
|
|
comments_template( '', true );
|
|
?>
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
<article class="post error">
|
|
<h1 class="404">Nothing has been posted like that yet</h1>
|
|
</article>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div><!-- #content .site-content -->
|
|
</div>
|
|
</div><!-- #primary .content-area -->
|
|
|
|
<?php get_footer(); ?>
|