Last active
December 22, 2015 20:59
-
-
Save j-gardner/6529691 to your computer and use it in GitHub Desktop.
Add Comment support to the Portfolio CPT
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
<?php // DO NOT include the opening php tag | |
add_action( 'init', 'arconix_post_type_supports' ); | |
function arconix_post_type_supports() { | |
add_post_type_support( 'portfolio', 'comments' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment