Created
September 16, 2012 15:35
-
-
Save bryceadams/3732870 to your computer and use it in GitHub Desktop.
Add excerpt support to downloads post type
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 excerpt support to downloads post type | |
add_action( 'init', 'bla_excerpt_support' ); | |
function bla_excerpt_support() { | |
add_post_type_support( 'download', 'excerpt' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment