Remove paragraph from article cards excerpt

This commit is contained in:
Tetrakern 2024-06-26 13:51:14 +02:00
parent 0b88ab33bb
commit 7534280ea7

View File

@ -191,7 +191,9 @@ $pag_args = array(
<?php if ( post_password_required() ) : ?>
<div class="card__content _small _article cell-desc truncate _5-5"><span><?php echo $obfuscation; ?></span></div>
<?php else : ?>
<div class="card__content _small _article cell-desc truncate _5-5"><span><?php the_excerpt(); ?></span></div>
<div class="card__content _small _article cell-desc truncate _5-5"><span><?php
echo wp_strip_all_tags( fictioneer_get_excerpt() );
?></span></div>
<?php endif; ?>
<?php if ( $categories || $tags || $genres || $fandoms || $characters ) : ?>