Every user has their roles in WordPress. Roles can be defined as the permissions provided to any particular user for accessing the WordPress site. The admin is the one who can allot different roles to the users. It is essential to have a user role management tool that can specify what a user can or cannot perform. In this chapter, you will get to know about the concept of users.
Create and Manage WordPress User Roles
WordPress uses the concept of roles that are assigned using the Users, which gives the site owner the ability to control what users can or cannot perform within site. A site owner can handle the user access to different roles such as Writing and Editing posts, Creating Posts and Pages, manage categories, control comments, organizing plugins, managing themes, along with administrating other users by merely assigning particular roles to each of the users.
WordPress User Roles
Admin assigns different roles to different types of users. WordPress allows the following types of users:
- Administrator: is the one having complete authority over the website, right from adding new posts to deleting existing posts. The administrator can change the current appearance and look of the site, as well as passwords and other account details.
- Editor: are those who deal with the content creation for a site. They are given adequate right to add, delete, publish, or edit different posts and their associated comments.
- Author: are those who deal with their posts such as creating, deleting, publishing, editing, and uploading videos as well as files. They also have the right to delete their posts, even when they are published. Categorizing their posts and adding tags can also be done by them. But they are not permitted to add any page or modify them.
- Contributor: does not have the right to make public their post, content, or page. They usually send their post to the administrator for review. They even don't possess the right to upload files like images or videos to their posts.
- Subscriber: are subscribed to your site and can log in and update their profile as well as read all public posts. Also, they can update their passwords and other subscriber details.
- Followers: are not given any right and can only read or comment on different posts. They are signed to receive site and post notifications.
- Viewer: can only read or comment on a post.
For setting a role for your user, you as an admin have to do the following steps:
- From your dashboard, go to the Users menu, from the left window pane.
- Now choose the "Add User" option.
- Fill the details that you can see on your screen and then click the "Add New User" button.
- Now, once you are done adding new users, you can see that the username you have given is added to the list of users.
Editing and Deleting Users in WordPress
To edit the users, the steps are:
- From the WordPress dashboard, go to the Users menu, from the left window pane.
- Now choose the "All User" option.
- Now, you will see a screen containing a list of all users.
- Clicking any particular user will show you the option for Editing and Deleting.
- Click the Edit | Delete option to either edit or delete that particular selected user.
- In the case of Delete, you have to press the "Confirm Deletion" button.