How To Add Excerpt To Pages in WordPress

WordPress excerpt is a summary or short description of the actual post. By default, WordPress pages does not support post excerpt. However, you can easily add it to pages.

Quick Tip : Create page on theme activation in WordPress

To add excerpt to pages, copy the following code and paste it inside your functions.php file located inside your themes directory.

function add_page_excerpt() {
    add_post_type_support('page', array('excerpt'));
add_action('init', 'add_page_excerpt');




Leave a Comment.