Adding Categories to a WordPress Custom Post Type?

Is it possible to add categories to a Custom Post Type in WordPress?

Related posts

Leave a Reply

2 comments

  1. Put the following in your theme’s functions.php file (changing my-custom-post-type to be whatever your Custom Post Type is, of course):

    register_taxonomy_for_object_type('category','my-custom-post-type');