PageRenderTime 52ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/blog/wp-content/themes/duotone/post.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 37 lines | 30 code | 7 blank | 0 comment | 2 complexity | 42d80c8f1691a637db2488984646a2c8 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <div id="container">
  2. <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  3. <div id="postmetadata">
  4. <div class="sleeve">
  5. <?php if ( ! is_page() ) : ?>
  6. <p><?php _e( 'By:', 'duotone' ); ?> <cite><?php the_author(); ?></cite></p>
  7. <p><small><a href="<?php echo get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) ); ?>"><?php the_time( 'M d Y' ); ?></a></small></p>
  8. <p><?php the_tags( __( 'Tags: ' ), ', ', '<br />' ); ?></p>
  9. <p><?php _e( 'Category:', 'duotone' ); ?> <?php the_category(', ') ?></p>
  10. <p><?php edit_post_link( __( 'Edit This Post' ), '', '' ); ?></p>
  11. <p><?php comments_popup_link( __( 'Leave a Comment &#187;' ), __( '1 Comment &#187;' ), __( '% Comments &#187;' ) ); ?></p>
  12. <?php else: ?>
  13. <p><?php edit_post_link( __( 'Edit This Page' ), '', '' ); ?></p>
  14. <?php endif; ?>
  15. <?php post_exif(); ?>
  16. </div>
  17. </div>
  18. <div id="post">
  19. <div class="sleeve">
  20. <?php the_content( __( 'Read the rest of this entry &raquo;' ) ); ?>
  21. <?php wp_link_pages(); ?>
  22. </div>
  23. </div>
  24. <?php if ( is_single() ) { ?>
  25. <div class="navigation">
  26. <div class="prev"><?php next_post_link( '%link', '&lsaquo;' ); ?></div>
  27. <div class="next"><?php previous_post_link( '%link', '&rsaquo;' ); ?></div>
  28. </div>
  29. <?php comments_template(); } ?>
  30. </div>