[wp-hackers] Change theme per user / mobile

Ryan McCue lists at rotorised.com
Thu May 17 12:07:31 UTC 2012

Robert Lusby wrote:
> Which seem to update the StyleSheet path and Image paths to use the new
> theme, however WordPress is still loading the physical *.php (index.php,
> front-page.php, home.php etc) files from the *database* set themes
> folder, and not the new themes folder.

Those filters work, but at the moment, not everything is converted to 
use them. Things which still use TEMPLATEPATH and STYLESHEETPATH won't 
work: http://core.trac.wordpress.org/ticket/18298

Unfortunately, it means there's no good way to ensure that a different 
theme is loaded.

Ryan McCue

More information about the wp-hackers mailing list