By default, the “Excerpt” field is available for WordPress posts but it’s not available on pages. So if you want to add the Excerpt field on pages, write/paste the following 1 line of code to your “functions.php.”
add_post_type_support( 'page', 'excerpt' );
Save your file. Go to edit any of your pages and now you’ll see the Excerpt field.
How to display the Excerpt texts on the front end
You’ve added some text on the excerpt field (on the back end) and now you want to display the text on the front end. To do that copy & paste the following PHP code where you want to show your page excerpt.
<?php
if ( has_excerpt() ) {
the_excerpt();
}
?>
You need to paste the code on your “page.php” or any other custom page template you’re using.
This is a developer-level post but you don’t have to be a guru. Open your theme folder and look for the first file “functions.php” which will contain the first chunk of the code. In the same folder, you’ll find your page template (page.php) and paste the second chunk of the code.
You can edit your theme file via your hosting/cPanel or FTP. If you don’t have an FTP account, see another post to learn how to create and use it.
If you have any confusion or questions, let me know.