0

how can I create a wordpress website that has two contents version (images on mobile version are different from desktop ones) and redirect visitors based on the device they are using. The both contents version will use the same theme.

6
  • If contents are different then you may need to use two different installation or perhaps a multisite setup.
    – Sisir
    Commented Jun 17, 2015 at 16:04
  • Thank you for your prompt answer @Sisir. But my main concern is how to detect visitors device or screen size and redirect them to the right content ?
    – lucas
    Commented Jun 17, 2015 at 16:21
  • 1
    What you are asking is hard to do efficiently and reliably. You are better off with media queries.
    – s_ha_dum
    Commented Jun 17, 2015 at 16:24
  • I see your point @s_ha_dum, I wonder how to target the element ot hide or show since I am not sure if the theme will give me control on Id's or classes
    – lucas
    Commented Jun 17, 2015 at 17:33
  • The theme has no choice but to give you control of its IDs and Classes. CSS starts with "cascading" for a reason.
    – s_ha_dum
    Commented Jun 17, 2015 at 17:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.