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

Mike Schinkel mikeschinkel at newclarity.net
Wed Jul 14 18:12:50 UTC 2010

Hi Kris,

I see Jake Goldman answered you so I won't duplicate his response. 
 OTOH you might be interested in learning that many others are working on similar. Here is a trac ticket that may gain some traction on the topic:



On Jul 14, 2010, at 7:31 AM, Kris Young wrote:

> Are there strict requirements from WordPress in regards to identifying
> and using templates within the file system? Two problems have come up
> since trying to organise my file structure a little better - I'm a
> stickler for tidy dev environments, and comprehensive file structuring.
> 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.
> Any way around this problem?
> Kris
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list