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.
[php]
if ( function_exists(‘add_post_type_support’) )
{
add_action(‘init’, ‘add_page_excerpts’);
function add_page_excerpts()
{
add_post_type_support( ‘page’, ‘excerpt’ );
}
}
[/php]
If you enjoyed this post, make sure to subscribe to WPMayor’s RSS feed.