WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

I am hiring a content writer for my WordPress blog. I will be the sole blog admin. I need to define a role for this writer.

I was wondering if there was a WordPress user role that will allow him to publish posts and pages (even without admin approval), but not be able to Edit or Delete them once published (or only do this after admin approval). I need this in case he has a change of heart and decides to ruin the site by removing all posts he created or replacing them with rubbish.

share|improve this question
up vote 2 down vote accepted

I would create a new user role, and then assign that role to the user when you create their account. In your functions.php:

add_role('content_writer', 'Content Writer', array(
    'read' => true,
    'publish_posts' => true,
    'edit_posts' => false,
    'delete_posts' => false,

You can see the codex for an additional listing of available roles and capabilities.

share|improve this answer

I just answered a similar thread, and recommended Theme Hybrid's Member's plugin. It'll create the custom roles for you, as well as giving you some theme options to fine tune the user experience you're after.

@bcorkins answer would also work, but the plugin at least gives you an interface to work with.

share|improve this answer

Your Answer


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.