Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP Page Excerpt
// PAGE EXCERPT
add_action('init', 'hg_pe_init');
function hg_pe_init() { if(function_exists("add_post_type_support")) { add_post_type_support( 'page', 'excerpt' ); } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment