Documentation / Profile Builder / How to create custom WordPress user roles with Profile Builder

How to create custom WordPress user roles with Profile Builder

Patricia Borlovan
Last Updated: 04/04/22

Creating custom WordPress user roles within a WordPress site offers you various possibilities for segmenting your users, based on the type of audience that you want to target.

Below, I’ll walk you through how to create your own custom user roles with Profile Builder by using the free Roles Editor module.

Why and when to use Roles Editor from Profile Builder

WordPress comes along with a few default user roles that are all that is needed for a site that requires user registration and user login. However, there are a few cases where a certain type of websites requires a custom user role that doesn’t fit the default ones:

  • Administrator: a user role that has access to all the administrative functions of the website;
  • Author: a user role that offers access to users to publish and manage their own posts;
  • Contributor: a user role that offers access to users who can write and manage their own posts, but yet can publish them;
  • Editor: a user role that can publish and manage posts of all users, including their own;
  • Subscriber: a user role that has access to read content posted on a site and edit his profile.


These default user roles have capabilities that can help most type of websites. But, for example, if you are running an online magazine with two type of content: free articles to read and private articles, available only for Premium Subscribers, you will basically need a new type of user role for your Premium Subscribers. Along with this, you should consider creating a user role for someone in your team, that will moderate comments.
You might also want to redirect users after login or registration based on a custom user role.

How to use Roles Editor

The Roles Editor is available on both versions of Profile Builder, free and Pro starting with the version 2.6.2 or higher.

To ensure that Roles Editor will work on your website, please make sure to update Profile Builder to the last version, mentioned above and follow all the steps described in the documentation.

To sum up the process, you need to activate Roles Editor from your WordPress Dashboard → General Settings → Save Changes, and then move forward to the Roles Editor sub-page, under Users section.


Create and Manage The Custom WordPress User Roles from Profile Builder

Edit User Roles

Same as for user roles, there are various capabilities available and if you need something specific, you can extend them by creating new ones, or by installing other plugins. An example of these type of plugins is WooCommerce, that offers you capabilities specific to an eCommerce site.

Edit Capabilities

Now, for our Online Magazine, we said we want two type of users with two type of capabilities, to do different actions:

The first one is your Premium Subscriber, that will can read the private articles published on the site:

  • read;
  • read_private_posts;
  • read_private_pages;

For this one we will create a mew User Role from scratch, within the WordPress Dashboard -> Roles Editor -> Add New Role.


And the next one is your Comments Moderator, that will do the following actions:

  • read all the posts;
  • edit articles, both public and private;
  • moderate_comments;

Here, we already have the Editor that includes these capabilities, so we choose to clone this user role and delete the capabilities we don’t need:



So, we passed through all the steps required to set up custom WordPress user roles within a site and I hope this tutorial helped you understand better user roles and capabilities. If you liked this article or have a few more questions regarding Profile Builder’s Roles Editor, please share them below, in the comments section.

Meanwhile, we are going further with the Free Version of Profile Builder, that recently reached 1 Million Free Downloads (Stay tuned for another article, on this topic!) and regarding the new features, here they are:

  • You can now register users with different roles, by having the feature of selecting a user role inside the registration form (Read more in the documentation)
  • We’ve added ReCaptcha in the free version, in order to help you fight against spam registration and brute force login attempts (Read more in the documentation)
From the blog

Related Articles

Profile Builder Update: No More Profile Builder Hobbyist?

Author: Flavia Mezzetti
Last Updated: April 26th, 2023

If you’re already a Profile Builder user, you might have noticed some changes around here in the past few weeks. And that’s especially if you’ve purchased the Hobbyist version of Profile Builder. And you’d be right! Some changes did take place within the plugin, and thus, that’s what we’ll talk about in this blog post, […]

Continue Reading

How to Eliminate WordPress Spam Registrations (Step-by-Step Guide)

Author: Adrian Spiac
Last Updated: December 11th, 2019

Looking for a way to cut down on WordPress spam registrations? If your WordPress site is set to allow user registration (like a membership site or WooCommerce store), then it's probably vulnerable to user registration spam from spam-bots. Finding a way to eliminate, or at least reduce, WordPress spam registrations is important so that you can focus your efforts and resources on your real users. No matter what type of site you're running, there are some tried-and-true tactics that you can apply to stop spam registrations in their tracks, and they're all available in one single plugin.

Continue Reading

How to Build Online Communities Using Profile Builder & BuddyPress

Author: Patricia Borlovan
Last Updated: August 15th, 2023

Building a WordPress community website can be a great idea not only because you can control the experience of the user, manage SEO and inbound traffic, but also because I think a community is more about nurturing a constant, active presence and happy experience. If we speak about the integration between our Profile Builder & […]

Continue Reading

2 thoughts on “How to create custom WordPress user roles with Profile Builder

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.