PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Mobile
  4. WP247 Body Classes
WP247 Body Classes icon

WP247 Body Classes

Add unique classes to the body tag for easy styling based on various attributes (archive, user, post, mobile, scrolling) and WordPress "is" …

By wescleveland·Mobile·Free
4.5(6 reviews)
·200 active installs·Updated 1 year ago
DownloadCompare

As of April 2026, WP247 Body Classes is a WordPress mobile plugin with 200 active installations and a 4.5/5 rating from 6 reviews. It has been downloaded 7.6K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2015. Last updated 1 year ago — may have compatibility concerns. Top alternative: AMP.

4.5/56 reviews
200active installs
7.6K+total downloads
11 yearssince 2015

Overview

Add unique classes to the body tag for easy styling based on post attributes (post type, slug, and ID) and various WordPress “is” functions:

  • wp_is_mobile()
  • is_home()
  • is_front_page()
  • is_blog()
  • is_admin()
  • is_admin_bar_showing()
  • is_404()
  • is_super_admin()
  • is_user_logged_in()
  • is_search()
  • is_archive()
  • is_author()
  • is_category()
  • is_tag()
  • is_tax()
  • is_date()
  • is_year()
  • is_month()
  • is_day()
  • is_time()
  • is_single()
  • is_sticky()
  • $post->post_type
  • $post->name
  • $post->ID
  • wp_get_post_categories() (Page/Post Categories)
  • wp_get_post_tags() (Page/Post Tags)
  • $user->nicename
  • $user->id
  • $user->roles
  • $user->allcaps
  • $archive->slug (e.g. Category slug, Tag slug, etc.)
  • $archive->id (e.g. Category id, Tag id, etc.)

Add post specific classes to the body tag in the post editor…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.56 reviews
5 ★
5
4 ★
0
3 ★
0
2 ★
1
1 ★
0

Compatibility

WordPress4.0+ requiredTested up to 6.5.8
PHPfalse+ required

Top Alternatives to WP247 Body Classes

AMP icon
AMP
3.8400K+ installsUpdated 11 months ago
ViewCompare
AMP for WP – Accelerated Mobile Pages icon
AMP for WP – Accelerated Mobile Pages
4.490K+ installsUpdated 1 month ago
ViewCompare
Responsive Menu – Create Mobile-Friendly Menu icon
Responsive Menu – Create Mobile-Friendly…
4.580K+ installsUpdated 1 month ago
ViewCompare
WP Mobile Menu – The Mobile-Friendly Responsive Menu icon
WP Mobile Menu – The Mobile-Friendly…
4.780K+ installsUpdated 9 months ago
ViewCompare
WPtouch – Make your WordPress Website Mobile-Friendly icon
WPtouch – Make your WordPress Website…
3.750K+ installsUpdated 4 months ago
ViewCompare
View all mobile plugins →

Frequently Asked Questions

Changelog

2.2.0

Added Mobile_Detect 3.74.0
Added Multipage Body Classes
Added is_singular()
Fixed is_single(), is_sticky()
Updated wp247 URL

View full changelog on WordPress.org

Contributors

wesclevelandwescleveland
Plugin Info
Version
2.2.0
Last Updated
May 24, 2024
WP Requires
4.0+
Tested Up To
6.5.8
PHP Requires
false+
Active Installs
200
Downloads
7.6K+
Added
Mar 2, 2015
Business
Free

Tags

mobilescrollpost typeuser rolesuser capabilities

Developer

W
wescleveland
5 plugins0.0M+ total installs
View all plugins →

Quick Compare

WP247 Body Classes vs AMP→WP247 Body Classes vs AMP for WP – Accelerated Mobile Pages→WP247 Body Classes vs Responsive Menu – Create Mobile-Friendly…→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.