Permalink
Cannot retrieve contributors at this time
business/content-presspage-large-image-and-headline.php
Go to file<article id="post-<?php the_ID(); ?>" <?php post_class('presspage-article presspage-large-image'); ?>> | |
<header class="entry-header"> | |
<?php $presslink = press_link(get_the_ID());?> | |
<?php | |
$external_link = get_post_meta(get_the_ID(),'external_link'); | |
if((strlen(get_the_content()) > 0 || !empty($external_link)) && has_post_thumbnail()) { | |
echo'<a href="'.$presslink.'">'.get_the_post_thumbnail().'</a>'; | |
} elseif(has_post_thumbnail()) { | |
the_post_thumbnail(); | |
} | |
?> | |
<h4 class="entry-title"> | |
<?php | |
if(strlen(get_the_content()) > 0 || !empty($external_link)) { | |
echo'<a href="'.$presslink.'">'.get_the_title().'</a>'; | |
} else { | |
the_title(); | |
} | |
?> | |
</h4> | |
<?php press_source(get_the_ID());?> | |
<p class="text-muted"><?php the_time('F j, Y'); ?></p> | |
</header> | |
</article> |