{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/bc3b740851837ebf3d833f0113279d00?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bc3b740851837ebf3d833f0113279d00","url":"https://api.github.com/users/Crinsane","login":"Crinsane","id":798687},"updated_at":"2011-10-31T02:24:47Z","labels":[],"assignee":null,"comments":1,"closed_at":null,"url":"https://api.github.com/repos/JeffreyWay/Easy-WordPress-Custom-Post-Types/issues/5","body":"When I add more then one custom post type, and give them both some taxonomies, only the last of those post types really gets the taxonomies attached... Am I doing something wrong?\r\n\r\nCode I've used:\r\n\r\n$product1 = new JW_Post_Type(\"landbouwmachine\", array(\r\n\t\t'labels' => array('name' => 'Landbouw Machines'),\r\n    'supports' => array('title', 'editor', 'excerpt', 'thumbnail')\r\n\t));\r\n\t$product1->add_taxonomy('Type');\r\n  $product1->add_taxonomy('Soort');\r\n  $product1->add_meta_box('Product Info', array(\r\n  \t'Website Fabrikant' => 'text'\r\n  ));\r\n  \r\n  $product2 = new JW_Post_Type(\"landbouwdealerschap\", array(\r\n  \t'labels' => array('name' => 'Landbouw Dealerschappen'),\r\n    'supports' => array('title', 'editor', 'excerpt', 'thumbnail')\r\n\t));\r\n\t$product2->add_taxonomy('Type');\r\n  $product2->add_taxonomy('Soort');\r\n  $product2->add_meta_box('Product Info', array(\r\n  \t'Website Fabrikant' => 'text'\r\n  ));","html_url":"https://github.com/JeffreyWay/Easy-WordPress-Custom-Post-Types/issues/5","title":"Multiple posttypes & taxonomies","number":5,"id":2087383,"created_at":"2011-10-29T15:47:23Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/6fa6f0343e6c25ab7d7a68ae018fa5df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6fa6f0343e6c25ab7d7a68ae018fa5df","url":"https://api.github.com/users/JeffreyWay","login":"JeffreyWay","id":183223},"updated_at":"2011-10-31T02:24:47Z","url":"https://api.github.com/repos/JeffreyWay/Easy-WordPress-Custom-Post-Types/issues/comments/2572949","body":"It's because you're creating two custom taxonomies with the exact same name. They need to be unique.","id":2572949,"created_at":"2011-10-31T02:24:47Z"}}