Title: Create custom role
Last modified: January 14, 2024

---

# Create custom role

 *  Resolved [ictsl](https://wordpress.org/support/users/ictsl/)
 * (@ictsl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/create-custom-role/)
 * Hello,
 * I have added a custom role called ‘Teachers’ I don’t want them to be able to 
   create, delete or edit any pages apart from the page called Suebjects and any
   subpages nested under the Subjects page. The slug name for the page is called
   subjects.
 * I have added a custom capability called edit subjects, but it hasn’t worked. 
   Please could somebody help with this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/create-custom-role/#post-17344919)
 * Hi [@ictsl](https://wordpress.org/support/users/ictsl/) ,
 * Thanks for using PublishPress Capabilities.
 * You are using the wrong approach on this. To provide the best assistance, could
   you please confirm the intended capabilities for the “Teachers” role? Here are
   a couple of specific questions to clarify:
    1. **Should “Teachers” have the ability to create new pages?**
    2. **Alternatively, should “Teachers” be restricted from creating new pages and
       only be able to edit a page named “Subjects”?**
 * Your clarification on these points will help in providing more accurate guidance.
   Thanks!
 *  Thread Starter [ictsl](https://wordpress.org/support/users/ictsl/)
 * (@ictsl)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/create-custom-role/#post-17345551)
 * Hello,
   Thank you for getting back to me
    - **Should “Teachers” have the ability to create new pages?** No
    - **Alternatively, should “Teachers” be restricted from creating new pages and
      only be able to edit a page named “Subjects”?** Yes and subpages of Subjects
 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/create-custom-role/#post-17346189)
 * [@ictsl](https://wordpress.org/support/users/ictsl/) In this scenario, opting
   for the PublishPress Permission plugin would be more beneficial than choosing
   PublishPress Capabilities.
 * For detailed instructions on implementation, please refer to the following link:
   [https://publishpress.com/knowledge-base/page-editing-exception/](https://publishpress.com/knowledge-base/page-editing-exception/)
 * If you encounter any challenges during the setup process, we recommend initiating
   a support thread on [https://wordpress.org/support/plugin/press-permit-core/](https://wordpress.org/support/plugin/press-permit-core/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Create custom role’ is closed to new replies.

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3408171)
 * [PublishPress Capabilities - User Role Editor, Access Permissions, User Capabilities, Admin Menus](https://wordpress.org/plugins/capability-manager-enhanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/capability-manager-enhanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/capability-manager-enhanced/)
 * [Active Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

## Tags

 * [capabilities](https://wordpress.org/support/topic-tag/capabilities/)

 * 3 replies
 * 2 participants
 * Last reply from: [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/create-custom-role/#post-17346189)
 * Status: resolved