/
content-stream.php
executable file
·45 lines (37 loc) · 1.44 KB
/
content-stream.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
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* The default template for displaying content. Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class("stream-post"); ?>>
<header class="entry-header">
<div class="entry-meta">
<?php cje_duo_entry_meta( "stream-post-meta"); ?>
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<a class="stream-post-link" href="<?php the_permalink(); ?>" rel="bookmark">
<h2 class="entry-title">
<span><?php the_title(); ?></span>
</h2>
<div class="entry-summary">
<p><?php echo get_the_excerpt(); ?> <span class="excerpt-more">...</span></p>
</div><!-- .entry-summary -->
</a>
<?php /*
<footer class="entry-meta">
<?php if ( comments_open() && ! is_single() ) : ?>
<div class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
</div><!-- .comments-link -->
<?php endif; // comments_open() ?>
<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
<?php get_template_part( 'author-bio' ); ?>
<?php endif; ?>
</footer><!-- .entry-meta -->
*/ ?>
</article><!-- #post -->