Excerpt Field in WordPress Post and Page

In this blog post, we are going to share about how to enable the excerpt field in WordPress Post and Page editor. WordPress Post editor itself has the options to enable Excerpt in Screen Options but in case of Page ( If Excerpt is Missing ), you need to add a small line of code in your theme functions.php file to enable the option.

The excerpt field is one of the important fields of WordPress. If the excerpt field is not enabled/visible on-page and post dashboard, you need to enable via Screen Options. Some themes may lack to create this field on Page. In such a case, you need to write some code to enable this feature. Copy and paste the below code into your theme functions.php file to enable excerpt filed on page Screen Option.

// Adding excerpt for page
add_post_type_support( ‘page’, ‘excerpt’ );
After adding this code, the excerpt will enable both pages and posts. Check your screen options at the top of the post or page editor.
Hope this article is helpful to enable the excerpt field.
For newly introduced Gutenberg Editor, you will get the option on the right sidebar. Check here in the details.
If you have any confusion regarding this post, please comment us below in the comment section.

OceanWP - a free Multi-Purpose WordPress theme

Pin It on Pinterest