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 trialMichael Rockett
40,365 PointsHow do I get the template option to appear under page attributes?
On the video I am told to create a custom page by selecting the custom template under page attribute but there is no templates option. Am I doing something wrong? Have a missed something?
2 Answers
Brian Hayes
20,986 PointsMake sure your page template has the proper naming convention as well as the proper comment declaring the template name. If you want to create a global template that isn't page specific then make sure not to use the page-
prefix when naming the template file. Next, just make sure your file has the proper comment at the top:
/* Template Name: Example Template */
przink
14,222 PointsHey Michael,
I got caught on that detail as well
Make sure you are using the Child Theme found in the project downloads for this video. Otherwise I believe the instructions to create your own custom templates was explained in this lesson: Click here
Hope that helps!