switching templates for mobile
-
I’m trying to switch themes when a user uses a mobile phone to browse the page. at first, the switch_theme() function seems like the way to go, but since it uses update_option to change the theme, my guess is that the change is permanent.
Is there a way to just load a specific theme depending on the users browsers? I already have the mobile detection done, I don’t suppose I can use something like add_filters()?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘switching templates for mobile’ is closed to new replies.