Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I followed these instructions: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

My understanding of those instructions was that the file snarfer.php needed to be in the folder 'themes', so it appears in the same list as the following folders and file:

twentyeleven (folder) twentyeleven-child (folder) twentyten (folder) index.php

…but when I put it there, and went to create a Page, the new template didn't appear as an option in the list Default Template / Showcase Template / Sidebar Template.

So I tried putting snarfer.php in the folder 'twentyeleven-child' -- which is the active theme.

And the new template now appears in the Template list when I create a Page.

Do I have snarfer.php in the right place?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, templates files belong to a theme and therefore into the theme directory. The Codex text is a bit vague currently. You should edit that until it is easy to understand. :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.