LH Add Roles to Body Class WordPress Plugin | Codefreex Skip to content
LH Add Roles to Body Class icon

WordPress plugin

LH Add Roles to Body Class

Adds the currently logged in users role (or roles) to the body class in both the front and back end.

By shawfactor30+ active installs5.0 out of 5
Active installs
30+
Rating
5.0 / 5
Version
1.01
Last updated
Jul 29, 2022
Tested up to
WordPress 6.0.19
Requires
WP 5.0

Health check

Is LH Add Roles to Body Class safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on July 29, 2022. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 6.0.19. It often still works, but check on staging first.

Few ratings so far

Only 1 ratings on WordPress.org, so the average is not yet a reliable signal.

Rank tracker

Where LH Add Roles to Body Class ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for LH Add Roles to Body Class
KeywordPositionChangeTrendCurrent #1
body(WordPress.org search, opens in a new tab)Not in top 100First checkAdmin and Site Enhancements (ASE)200K+ installs
html(WordPress.org search, opens in a new tab)Not in top 100First checkInsert Html Snippet20K+ installs
role(WordPress.org search, opens in a new tab)Not in top 100First checkMembers – Membership & User Role Editor Plugin300K+ installs
tag(WordPress.org search, opens in a new tab)Not in top 100First checkGTM4WP – A Google Tag Manager (GTM) plugin for WordPress700K+ installs
lh add roles(WordPress.org search, opens in a new tab)1First checkLH Add Roles to Body ClassThis plugin30+ installs

Checked against the top 100 WordPress.org search results on .

Overview

What LH Add Roles to Body Class does

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.

Description from the author's listing. Read the full listing on WordPress.org

FAQ

LH Add Roles to Body Class: questions and answers

What is LH Add Roles to Body Class?

LH Add Roles to Body Class is a WordPress plugin by shawfactor. Adds the currently logged in users role (or roles) to the body class in both the front and back end.

Is LH Add Roles to Body Class free?

LH Add Roles to Body Class is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use LH Add Roles to Body Class?

WordPress.org reports 30+ active installations of LH Add Roles to Body Class. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is LH Add Roles to Body Class still maintained?

LH Add Roles to Body Class was last updated on July 29, 2022. The current version is 1.01. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does LH Add Roles to Body Class require?

LH Add Roles to Body Class requires WordPress 5.0 or newer. It has been tested up to WordPress 6.0.19.

Can Codefreex set up or customize LH Add Roles to Body Class?

Yes. Codefreex installs, configures and customizes WordPress plugins including LH Add Roles to Body Class, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need LH Add Roles to Body Class set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us