At the begining, I thought there was an issue with my HTML or CSS files. But then I realized that other people using Wordpress 3.1 had the same problem (check out this link).

The admin bar disappears when I click another 'Pages' or 'Posts,' but it leaves its 28px padding at the top of the page.

I'm not sure if this has something to do with folder's permission issues in ubuntu (I'm using ubuntu 11.04). I did chmod -R 777 to my www folder (the default folder for my locahhost), but I'm still having the same issue.

Any suggestions to fix this?


1 Answer 1


Verify that wp_footer() is being called in all template files, and that the Admin Bar javascript and CSS are being properly hooked into the document head.

  • Thanks for helping again. But how can I verify that?
    – wyc
    May 5, 2011 at 15:09
  • For wp_footer(), look in the footer.php template file. For the document head output, I would just look at the browser source, and compare the output in the document head on the Page on which the Admin Bar appears, against the same output in the document head on the Page on which the Admin Bar doesn't appear. May 5, 2011 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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