• 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you look at ‘template’ and ‘stylesheet’ filters ?

    Thread Starter JotaL

    (@jotal)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Totally switch theme on fly without plugin’ is closed to new replies.