[wp-hackers] Template Redirection

David Chait davebytes at comcast.net
Wed Aug 25 02:06:22 UTC 2004


Cool feature, though a bit 'wasteful' on processing -- just a teensy bit,
but still...  It should really be a feature that can be wholesale
disabled/enabled at the least.  IMHO.

d

----- Original Message ----- 
From: "Ryan Boren" <ryan at boren.nu>
To: "WordPress Hackers" <hackers at wordpress.org>
Sent: Tuesday, August 24, 2004 1:07 PM
Subject: [wp-hackers] Template Redirection


> In CVS is some experimental code which can load different templates for
> different query types, all from index.php.  For example, if the query is
> for a category, we check to see if wp-content/category.php exists.  If
> so, we use it instead of index.php.  The same is true of authors, single
> posts, dates, archives, and so forth.  If you do not provide alternative
> templates in wp-content, index.php behaves the same way it ever has.
> ...





More information about the hackers mailing list