Add some text before the_excerpt
-
Hi, I am using this code to show the excerpt only if it has content.
<?php if ( $post->post_excerpt ) the_excerpt(); ?>
However, I want to show it with a text (Summary:) before the excerpt. Like this:
Summary: This is the excerpt of this article.
Hope someone can help me. Thanks
- The topic ‘Add some text before the_excerpt’ is closed to new replies.