WP Manifestindependent plugin directory
manifest / utilities / detect-remote-device

Detect Remote Device

A WordPress plugin that adds additional functions and shortcodes to modify output by device type - mobile, tablet or desktop.

by Daniel M. Hendricks · github.com/dmhendricks/detect-remote-device · website

3stars
4release downloads
1forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/dmhendricks/detect-remote-device/releases/download/0.1.0-alpha/detect-mobile-device.zip

Declares an update source (dmhendricks/detect-remote-device), so updates arrive through the plugin's own updater.

From the readme

Detect Remote Device Plugin for WordPress This WordPress plugin is uses the Agent and DeviceDetector PHP libraries to extend wpismobile() to (optionally) exclude tablets and add device-specific filters and shortcodes. It was inspired by Pothi Kalimuthu's Mobile Detect plugin. Special Thanks I would like to thank BrowserStack for graciously allowing me to test this plugin's device detection on their platform. If you're looking for seamless application and browser testing for your projects, give them a try: Requirements - WordPress 4.7 or higher - PHP 5.6 or higher If you're not sure if you meet these requirements, the plugin will tell you upon activation. TODO - [x] Add OS-specific detection - [ ] Add [browseragentis] shortcode - [x] Add querystring modifiers - [x] Add support for getting device type from request headers Installation Download the distributable ZIP file from the Releases page and install as you normally do for a WordPress plugin. Configuration The following constants are available to modify behavior. They may be defined in your wp-config.php: - DMDDISABLEGLOBALFUNCTIONS - If defined as true, global functions will not be created. - DMDDISABLESHORTCODES -

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
0.1.0-alpha Apr 1, 2019 detect-mobile-device.zip 4