PageRenderTime 50ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/content-status.php

https://github.com/tomtom10/required-foundation
PHP | 27 lines | 20 code | 1 blank | 6 comment | 0 complexity | d45a0c179a42dac19e3ae1965586fec5 MD5 | raw file
  1. <?php
  2. /**
  3. * The default template for displaying status content
  4. *
  5. * @package required+ Foundation
  6. * @since required+ Foundation 0.1.0
  7. */
  8. ?>
  9. <!-- START: content-status.php -->
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <header class="entry-header">
  12. <a class="status-avatar-link" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'requiredfoundation' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'required_status_avatar', '48' ) ); ?></a>
  13. <h1 class="entry-title"><?php the_author(); ?></h1>
  14. </header><!-- .entry-header -->
  15. <div class="entry-meta">
  16. <?php required_posted_on(); ?>
  17. <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( 'Status', 'Post format title', 'requiredfoundation' ); ?></a></span>
  18. </div>
  19. <div class="entry-content">
  20. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'requiredfoundation' ) ); ?>
  21. </div><!-- .entry-content -->
  22. <footer class="entry-meta">
  23. <?php get_template_part('entry-meta', get_post_format() ); ?>
  24. </footer><!-- .entry-meta -->
  25. </article><!-- #post -->
  26. <!-- END: content-status.php -->