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 trial

WordPress WordPress Theme Development WordPress Header and Footer Templates WordPress Header and Footer Quiz

Christopher Parke
Christopher Parke
21,978 Points

This isn't in the video. I watched it three times...

What function must you include (that isn't get header or get footer. The only two discussed in the attached video) or your site will not work?

2 Answers

The answer is wp_head. That function is used by WordPress, themes, and plugins to hook in extra information such as meta info, style/js files, and a whole host of other features.

https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head

Christopher Parke
Christopher Parke
21,978 Points

Thanks. First time I've seen this function. Someone needs to go back though these videos and note there are some issues.

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

It actually is covered in the video. Please see my response given in your other post.

:dizzy: