Created
July 19, 2018 04:52
-
-
Save ashsaraga/d434ea27ad8e808c80fb65be1303fc65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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