Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
WordPress plugin that adds device-specific class names to the body tag
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
=== Device Body Class === Contributors: bradvin Tags: body class,mobile,responsive Requires at least: 3.5.1 Tested up to: 3.5.2 Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Appends device-specific class names onto the body tag == Description == Device-specific class names are appended to the body tag using the body_class filter. Uses the [MobileDetect](https://github.com/serbanghita/Mobile-Detect) class under the hood. The following class names are appended if appropriate: * tablet * mobile * desktop * iphone * ipad * android * blackberry * windows_mobile * samsung * kindle * lynx * gecko * opera * ns4 * safari * chrome * ie == Installation == 1. Upload directory `device-specific-class` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress == Changelog == = 1.0.0 = * First release