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 a site with 30-35 pages. The customer only needs to edit 3 of them on a regular basis. So to make it simpler and easier for them in the backend, I would like to create a new admin menu item and place those 3 pages under it. How do I do that?

Been thinking on custom post types but don't want to make it more complicated than necessary.

share|improve this question
add comment

1 Answer

Approach 1: You could assign the role of "editor" to the user, assign the user as author of the three pages and thereafter limit the user to editing only those three pages by following this outlined methodology:

http://www.godaisies.com/2010/08/23/how-to-make-editors-only-able-to-edit-their-own-page-in-wordpress/

This however does not fulfill your requirement of a dedicated custom admin page. It simply limits what the user can do.

Approach 2: Create a custom admin page as clearly outlined in the codex (http://codex.wordpress.org/Administration_Menus) and fork the code used for listing pages in wp-admin.

Approach 3: Use Role Scoper, a free plugin that allows:

additional Read or Edit access for specific Pages, Posts or Categories

...and...

Specify element(s) in Edit Form to withhold from non-Editors

http://wordpress.org/plugins/role-scoper/

Approach 2, 3 or a combination of 1, 2 or 3 ensures the key to your required functionality.

share|improve this answer
    
Thanks. The tricky part is the code for listing pages in admin and also just the specific pages. –  BoBoz Nov 10 '13 at 13:46
    
@BoBoz What have you attempted thus far? At which juncture and with what line of code have you experienced "trickiness". –  Clarus Dignus Nov 10 '13 at 19:47
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.