WordPress.org

Ready to get started?Download WordPress

Forums

Mobile Detector
[resolved] iPad 1 displaying as desktop using Chrome (2 posts)

  1. consumedesign
    Member
    Posted 11 months ago #

    Using the simple:

    if (MobileDTS::is('android')) {
        echo 'android';
    } else if (MobileDTS::is('ios')) {
        echo 'ios';
    } else if (MobileDTS::is('mobile')) {
        echo 'mobile';
    } else {
        echo 'No';
    }

    I get No on my iPad 1 using Chrome, works in Safari... any fix for this?

    http://wordpress.org/plugins/mobile-detector/

  2. consumedesign
    Member
    Posted 11 months ago #

    Ah NM one of the kids hit Request Desktop Version in Chrome.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags