Connect with us

Fixing WordPress Admin Bar Missing Issue

solution

Fixing WordPress Admin Bar Missing Issue

The WordPress Admin Bar is a very useful tool for a WordPress users. It is frustrating when this Admin Bar disappears in the WordPress. WordPress Admin bar missing issue is the most frequently occurring issue for Many WordPress users. Getting it back to your site is not a straight forward process. But don’t feel problematic. We are here to uplift you in solving this issue with a simple solution. Here in this article, you will find the root causes of the problem and the appropriate solutions to overcome.

How to Fix “WordPress Admin Bar Missing” Issue

Before going to solve the issues in WordPress, it is always better to gain at least some knowledge about the thing we are going to deal with. So, Here we are providing related information about the Admin bar in WordPress website. Have a close look through it.

What is WordPress Admin Bar

You might saw a colored (usually black or blue) bar that appears at the top of your dashboard when you logged into your WordPress account. This bar is called the Admin Bar. It appears on every page of your WordPress site. It provides an easy access with few shortcuts to Write a new post, Edit the post, Check the updates and much more.

Reasons for Admin Bar Missing Issue In WordPress

Small things can make big changes. The quote“A little yeast works through the whole batch of dough” proves itWhile coming to WordPress we can say this as “A small error or issue can collapse the whole website”. So finding the cause for the WordPress issues plays a key role in solving them. That is why we are providing the possible reasons for the cause of the Admin bar disappeared in WordPress website. Have a look at the list of reasons.

Browser cache and cookies

Browser Plays a key role in running a website successfully. But sometimes, the browser itself stands as a reason for the “WordPress Admin bar missing” issue. The cache and cookies can be the culprits in this case.

Non-Supportive Browsers

WordPress is such a rich application that runs on Every platform. But sometimes, some browsers fail to support this application and cause many issues in WordPress website counting the “WordPress Admin Bar disappeared” issue.

Admin Bar set Disable

A WordPress admin has a right to set desired settings to Enable or disable something on the Website. If the admin bar is set disabled in user settings, then this can cause the “Admin bar not showing “issue in WordPress Wedsite.

Admin Plugins

WordPress plugins provide many attractive features to the WordPress website. But Some of these plugins especially which are installed for admin will be the reason for the cause of “WordPress admin bar not displaying” issue.

WordPress Themes

Themes in WordPress provide a structure for your website. But, these themes may also cause many errors and issues in WordPress including “missing admin bar” issue in WordPress.

Admin Bar Set False in Functions.php file

Functions.php or The theme functions file in WordPress is used as a template by the WordPress themes. If anything goes wrong in this file will lead to the destruction of the some or many features in your theme like “Missing Admin Bar on Frontend”.

Missing functions in Footer.php file

Usually, the WordPress Theme developer puts the code and the scripts in the footer.php file to append the desired features in the WordPress page. If some functions in this file may get missed and raise the “WordPress Admin bar missing” issue.

WordPress Core Files

The Core Files in WordPress builds up the look and functionality of the WordPressplatform. If such core files get corrupted, then they lead to many appearance and functionality issues in WordPress. One of those issues is “WordPress Admin Bar Gone”.

WordPress Multisite

Maintaining Multisites on WordPress is an appreciable task. Multisites can raise many Complications. Mostly, mismatched Addresses of the sites in WordPress will generate issues in the site like “WordPress Toolbar Missing” issue.

Best Solutions to Fix “Admin Bar Missing ” issue in WordPress

Solving the WordPress Admin bar missing issue is not a problem if you have known the cause clearly. We have given you all the solutions that work in solving the issue easily. Check all the solutions carefully and fix your issue with WordPress Admin bar.

Clear Browser Cache and Cookies

To resolve the issue “Admin Bar Missing in WordPress” issue, the first and foremost step you need to take is to clear all your browser’s cache and cookies. This is the best solution that works for many WordPress users and surely help you to kick out the issue easily.

Check Various browsers

Some browsers sometimes may fail to load your WordPress site. So. check on the other browsers too to confirm that the problem is with the browser but not with the WordPress site. If it works, update your browser to the new versions and login to your website to see your favorite Admin Bar.

Single Browser session

In other words, this can be explained as simply closing all your browser windows and reopening the internet browser will do the trick. This Works well for many users suffering from WordPress Admin bar missing issue.

Enable the Admin Bar in User-settings

The Admin Bar in WordPress disappears due to the disabled setting in user profile. To enable the admin bar, Follow this format.

  1. Select Users on your Dashboard.
  2. Click on your Profile.
  3. Check box the Show Toolbar when viewing site.
  4. Now Update Profile and reload your site.

This will show the admin bar on your site if it is disabled previously.  

Disable Admin plugins

If you are using any plugins for custom admin bar or easy blogging, then disable those plugins. To disable them, follow these steps.

  1. Go to Plugins on your dashboard.
  2. Select installed plugins and click on Active above the plugins list.
  3. Now select the admin bar related plugins and click on deactivate button.
  4.  Now reload your page.

This will flush out the issue easily and makes the Admin Bar appear before you.

Disable all your plugins

