Can I add a Category Metabox to attachment?

I am using register_taxonomy_for_object_type() to add the Category taxonomy field to Media uploads (attachments). I’m using this code to do so: add_action(‘init’, ‘reg_tax’); function reg_tax() { register_taxonomy_for_object_type(‘category’, ‘attachment’); } This works and adds a simple text field for Category to the Media page when viewing an image. What I really want is to make it … Read more

Do I need a nonce field for every meta box I add to my custom post type admin?

I’m currently working on the admin page of my custom post type, and I got stuck on deciding whether to add a nonce field again for the second metabox or not. I’m very new to custom post types, and searching online about this doesn’t really yield that many results. Any thoughts? Thanks. 4 I would … Read more

Remove Custom Taxonomy Metabox from Custom Post Type Screen

I have two hierarchical custom taxonomies, each on a corresponding custom post type. I would like to remove the metabox for each on the post type’s edit screen. I have read remove custom taxonomy metabox form custom post type and How do you remove a Category-style (hierarchical) taxonomy metabox? but I’m still stuck. The function … Read more

Only one category per post

How to make each post/page have one and only one category. Categories could have radio box instead of checkbox next to each. 3 Actually, I wrote a plugin for exactly that. http://wordpress.org/extend/plugins/radio-buttons-for-taxonomies/ In the plugin settings you define which taxonomies you’d like to apply this restriction to.