- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by .
- The topic ‘Mobile vs Desktop switching question:’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I am working on a site with such incredible client-specified details about how it needs to look on mobile vs desktop that it's essentially two different sites (or at least two different home pages). So I'm wondering about simply making two version of the homepage and using a detector to decide which page loads (vs loading all the elements for both, and using display:none to hide half the stuff with media queries).
Has anyone dealt with this before?
This particular issue involves galleries, plugins and other modules that I would rather not load twice per page and then hide half of them. 🙂
I found this plugin (linked below) and am wondering if it's a good idea, or if there are better options for serving up completely different page designs for mobile vs desktop?
Thank you in advance.
Thank you Sridhar. Conditionals are a great approach. I bought the Mobile Smart Pro plugin at Codecanyon, because in addition to is_mobile, it let me set a totally different homepage for mobile vs desktop, which turned out to be the easiest solution.
I'm terrified now that the plugin will eventually be abandoned, but figure that by paying for it, I can help ensure that it will be supported into the future.
Since buying into Studiopress over 5 years ago, I've seen so many themes and plugins rise, fall, and be abandoned. It's nice Studiopress is still here.
© 2023 WPEngine, Inc.