Skip to content

trembl/checkDevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

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

No packages published