How to Create a Personal Page for Each WordPress User
One PublishPress user asked if they could create a single page for each user. They wanted to create staff profile pages where each user could update their own page.
This is possible in WordPress with the PublishPress Permissions Pro plugin.
- Start by creating the user accounts on your site. I've created several dummy accounts for this tutorial:
- Go to Permissions > Settings > Sync Posts. This is the Press Permit feature that allows you to sync users to content.
- Check the “Synchronize Posts to Users” box.
- 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?
- Role to Sync: You can drill down to specific user groups.
- 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 “Sync to Selected Users”.
- You'll see a message saying that your content was created.
- Click “Save Changes”.
- Go to the “Posts” screen.
- You'll now see each user on your site has a page in their name. They are the author of that page and can edit it.
You can now publish these pages, or allow the users to edit and publish their own pages when ready.
Thanks to PublishPress Permissions Pro, this works for any content type. You can automatically create posts, WooCommerce products or almost any other type of WordPress content.