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

Page Restriction With Role

描述

The plugin to help you make template pages in easy way and make them accessible depending on the additional role provided with this plugin and assigned to different users.

如何使用

  1. After installing the plugin, to make page templates go to plguin root folder and open slugs.php. Here you will see an array where key is page slug of the page you want to create and value is the label of the page to display.

  2. Now, go to template directory of the plugin folder and create a php file with the name that you provided as the array key in previous step.

  3. To make new additional role , go to wp-admin-> Additional role-> Add new. Give the name of the role that you want to create. Here you will find the checkbox list of pages you created in the template folder. Check those names of the file/page which you want to make accessible with this role.

  4. Go to wp-admin->users and select a user profile and assign him the additional role you want that you created in previous step . Now, that user will have access to pages only which are accessible with that role.

Enjoy !

屏幕截图

  • screenshot-1
  • screenshot-2
  • screenshot-3
  • screenshot-4
  • screenshot-5

安装

  1. Upload page-restriction-with-role to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件

评价

此插件暂无评价。

贡献者及开发者

「Page Restriction With Role」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1