WordPress Client Login Plugin
The Electric Studio Client Plugin is a WordPress plugin for creating a password protected client area on your website. You can add clients to groups, and give them access to their area only.
It’s available from the WordPress plugin repository. To install, please just search for it in your WordPress admin interface and install like any other plugin.
This plugin allows you to do the following things:
- Add users of role ‘Client’
- Groups Clients together
- Restricted content to a user or group
- Add custom fields to Clients.
Jump to section:
- Clients Area
- Group Management
- Client Management
- Client Setup
- Shortcodes and Restricting Content
- Login Widget
- Client Area/My Area
After installing the plugin, you should find the following menu in your WordPress panel as shown on right.
Clients Area
To go to the general plugin options, click on ‘Clients Area’ . This will show you any general options available to the plugin. Currently, the only option that can be changed is the redirect location on logging out.
More options will be added to this section in later releases of the plugin
Group Management

Group Management
The group management section allows you to add, edit and remove groups. This is also where you can add or remove users to a group.
Add the bottom of this section all the existing groups are listed. To add or remove users to a group click the edit button.
Editing a group

When adding a user, just type their username and click on the result below to add. To remove, just click the ‘x’ next to the username listed.
N.B. Only users with role of ‘Clients’ can be added to a group.
Client Management

Client Management
Here you can view all users with the role of ‘Client’ and see the groups in which they are a member. Click on the username will allow you to edit the user; this is in fact a link to WordPress’ edit user page.
Clicking on delete will take you to a page where you can delete the user.
Client Setup
This is were all custom fields can be added to users. See example below:

Client Setup
Each field that is added, will be added to the edit user page. You can add whatever fields you like
There fields will allow the data to be stored as user-meta and therefore can be retrieved in your WordPress template like any other user-meta.
Shortcodes and Restricting Content
The easiest way to restrict content is when creating/editing a post/page. There is a metabox (shown below) in which will make the post only accessible to users which are members of the selected groups. If no groups are selected, the post is viewable to everyone.

Restrict Groups Meta Box
You can also use shortcodes to restrict content within a post/page:
- Exclude content to all users not logged in:
- [escl_logged_in]content[/escl_logged_in]
- Show content to only one user:
- [escl_logged_in user="joebloggs"]content[/escl_logged_in]
- Show content to only specific groups (if using multiple groups, they should be separated with a pipe (‘|’)):
- [escl_logged_in group="group1|group2"]content[/escl_logged_in]
Login Widget

Login Widget when logged in

zaagaad
Thanks….this exactly what i need..already try another plugins but this is exactly rockstar role management ..:) i`ll be watch for next update and improvement..
Alex
‘Add User to Group’ function does not seem to be compatible with WordPress 3.3. I’ve tried everything. Any update on this?
James Irving-Swift
Hi Alex,
I have just uploaded a new version of the plugin which has a 3.3 fix. You should be able to update soon.
Thanks for reporting the bug.
Cindy
I love this plugin. However, I can’t get it to work.
First, I can’t get it to add a user to a group. When I type in the username, what do I click on then? There wasn’t anything that said ‘results’ to click on. If I click on ‘Save’ then it just disappears.
Second, I created a page using the client-area template, added the client photos, and then clicked on the user who should have access to this page. But when I log in as that user, it just takes me to a page that says "hi sharon" and no photos are there. What am I doing wrong?
Or…it will go to the wordpress login and when I try to login with the user’s info, it won’t go anywhere, it won’t accept the login.
Thanks for your help with this!
Cindy
James Irving-Swift
Hi Cindy,
Could you please tell me which version of wordpress you are using?
Mane
Great project; please continue development of this plug in! For the moment, it’s all ok! WordPress needs a great client area plugin!
THANKS!
Sonu
Thanks a lot James. It seems useful to me. I have a query.
I’m running a company that provides HR Services, I am planning to launch a website soon on CMS WordPress. I want to include a kinda integration(dynamic feature) in my website in which I can create and provide accounts for my clients and they can acsses the details, information & daily reports that I want them to access. Do you think it can be achieved by this amazing plug-in?
James Irving-Swift
Hi Sonu, yes it can. The plugin also allows you to define as many custom fields for users as you like.
Revolter
Hi James,
you made a great plugin and thank you for that but I need one feature whether it is possible.
Is there any way to hide all area pages from visibility excerpt those of current user logged.
I want my customers after logging see only list of pages (menu) that are intended for them, not from other clients.
tnx
James Irving-Swift
Without making a custom menu yourself, I’m afraid that isn’t possible as of yet, however, given time available, I would like to integrate that into a later version.
Revolter
This would be great! I will keep my eyes on it!
I have another question: how can I placed login information outside of widget or page-clientarea.php, so I could make loggins, for example, from my header and after that display name of user instead of inputs form?
And thanks for your quick response
Vince
Thanks for this great plugin. I’m running WP 3.3.1 and haven’t been able to get the add user to group function to work. I’m relatively new to wordpress, but I’ve tried everything I can think of. Any thoughts are greatly appreciated.
James Irving-Swift
I have noticed there was a bug if the plugin with installed as a short-cut in the plugins directory. I have rectified this and hopefully when you update to version 0.7.7 it should work. Please tell me if you have any other problems with the plugin.
Vince
Hi James,
I just upgraded the plugin and am experiencing the same behavior. I’m still unable to add a user to the group. Thanks in advance for any thoughts you have.
James Irving-Swift
I tested this on a vanilla copy of wordpress 3.3.1, so it really should be working. What other plugins do you have installed??
Dave C.
Just upgraded to WordPress 3.3.1 and the latest Client Login Plugin, and like a few others on this forum, I’m unable to add a user to the group.
Thanks in advance,
-Dave
P.S.
I tried Firefox, Safari and Chrome. I’m on a Mac and I was unable to test on a PC.
James Irving-Swift
What other plugins do you have installed?
Dave C.
You said on Feb 1, 2012 at 09:07
"What other plugins do you have installed?"
I have a few but I actually deactivated all of them but it still didn’t work. I’m using Firefox, Chrome and Safari on a Mac. None seemed to work.
Revolter
Hi James,
do you have any idea that I can make visible menus of this plugin for editors not only for administrators.
I can do this ‘add_submenu_page(‘escl_options’, ‘Clients Area’, ‘Clients Area’, ‘administrator’ or ‘editor’, ‘escl_options’, ‘escl_home’);’ in the options.php – but of course, this is not solution to the problem.
James Irving-Swift
Hi,
I beleive what you need to do it edit options.php so that the add_submenu_page function reads as:
add_submenu_page(‘escl_options’, ‘Clients Area’, ‘Clients Area’, ‘edit_users’, ‘escl_options’, ‘escl_home’);’
I will look at including this to a future release