Skip to content

Instantly share code, notes, and snippets.

@halgatewood
Created June 15, 2013 03:17
Show Gist options
  • Save halgatewood/5786737 to your computer and use it in GitHub Desktop.
Save halgatewood/5786737 to your computer and use it in GitHub Desktop.
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