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.

So I upgraded to 3.1 now I have a white band above the header of my website in the frontend when I'm logged in, I know this should be the control menu, but just a white band :-(

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

you are correct, that is for the admin bar. add this code to functions.php to disable the admin bar if you wish

<?php
/* Disable the Admin Bar. */
remove_action( 'init', 'wp_admin_bar_init' );
?>

if you want to use it then check your source for

<div id="wpadminbar">
            <div class="quicklinks">

If so, then the output is good, After that, it may be css or js conflicts perhaps

share|improve this answer
    
Bingo! Didn't have the wp_footer() hook in my footer! –  erichmond Feb 25 '11 at 5:51
add comment

If you have the white band, but no menu, you are most likely missing the

<?php wp_footer(): ?>

From the bottom of your footer.php, should be just above

</body>

http://voodoopress.com/2011/02/wordpress-3-1-admin-bar-upgrade-issues/ is a post I'm keeping up to date as I come across things to help people with the admin bar.

share|improve this answer
    
Doh, I see you found the solution..... I missed the little comment there –  Rev. Voodoo Feb 25 '11 at 13:13
    
No worries, still worth answering and thanks for the link. –  erichmond Feb 26 '11 at 8:21
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.