no image
This commit is contained in:
parent
b0b2829d6c
commit
e6ba68310d
|
@ -8,6 +8,8 @@
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<?php if ( has_post_thumbnail() && get_the_post_thumbnail_url(get_the_ID()) ) : ?>
|
<?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="">
|
<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; ?>
|
<?php endif; ?>
|
||||||
<div class="media-body text-oslo-gray">
|
<div class="media-body text-oslo-gray">
|
||||||
<p><?php echo get_the_excerpt(); ?></p>
|
<p><?php echo get_the_excerpt(); ?></p>
|
||||||
|
|
Loading…
Reference in New Issue