Skip to main content
5 events
when toggle format what by license comment
Nov 18, 2014 at 14:56 comment added Balaji Perumal Thanks.. this concept is also working., But I ended up with the built-in categories..
Nov 18, 2014 at 14:55 vote accept Balaji Perumal
Nov 18, 2014 at 14:30 history edited BODA82 CC BY-SA 3.0
added 239 characters in body
Nov 18, 2014 at 14:28 comment added BODA82 No, when registering a post type attaching a taxonomy is not required (though recommended according to the CODEX, as it might cause unexpected results with parse_query or pre_get_posts). Either way, 'taxononmies' => array('category' => array(1, 2, 3)) isn't correct. Terms are not set here. You would only need 'taxononmies' => array('category'), and manage the terms elsewhere. I've updated my answer to show how you could also attach the custom taxonomy via register_post_type.
Nov 18, 2014 at 13:59 history answered BODA82 CC BY-SA 3.0