Plugin info

Total downloads: 1,299
Active installs: 30
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 7/29/2022 (1251 days ago)
Added to WordPress: 5/24/2018 (7 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.0.11
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1251 days ago • 1 reviews

22/100

Is LH Add Roles to Body Class abandoned?

Possibly abandoned (last update 1251 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.0.11
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Custom Body Class
Rating 5.0/5 (21 reviews)Active installs 10,000
Add Custom Body Class
Rating 5.0/5 (8 reviews)Active installs 1,000
Add URL Slugs as Body Classes
Rating 4.8/5 (5 reviews)Active installs 800
Slug as body class
Rating 5.0/5 (6 reviews)Active installs 100
Add Custom Post Type Slugs to Admin Body Class
Rating 5.0/5 (1 reviews)Active installs 10
OS Adder
Rating 0.0/5 (0 reviews)Active installs 10

Description

Ever wanted to style your content differently depending on the role of the logged in user viewing your content?

Well now you can, simply activate the plugin and you are right to go.

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

Installation

  1. Upload the entire lh-add-roles-to-body-class folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That is it

Frequently Asked Questions

Why would I want this?

So you can add CSS selectors based on those classes to override and modify your site design.

For example a red background for an administrator

.role-administrator { background-color: red; }

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.00 May 20, 2018
Initial release

1.01 June 12, 2019
Bettter code architecture