Excerpts are available on WordPress posts but not for WordPress pages.
When editing a WordPress post, looking at the document options, I can see the option to add an excerpt. However, when editing the equivalent document options for a page I’m not seeing the excerpt option.
I’d like to have excerpts available on my WordPress pages.
One use I have is to reference the excerpt as a part of an automated page list retrieval. I wanted to incorporate the page title together with custom summary text. My choice was to use the excerpt text as available on the posts.
Excerpt text is enabled with the addition of a short line of code to the functions.php file.
Simply add the following to the theme’s functions.php file. The file is located in the root of the theme directory.
add_post_type_support( 'page', 'excerpt' );
With the addition of a simple line of text in the theme’s functions.php file excerpts can be added to WordPress pages.


