How to use the desktop version for tablets?

Posted in: Newspaper
Post count: 5

Hello,
We are using the new function with mobile pages. But after crating such for our site, we realised that this mobile version is displayed both in viewport and landscape views on on tablets (Ipad).

Is there a way to set so the standard pages or templates to be used on tablets.

Post count: 21065

Hello!

Mobile pages are built to apply both on portrait and landscape versions of mobile devices. Some tablets which have a smaller screen resolution than 768 pixels will enter in this category of devices.
Also, mobile pages will always have priority over standard pages or templates in the case mention above.

Thank you!

Post count: 5

Hi and thank you.
But in this case i’m looking at an Ipad air 2 with retina resolution (2048×1536).
The site shows the mobile pages both in portrait and landscape. However it show the Desk top version menu.

Do you have any idea how to solve this?
The site is at:
https://ecoptimist.se

Post count: 21065

Hello!

If you use a CDN service like Cloudflare and you have some cache on html page, mobile pages won’t work. Mobile templates were only tested using the WP Super Cache plugin and in this case you need to activate the Mobile Support function.
For example, check this: https://support.cloudflare.com/hc/en-us/articles/360021023712-Best-Practices-Speed-up-your-Site-with-Custom-Caching-via-Cloudflare-Page-Rules
Let us know about your results!

Thank you!

Post count: 5

Thanks, I will check it out and if the problem persists, I’ll come back to you

Best regards
/Jan

Post count: 5

Hello again,
I have now checked this by turning off Cloudflare caching and/or WP Super Cache.
I have also checked with turning of JetPack and it’s CDN.

Turning off WP Super Cache helps. Even if all other plugins are active.
But with WP Super Cache active, the mobile pages starts to show, not directly but after some time. And not all of them at the same time.

Maybe you can test with this plug in a little more.

Thank you

Jan

Post count: 21065

Hello @JanGud!

Please check this and activate Late Init: https://forum.tagdiv.com/topic/cache-problem-when-editing-frontpage/

Thank you!

Post count: 5

Hello,

We have now tried with the Super Cache settings as mentioned above.
Unfortunately it doesn’t help entirely.

After a while, the mobile page version starts to show (chrome on Ipad air 2) both in normal and landscape views.

For Safari it seems to work better. (at least for now.)

Please let me know if I can provide you with more details in helping you to have this solved.

Thanks!

Jan

Post count: 21065

Hello !

Unfortunately, we have no solution for now. We’re sorry for the inconvenience! It is a misunderstanding. This issue is not related to the Super Cache plugin or a CDN service.
Theme mobile devices are detected by user-agents, so the mobile templates where designed to apply on all these devices.

Thank you !

  • This reply was modified 5 years by Bettina.
Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.