WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am familiar with responsive websites and totally prefer it over working with different mobile versions, however, I have a case where there is a site that is alreay built and it is not responsive and wasn't even built for mobile view unfortunately. my challenge is to make it compatible with mobile so I decided to build a new theme that is targeted for mobile so when viewers are viewing the site on mobile they will be redirected to another theme.

in order to achive that I am working with Any Mobile Theme Switcher

Now, that works fine but thats not the end of the story. I want that theme to also appear on ipad portrait orientation. I dont need landscape because I wrote media queries for that but for portrait view I would like to display the new mobile theme that I am building.

anyone has an idea how to do it?

Thanks Gil

share|improve this question
The problem is that the orientation is something you only know once the page is already loaded. So the only way to change the theme then is to reload the whole page with another theme. So every time the user turns its device you would need to reload the page. This doesn't feel like a good idea. – kraftner Feb 20 '14 at 8:13
This question might help – rahilwazir Feb 20 '14 at 9:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.