-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
42 lines (26 loc) · 955 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
=== 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.