plugin-icon

azurecurve Mobile Detection

作者:azurecurve·
Plugin providing shortcodes and functions to allow different content to be served to different types of device (Desktop, Tablet, Phone); also includes …
版本
2.0.3
活跃安装
10
最后更新
Dec 6, 2018

Plugin providing shortcodes and functions to allow different content to be served to different types of device (Desktop, Tablet, Phone); also includes checks on types of device (iOS, iPhone, iPad, Android, Windows Phone) and mobile browsers (Chrome, Firefox, IE, Opera, WebKit).

The following shortcodes are available: * ismobile * isnotmobile * isphone * isnotphone * istablet * isnottablet * isios * isiphone * isipad * isandroid * iswindowsphone (alternative shortcode iswp) * iswindowsmobile (alternative shortcode iswinmo) * ischrome * isfirefox * isie * isopera * iswebkit * istv * isconsole

All shortcodes available as functions with an azc_md prefix for calling from themes, other plugins, etc. For example, is_mobile available as function azc_md_is_mobile.

Uses PHP Mobile Detect class, the lightweight PHP class for detecting mobile devices (including tablets), from http://mobiledetect.net/.

This plugin is multisite compatible.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.0.0
这个插件是可用的下载,适用于您的站点。