Conditionally relating a taxonomy term to another taxonomy term
-
I’m working with a unique usecase: I have three taxonomy types for a custom post type.
The usecase is the user wants it so Tax A’s term will dictate which of Tax B’s terms will display.
For instance, if Tax A term 1 is picked, only Tax B terms a,b,c,d show up. If Tax A term 2 is picked, Tax B terms b,f,g,h,i show up.
To add on top of this, the user also wants to be able to assign a sub-taxonomy to Tax B. For instance, on a custom post with Tax B terms b,f, and i selected, they want Tax B term b to have Tax C term ii selected, for Tax B term f, Tax C term iii selectred, and Tax B term i, Tax C term iv selected.
What’s the best way to program what my user wants?
- The topic ‘Conditionally relating a taxonomy term to another taxonomy term’ is closed to new replies.