Go to Members ” Roles and click the user role you want to edit.In this example, the Author role is edited, but you can choose the role that best suits your needs.
Select user role to edit
This will take you to a screen where you can fully customize the features for that role.
To remove a permission for the role, check the “Deny” box. To add a new permission, check the “Grant” box.
Here we check the box “Deny” for the user function Delete Posts.
Edit user role capabilities
If you uncheck a box for an available role, the user does not have that capability.
The changes you make automatically apply to list of iran cell phone number all existing users with this role and to any new users who are assigned the role.
How to Create Custom User Roles in WordPress
Additionally, WordPress allows you to create completely custom user roles with unique features.
To do this, use the same plugin as above.
Simply navigate to Members » Add New Role and give your new role a name.
For example, you can create a developer role that you can assign to a WordPress developer with specific permissions.
The left column contains different sections with lists of available features. We select the Appearance tab and then add features for editing, installing and updating themes.
Now you can check the boxes for the roles you want to assign to the new user and then click the “Add New User” button.
Assign new user role
You have now created a new custom WordPress user role and assigned it to a new user.
For more details, see our guide on adding new users and authors to WordPress .
If you want to create a WordPress user role dedicated only to comment moderation, check out our guide on how to allow blog users to moderate comments in WordPress .
We hope this article helped you understand user roles and permissions. You may also be interested in our guide on how to prevent authors from deleting posts or take a look at our guide on restricting authors to their own posts .
If you liked this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us on Twitter and Facebook .
Once you have finished customizing your role, click the Update button.
-
- Posts: 702
- Joined: Sat Dec 21, 2024 5:34 am