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.

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
add comment

1 Answer

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: http://core.trac.wordpress.org/ticket/20103

share|improve this answer
add comment

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.