[wp-hackers] Template Redirection

Carthik Sharma carthik at gmail.com
Wed Aug 25 02:21:13 UTC 2004


I guess it can be wholesale disabled by editing index.php ;)
Not a very smart solution, but it will work for sure.

Carthik.

On Tue, 24 Aug 2004 22:06:22 -0400, David Chait <davebytes at comcast.net> wrote:
> 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.
> > ...
> 
> 
> 
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> 


-- 
When nothing is done, nothing is left undone -- 老子 Lǎozi

University of Central Florida
Homepage: http://carthik.net



More information about the hackers mailing list