I have a wordpress website, and I want my mobile visitors to view a different version of the website than my desktop visitors. I made two themes, one that I want to show to my desktop visitors and one that I want to show to my mobile visitors. I have tried to do this with the switch_theme(); function, but that function just changes the theme until you change it, not for just that visit. I also want to be able to add pages with custom templates to both of them, and I want to be able to change their sidebars. Can anyone tell me how to do this?
- The topic ‘Auto switch to mobile theme’ is closed to new replies.