forked from WPBuddy/largo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-series.php
executable file
·36 lines (27 loc) · 1.13 KB
/
content-series.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
<?php
/**
* The template for displaying content on a series landing page
*/
global $opt, $tags; //get display options for the loop
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>>
<header>
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="Permalink to <?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h2>
<?php if ( $opt['show']['byline'] ) : ?>
<h5 class="byline"><?php largo_byline(); ?></h5>
<?php endif; ?>
</header><!-- / entry header -->
<div class="entry-content">
<?php if ( $opt['show']['image'] ) : ?>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
<?php endif; ?>
<?php if ( $opt['show']['excerpt'] ) :
largo_excerpt( $post, 5, true, __('Continue Reading →', 'largo'), true, false );
endif; ?>
<?php if ( $opt['show']['tags'] && largo_has_categories_or_tags() ) { ?>
<h5 class="tag-list"><strong><?php _e('Filed under:', 'largo'); ?></strong> <?php largo_categories_and_tags( 8 ); ?></h5>
<?php } ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->