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 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 edit. Is there a plugin or code that will lock certain pages from being edited by anyone other than the admin?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
Thank you @Johannes I will look into that as well as one I found: wordpress.org/extend/plugins/role-scoper –  Anthony Master Apr 12 '12 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. –  Johannes Pille Apr 12 '12 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. –  Anthony Master Apr 13 '12 at 2:01
add comment

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.

share|improve this answer
    
thank you for your response. I tried your suggestion but for my scenario Role Scoper will work the best. –  Anthony Master Apr 13 '12 at 2:02
    
Cool. Glad you found what you needed. –  Travis Pflanz Apr 13 '12 at 2:09
add comment

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.