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

/wp-content/themes/toolbox/content-image.php

https://bitbucket.org/lgorence/quickpress
PHP | 30 lines | 19 code | 3 blank | 8 comment | 4 complexity | b71e559b69c17c14c18225af65c15d79 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, AGPL-1.0
  1. <?php
  2. /**
  3. * The template for displaying posts in the Image Post Format on index and archive pages
  4. *
  5. * Learn more: http://codex.wordpress.org/Post_Formats
  6. *
  7. * @package Toolbox
  8. * @since Toolbox 1.2
  9. */
  10. ?>
  11. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  12. <header class="entry-header">
  13. <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'toolbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  14. </header><!-- .entry-header -->
  15. <div class="entry-content">
  16. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'toolbox' ) ); ?>
  17. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'toolbox' ), 'after' => '</div>' ) ); ?>
  18. </div><!-- .entry-content -->
  19. <footer class="entry-meta">
  20. <?php toolbox_posted_on(); ?>
  21. <?php if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) : ?>
  22. <span class="sep"> | </span>
  23. <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'toolbox' ), __( '1 Comment', 'toolbox' ), __( '% Comments', 'toolbox' ) ); ?></span>
  24. <?php endif; ?>
  25. <?php edit_post_link( __( 'Edit', 'toolbox' ), '<span class="sep"> | </span><span class="edit-link">', '</span>' ); ?>
  26. </footer><!-- #entry-meta -->
  27. </article><!-- #post-<?php the_ID(); ?> -->