One OSTraining user asked us if it was possible to give everyone their own content in WordPress.
For example, is it possible to create a page for each staff member? The idea is that each staff member could login and update their own page (but not be able to update anyone else’s page).
It is possible to this in WordPress thanks to the PubishPress Permissions Pro plugin.
- Download and install PublishPress Permissions Pro from PublishPress.com.
- The best way to test this feature is to have some existing user accounts. I’ve created some test accounts for this tutorial:
- In your WordPress admin area, go “Permissions”, then “Settings”.
- Click the “Sync Posts” tab.
- Check the “Synchronize Posts to Users” box. PressPermit will ask if you want to sync users to “Pages”, “Posts” or other WordPress content.
- In this example, we’re creating pages, so check the “Pages” box:
Now you can choose your settings in the image above:
- Sync to Current Users: Do you want to create pages for existing users? Or only for new users?
- Role to Sync: Which user roles should be given their own pages?
- Post Match Field: This is where the user data will be sent. By default, it’s entered into the page title.
- User Match Field: Which user data do you want to use to create the page?
You may also want to check the “Grant Author Permissions” box on this screen. This will enable users to edit their own synchronized post, no matter what their user role is.
- Click the “Sync to Selected Users” button.
- You’ll see a message saying that your pages were created.
- Click the “Save Changes” button,
- Go to the “Posts” screen. Each user on your site has a page with their name:
Your users can now login and edit their own page. They can now publish these pages when they’re ready.
This PublishPress Permissions Pro feature works for any content type. You can automatically create posts, WooCommerce products or any other type of WordPress content.