-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with multiple post-types with same taxonomy :: Two post-types can't have same taxonomy #14
Comments
When registering the taxonomy to another post type this way, the class uses For now, you could try registering the taxonomy to the post type within its arguments array (codex) like so: $person = new CPT('person', array(
'taxonomies' => array('author_type')
)); This should work :) |
I have already tried that but this one also registers the taxonomy once again :D, I took into the |
That's cool man I tried for hours and thought its not possible and moved on but you finally got the solution. |
The By moving the Hope that makes sense :) |
i created two objects $book and $person, and an taxonomy author_type.
but the taxonomy is available for only the last declared object $person but $books did't get the auther_type taxonomy...
I don't know may be i am doing something wrong..
The text was updated successfully, but these errors were encountered: