PageRenderTime 52ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 1ms

/patricialutz-custom/content.php

https://github.com/misfist/patricia-lutz.com
PHP | 29 lines | 23 code | 2 blank | 4 comment | 5 complexity | 737954d6364ea3efb280f46ba92fd754 MD5 | raw file
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Chunk
  5. */
  6. ?>
  7. <div <?php post_class(); ?> id="post">
  8. <div class="entry-meta">
  9. <?php if ( ! is_page() ) : ?>
  10. <div class="date"><a href="<?php the_permalink(); ?>"><?php the_time( 'M d Y' ); ?></a></div>
  11. <?php endif; ?>
  12. <?php if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) : ?>
  13. <div class="comments"><?php comments_popup_link( __( 'Leave a comment', 'quintus' ), __( '1 Comment', 'quintus' ), __( '% Comments', 'chunk' ) ); ?></div>
  14. <?php endif; ?>
  15. <span class="cat-links"><?php the_category( ', ' ); ?></span>
  16. <?php edit_post_link( __( 'Edit', 'chunk' ), '<span class="edit-link">', '</span>' ); ?>
  17. </div>
  18. <div class="main">
  19. <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'chunk' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  20. <div class="entry-content">
  21. <?php wp_link_pages( array( 'before' => '<p class="page-link"><span>' . __( 'Pages:', 'chunk' ) . '</span>', 'after' => '</p>' ) ); ?>
  22. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'chunk' ) ); ?>
  23. </div>
  24. <?php the_tags( '<span class="tag-links"><strong>' . __( 'Tagged', 'chunk' ) . '</strong> ', ', ', '</span>' ); ?>
  25. </div>
  26. </div>
  27. <?php comments_template( '', true ); ?>