该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Restrict Page Parents

描述

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.

You can find out more about the plugin here or on the Github project page.

屏幕截图

  • The plugin options page.
  • Error that appears when a parent page is required.

安装

Install the plugin through the ‘Plugins’ menu in WordPress, or by downloading the ZIP and following these instructions:

  1. Download and extract the plugin files
  2. Upload restrict-page-parents folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Configure the plugin from the ‘Restrict Page Parents’ option in the ‘Settings’ menu

常见问题

Can restrictions be overridden per user?

Yes, a user can have different restrictions to those set for their role. This is all set up on the plugin options page.

Do you provide support?

Send me an email with any questions, or post in the plugin forum and I’ll do my best to get back to you.

评价

此插件暂无评价。

贡献者及开发者

“Restrict Page Parents” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Restrict Page Parents”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Bugfixes – rare issue where page parent dropdown is hidden even with restrictions switched off.

1.1.0

  • New feature: Parent restrictions can be turned on or off based on post types for more granular control.

1.0.4

  • Bugfixes

1.0.3

  • Added the current page parent to the drop down, even if it is owned by another user.

1.0.2

  • Important bug fixes. Page parent drop down disappeared in rare cases.

1.0.1

  • Bugfixes related to rare events when the author only owns a single tree of pages.

1.0.0

  • First release of the plugin
  • Localisation ready
  • See plugin description for features