straightvisions.comstraightvisions.com
design follows function();productsservicesabout uspartnerslogin

Mobile Device Detect for Wordpress

This Wordpress plugin integrates the mobile device detect function from detectmobilebrowsers.mobi in wordpress. It allows to redirect mobile visitors to a custom target URL.

mobile_device_detect_screenshot.png

Mobile Device Detect for Wordpress is licensed to GNU General Public License v3. Please note that you also have to download the mobile device detect code from Andy Moore to get this Wordpress plugin work. It has it's own license, you have to confirm it, too.


How to install:

  1. Download the zip-file attached below
  2. extract zip-file and copy folder mobile_device_detect including file loadMobileDeviceDetect.php to your wordpress plugin directory
  3. Download mobile device detect zip archive from detectmobilebrowsers.mobi
  4. extract zip-file and copy file mobile_device_detect.php into previous copied folder mobile_device_detect in your plugin directory
  5. Go to plugin-list in Wordpress and activate plugin named Mobile Device Detect
  6. You'll now see a new menu entry named Mobile Detect where you are able to configure the plugin.


How to prevent redirecting in special cases:


You are able to prevent redirecting by sending the following parameter via GET or POST to your site:
mobile_dd=non_mobile

Examples:
  1. GET: <a href="http://yourblog.com/?mobile_dd=non_mobile">View fullversion of this page</a>
  2. POST: <form action="http://yourblog.com/" method="post" /><input type="hidden" name="mobile_dd" value="non_mobile" /><input type="submit" value="View fullversion of this page" /></form>
After the user has clicked on the link or form above, this setting will be saved during the current browser session.

Have fun smile.gif

Download


Download File mobile_device_detect.zip (1.55 Kbyte), Hits: 138