Scanning another folder for page templates
-
QUESTION
Can I add a new folder for page templates, and tell WordPress to scan that as well as the theme root?I found get_page_templates() in /wp-admin/includes/theme.php, but want to avoid hacking it. What’s the right way to handle this situation?
EXPLANATION
We’re developing a theme, kind of like Thesis, that will be used and customized for many sites. Custom files and settings for each implementation will go in the /custom/ folder of the theme — thus the need for WordPress to be able to scan a folder outside of the theme root.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Scanning another folder for page templates’ is closed to new replies.