WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Admin Bar not showing AT ALL anywhere

[Resolved] Admin Bar not showing AT ALL anywhere

  • I’ve recently installed the latest wordpress from scratch and noticed the great admin bar on the default Twenty Eleven theme. I purchased a theme and there’s NO admin bar in it at all, no blank space even.

    This happens on both the frontend pages and the backend pages, meaning there’s no admin bar on the dashboard either.

    When I switch back to Twenty Eleven, the admin bar is there on the site and dashboard again.

    The theme I’m using is EugeneO Sideways, and it calls wp_head() and wp_footer() on header.php and footer.php, though there’s some code after both calls, I’ve tried moving the wp_head and wp_footer calls to before </head> and before </body> but that does nothing… and I think it even breaks some functionalities.

    Well Thank you for any tips! I’m just lost with this!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Try adding:
    add_theme_support( 'admin-bar' );
    to your functions.php file.

    Thanks for the suggestion but I’m afraid that did nothing at all! 🙁

    esmi

    @esmi

    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    I only have 2 plug-ins installed (nextgen gallery and akismet), and the admin bar was not showing before I installed any plug-ins, but I’ll try it anyway…

    Switching to Twenty Eleven shows the admin bar as I said on my original post, so its a problem of the theme I’m using that’s not showing the admin bar at all.

    esmi

    @esmi

    Forum Moderator

    Edit your theme’s footer.php file and ensure that it includes <?php wp_footer(); ?> immediately before </body>.

    Already tried that but it doesn’t work, I found that suggestion on many google results… but nothing.

    esmi

    @esmi

    Forum Moderator

    And have you checked for wp_head() in header.php?

    yup I’ve done that as well… thanks for the suggestions but sadly it’s none of the common problems. 🙁

    esmi

    @esmi

    Forum Moderator

    But it’s definitely theme specific, so I’m afraid you’re now going to have to try eliminating bits of your theme until you find the culprit. If it was me, I’d start with functions.php and disable as many custom functions as I could.

    well! it’s solved! my theme has a lot of files with functions linked on functions.php so I opened the main one and found that the admin bar was disabled by the theme! So I removed that and it works! 😀

    Now I have to adjust the scroll bar problem and all done.

    Thank you very much guys! 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Admin Bar not showing AT ALL anywhere’ is closed to new replies.