So i have a custom post type (listings) and a custom taxonomy (listing_terms). The taxonomy has parent/child terms. Eg: Restaurant -> Cafe (where Cafe is the child of Restaurant). I want to only let my users to be able to select one child term and then have the parent term automatically selected when they're creating posts in the backend. So essentially only two terms can be selected.
Anyone ever try this?
Alternatively, I've been thinking that we could have a two-level select field possibly, where they'd have to pick the parent first from a dropdown then another dropdown would appear with the child terms of that first term.
I'm open to suggestions!! Kinda hit a wall here.
Just fyi, I'm also using ACF for custom fields if that helps anyone.