Taxonomy as a post type
-
How can I create custom taxonomy which is a custom post type at the same time?
Now I have the custom post type Events. One of its taxonomies is Speakers. But I want Speakers to be a custom post type at the same time. Because I need to build single page and pop-up templates with dynamic terms that refer to Speakers.
In other words, I want to create a custom post type, that can act like a taxonomy of other post type.
There is the taxonomy tree, that I need to get:
Event (cpt)
– Day
– Month
– Weekday
– Venue
– Time
– Project
– Event Type
– Description
– Speaker (cpt)
– Name
– Surname
– Education
– Description
The topic ‘Taxonomy as a post type’ is closed to new replies.