-
Author
-
February 17, 2017 at 06:52 #153269clemParticipant
Hi KLEO team
I tried to install several plugins to hide the toolbar for all users exept admin and some other roles but don’t work because of the theme option : Admin Toolbar
Here are the 3 plugins I tried :
– Admin bar & dashboard control (Agbonghama Collin)
– WP Admin UI (Benjamin Denis)
– Admin Bar Disabler (Scott Kingsley Clark)
There is already a topic at that subject but doesn’t solve my problem
https://archived.seventhqueen.com/forums/topic/hide-admin-bar-for-specific-users
I have tried the plugin you advice (WP Admin UI) but not the tuto because it is only for the toolbar visible by admin and I want some other roles having the toolbar as well
Is there a way to do it working ?
Thanks for your help
Clem
February 19, 2017 at 18:23 #153432LauraModeratorHello, the theme option, do you have it on or off? Turn it off and test the plugins 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 21, 2017 at 04:23 #153648clemParticipantHi Laura !
I tried on and off with all plugins and not work in both cases. I mean, if the theme option is on, I will have the toolbar for all roles, If it’s off, I will never have the toolbar
No matter the settings I have in the different plugins
I would like to have the toolbar, ONLY for the admin and the role I decide in the plugins but not for the ‘normal’ users of my site …
February 21, 2017 at 23:16 #153766LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 22, 2017 at 14:35 #153878RaduModeratorHi,
De-activate for hiding admin bar plugins
Set hide admin bar from admin -> theme options -> misc then add this code to child theme ( wp-content/themes/kleo-child/functions.php )
COPY CODEadd_action('after_setup_theme', 'add_admin_bar_for_admins'); function add_admin_bar_for_admins() { if (current_user_can('Administrator') OR current_user_can('Editor') ) { show_admin_bar(true); } }
Instead of editor role add your desired
Note : Child theme needs to be installed and activated
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 24, 2017 at 02:23 #154080clemParticipantHi Radu !
Thanks for the fonction but it still doesn’t work ?
Anyway, I think I will manage it by another way, I turned off the theme option for the toolbar and have created a bookmark in my browser = mysite/wp-admin.com for the admin and other role allowed to go to the dashboard
In fact I used the admin frontend toolbar only to access to the dashboard. that other way is as fast as the toolbar to do it
Thanks anyway ! ?
Cheers
Clem
February 24, 2017 at 17:34 #154107RaduModeratorOk then
Have a nice dayCheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.