Created
November 7, 2016 17:17
-
-
Save davidperezgar/0c60d4faf27ee25a32147e38c136bd40 to your computer and use it in GitHub Desktop.
Adds Excerpts to Pages in WordPress
This file contains 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
add_action( 'init', ‘cmk_add_excerpts_to_pages' ); | |
function cmk_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