What is Excerpt in WordPress?
Excerpt is a feature letting users post to add their Post recorded as a short description – a summary of post content. This short description will be displayed on the homepage under the title of the post, depending on your purpose of “Theme” whether this information wants to be displayed or not.
How is Excerpt turned on?
It is quite simple to add Excerpt for your post, but it seems that most of the users forgot it.
You only go to Posts > Add New and navigate to the top right side > Click to open Screen Options, then check Excerpt to enable Excerpt on your Post.
After that, scroll down your mouse, you will see Excerpt, add your descriptions to post here.
If your theme has used the_excerpt() function to display short description to homepage or taxonomy page. They will display the excerpts you have written instead of automatically cutting the text.
How to add Custom Excerpts to Pages ?
In WordPress, excerpts are only supported as an exclusive feature for posts.
But it is easy to enable excerpts for pages. In case your WordPress theme does not support Excerpt for pages, you can enable this feature by adding this Custom code on functions.php of your WordPress theme.
add_action( 'init', 'my_add_excerpts_to_pages' );
function my_add_excerpts_to_pages() {
add_post_type_support( 'page', 'excerpt' );
}
In addition, you can use a plugin called PJW Page Excerpt to add the same Excerpt box to your page.