PageRenderTime 46ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/blog/wp-content/themes/ocean-mist/single.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 53 lines | 44 code | 9 blank | 0 comment | 2 complexity | b6a98748f6aec31162c3c1b63edb3c20 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">
  3. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  4. <div class="postwrapper wideposts" id="post-<?php the_ID(); ?>">
  5. <div class="title">
  6. <small><?php printf(__('Posted by: %s'), '<strong>'.get_the_author().'</strong>'); ?> | <?php the_time(get_option('date_format')) ?> <?php edit_post_link(__('(edit)')); ?></small>
  7. <h2><?php the_title(); ?></h2>
  8. </div>
  9. <div <?php post_class(); ?>>
  10. <div class="entry">
  11. <?php the_content(''); ?>
  12. <?php wp_link_pages('<p class="pages">'.__('Pages:').' ', '</p>', '', '', '', ''); ?>
  13. </div>
  14. <div class="postinfo">
  15. <p><?php printf(__('Posted in %s'), get_the_category_list(', ')); ?><?php the_tags(' | '.__('Tags:').' ', ', '); ?></p>
  16. </div>
  17. </div>
  18. <div class="navigation">
  19. <div class="alignleft"><?php previous_post_link(__('&laquo; %link')) ?></div>
  20. <div class="alignright"><?php next_post_link(__('%link &raquo;')) ?></div>
  21. </div>
  22. <br style="clear:both" />
  23. </div>
  24. <?php comments_template(); ?>
  25. <?php endwhile; else: ?>
  26. <div class="title">
  27. <h2><?php _e('Not Found'); ?></h2>
  28. </div>
  29. <div <?php post_class(); ?>>
  30. <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.'); ?></p>
  31. <?php include (TEMPLATEPATH . "/searchform.php"); ?>
  32. </div>
  33. <?php endif; ?>
  34. <div class="title">
  35. <h2><?php _e('Categories'); ?></h2>
  36. </div>
  37. <div <?php post_class(); ?>>
  38. <ul class="catlist">
  39. <?php wp_list_categories('title_li='); ?>
  40. </ul>
  41. </div>
  42. </div>
  43. <?php get_sidebar(); ?>
  44. <?php get_footer(); ?>