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 the site. The site owner can handle user access to different roles such as writing and editing posts, creating posts and pages, managing categories, controlling comments, managing plugins, managing themes, as well as managing each user.

WordPress User Roles

Admin assigns different roles to different types of users. WordPress allows the following types of users:

  1. 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.
  2. Editors are those who deal with content creation for a site. They are given adequate right to add, delete, publish, or edit different posts and their associated comments.
  3. Authors are those who create, delete, publish, edit, and upload content such as files, videos, and texts. 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.
  4. Contributors do not have the right to make public their posts, 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.
  5. Subscribers 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.
  6. Followers are not given any right and can only read or comment on different posts. They are signed to receive site and post notifications.
  7. Viewer: can only read or comment on a post.

WordPress User

For setting a role for your user, you as an admin have to do the following steps:

  1. From your dashboard, go to the Users menu from the left window pane.
  2. Now choose the "Add User" option.
  3. Fill the details that you can see on your screen and then click the "Add New User" button.
  4. 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:

  1. From the WordPress dashboard, go to the Users menu from the left window pane.
  2. Now choose the "All User" option.
  3. Now, you will see a screen containing a list of all users.
  4. Clicking any particular user will show you the option for Editing and Deleting.
  5. Click the Edit | Delete option to either edit or delete that particular selected user.
  6. In the case of Delete, you have to press the "Confirm Deletion" button.