Navigation überspringen

[Gelöst] Don’t show WordPress backend to users

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 4 Jahren, 5 Monaten. 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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von romanF vor 4 Jahren, 5 Monaten.

Assistiert von: Jamal.

Author
Artikel
#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/
- versteckter Link
- https://wordpress.org/plugins/hide-admin-bar-based-on-user-roles/
- versteckter 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!