How to show only manual / custom excerpts?

You can use has_excerpt() for this, which checks whether the post has a manually set excerpt. The sample code below uses this function:

<?php if ( has_excerpt() ) : // Only show custom excerpts not autoexcerpts ?>
    <span class="entry-subtitle"><?php echo get_the_excerpt(); ?></span>
<?php endif; ?>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)