Toolbar admin is showing to non logged in users

[ad_1]

Hi @flo12345
By default, the WordPress toolbar is visible to all users. If you’d like to disable it, then try the Hide Admin Bar from Non-Admins plugin.

If you’d like to get step-by-step guidelines, then follow this article. https://www.wpbeginner.com/wp-tutorials/how-to-disable-wordpress-admin-bar-for-all-users-except-administrators/

Hi Ahammad,

Thank you for your fast response; I tried that but I get error when I want to save the changes :/. Do you more ideas? I will try to contact them if I can also.

Best regards

Hi @flo12345
Which error did you encounter, and which troubleshooting method did you attempt? Could you please provide me with the details and include some screenshots for further clarification?

Thank you for your assistance.

Hi @faisalahammad,

I am not sure we can send screenshots at least I don’t understand how. But going into settings ==> Hide admin bar I hide for all users except me and I get the following message “error occurred while savings settings”. I am not sure what you intend by troubleshooting method but I used more than one plugin like that to try to solve the issue. I am sorry if I don’t know how to explain the issue better :/.

Thank you.

Hi @flo12345

Could you please answer the following question?
1. Which plugin did you try?
2. Which PHP and WordPress versions do you have?
3. Did you tried all the other steps from the article?

Thank you

By default, the WordPress toolbar is visible to all users.

@faisalahammad: OP is concerned with the toolbar being visible to GUESTS (ie visitors who are not logged into the site). This is not the default behaviour. And that’s quite different from the toolbar being visible to all user roles, which is the default behaviour you mentioned.

@flo12345: I checked your site and you’re running the BuddyPress plugin. That’s likely to be what’s showing the toolbar to guests.

Please check the following setting and uncheck it (if it’s checked):

SETTINGS => BUDDYPRESS => OPTIONS (TAB) => TOOLBAR and uncheck the “Show the Toolbar to logged-out users” box.

Nice catch, @gappiah. I thought he/she was getting issues from the WordPress default toolbar.

Thank you @gappiah! It worked 🙂 I don’t know how you managed to see that buddypress was the issue… I was loosing my mind all evening sorry for the delay. Thank you too @faisalahammad for your time and your fast responses amazing of you guys :).

Best Regards!
Florent

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer