MOBILE THEME PLUGIN DETECTION PROBLEM

Posted in: Newspaper
Post count: 4

I am using on my website your tagdiv mobile theme plugin.
How exactly your mobile theme plugin does it detect the device type?
My problem is that some times randomly i have responsive theme template on mobile and not the tagdiv mobile theme template.
My plugin for caching is litespeed and i need your answer to fix the issue with the help of litespeed support team.
My website is on production level so answer me ASAP please.

Post count: 27744

Hello,

If you use Lite Speed Cache, then please check if this plugin has the option for mobile version cache.
We recommend using only one cache plugin, the WP Super Cache plugin with this configuration: https://forum.tagdiv.com/cache-plugin-install-and-configure

Thank you!

Post count: 4

OK, but answer ASAP please in my question.
“How exactly your mobile theme plugin does it detect the device type?”

Post count: 35449

Hi vmertinos,
This question is a bit more complex, if css @media Rule is used for the responsive version, for the mobile theme plugin, our developers have implemented in the plugin a code to detect mobile devices, this code can be inspected on this path wp-content/plugins/td-mobile-plugin/Mobile_Detect.php
I hope this will help you!
Thank you!

Post count: 4

so what is i need to have the responsive version only for desktop and the mobile plugin for the rest?

Post count: 27744

Hello,

As my colleague told you, if you have the mobile theme plugin activated, it will detect the mobile version, but considering that you are using a cache plugin that does not have an option to detect the mobile version, problems will occur.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.