how to share taxonomies in-between different post-types
-
Hi all,
situation: several post-types (e.g. “post” and “calendar”) have its taxonomies.
question: make these taxonomies act together like a unique one. So that taxonomies are organized equal for all regarding post-types (hierarchy, descriptions etc.) and do link to the same page, where all post of one taxonomy are displayed in different sections (e.g. print events for “peace”-taxonomy at top of the page and underneath all posts of “peace”). How to achieve that?
thoughts:- I want to use an existing calendar plugin (in my case modern event calendar), so just adding calendar-capability by custom-field to “post”-post-type isn’t an option. – Or is there any way to kind of redirect the calendars post-type-management from post-type “calendar” to “post”? Then I could separate it’s printing at page by custom-field “is-event”.
- When write some kind of synchronize-hook listening to taxonomies getting modified and sync them vice-versa, I stuck to the problem of getting the taxonomies link to the same page. – Or is it enough to set up all same taxonomy-slug and get the output of both post-type-taxonomies handled by a theme?
I still haven’t written any theme or plugin and just got a first insight into PHP, so I wanna KISS.
Any help about how to realize that will be appreciated!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘how to share taxonomies in-between different post-types’ is closed to new replies.