Add an Excerpt Box for Pages

This hack will add the same “excerpt” box which you are familiar with on the “Add/Edit Post” admin area and duplicate that functionality on the “Add/Edit Page” section.

Now you have the usual excerpt box in the page editor, and you may use the_excerpt() when listing more than one page.

if ( function_exists(‘add_post_type_support’) )
add_action(‘init’, ‘add_page_excerpts’);
function add_page_excerpts()
add_post_type_support( ‘page’, ‘excerpt’ );

If you enjoyed this post, make sure to subscribe to WPMayor’s RSS feed.

About Jean Galea

Jean Galea is a WordPress developer, entrepreneur and padel player. He is the founder of WP Mayor, the plugins WP RSS Aggregator and EDD Bookings, as well as the podcast. His personal blog can be found at

Related Articles

  • Embedding Code in WordPress Posts and Pages

    Embedding code in WordPress posts and pages can be a fiddly process. Lets learn what are our options for displaying code on our sites.

  • Add Default Content to New Posts

    With WordPress hooks you can easily add default content to new posts, if you are repeatedly entering some content into all your posts this is a great productivity aid. Learn…

  • A Landing Page is used to attract customers, so it certainly plays an important role for any online entrepreneur. Landing Pages, with their catchy headlines, lots of sales copy and…