Hi There,
I've registered a custom post type, and it's all working fine - however, I can't get the categories or tags boxes to appear. I'm wanting to associate the default post categories with my custom posts. The code I'm using is:
register_post_type('games',
array(
'description' => 'Game custom post type',
'show_ui' => true,
'exclude_from_search' => false,
'labels' => array(
'name' => 'Games',
'singular_name' => 'Game',
'add_new' => 'Add New Games',
'add_new_item' => 'Add New Game',
'edit' => 'Edit Games',
'edit_item' => 'Edit Game',
'new_item' => 'New Game',
'view' => 'View Games',
'view_item' => 'View Game',
'search_items' => 'Search Games',
'not_found' => 'No games found',
'not_found_in_trash' => 'No games found in Trash',
'parent' => 'Parent Game',
),
'public' => true,
'supports' => array('title','editor','revisions','thumbnail','author'),
'taxonomies' => array('category', 'post_tag'),
'rewrite' => array('slug' => 'games', 'with_front' => false),
)
);
I have seen this documented on a few websites, which state that this is the correct method - however it's just not working for me.
Any help would be appreciated.
Thanks,
Chris