I am trying to make it so when a post is created the user can only choose 1 of the main categories and then 7 of the subcategories I have created. How can I achieve that. I also want to make it so a post cannot be published without a category selected (i.e. uncategorized).
Thanks in advance.