Change theme if mobile browser detected.
I’m using Tera-WURFL to detect whether my bbpress forum is being accessed by a mobile browser.
I also have a specific theme (1col_fixed, I think it’s called) that works very nicely in mobile browsers.
Now, what I want to do is to have bbpress use the 1col_fixed theme when a mobile browser is detected, and use my default theme otherwise. What function(s) do I call to set the currently activated theme to a different theme? And how do I make it ‘stick’ just for the mobile user — cookies? sessions?
Thanks so much if anyone can help me.
- You must be logged in to reply to this topic.