(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-5276656-4', 'mobileesp.com'); ga('send', 'pageview');

MobileESP as a WordPress Plugin

James Mehorter has kindly supported MobileESP in the past and helped identify a couple of holes in the MobileESP detection code (usually around random BlackBerry devices). (And yes, we’ve added some of them to our official new useragent test list.)

Well, James has published a mobile device detection plugin for WordPress using MobileESP. From the official description:

“Device Theme Switcher” by James Mehorter uses MobileESP to let theme developers and website administrators select which WordPress theme is delivered to Handheld devices, and which theme is delivered to tablet devices, while still showing the primary theme to computer users.  http://wordpress.org/extend/plugins/device-theme-switcher/ 

Thanks for your hard work on that project, James! Those are good download numbers, too. The last time I looked, the plugin had around 5,000 downloads.

Owner of the MobileESP project. For the latest source code downloads, visit: https://github.com/ahand/mobileesp

Posted in Projects Using MobileESP
One comment on “MobileESP as a WordPress Plugin
  1. BandonRandon says:

    There is also the plugin I developed which is great if you already have a mobile site set up. Called MobileESP for WordPress http://wordpress.org/extend/plugins/mobileesp-for-wordpress/