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!
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
Michael Rockett40,365 Points
How 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?
Brian Hayes20,986 Points
Make 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 */