Suppose I have a post meta like “Region” it will contain values like “Region 1”, “Region 2” etc. But it should only contain ONE value. Also I would like it to have an archive page. If I use custom taxonomy, users can select more than 1 value. Is it possible to have a drop down type selection instead?
Leave a Reply
You must be logged in to post a comment.
For mutually exclusive values use post meta. It is faster to read than assigned taxonomies too.
It is possible to create your own interface:
show_ui
tofalse
when you register the taxonomy.But in most cases youâre doing something wrong and misuse the taxonomy. 😉
Perhaps these posts will help you achieve that :
Saving Taxonomy Terms
WordPress Custom Taxonomy Input Panels