For wordpress 3.4.2, none of these workarounds should work. I made out a very simple trick to hide the admin panel!
After calling wp_head (), place the declaration of this style:
<style>
html { margin-top: 0px !important; }
* html body { margin-top: 0px !important; }
</style>
It does not include any changes to the function or anything else. Just plain old CSS! Hopefully in the near future it will solve the Googler problem :-)
Gogol source
share