- Contributors: tom.maitland (@TomMaitland)
- Donate link: http://www.tommaitland.net/about/
- Tags: access, capability, editor, permission, role, security, user, parents, cms, restrictions
- Requires at least: 3.4.0
- Tested up to: 3.6
- Stable tag: 1.1.1
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Restrict Page Parents restricts page parent options to those owned by the user, with the option of forcing a page parent.
Restrict Page Parents is a lightweight plugin to enhance the user permissions features of WordPress. It changes the option to set a page parent to only show pages owned by the current user. It can also be configured to force users to select a parent page before they're able to publish or save.
Restrict Page Parents prevents users from adding their own pages under sections of the site they do not own or are able to manage. Users can be confined to their own section of the website, making your site permissions much more secure.
Permissions can be configured for each user role, each individual user and turned on/off based on post types.
Install the plugin through the 'Plugins' menu in WordPress, or by downloading the ZIP and following these instructions:
- Download and extract the plugin files
- Upload
restrict-page-parents
folder to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Configure the plugin from the 'Restrict Page Parents' option in the 'Settings' menu
Restrict Page Parents is still growing. Help out by posting any bug reports, ideas for features or submitting pull requests. Clean, commented code please following the existing style.
Yes, a user can have different restrictions to those set for their role. This is all set up on the plugin options page.
Post an issue or send me an email and I'll see what I can do. If you find a bug and now how to fix it, it'd be even better if you could submit a pull request! :)
- Bugfixes - rare issue where page parent dropdown is hidden even with restrictions switched off.
- New feature: Parent restrictions can be turned on or off based on post types for more granular control.
- Bugfixes
- Added the current page parent to the drop down, even if it is owned by another user.
- Important bug fixes. Page parent drop down disappeared in rare cases.
- Bugfixes related to rare events when the author only owns a single tree of pages.
- First release of the plugin
- Localisation ready
- See plugin description for features