Excerpt bug
-
Hello,
Excerpt or not displayed correctly.
If you have this setting:
Settings -> reading -> “For each post in a feed, include” set to “Summary”
both excerpt and content will be displayed.Demo, https://oller.angst.nu/wp_dev/category/uncategorized/
<div class="card-body dmbs-post-content"> <?php if ( has_excerpt() ) : ?> <div class="dmbs-post-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php endif; ?> <?php /* translators: %s: Name of current post */ the_content( sprintf( __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'devdmbootstrap4' ), get_the_title() ) ); ?> </div>
Noticed in at least single.php and archive.php
Cheers
- The topic ‘Excerpt bug’ is closed to new replies.