I was wondering if there exists a plugin to change the theme dynamically based on the user agent. I search in the plugins directory, but couldn’t find anything.
What I’m looking for is for the admin to enter a regex to match to the user agent, and choose one of the themes if that regex is matched. They should be able to enter as many regexs as they like.
I’ve seen a couple plugins that change to a specific theme based on a specific user agent (for example, WPTouch to get an iPhone-optimized site, or WordPress Wii Edition to get a Wii-optimized site), but I want something more generic.
If none exists, I’ll probably write one myself. It shouldn’t be too hard.
- The topic ‘Plugin to switch themes based on user agent?’ is closed to new replies.