Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change theme if mobile browser detected.


  • Dark Siren Sally
    Member

    @dark-siren-sally

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.