• My Google Pixel 5 is not recognized as either an Android or Mobile device. Neither of the following appears on it:

    [wonderplugin_cond deviceinclude=”iPod,iPhone,iPad,iOS,Android,Mobile,Windows,Mac,Linux”]
    Test
    [/wonderplugin_cond]

    [wonderplugin_cond deviceexclude=”iPod,iPhone,iPad,iOS,Android,Mobile,Windows,Mac,Linux”]
    Test
    [/wonderplugin_cond]

Viewing 1 replies (of 1 total)
  • Thread Starter johnzeiger

    (@johnzeiger)

    The following PHP does not display anything on a Google Pixel 5 either

    if ( wonderplugin_is_device(‘Mobile’) )
    {
    echo ‘This is a mobile or tablet’;
    }

    if ( wonderplugin_is_device(‘iPhone,iPad’) )
    {
    echo ‘This is an iPhone or iPad’;
    }

    if ( wonderplugin_is_device(‘Windows’) )
    {
    echo ‘This is a Windows PC’;
    }

    if ( wonderplugin_is_browser(‘Chrome’) )
    {
    echo ‘This is a Chrome browser’;
    }

    if ( wonderplugin_is_browser(‘IE,Edge’) )
    {
    echo ‘This is a Microsoft web browser’;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Google Pixel 5 Not Recognized’ is closed to new replies.