R
R
Ruslan Makarov2015-04-18 11:51:12
Mobile development
Ruslan Makarov, 2015-04-18 11:51:12

Mobile version of the site - How to implement such a sequence in Wordpress?

Hello.
The goal is to create a mobile version of the site according to the following scheme (On Wordpress):
- There is a main theme, fill in the second (mobile)
- Determine if the visitor comes from a mobile device
- Ask him if he wants to switch to the mobile version or not (like softportal .com), thus giving him a choice.
- If yes - load the site on the second theme (mobile), and show a link to the full version, giving him the opportunity to go to it if he wants.
- If not, open the site as usual.
This is the most ideal option for "fitting" the site for mobile! Since:
- No subdomain
- No adaptation of the main design
- 1 site, 1 base, 2 themes = 2 versions, choose the one you need!
But that's in theory! Is it possible to do it in practice, observing some conditions:
- Without a plugin
- To work, not only on the main page, but on all pages.
I repeat - this is a theory, is it possible in practice?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alex, 2015-04-18
@mr_ko

The company had a similar problem. Everything is quite feasible.
Do not write any nonsense about plugins!
In this case, a plugin is indispensable. Because the theme needs to be changed on the fly, so in the admin panel you can only configure the main theme, all sidebars and mobile settings need to be implemented through the plugin (this can be considered the only crutch).
It took us about 40 hours to complete the entire work with the layout of the mobile version.

S
Sergey Shilov, 2015-04-18
@Olivoin

I absolutely do not understand the meaning of this. How will you study traffic from mobile devices in detail? If you need a redneck method (and you have a redneck method), then when defining a user agent, delete it from the file with an adaptive cascade))))))

V
Vitaly B, 2015-09-21
@vitaliy_balahnin

it's easier to use wptouch. or connect different css by user-agent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question