-
Notifications
You must be signed in to change notification settings - Fork 1
/
content-status.php
33 lines (29 loc) · 1.07 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
28
29
30
31
32
33
<?php
/**
* The template for displaying status posts
*
* @package Minimal Stream
* @since Minimal Stream 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php if ( 'post' == get_post_type() ) : ?>
<?php printf( __( '<div class="avatar-wrap">%1$s</div>', 'minimal_stream' ),
get_avatar( get_the_author_meta( 'email' ), '55' )
); ?>
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'minimal_stream' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'minimal_stream' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<div class="post-meta">
<?php if ( 'post' == get_post_type() ) : ?>
<?php minimal_stream_meta(); ?>
<?php endif; ?>
</div>
<?php edit_post_link( __( 'Edit', 'minimal_stream' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-<?php the_ID(); ?> -->