51Degrees
Forum Replies Created
-
Lite data file only allows to distinguish between Mobile and Non-Mobile devices. However if you have Premium data, then you can create one rule for the IsTablet property and another rule for the IsMobile property which should achieve exactly what you want.
Lite data also contains screen width and height property for mobile devices. It is possible to set up a rule based on screen size parameters, although less exact, it will allow to redirect at least part of the Tablet users.
Forum: Plugins
In reply to: [Mobile Device Detection by 51Degrees] Force desktop siteWordPress code (and therefore 51Degrees code) runs before the page code loads, so there’s a good chance that a redirection has already been scheduled before your switch is set. After your switch is set try redirecting to the page to you desktop site again. You can see a working implementation in the Wave theme bundles with the plugin.
Thanks,
TomForum: Plugins
In reply to: [Mobile Device Detection by 51Degrees] Force desktop siteHi, Thanks for the support.
The switcher can be disabled by setting a session variable called NO_SWITCH to true:
$_SESSION['NO_SWITCH'] = TRUE; // no switching will occurI hope this is useful to you. We’d love to hear any feedback that could be used to improve the plugin.
Thanks,
TomHi,
What version of the plugin are you using? Also, do you know what version of PHP your site is running on?
Thanks,
Tom