Restore the admin toolbar when logged into WordPress
Posted January 12th, 2012 in PHP
I don't use WordPress myself, but one of website partners does for their blog. We recently both upgraded from WordPress 2.7 to 3.3 and changed the layout of the website and either as a result of the upgrade or the theme change, lost the admin toolbar that appears at the top of the page when logged in as as admin.
Restore the admin toolbar when logged into WordPress
This is the toolbar I'm talking about:
After the upgrade and changes to the template, when logged into the admin there was a blank space at the top of the page where the toolbar would normally have been previously.
To fix the problem, locate the footer.php file (it will be at wordpress/wp-content/themes/THEME-NAME/footer.php) and add the following before the closing </body> tag:
<?php wp_footer(); ?>
This should solve the problem, it did for me.

Comments
blog comments powered by Disqus