Added description not informed to card list on collection list
This commit is contained in:
parent
dc3afba414
commit
cbcd4391d0
|
@ -16,7 +16,11 @@
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="media-body text-oslo-gray">
|
||||
<p><?php echo wp_trim_words( get_the_excerpt(), 35, '[...]'); ?></p>
|
||||
<?php if(get_the_excerpt()) : ?>
|
||||
<p><?php echo wp_trim_words( get_the_excerpt(), 35, '[...]'); ?></p>
|
||||
<?php else : ?>
|
||||
<p style="font-style: italic;"><?php _e('Description not informed'); ?></p>
|
||||
<?php endif; ?>
|
||||
<!-- <p>
|
||||
<?php //_e('Create by: ');?> <?php //the_author(); ?><br>
|
||||
<?php //_e('Date: ');?> <?php //tainacan_post_date(); ?>
|
||||
|
|
Loading…
Reference in New Issue