• Hi all.

    i have some problems with my admin bar not showing up on pages. I now always have to type /wp-admin/ behind my homepage to enter this area. I have looked around on the internet and tried the following:

    1: Check if my theme has wp_head();
    It does
    2: Check if my theme has wp_footer();
    It does
    3: Check if my profile has the admin bar thing checked on
    I do have it checked on
    4: I have the latest wordpress installed and my theme is fully functional. *generatepress is the theme.
    5: I have tried activating another theme like twenteseventeen and it did not help.
    6: I deleted cache to see if that did the trick but it did not.
    7: I checked if the problem was also there when i tried a different browser and sadly yes.

    Thanks for taking the time,
    Sjoerd

    • This topic was modified 7 years, 7 months ago by sjoerd89.
Viewing 4 replies - 1 through 4 (of 4 total)
  • osbulbul

    (@coderontheroad)

    Did you check the plugins? Deactivate all of them if it solves, activate one by one and find which one cause it.

    I’ve had the same problem…
    The admin-bar wasn’t showing up. There are a few thing you should keep in mind:

    * in the index.php use get_header and a get_footer function around the loop.
    * in the footer.php use the following line before you end with </body></html>: <?php wp_footer(); ?>
    * take a look at your code and don’t set the z-index too high.

    Hope this helps.

    Best regards,
    Brian

    Thread Starter sjoerd89

    (@sjoerd89)

    * in the index.php use get_header and a get_footer function around the loop.

    the theme has this

    * in the footer.php use the following line before you end with </body></html>: <?php wp_footer(); ?>

    Also checked this and it is there.

    * take a look at your code and don’t set the z-index too high.

    For this one i need some help, where do i check something like this?

    Thanks

    If your header is positioned fixed or absolute. you can add a z-index. z-index defines on what layer/height it will appear. If your header has a z-index of 100 and the admin-bar has a z-index of 50, your header will lay on top of the admin-bar, so it disappears behind your layer.. You can search for z-index in your css-file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing admin bar’ is closed to new replies.