WordPress.org

Plugin Directory

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.8
Last Updated: 2014-2-27
Active Installs: Less than 10

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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