MX Mobile Detect is a lightweight plugin for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
{if "{exp:mobile_detect:device}" != "not_mobile"}
...
{/if}d
{if "{exp:mobile_detect:device}" == "not_mobile"}
...
{/if}
{if "{exp:mobile_detect:isphone}"}
is phone
{/if}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.