Hi,
I'm trying to do the theme that wordpress loads is variable on the fly.
For exemple: a user from a country loads 'wp-content/themes/maintheme/' and another user loads 'wp-content/themes/anothertheme/'.
Someone could tell me how you would do?
Thanks.
Did you look at 'template' and 'stylesheet' filters ?
Yeah, I tried it, but it doesn't work well, has already been charged 'index.php' and doesn't change total template, only the calls 'get_loop' and similars.
Look how it is done by the theme switcher plugin. These filters are used. Although the plugin has not been updated for a while, it was reported to work at least with 3.2.1.