PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/content-quote.php

https://github.com/tomtom10/required-foundation
PHP | 23 lines | 16 code | 1 blank | 6 comment | 0 complexity | 040f7ff7ae740ec7e5202f5449ff757d MD5 | raw file
  1. <?php
  2. /**
  3. * The default template for displaying content
  4. *
  5. * @package required+ Foundation
  6. * @since required+ Foundation 0.1.0
  7. */
  8. ?>
  9. <!-- START: content-quote.php -->
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <div class="entry-meta">
  12. <?php required_posted_on(); ?>
  13. <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( 'Quote', 'Post format title', 'requiredfoundation' ); ?></a></span>
  14. </div>
  15. <div class="entry-content">
  16. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'requiredfoundation' ) ); ?>
  17. </div><!-- .entry-content -->
  18. <footer class="entry-meta">
  19. <?php get_template_part('entry-meta', get_post_format() ); ?>
  20. </footer><!-- #entry-meta -->
  21. </article><!-- #post -->
  22. <!-- END: content-quote.php -->