PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/webroot/blog/wp-content/themes/la-school-blue/single.php

https://github.com/Wargo/reddevil
PHP | 36 lines | 21 code | 15 blank | 0 comment | 2 complexity | a4b25856b478f4d01abc656f78c55ed5 MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1, GPL-3.0
  1. <?php get_header(); ?>
  2. <div class="content">
  3. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  4. <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
  5. <h2><?php the_title(); ?> <small>&ndash; <?php the_time(__('F jS, Y', 'laschool')) ?> <!-- by <?php the_author() ?> --></small></h2>
  6. <div class="entry">
  7. <?php the_content('<p>' . __('Read the rest of this entry &raquo;', 'laschool') . '</p>'); ?>
  8. <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'laschool') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  9. <?php the_tags( '<p>' . __('Tags:', 'laschool') . ' ', ', ', '</p>'); ?>
  10. </div>
  11. <?php edit_post_link(__('Edit this entry.', 'laschool'), '<p class=edit>', '</p>'); ?>
  12. <div class="comments-nr"><?php comments_number(__('0<span> Comments</span>', 'laschool'), __('1<span> Comment</span>', 'laschool'), __('%<span> Comments</span>', 'laschool')); ?></div>
  13. <div class="postdata"><?php printf(__('Posted in %s', 'laschool'), get_the_category_list(', ')); ?></div>
  14. </div>
  15. <?php comments_template(); ?>
  16. <?php endwhile; else: ?>
  17. <p><?php _e('Sorry, no posts matched your criteria.', 'laschool'); ?></p>
  18. <?php endif; ?>
  19. </div>
  20. <?php get_sidebar(); ?>
  21. <?php get_footer(); ?>