Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

This is what my code looks like:

add_action( 'init', 'create_my_post_types' );

function create_my_post_types() {
    register_post_type( 'competitor_claims',
                             'labels' => array(
                                              'name' => __( 'Competitor Claims' ),
                                              'singular_name'  => __( 'Competitor Claim' )
                             'public' => true,
                             'show_ui' => true, // UI in admin panel
                             '_builtin' => false, // It's a custom post type, not built in!
                             '_edit_link' => 'post.php?post=%d',
                             'capability_type' => 'post',
                             'menu_position' => 20,
                             'hierarchical' => true,
                             'query_var' => true,
                             'supports' => array(
                             'rewrite' => array(
                                                'slug' => 'claims',
                                                'with_front' => false
                             // Add taxonomies...
                             'permalink_epmask' => EP_PERMALINK

share|improve this question

closed as too localized by toscho Feb 19 '13 at 0:00

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.