Title: mobile
Last modified: August 22, 2016

---

# mobile

 *  Resolved [projectmunton](https://wordpress.org/support/users/projectmunton/)
 * (@projectmunton)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mobile-38/)
 * Looks like a very slick plugin 🙂
 * Just a quick question … what defines a is_mobile()? is it based on screen size
   or is there some server side detection happening?
 * does it cover tablets?
 * Many thank in advance
 * [https://wordpress.org/plugins/wp247-body-classes/](https://wordpress.org/plugins/wp247-body-classes/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [wescleveland](https://wordpress.org/support/users/wescleveland/)
 * (@wescleveland)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856333)
 * The is-mobile class is based on the results returned from WordPress [wp_is_mobile()](http://codex.wordpress.org/Function_Reference/wp_is_mobile)
   function. Documentation for this function can be located at [http://codex.wordpress.org/Function_Reference/wp_is_mobile](http://codex.wordpress.org/Function_Reference/wp_is_mobile).
 * wp_is_mobile() makes its decision based on the HTTP_USER_AGENT value that is 
   provided by the browser. It has nothing to do with screen size. The following
   HTTP_USER_AGENT values result in wp_is_mobile() returning TRUE and thus, the 
   is-mobile body class being set.
    - Android
    - Silk/
    - Kindle
    - BlackBerry
    - Opera Mini
    - Opera Mobi
 * Any other HTTP_USER_AGENT value results in wp_is_mobile() returning FALSE and
   the is-not-mobile body class being set.
 *  Plugin Author [wescleveland](https://wordpress.org/support/users/wescleveland/)
 * (@wescleveland)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856345)
 * Not sure what you mean by “does it cover tables?” Can you elaborate?
 *  Thread Starter [projectmunton](https://wordpress.org/support/users/projectmunton/)
 * (@projectmunton)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856351)
 * Hi, thats great and thanks for the quick reply 🙂
 * The other query was “tablets” as opposed to “tables”, so the likes of iPad etc…
   but your initial reply covers it
 * Thanks again
 *  Plugin Author [wescleveland](https://wordpress.org/support/users/wescleveland/)
 * (@wescleveland)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856354)
 * Oops. Sorry about that. What a difference that little “t” makes.
 *  Thread Starter [projectmunton](https://wordpress.org/support/users/projectmunton/)
 * (@projectmunton)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856402)
 * 🙂 for sure … spelling v semantics … have been there a few times 😉
 * excellent plugin … good luck with the downloads !!
 *  Plugin Author [wescleveland](https://wordpress.org/support/users/wescleveland/)
 * (@wescleveland)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856589)
 * Just an FYI – you asked for it, we delivered. WP247 Body Classes version 1.1 
   now supports various mobile attributes as determined by mobiledetect.net’s **
   Mobile_Detect** script. One of those attributes is whether or not the mobile 
   device is a tablet. So, you can activate and then use **.is-tablet** or **.is-
   not-tablet** body classes.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘mobile’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp247-body-classes.svg)
 * [WP247 Body Classes](https://wordpress.org/plugins/wp247-body-classes/)
 * [Support Threads](https://wordpress.org/support/plugin/wp247-body-classes/)
 * [Active Topics](https://wordpress.org/support/plugin/wp247-body-classes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp247-body-classes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp247-body-classes/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [wescleveland](https://wordpress.org/support/users/wescleveland/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/mobile-38/#post-5856589)
 * Status: resolved