WordPress.org

Ready to get started?Download WordPress

Forums

PHP Browser Detection
[resolved] How to detect android tablets e.g. Samsung Note (3 posts)

  1. bravenm
    Member
    Posted 4 months ago #

    Hi,
    I have recently opened a site on my Samsung Note tablet and find that the mobile navigation is appearing.

    I am using:
    if(is_mobile() && !is_ipad()) { display mobile navigation } else { desktop navigation }

    This works fine for mobile, desktop, and ipad, but my android tablet displays the mobile navigation. I really love your plugin, but this is a big problem. Your previous post from 6 months ago stated this was on a "to do list". Any luck?

    Thanks!

    https://wordpress.org/plugins/php-browser-detection/

  2. Mindshare Studios, Inc.
    Member
    Plugin Author

    Posted 3 months ago #

    You can always use the more generic function get_browser_name() and handle specific tablets as you see fit.

  3. Mindshare Studios, Inc.
    Member
    Plugin Author

    Posted 3 months ago #

    Please test the new version released today.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.