Excerpt Field in WordPress Post and Page

In this blog post, we are going to share about how to enable 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.

Excerpt field is one of the important fields of WordPress.  If excerpt filed is not enabled/visible on page and post dashboard, you need to enable via Screen Options. Some theme may lack to create this field on Page. In such 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 on both page and post. Check your screen options at the top of the post or page editor.
Hope this article is helpful to enable the excerpt field.
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