Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I used a plugin called "User Role Editor" to allow contributors to add categories, but it also lets them delete categories.

Any suggestions?

share|improve this question
    
You could try the Members Plugin Seems to always do the job for me wordpress.org/extend/plugins/members –  BandonRandon Apr 6 '11 at 9:01
    
This is probably a followup to How would I increase the Author Role to be able to add a new category? –  Jan Fabry Apr 8 '11 at 13:38

1 Answer 1

Since the category widget on the post page only lets you create categories and not delete them, you could just hide access to the main category editor page for this user type, and allow them to still create categories within the post editor.

You could do this with CSS or javascript, something like

$('ul.wp-submenu a[href="edit-tags.php?taxonomy=category"]').hide();

You could target this to a specific user group by passing the user capabilities to javascript using script localisation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.