Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

LH Add Roles to Body Class

Beschrijving

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.

Installatie

  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

FAQ

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/

Beoordelingen

29 januari 2021 1 reactie
Great plugin, easy to use and a most have for all who needs different style depending on user roles
Lees 1 beoordeling

Bijdragers & ontwikkelaars

“LH Add Roles to Body Class” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “LH Add Roles to Body Class” naar jouw taal.

Interesse in de ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.00 May 20, 2018
Initial release

1.01 June 12, 2019
Bettter code architecture