I'm in need of a solution that allows me to restrict the user/author to only use maximum of two categories per new post. One post can only have one or two categories.
The only similar solution that I have found is when you make the categories as radio buttons instead of check boxes. But that will restrict the user to choose only one category. Only one category per post
Any idea have to solve this?