simple plugin to prevent posting with no category, Uncategorized category, or more than one category selected..
If you forget to check category box and try to publish your post, it will pop alert telling you the you must select category before you publish..
If you have selected the category and try to publish, it will pop alert telling you that you mus uncheck the Uncategorized category..
If you have two or more categories selected and try to publish it will pop alert and tell you that you may select one category...
If the current post type does not support WordPress category taxonomy, the script bails and does nothing.
In the I might add tool to allow specifying number of categories that are allowable, but for now, I think one is good starting point...
Upload the plugin package to the plugins directory..
Login to the dashboard and activate the plugin...
Login to the dashboard and activate the plugin...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more