WordPress.org

Forums

Admin Bar Missing on Front Screen (5 posts)

  1. williamalake
    Member
    Posted 1 year ago #

    Hi,

    The admin bar has just vanished on the front screen. Nothing was changed, except my PC crashed and I rebooted and when I went back to the website, it was gone.

    Here's what I have done:

    1. Checked the header and footer code in my theme - They are both there.
    2. Changed to Twenty Eleven, Twenty Ten, Twenty Twelve, etc and still missing.
    3. Disabled all plugins - still missing.
    4. I'm using Cloudflare, so I changed the nameservers back to my hosting so that Cloudflare isn't used - still missing.
    5. Clear the cache on my browser - tried multiple browsers - still missing.

    I'm now at a complete loss! It's weird that it happened immediately after a system crash.

    Any advice would be great!

  2. Piyush
    Member
    Posted 1 year ago #

    Please check this code " add_filter('show_admin_bar', '__return_false'); "in function.php file

  3. Hardeep Asrani
    Member
    Posted 1 year ago #

    Visit Users > Your Profile > and make sure to mark 'Show Toolbar when viewing site' option.

  4. williamalake
    Member
    Posted 1 year ago #

    Thanks Hardeep, I forgot to mention that above. That was the first thing I checked!

    Piyush - I added the code, but no change!

    Thanks for your input guys!

  5. williamalake
    Member
    Posted 1 year ago #

    Polite bump! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.