I have three custom post types: cartoon-series, episodes, and special-features.
Right now I have cartoon-series posts set to be post-parents of episodes and special-features posts. That's the only way I could figure out how to associate episodes/special-features with a particular cartoon series. I could have set up cartoon-series as a taxonomy, but the cartoon series themselves have data, like a description, gallery, etc.
The problem I'm running into now is the compounding complexity of the rewrites (and also a breadcrumb that I won't get into right now). At first I had a rewrite set up for episodes to add the post parent into the url:
Which worked, but when I added special-features, I realized its rewrite looked exactly the same, so naturally, Wordpress was confused by this. I then attempted to add the post type name into the rewrite to differentiate the two CPTs:
But, I must be doing something wrong because the rewrite isn't being read correctly looking at it with Rewrite Analyzer.
All of that complexity is making me wonder if I am tackling this in the best way. So, I am looking for any advice on a better way to look at it.
One more level of complexity is that special features may have several different types of content, like galleries, narratives, videos, etc. So, I'm not sure if I should somehow make Special Features a taxonomy or something like that and then have different post types assigned to the special-features taxonomy. It's complicated!!! :-D
Cartoon Series | |Would have data related to the series, itself (narrative, gallery, etc) |---Episodes | |---Episode Synopsis and galleries |---Special Features |---Different types of posts (galleries, narratives, videos)
The only other thing I have thought about doing is making cartoon-series a taxonomy with episodes and special-features being sub-terms of the terms for the series names. Then maybe I could set up a CPT that would mirror the names of the top-level cartoon-series terms to hold the extra data that a taxonomy term can't hold (something I've never done).
One bad thing about this approach is that many users will be inputting the data and all of those options for where to put a post may get crazy. For instance, someone may put an episode under special features since all of those term options would be available in the same selection meta box.
Thanks for any help provided!