[wp-hackers] Problems recognising templates in the file system

scribu scribu at gmail.com
Wed Jul 14 20:40:32 UTC 2010


On Wed, Jul 14, 2010 at 2:31 PM, Kris Young <KrisY at tbs.uk.com> wrote:

> Arranging templates into a new folder under the root theme folder has
> stopped WP from recognising them. The same goes for moving them back
> into the default theme folder and renaming those templates with a hyphen
> (so template-blog.php, rather than with an underscore). Undoing both of
> these changes fixes the problem, but I want either of those two changes
> I made to stand. Preferably both, actually.
>


Regarding page templates in a sub-folder, you might want to read this:

http://core.trac.wordpress.org/ticket/10959


-- 
http://scribu.net


More information about the wp-hackers mailing list