forked from argoproject/Argo
-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathcontent-roundup.php
34 lines (27 loc) · 1.13 KB
/
content-roundup.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
<?php
/*
* The template for displaying posts from the Roundup post type from INN/link-roundups
*
* @package Largo
* @since 0.5.4
* @link https://github.com/INN/link-roundups
* @link https://wordpress.org/plugins/link-roundups/
*/
$hero_class = largo_hero_class( $post->ID, FALSE );
$values = get_post_custom( $post->ID );
$featured = has_term( 'homepage-featured', 'prominence' );
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>>
<?php
// Special treatment for posts that are in the Homepage Featured prominence taxonomy term and have thumbnails or videos.
$entry_classes = 'entry-content';
?>
<div class="<?php echo $entry_classes; ?>">
<?php largo_maybe_top_term(); ?>
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute( array( 'before' => __( 'Permalink to', 'largo' ) . ' ' ) )?>" rel="bookmark"><?php the_title(); ?></a>
</h2>
<h5 class="byline visuallyhidden"><?php largo_byline( true, false, get_the_ID() ); ?></h5>
<?php the_content(); ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->