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

/blog/wp-content/themes/extinct/pressrow/single.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 50 lines | 33 code | 17 blank | 0 comment | 4 complexity | 1e979b271bdfeb02ae3f7a69ab118a93 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <?php get_header(); ?>
  2. <div id="content_box">
  3. <div id="content">
  4. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  5. <div class="navigation">
  6. <div class="previous"><?php previous_post_link('%link') ?></div>
  7. <div class="next"><?php next_post_link('%link') ?></div>
  8. </div>
  9. <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
  10. <h4><?php the_time(get_option('date_format')) ?>...<?php the_time() ?></h4>
  11. <h2><?php the_title(); ?></h2>
  12. <div class="entry">
  13. <?php if ( have_comments() || comments_open() ) : ?>
  14. <span class="jump"><a href="<?php the_permalink() ?>#comments"><?php _e('Jump to Comments'); ?></a></span>
  15. <br class="clear" />
  16. <?php endif; ?>
  17. <?php the_content('<p>'.__('Read the rest of this entry &raquo;').'</p>'); ?>
  18. <?php link_pages('<p><strong>'.__('Pages:').'</strong> ', '</p>', 'number'); ?>
  19. <div class="post_meta">
  20. <p class="num_comments"><?php comments_popup_link(__('Leave a Comment'), __('1 Comment'), __('% Comments')); ?></p>
  21. <p class="tagged"><?php printf(__('Filed under %s'), get_the_category_list(', ')); ?></p>
  22. <p class="tagged"><?php the_tags(__('Tags:').' ', ', ', '<br />'); ?></p>
  23. </div>
  24. </div>
  25. </div>
  26. <?php comments_template(); ?>
  27. <?php endwhile; else: ?>
  28. <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  29. <?php endif; ?>
  30. </div>
  31. <?php get_sidebar(); ?>
  32. </div>
  33. <?php get_footer(); ?>