Are you in Struggle with the issue still? Don’t get tensed. It may be due to other plugins you are using on your WordPress site. Simply, disable all your WordPress plugins at once. To do this, follow these instructions to do it in an easy way.

  1. Login to your WordPress CPanel.
  2. Search for Filemanager and open it.
  3. Now open the Root folder and search for the wp-content folder.
  4. Inside this folder, you can see the folder named as plugins.
  5. Give a right click on this folder and select Rename option.
  6. Rename this folder to any other name like “Plugins_old“.
  7. Now return to your Website and reload it to see your Admin Bar.
  8. Once you succeeded in getting back the admin bar, go to plugins on Dashboard.
  9. Activate the plugins one-by-one and keep reloading your page.
  10. This process shows you the culprit plugin.
  11. Delete the plugin(s) and stay cool.

Deactivate your Theme

WordPress Themes provide a good look for your WordPress Website. But sometimes due to the same themes, the layout gets destructed. To find if your theme is the convict for “WordPress Admin bar missing” issue, follow these steps.

  1. Login to Cpanel.
  2. Go to File Manager and open the Root directory.
  3. Select the wp-content file and open it.
  4. Now you can see Themes folder inside it.
  5. Give a right click on this folder and select Rename.
  6. Rename it as “Themes_old”. This will disable your current theme and Makes your WordPress site to revert back to the default theme.
  7. Now return to your site and reload the web site.

This will help you to see your Admin Bar back on your WordPress admin page.

Check your functions.php file

As discussed above, the functions.php file performs many actions in WordPress. So, sometimes this may be the cause for the WordPress Admin Bar Missing issue. However, editing this file and adding some code can solve the issue quickly. To edit this file, go through the below steps.

  1. Go to Appearances on Dashboard.
  2.  Select the Editor option.
  3. You can see the functions.php file on your right-hand side.
  4. Open the file and add the line right before the </body> tag.
    1 wp_footer();
  5. Now update the file and reload your site.

This will kick out the issue with Admin Bar and makes the admin bar appear on your Website.

Add a filter to functions.php file

If the above solution does not work for you, then try adding the below filter to your functions.php file.

  1. Open the functions.php file with the instruction given in the above solution.
  2. Copy and add the below line at the bottom of the file.
    1 add_filter( 'show_admin_bar', '__return_true' );
  3. Now update the file and return back to your site.
  4. Reload it to see the Admin Bar on your WordPress website admin page

Add a Method in functions.php file

A missing method in functions.php file can also raise the issue in WordPress. If you have ‘twentyfourteen’ theme as a default theme, then to resolve the “WordPress admin bar missing” issue,  you need to follow the steps

  1. Login to your WordPress CPanel.
  2. Open FileManager and search for root directory.
  3. Find the wp-content folder
  4. Inside it, you will find the Themes folder
  5. In the folder, find the theme twentyfourteen.
  6. Go inside it and open inc.
  7. Here you can find the template-tags.php file.
  8. Now Open it and the following line of code.
1 require get_template_directory().

Adding this to the functions.php file makes everything work file and the Admin bar appears normally as before.

Create a non-admin Account

Many experts suggest a simple solution that really works well in many cases. Follow these instructions to utilize this solution.

  1. Create a second account which is a non-admin account.
  2. Log out of your admin account and login to the newly created non-admin account.
  3. Now log out of this non-admin account and login back to your admin account.

This sounds very simple, but it actually works. This is a “simple” approach, perhaps this will help you well in solving the Missing Admin Bar Issue in WordPress.

Delete WordPress core files

If you still could not see the admin bar on your WordPress site, then try deleting all your WordPress core files. For this, follow below mentioned steps.

  1. Login to Cpanel.
  2. Go to FileManager.
  3. Open your Root Directory.
  4. Select all the files except wp-config.php file.
  5. Delete the selected files.
  6. Now download a fresh copy of WordPress Application.
  7. Now extract it to any folder on your desktop.
  8. Copy those files to the Root directory in the current WordPress.
  9. Save and upload the directory back to WordPress.
  10. Now reload your WordPress site to see the Admin bar.

Enable debugger

If none of the above solutions worked for you, then enable debugging in the site. Turning ‘on’ error reporting in the wp-config.php is as follows.

  1. Login to Cpanel.
  2. Search for the File Manager.
  3. Open the Root directory.
  4. Search for the wp-config.php file.
  5. Give a right-click on it and select the Edit option.
  6. Search for the line of code shown below.
    1 define('WP_DEBUG', false);
  7. Now change the value from False to true as shown below.
    1 define('WP_DEBUG', true);

Turning the error reporting ‘on’ will give you at least an indication of what is going wrong and raising the Admin bar missing issue in WordPress. Once you are successfully found the culprit and solved the error, do not forget to set the value back to false.

Conclusion:

Hope our article helped you in fixing Admin bar Missing issue in WordPress. Keep following us to get more appropriate solutions for your WordPress admin errors.

Continue Reading
2 Comments

2 Comments

  1. pascal boeuf

    10/02/2021 at 17:13

    Thank you very much. You give me the perfect solution : add add_filter( ‘show_admin_bar’, ‘__return_true’ ); in the functions.php.

    Pascal

Leave a Reply

Cancel reply

Your email address will not be published. Required fields are marked *

More in solution

About Me:

Szabi Kisded

Hey there, I'm Szabi. At 30 years old, I quit my IT job and started my own business and became a full time WordPress plugin developer, blogger and stay-at-home dad. Here I'm documenting my journey earning an online (semi)passive income. Read more

Sign up for my newsletter and get the YouTube Caption Scraper WordPress plugin for free
(worth 29$)!

All My Plugins In A Bundle:

My AutoBlogging Plugins:

My Online Courses:

A Theme I Recommend:

Featured Posts:

To Top