Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Theme Customizer › Appearance › Disable wordpress admin bar for subscribers
- This topic has 7 replies, 2 voices, and was last updated 6 years, 5 months ago by
Themosaurus.
-
AuthorPosts
-
KalleshibgParticipant@kalleshibg
- 18 Topics
- 36 Posts
Hi,
I tried the following to get rid of WP admin bar or tool bar what ever it is call for the subscribers but still it appears,
1. Installed Disable toolbar plugin
2. Used the code
add_action(‘after_setup_theme’, ‘remove_admin_bar’);function remove_admin_bar() {
if (!current_user_can(‘administrator’) && !is_admin()) {
show_admin_bar(false);
}
}
from WPbeginners webside.
3. unchecked the toolbar option from the user profile
nothing works for me, can you help.November 6, 2018 at 22:06 #3369@themosaurus- 1 Topics
- 1675 Posts
Hi @kalleshibg,
Can you please provide us with screenshots of your website? Please don’t hesitate to comment or highlight your screenshots to help us better understand your issue.
We already have an account but not with admin rights.
Best regards,
November 7, 2018 at 10:30 #3376@themosaurus- 1 Topics
- 1675 Posts
And to be more precise do you want to hide the WordPress bar for all users or for everyone except admin?
Cheers,
November 7, 2018 at 10:31 #3377KalleshibgParticipant@kalleshibg- 18 Topics
- 36 Posts
Hi,
I am unable to attach any image through my iphone it says extension error, can you please refer the above attached second image with the pink flower background for my website image (www.sangaati.in). In this image you can see that an user has logged in to the account and as soon as he logs in a black bar with wordpress logo appears with the user name on it. I don’t want my users to see this, in fact I don’t want anybody to know it is a wordpress site. Whether a logged in user or the logged out user no wordpress identity should be visible.
1. I want the black WP bar on top to be hidden for all logged In and Logged Out users including Admin.
2. I want the black WP bar on top to be hidden for all logged In and Logged Out users Except Admin. (would like to try this too)
3. I have given you the Admin rights for my site.Thanks.
November 7, 2018 at 12:48 #3383@themosaurus- 1 Topics
- 1675 Posts
Hi @kalleshibg,
It was the “Restrict User Access” plugin that took the lead on this option.
It has a similar feature to hide the WordPress bar. So either you stay like that or you have to uninstall this plugin in order to have more precise possibilities on which role this bar should be displayed.At the moment, the bar is hidden for all non-admins users.
Regards,
November 7, 2018 at 15:45 #3385@themosaurus- 1 Topics
- 1675 Posts
This reply has been marked as private.November 7, 2018 at 15:47 #3387KalleshibgParticipant@kalleshibg- 18 Topics
- 36 Posts
Perfect, thanks very much for your help.
November 7, 2018 at 15:51 #3388@themosaurus- 1 Topics
- 1675 Posts
You’re welcome Kalleshibg. ?
Best regards,
November 7, 2018 at 15:56 #3389 -
AuthorPosts
The topic ‘Disable wordpress admin bar for subscribers’ is closed to new replies.