User Roles In Wordpress

What are WordPress User Roles and Permissions? – Beginners Guide

December 21, 2020

WordPress user Roles and Capabilities provide you the facility to command what other users can or cannot do on your website. You can use them to control user actions like creating new pages, editing, and writing posts, installing plugins, adding new users, managing comments, and much more.

Understanding user roles and permissions are necessary to maintain any WordPress site. For example, if you are making a website for a customer, you wouldn’t want them to edit or alter the installed theme. Same way, it’s unwise to let writers of a multi-author blog remove or install plugins.

Studying how to maintain WordPress user roles spirited will assist you to streamline your workflow, manage your site safely, and get ultimate command over your website. In this guide, you will discover about WordPress user roles, the different capabilities WordPress gives, how to update existing user roles, how to handle users on multisite, and build new roles with a new set of abilities.

Wordpress Custom User Roles
WordPress Custom User Roles

What are WordPress User Roles?

Super Administrator 

The Super Administrator function is not available on normal WordPress installations, it’s unlocked if you control a multisite WordPress network. This position has many rights, as super admin, you can have admittance to the complete site and network administration features, and you may append or remove sites within the network and execute network-wide operations.

Administrator

The Administrator is considered as the most strong of the 5 default users on a normal WordPress install because it gives users full control over the site. This position is assigned when a user installs WordPress the Administrator, (Admin) user role is formulated by the username and password generated while the installation.

The Admin is the only user with authority to make different new users, and alter and remove existing ones. As an Admin, you have control over all administration features like deleting, adding, and editing data from all other users and have full command over website content. This role can add, modify, and delete themes, plugins, and core settings at any point.

Since the Admin has universal control over core site functions, its best reserved for users who want complete access to whole website settings. But can be a wrong idea for this to be in bad hands, most of the time, a website will have just 1 administrator. Mostly, the website owner will take this role. If you have more than one site installed on WordPress, some of the capabilities of the Admin are preferably available to the super admin position. This is relevant since the Super Admin controls the site network while the Admin is involved with managing a single website.

Editor

A person with the editor role in WordPress has complete access to the content parts of your site. Editors can add, edit, delete, and publish any posts on a WordPress website including the ones posted by others. An editor can manage, edit, and remove comments as well. They do not have the control to install plugins and themes, edit your site settings, or add new users.

Author

The next step down the stairs is the author’s position. Authors can add, edit, delete, and publish their personal posts only. Authors have no access to others’ work. They cannot generate new categories or tags, but they can select existing ones. They can also insert media files. They don’t have access to the comments section and can’t modify settings, themes, plugins, or user profiles, apart from their own.

Contributor

Contributors can add new posts and edit their personal posts, but they can’t publish any posts not even their personal. When drafting posts they can’t create new categories and will have to select from existing categories. Though, they can add tags to their posts.

The main drawback of a contributor role is that they can’t add images to their own post. They can see comments even those expecting moderation. But they can’t accept or remove comments. Contributors do not have control over settings, plugins, or themes, so they cannot change any settings on your website.

Subscriber

The Subscriber is the default role for new website users, and it has the minimum permissions. If this role stays with the default permissions, it is the shortest of all the WordPress user positions. A Subscriber can build a profile on a WordPress site, view its content, and post comments. They have no control over any website settings and cannot add or change any content.

You may change the default settings to enable users to log into your website and give comments without having to register their details each time which is helpful for Subscribers who regularly read your posts and actively comment which gives the whole manner much simpler and swifter for readers. You can also deliver additional content to your subscriber like newsletters. It may prompt your users to register if they need to access otherwise blocked content. Anyone who has subscribed to your site using a mailing list, RSS feed, or feature to get updates from your website is a Subscriber.

FAQs


How do I identify if a user is an admin or not in WordPress?

If you want to identify more than 2 roles, you can identify the role of the current user inside an array defined for the user roles, which look like: $user = wp_get_current_user(); $allowed_roles = array('editor', 'administrator', 'author'); <?.

How do I remove user roles in WordPress?

In the admin menu of WordPress, navigate to Capabilities. In the top-right corner of this page, search for the Select Role to View / Edit dropdown. Select the role you need to delete.

Where can I locate my current user ID in WordPress?

The great way to find a currently logged in user ID is by get_current_user_id() function.


Conclusion

You can improve your website’s safety a lot by getting to holds of the several permissions connected with these default user roles. It supports you to hold your users regulated and your sites secure. If you want additional control or need to define your own user roles with different permissions that fit the demands of your website favorably, you might need to use the Capability Manager Enhanced plugin. It allows you to handle your current WordPress roles, add new roles, edit all role permissions, and more beyond.

Leave a Reply

Your email address will not be published. Required fields are marked *

X

Get a Free

SEO Consultation