Create a mobile site for already existing Wordpress site

I want to build a mobile website for an already existing Wordpress site. I prefer to redirect the users to the mobile site automatically if the user is browsing from a mobile device. I will also need to change the contents of the pages regularly and may have to add more pages over time. But I do not want to create two different copies of the same page for desktop and mobile.

Please suggest the best option to go forward with this situation.

Thanks.

Answers


I think you would pretty much have to design your theme to dynamically change what it's doing as needed. This might just be a matter of activating the right style sheets or it might be more complicated.

There's a good book on this subject you might want to check out.

http://www.amazon.com/Professional-Development-WordPress-Programmer-ebook/dp/B004T6RKT0/ref=dp_kinw_strp_1?ie=UTF8&m=AG56TWVU5XWC2


You want two sites with the same content, but you don't want to enter the content twice, and for some reason you don't want the site to be responsive. That makes things difficult.

Theoretically you could have both sites taking their information from the same database but in reality it just makes so much more sense to build a responsive site.

In any case, if you must have two sites, you can start by detecting mobile devices with this PHP class.


Need Your Help

Flux Pagination

javascript pagination reactjs flux

I'm anxious to see an example of pagination in a flux environment, I can't wrap my mind around how that would work. I've taken a look at redux's example, but that's not really pagination, just a "l...

I need a language dictionary

asp.net asp.net-mvc language-agnostic dictionary spell-checking

I need to add dictionary facilities to an Asp.net MVC app. Does anyone know a library that I could use? Where can I get word definitions from?