Опис
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.
How to Use
-
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.
-
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.
-
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.
-
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 !
Скріншоти
Встановлення
- Upload
page-restriction-with-role
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“Page Restriction With Role” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Page Restriction With Role” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.