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 trialJulian Goes
491 PointsHow does Wordpress know that the page-custom file that is being edited is suppose to show up on "Custom Page" page?
On the video Zac Gordon shows us he is editing the files called page custom and that the wp_query is doing loops and showing content on "Custom Page" page. How does wordpress know that the code in page-custom.php is suppose to show up on page custom?
1 Answer
meisloafer
4,769 PointsZac uses child-theme. So he put page-custom.php in the folder and uploaded it. Now every time you open a page WordPress looks up for any changes in this folder.
I guess so