This commit is contained in:
Fabiano 2018-07-13 15:54:20 -03:00
parent b0b2829d6c
commit e6ba68310d
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@
<div class="media">
<?php if ( has_post_thumbnail() && get_the_post_thumbnail_url(get_the_ID()) ) : ?>
<img src="<?php echo get_the_post_thumbnail_url(get_the_ID(), 'collection-list-card') ?>" class="tainacan-list-collection--card-img rounded-0 align-self-center mr-3" alt="">
<?php else : ?>
<img src="//placehold.it/600x400?text=NO+IMG" class="tainacan-list-collection--card-img rounded-0 align-self-center mr-3" alt="">
<?php endif; ?>
<div class="media-body text-oslo-gray">
<p><?php echo get_the_excerpt(); ?></p>