PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/blog/wp-content/themes/steira/single.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 57 lines | 42 code | 15 blank | 0 comment | 3 complexity | 347ff1ca63413199912969cb6b55ebc1 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="body">
  3. <div id="content">
  4. <?php the_post(); ?>
  5. <div id="nav-above" class="navigation">
  6. <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&lsaquo;</span> %title' ) ?></div>
  7. <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rsaquo;</span>' ) ?></div>
  8. </div><!-- #nav-above -->
  9. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  10. <h2 class="haslink">
  11. <a href="<?php the_permalink(); ?>">
  12. <span class="posted"><?php the_time(get_option("date_format")); ?></span>
  13. <span class="title"><?php the_title(); ?></span>
  14. </a>
  15. </h2>
  16. <div class="contentblock">
  17. <?php if (has_excerpt()) : ?>
  18. <div id="intro">
  19. <?php the_excerpt(); ?>
  20. </div><!-- #intro -->
  21. <?php endif; ?>
  22. <?php the_content(''); ?>
  23. <?php wp_link_pages('before=<p class="page-link">' . __( 'Pages:', 'steira' ) . '&after=</p>') ?>
  24. <p><?php the_tags(__( 'Tags: ', 'steira' ), ', ', ''); ?></p>
  25. </div><!-- contentblock -->
  26. <ul class="postdetails">
  27. <?php if (comments_open()) { ?>
  28. <li class="comments"><?php comments_popup_link(__('Leave a comment', 'steira'), __('1 comment', 'steira'), '%' . __(' comments', 'steira')); ?></li>
  29. <?php } else { ?>
  30. <li class="comments"><?php _e('Comments off', 'steira'); ?></li>
  31. <?php } ?>
  32. <li class="categories"><?php _e('Posted under', 'steira');?> <?php the_category(', ') ?><?php edit_post_link(__('Edit', 'steira'), ' | ', ''); ?></li>
  33. </ul><!-- postdetails -->
  34. </div><!-- #post-<?php the_ID(); ?> -->
  35. <div id="nav-below" class="navigation">
  36. <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&lsaquo;</span> %title' ) ?></div>
  37. <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rsaquo;</span>' ) ?></div>
  38. </div><!-- #nav-below -->
  39. </div><!-- content -->
  40. <?php get_sidebar(); ?>
  41. </div><!-- body -->
  42. <?php get_footer(); ?>