This topic has 4 replies, 2 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow
I updated last night the new version and I found out that wp-admin is visible to users!!! Why??? How can I disable it???
Update
————–
I had to disable it by adding the code below in fuctions.php. However this is not a solution. I’m expecting yours. Also every time I save the header builder I have to clear browser data to see the changes. This is tragic and so much time consuming. Theme still needs fixing.
add_action('after_setup_theme', 'remove_admin_bar');
function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
Hello,
1) Go to Appearance > Themes > install and activate Storefront theme. Check if you have the same issue with the customer account when the Storefront theme is activated.
2) Use Clear cache extension https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn We save custom styles of theme options to CSS file, Chrome caches CSS files, that’s why if you change some styles you need to clear browser cache.
Regards
I cannot do that to a live website just to check it. I use the theme since 2015 and never had such issue before. Problem came up after the update as I haven’t any plugins installed. I solved the issue with the above script. May you must check it.
Hello,
Point is that we don’t have such problem with our test installations. So, something is with your site settings or third-party plugins that you use. If you can’t change settings on the current site then maybe create a staging site (full copy of the existing one) and check it there with the default theme. Reply back with access to your staging site if the problem appears with our theme only.
Regards
You must be logged in to reply to this topic.Log in/Sign up