I have built a WordPress site and theme and have several pages that I do not want editors to edit. However, there are other pages that I want them to have access to to edit. Is there a plugin or code that will lock certain pages from being edited by anyone other than the admin?

2 Answers 2


Have a look at the Members Plugin by Justin Tadlock.

It has a "content permissions" feature, that let's you restrict posts and pages by user role.

Alternatively, if you wanted to implement this yourself, you could write a shortcode that redirects the user conditionally. And place that on pages you want to restrict.

Since there is an excellent and well written plugin for this job however, this is one of the few occasions where I'd recommend using an existing plugin over coding it yourself.

  • Thank you @Johannes I will look into that as well as one I found: wordpress.org/extend/plugins/role-scoper Apr 12, 2012 at 3:36
  • 1
    @Anthony: If I were you, I'd try both as well. In my experience "role scoper" cannot compete with "Members", but that goes for my requirements, not necessarily for yours. Apr 12, 2012 at 3:56
  • thank you for your response. I tried both of them as well as User Role Editor and Role Scoper worked best for my scenario allowing me to lock editors from editing certain pages but still allowing them to edit other pages without blocking them from editing pages altogether. Thank you again. Apr 13, 2012 at 2:01

Along the same lines of Members plugin and Role Scoper, I like User Role Editor - http://wordpress.org/extend/plugins/user-role-editor/ It is the most simple to use of the user role editors, in my opinion and a big plus... The developer is always around to assist and take feedback. I'm not saying the other's are not. I just know from experience the User Role Editor developers are always willing to lend a hand.

  • thank you for your response. I tried your suggestion but for my scenario Role Scoper will work the best. Apr 13, 2012 at 2:02
  • Cool. Glad you found what you needed. Apr 13, 2012 at 2:09

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.