I created a stripped-down page template to use for my landing pages. But I must have cut too much out of it, because I've lost the WordPress 3.1+ Admin Bar.
What functions do I need to call to get the Admin Bar to appear at the top of the page again?
I created a stripped-down page template to use for my landing pages. But I must have cut too much out of it, because I've lost the WordPress 3.1+ Admin Bar.
What functions do I need to call to get the Admin Bar to appear at the top of the page again?
Share Improve this question asked Jun 23, 2011 at 1:22 dthrasherdthrasher 1251 silver badge5 bronze badges1 Answer
Reset to default 4Not sure exactly, but adding the following two functions should get it to work and save you other headaches as well:
Right before the closing head tag add:
<?php wp_head(); ?>
And right before the closing body tag add:
<?php wp_footer(); ?>
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744581950a4582089.html
评论列表(0条)