Skip to content

Instantly share code, notes, and snippets.

@ashsaraga
Created July 19, 2018 04:52
Show Gist options
  • Save ashsaraga/d434ea27ad8e808c80fb65be1303fc65 to your computer and use it in GitHub Desktop.
Save ashsaraga/d434ea27ad8e808c80fb65be1303fc65 to your computer and use it in GitHub Desktop.
<?php
function enable_page_excerpt() {
add_post_type_support('page', array('excerpt'));
}
add_action('init', 'enable_page_excerpt');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment