I have looked around and can not find anything that fully works for my issue I want to be able to set the home page template on the fly when a user is visiting from a mobile phone but not a tablet I already have this check in place. However I am able to change the whole theme on all pages when a visitor is on a phone but there does not seem to be a way to only change the template/theme on the home page. Due to the only way I know for sure is checking is_front_page() which does not exist when you hook to change the theme. I also want to try to do this without redirecting to another page if possible. Any help would be appreciated.
- The topic ‘Use a different template if mobile only on home page’ is closed to new replies.