Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

Thanks!

A.

share|improve this question
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.