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

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?

share|improve this question
possible duplicate of Admin Bar CSS left over after removal – Chris_O May 5 '11 at 21:57
up vote 4 down vote accepted

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.

share|improve this answer
Thanks for helping again. But how can I verify that? – janoChen May 5 '11 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. – Chip Bennett May 5 '11 at 16:20

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.