WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Not sure what's going on, but even when I checked the "Show Toolbar when viewing site" and on functions.pho placed:

if (! current_user_can('manage_options')) { add_filter('show_admin_bar', '__return_false'); }

I can see the space where the admin bar is supposed to be placed but it is empty, a white bar, nothing on it, checked the source code and found this:

<style type="text/css" media="print">#wpadminbar { display:none; }</style> <style type="text/css" media="screen"> html { margin-top: 28px !important; } * html body { margin-top: 28px !important; } </style>

So not sure what else to do, any help?



share|improve this question
up vote 1 down vote accepted

It sounds like your theme does not use wp_footer() the way it should. That function should occur right before the closing </body> tag. The admin bar runs on a hook fired by that function. Without it, I get exactly what you describe.

For reference, in Twenty Thirteen, it looks like this: http://core.trac.wordpress.org/browser/trunk/wp-content/themes/twentythirteen/footer.php

share|improve this answer
OMG, seems like I didn't see that one properly, that fixed the admin bar, thanks so much!! – Arturo Aug 5 '13 at 20:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.