/wp-content/themes/redtime/single.php
PHP | 36 lines | 26 code | 10 blank | 0 comment | 4 complexity | f73f24ee5f3dd540ef2a5d4b2961f0a6 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, AGPL-1.0
- <?php get_header(); ?>
- <div id="content" class="narrowcolumn">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="post" id="post-<?php the_ID(); ?>">
- <div class="post-top">
- <div class="post-title">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a></h2>
- <h3>
- Posted by <span><?php the_author() ?></span> | Posted in <span><?php the_category(', ') ?></span> | Posted on <?php the_time('d-m-Y') ?>
- </h3>
- <h3>
- <span class="post_cats"><?php the_tags(); ?></span>
- </h3>
- </div>
- <h4><?php comments_number('0', '1', '%'); ?></h4>
- </div>
- <div class="entry">
- <?php the_content('',FALSE,''); ?>
- </div>
- </div>
- <?php comments_template(); ?>
- <?php endwhile; else: ?>
- <p>Sorry, no posts matched your criteria.</p>
- <?php endif; ?>
- </div>
- <?php get_footer(); ?>