tags & categories with custom post type
Question
What do i need to do to enable categories and tags for a custom post type i´ve made? I use the following code:
/* Create custom post type: "Tilbud" */
register_post_type('tilbud', array(
'label' => __('Tilbud'),
'singular_label' => __('Tilbud'),
'public' => true,
'show_ui' => true,
'capability_type' => 'post',
'hierarchical' => false,
'rewrite' => false,
'query_var' => false,
'supports' => array('title')
));
0
4 months
0 Answers
9 views
0
Leave an answer
You must login or register to add a new answer .