Change path of the page’s template

It’s possible to create templates for pages with that:

<?php /* Template Name: Contact */ ?>

Read More

This templates are located on the theme folder, right? Is possible to change the default path where WP search for those templates? If I want to make a lot of templates, can I create a folder to put them?

Thanks

Related posts

2 comments

  1. With WordPress 3.4 was a change that allowed you to place your custom page templates in a subdirectory of your choice. The subdirectory can be named anything you want, but it needs to be in your active theme’s main folder.

Comments are closed.