How can I limit user to select single taxonomy
I've created a 'Custom Post Type' with a 'Custom Taxonomy'. Let's say 'Movies' Custom Post Type with custom taxonomy 'Genre'. On add new Movie screen, it is possible to choose multiple Genre(defaults to Wordpress' behavior), but I need to limit user to select only one Genre per 'Movie'. How can I code it? Please note that I don't want any javascript or jQuery quick fix. Thanks in advance.
I've created a 'Custom Post Type' with a 'Custom Taxonomy'. Let's say 'Movies' Custom Post Type with custom taxonomy 'Genre'. On add new Movie screen, it is possible to choose multiple Genre(defaults to Wordpress' behavior), but I need to limit user to select only one Genre per 'Movie'. How can I code it? Please note that I don't want any javascript or jQuery quick fix. Thanks in advance.
No comments:
Post a Comment