Fabricatorz/fabricatorz.com — Issue #110: only allow a post to have a single category
Author: christopheradams
Created: 2012-03-06 07:57:56+00:00
State: open

Blog should only have a single category. Since this is hard for some people to remember, we have to make the wp-admin enforce this policy. Code is law!

Two techniques:

Add this to functions.php:

add_action( 'admin_footer', 'catlist2radio' );
function catlist2radio(){
echo '';
}

OR:

Create a plugin:

http://wordpress.org/support/topic/help-create-a-simple-admin-plugin?replies=4#post-460160