How to Enable Excerpt field on Post Page of WordPress?

WordPress has two default post types called Post and Page. Posts are displayed in reverse chronological order from latest to oldest on your blog page or home page. Each time you publish the post it will appear on the blog page. If you want to change the order of the published post, you can simply change the post’s published date.

On the other hand, pages are stand-alone content especially used for About Us, Contact, and Information pages. Pages are not repeated like the post and each page has its own content and use.
In this blog post, I am only going to share how to enable the excerpt field on the page/post via Screen Options.

In WordPress page and post dashboard have different fields. Among them, the Excerpt field is one of the most useful fields for WordPress users. If the excerpt field is not enabled/visible on the page and post dashboard, you need to enable it 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 in your theme functions.php file to enable the excerpt filed on page Screen Option.

// Adding excerpt for page
add_post_type_support( 'page', 'excerpt' );

Before Adding this Code:


After Adding this Code:


In the case of the post, you can just go to Screen Options and Enable the Excerpt to show the excerpt field on the post.