WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason the Editor role does not get access to the edit taxonomy screen on my site. Maybe that is expected behavior, I dont know - But how can I add this to the editor role capabilities?

share|improve this question
    
Johan, Questions and Answers are different creatures. You can answer your own question & the button has this very name... I suspect someone hasn't read the FAQ ;) – brasofilo Jul 10 '12 at 8:45
1  
Sorry, I fixed it. Will read the FAQ now :) – Johan Dahl Jul 10 '12 at 9:23

Right after I wrote the posts I found it...anyway if someone else is looking for the answer to this, you need to set capabilities when you register your taxonomy. You add the following:

    'capabilities' => array (
    'manage_terms' => 'edit_posts', 
    'edit_terms' => 'edit_posts',
    'delete_terms' => 'edit_posts',
    'assign_terms' => 'edit_posts'  
    )

edit_posts means administrator', 'editor', 'author' and 'contributor'.

share|improve this answer
    
Note that plugins can alter the default roles and add new roles with any mix of capabilities. That said edit_posts is a good cap if you want all authors to be able to edit the taxonomy. Make sure they can't delete taxonomy terms unless you want them to. – jeremyclarke Feb 22 at 21:06

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.