Detect Device

Generating Link:

Since version 2.4 the plugin detects the device based on screen size. Using “screen. width” that runs at the client-side using Javascript, so that we can avoid the issues if the cache plugin not detecting the devices.

(deprecated) However, now we can change this nature from plugin settings to “customize styles” settings.

Before 2.4, the plugin detects the device using HTTP user agent, because of some cache plugins which are not able to identify the devices,
we have changed the nature of detecting the devices for link generating.

Select Styles:

Styles selected on the server-side, the plugin detects the device based on WordPress function wp_is_mobile.

wp_is_mobile detects device based on HTTP User-Agent.


Note: If in your WordPress installation wp_is_mobile is not a function, then the plugin uses a custom function that detects the device using HTTP User-Agent.