Skip Navigation

[Resolved] Don’t show WordPress backend to users

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user would like to restrict the backend for certain roles of users.

Solution:
This is out of the scope of Toolset plugins, none of the Toolset plugins offer this feature, even the Toolset Access plugin.
But you can achieve this by using a third-party plugin or by using custom code on your theme's functions.php file. Check the following pages and plugins:

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by romanF 4 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1700411

Hey Support-Team,
I just followed the very useful step for step guide to set up a login, password reset, frontend content creation forms, and so on. And it works fine, but whenever I log in as a user (not admin) I can see the WordPress back-end (WordPress header).
I know I can deactivate this on a per-user basis, but can I also do this for a specific role? I don't want my users to see the WordPress backend.

Thank you

#1702609

Hello and thank you for contacting the Toolset support.

If I understand well, you want to hide both, the WordPress header on the frontend, and the WordPress backend for a certain role, right?
This is, actually, out of the scope of Toolset plugins, none of the Toolset plugins offer this feature, even the Toolset Access plugin.
But you can achieve this by using a third-party plugin or by using custom code on your theme's functions.php file. Check the following pages and plugins:
- https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/
- hidden link
- https://wordpress.org/plugins/hide-admin-bar-based-on-user-roles/
- hidden link
- https://wordpress.stackexchange.com/questions/66093/how-to-prevent-access-to-wp-admin-for-certain-user-roles

I hope this helps. Best regards,
Jamal

#1702803

My issue is resolved now. Thank you!