Viewing 1 replies (of 1 total)
  • Plugin Author Joe Rhoney

    (@joerhoney)

    AddFunc Mobile Detect does not have the option of redirect tablets at this time, so us should be fine. If you wanted to redirect tablets the same as mobile devices, you could change line 48:

    if(!$detect->isMobile() || $detect->isTablet()) return; # Desktop or tablet = Abort

    to this:

    if(!$detect->isMobile()) return; # Desktop or tablet = Abort

    This may seem a little confusing, because by default, MobileDetect.php counts tablets as mobile devices too. So here, we’ve had to implicitly say DON’T redirect if it IS a tablet.

    Let me know if that answers you question or not.

Viewing 1 replies (of 1 total)

The topic ‘Tablets?’ is closed to new replies.