PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/content-image.php

https://github.com/tomtom10/required-foundation
PHP | 25 lines | 16 code | 1 blank | 8 comment | 0 complexity | 6d8a647470b4f5dc6288e68d92cc8f21 MD5 | raw file
  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 required+ Foundation
  8. * @since required+ Foundation 0.1.0
  9. */
  10. ?>
  11. <!-- START: content-image.php -->
  12. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  13. <div class="entry-meta">
  14. <?php required_posted_on(); ?>
  15. <span class="label radius secondary"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'requiredfoundation' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php _ex( 'Image', 'Post format title', 'requiredfoundation' ); ?></a></span>
  16. </div>
  17. <div class="entry-content">
  18. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'requiredfoundation' ) ); ?>
  19. </div><!-- .entry-content -->
  20. <footer class="entry-meta">
  21. <?php get_template_part('entry-meta', get_post_format() ); ?>
  22. </footer><!-- #entry-meta -->
  23. </article><!-- #post -->
  24. <!-- END: content-image.php -->