Skip to content

Wordpress wrapper for the Mobile Detect lightweight PHP class for detecting mobile devices

Notifications You must be signed in to change notification settings

mattberg/wp-php-mobile-detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

=== WP PHP Mobile Detect ===
Contributors: mattberg
Donate link: 
Tags: mobile, ios, android, tablet
Requires at least: 3.0
Tested up to: 3.4
Stable tag: 0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Wordpress wrapper for the Mobile Detect lightweight PHP class for detecting mobile devices.

== Description ==

Wordpress wrapper for the Mobile Detect lightweight PHP class for detecting mobile devices. Add simple mobile detection to your theme.

= Usage =

`<?php
if (is_mobile()) {
	// do mobile specific action
}
?>`

== Installation ==

1. Upload the `wp-php-mobile-detect` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress

== Changelog ==

= 0.1 (December 3, 2012) =
* Initial public release!

About

Wordpress wrapper for the Mobile Detect lightweight PHP class for detecting mobile devices

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages