Display excerpt if it exisits

<?php if(!empty($post->post_excerpt)) {
 //This post have an excerpt, let's display it
 the_excerpt();
} else {
echo 'This article is yet to have an excerpt added.';
} ?>

Revisions

There are no revisions for this post.

Tags: , , ,

No comments yet.

Leave a Reply