Created
November 19, 2010 20:59
-
-
Save iammerrick/707160 to your computer and use it in GitHub Desktop.
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', 'create_post_type'); | |
function create_post_type() { | |
register_post_type('faqs', | |
array( | |
'labels' => array( | |
'name' => __( 'FAQs' ), | |
'singular_name' => __( 'FAQ' ) | |
), | |
'public' => true | |
) | |
); | |
// You will declare custom taxonomies in a similar hook here or other post types. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment