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 How to Make a Website with WordPress Custom Post Types and Fields in WordPress Custom Post Type Templates

How do WordPress knows to put the content-art before the footer?

I'm just trying to understand the inner workings here. When you look at the art.php page, all the html for header footer are there and the custom content is coded at the bottom of the page.

The thing is I don't think I see a link or a call that say's to look at that custom content and insert it before the footer. So how do WordPress knows to do it?