No excerpt available, display default message
10 Mai 2013, Posted by inAdding this snippet to your wordpress theme will allow you to display a default message when no excerpt has been added.
$excerpt = get_the_excerpt(); if ( empty($excerpt) ) { echo "no excerpt for this posting."; } echo $excerpt;