Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSarah Hantaah
1,540 Pointsadmin bar
I'm making this theme but I don't have any bar yet I want one. I did a search in functions.php and did not find this function so I added it like this but still now admin bar appears:
/**
- Admin Bar. */ add_filter( 'show_admin_bar', '__return_true' );
3 Answers
Sarah Hantaah
1,540 PointsI see what's happening now. I was getting confused with the the get_footer and wp_footer. I thought I only needed get_footer in index.php so I added the wp_footer in footer.php and it's working.
:)
Tiffany McAllister
25,806 PointsHave you added wp_head(); before the closing head tag and wp_footer(); before the closing body tag?
Sarah Hantaah
1,540 PointsJust checked. Yes I have the wp_head(); in index.php and the wp_footer(); in the footer.php too
http://awesomescreenshot.com/03c56aie74
and
Tiffany McAllister
25,806 PointsTiffany McAllister
25,806 PointsGreat, I'm glad to hear you got it working :)