Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How I can change a folder for wordpress page templates? By default all page templates located in theme's root folder. I want to make a folder with name "templates" in theme's root directory and keep all page templates there. How can I achieve that?

share|improve this question

1 Answer 1

In WordPress 3.4, themes can now place page templates inside a subdirectory of their theme. via an API called WP_theme. Read more here:

share|improve this answer

Your Answer


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.