Add Device Type to Body Class

by Aftab Ali Muni · version 1.0

This plugin is used to add type of device (mobile, tablet, desktop) in body class of wordpress website. This class is used to add device specific CSS.

Active sites
at least 50

WordPress.org shows 50+, ranked #20,125 of 80,362 plugins, placed by its minimum. Data collected (UTC). How we estimate

Key facts

As of (UTC), Add Device Type to Body Class runs on at least 50 WordPress sites, ranked #20,125 of 80,362 plugins, placed by its minimum.

  • Active sites (2026-11-25): at least 50 (WordPress.org shows 50+)
  • Overall rank: #20,125 of 80,362 WordPress.org plugins, placed by its minimum
  • Maker: Aftab Ali Muni

Rank in each tag

  1. #4 of 15 in desktop, placed by its minimum
  2. #6 of 14 in tablet, placed by its minimum
  3. #1 of 1 in add device type to wordpress, placed by its minimum
  4. #1 of 1 in add mobile to body class, placed by its minimum
  5. #1 of 1 in device specific css, placed by its minimum

Competitors

  1. Nginx Mobile Theme: at least 200 sites, at least 141 ahead · Compare
  2. isMobile() Shortcode for WordPress: at least 100 sites, at least 41 ahead · Compare
  3. ICWT Responsive Device Preview: at least 70 sites, at least 11 ahead · Compare
  4. Mobile Banner: at least 40 sites, at least 1 behind · Compare
  5. Theme Switch in Mobile and Desktop: at least 30 sites, at least 11 behind · Compare
  6. ODD: at least 30 sites, at least 11 behind · Compare

On WordPress.org

  1. Rated 5.0 of 5 from 1 reviews
  2. Tested up to WordPress 6.4.15
  3. Requires WordPress 3.2 or newer
  4. Requires PHP 5.0 or newer
  5. Last updated Nov 26, 2023
  6. In the directory since Jan 21, 2019
  7. 2,858 downloads