I have a website owned by myself that allows people to submit work for us to publish.

I have a team of staff who need to create posts..etc I have assigned users the author role which allows them to create posts but doesnt allow them to set a post author. I have tried setting them to editors but this doesnt work either.

Obviously i do not want staff to have full admin access so i am trying to control this.

I am using the capability manager enhanced plugin to help me control roles.


2 Answers 2


The edit_others_posts capability should allow users to set the author of a post.

At first glance you might reply that you don't want your authors to be able to edit one another's posts. The difference in ability is very subtle though: writing a post and then assigning it to another user isn't much different from being able to write or edit that other user's posts.

function add_theme_caps() {
   $role = get_role( 'author' );
   $role->add_cap( 'edit_others_posts' );
add_action( 'admin_init', 'add_theme_caps');
  • Please add explanation to your answer, explaining why it will fix the problem.
    – Johansson
    Commented Apr 3, 2018 at 12:46
  • If we set a role to edit others posts then that particular user can edit others posts in WordPress. The answer is clear I think.
    – Anoop G
    Commented Dec 23, 2019 at 9:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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