[wp-hackers] using different templates with in one wordpress installation.

Ryan McCue lists at rotorised.com
Fri Mar 2 04:59:12 UTC 2012


John Blackbourn wrote:
> You can control the template and the stylesheet using the 'template'
> and 'stylesheet' filters respectively. Example:
> http://pastebin.com/zrcdV0Px . If you don't use child themes then you
> can use the same callback function for both filters.

Important note: this will still load the stored template/stylesheet's 
functions.php, as that uses TEMPLATEPATH/STYLESHEETPATH.

That's being tracked as #18298: http://core.trac.wordpress.org/ticket/18298

-- 
Ryan McCue
<http://ryanmccue.info/>


More information about the wp-hackers mailing list