Allow only one taxonomy?
-
I have a CPT called “multimedia.”
It’s used to display posts that just consist of some type of media, such as photo galleries, videos, or audio.
I have a meta field (using ACF) that I use to select the type of content (photo/video/audio).
I need to make archive templates, and I 3 different templates for the different media types (photo/video/audio). I want to create a taxonomy called “type”, and then each “type” can have its own archive template.
The problem is I believe by default WordPress will let users select any number of taxonomies.
How do I limit users to only selecting a single taxonomy?
- The topic ‘Allow only one taxonomy?’ is closed to new replies.