PageRenderTime 36ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/themes/redtime/single.php

https://bitbucket.org/lgorence/quickpress
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
  1. <?php get_header(); ?>
  2. <div id="content" class="narrowcolumn">
  3. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  4. <div class="post" id="post-<?php the_ID(); ?>">
  5. <div class="post-top">
  6. <div class="post-title">
  7. <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>
  8. <h3>
  9. Posted by <span><?php the_author() ?></span> | Posted in <span><?php the_category(', ') ?></span> | Posted on <?php the_time('d-m-Y') ?>
  10. </h3>
  11. <h3>
  12. <span class="post_cats"><?php the_tags(); ?></span>
  13. </h3>
  14. </div>
  15. <h4><?php comments_number('0', '1', '%'); ?></h4>
  16. </div>
  17. <div class="entry">
  18. <?php the_content('',FALSE,''); ?>
  19. </div>
  20. </div>
  21. <?php comments_template(); ?>
  22. <?php endwhile; else: ?>
  23. <p>Sorry, no posts matched your criteria.</p>
  24. <?php endif; ?>
  25. </div>
  26. <?php get_footer(); ?>