14 lines
430 B
PHP
14 lines
430 B
PHP
|
<li class="alm-item<?php if ( ! has_post_thumbnail() ) { echo ' no-img'; } ?>">
|
||
|
<?php
|
||
|
$name = get_the_author_meta('display_name');
|
||
|
if ( has_post_thumbnail() ) {
|
||
|
the_post_thumbnail( 'alm-thumbnail' );
|
||
|
}
|
||
|
?>
|
||
|
<h3>
|
||
|
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
||
|
</h3>
|
||
|
<p class="entry-meta"><?php the_time( 'F d, Y' ); ?></p>
|
||
|
<?php the_excerpt(); ?>
|
||
|
<p class=""><?php echo $name; ?></p>
|
||
|
</li>
|