-
Notifications
You must be signed in to change notification settings - Fork 0
trembl/checkDevice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== checkDevice === Contributors: trembl Donate link: Tags: mobile, conditional, media, queries, functions Requires at least: 3.0 Tested up to: 3.4.1 Stable tag: trunk Helper plugin that provides conditional functions for detecting a variety of mobile devices & tablets. Perfect accompaniment to CSS Media Queries. == Description == == Installation == To install this plugin: 1. Upload the `mobble` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 1. You can now use `<?php is_mobile(); is_tablet(); is_desktop() ?>` functions in your template == Frequently Asked Questions == = What functions are available? = The most useful ones are: `<?php is_mobile(); // any type of mobile phone (iPhone, Android, Nokia etc) is_tablet(); // any tablet device (currently iPad, Galaxy Tab) is_desktop(); // any other device ?>` == Screenshots == == Changelog == = 1.0 = * Initial release.
About
Wordpress plug-in for checking the device. Uses User Agent stings and window width.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published