Heya,
So I need to build a mobile theme but I'm struggling to figure out how to tell WordPress to use mobile-theme.php (or whatever) as a template for mobile users (specifically iPhone and Android).
Can anyone give me some help? Thank you!
Heya,
So I need to build a mobile theme but I'm struggling to figure out how to tell WordPress to use mobile-theme.php (or whatever) as a template for mobile users (specifically iPhone and Android).
Can anyone give me some help? Thank you!
I think that what you are after is the use of media queries.
Have a look at this tutorial - http://www.vanseodesign.com/css/media-queries/
Hi Christine, thanks for your response. Though I actually already understood that I'll need to use media queries, but I also need a separate template file all together. Because the content and formatting on the mobile site is somewhat different than the desktop version.
Thanks again though!
You must log in to post.