forked from wearerequired/required-foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-status.php
27 lines (26 loc) · 1.36 KB
/
content-status.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
* The default template for displaying status content
*
* @package required+ Foundation
* @since required+ Foundation 0.1.0
*/
?>
<!-- START: content-status.php -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<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>
<h1 class="entry-title"><?php the_author(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-meta">
<?php required_posted_on(); ?>
<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>
</div>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'requiredfoundation' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php get_template_part('entry-meta', get_post_format() ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->
<!-- END: content-status.php -->