Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Load jQuery mobile and related css file from google apis

A simple plug-in that you can code to activate/deactivate when detecting mobile devices. It can possibly interfere with non-mobile procedures.

This plug-in is designed to be activated/deactivated through coding, it requires that jQuery be in place before hand, and checks to make sure this is so. It takes one argument, a variable, which can easily be edited. This variable allows you to choose which version you want loaded. It will get the jQuery minified library and the core jQuery mobile css files from the google apis repository. It registers the script via wp_register_script, and then enqueues the script via wp_enqueue_script. It will then load the style via wp_enqueue_style. My thinking was to activate/deactivate this plugin upon determining if or not a mobile device is requesting data, in conjunction with switching templates (via coding). IE: if mobile, switch to mobile template and activate plug-in, if not, load default template and ensure plug-in is deactivated.

Requires: n/a or higher
Compatible up to: 3.8.17
Last Updated: 3 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.