Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Add Excerpt to pages
/* add Excerpts to Pages */
add_action( 'init', 'my_add_excerpts_to_pages' );
function my_add_excerpts_to_pages() {
add_post_type_support( 'page', 'excerpt' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment