Closed eballeste closed 9 years ago
This worked:
//Cases
$cases = new CPT(
[
'post_type_name' => 'cases',
'singular' => 'Case',
'plural' => 'Cases',
'slug' => 'experience'
],[
'supports' => ['title', 'thumbnail', 'editor'],
'taxonomies' => ['media_type', 'case_type']
]);
The update in v1.3.1, where taxonomies are registered before the post type, seems to have broken this.
I'll have to look into this,
Thanks :)
Hi! I have an issue where I registered a custom post type with two custom taxonomies which works, but when I register a second custom post type that uses those same taxonomies, they only appear under the list view of the second custom post type but not on the actual menu nor in the edit page. Am I missing something?
This is the custom post type with the two original taxonomies:
And here is the second custom post type with the taxonomies only showing up in the admin list view:
My code: