0
votes

I checked in my theme(Used divi builder) header.php and there was wp_head and in footer.php there was php wp_footer In my user profile it is cheked the "Show Toolbar when viewing site".It is a site that i build two years ago and i tryed even updating theme and plugins.But still it isnt showing.Does any one have another idea what is the problem.

1

1 Answers

0
votes

The admin toolbar can be de- and activated if you edit the user account in the backend, as you already tried.

It can be set to not being displayed in the style.css of your theme, look for the id:

#wpadminbar

Or it can be disabled in the functions.php of your theme, look for something like:

add_filter('show_admin_bar', '__return_false');

There can also be a membership setting, that disables the admin bar if the user has a certain user role. You can try another user or other user role and check if the problem still occurs.