Created
March 18, 2013 04:48
-
-
Save senlin/5185154 to your computer and use it in GitHub Desktop.
code example for http://wpti.ps/?p=304
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 | |
add_action('init', 'wptips_custom_init'); | |
function wptips_custom_init() { | |
add_post_type_support( 'portfolio', array( 'page-attributes', 'comments', 'author' ) ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment