Wopisanje
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.
Instalacija
- Upload the entire
lh-add-roles-to-body-class
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‚Plugins‘ menu in WordPress.
- That is it
HSP
-
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/
Pohódnoćenja
Sobuskutkowarjo a wuwiwarjo
„LH Add Roles to Body Class“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.
SobuskutkowarjoPřełožće „LH Add Roles to Body Class“ do swojeje rěče.
Na wuwiću zajimowany?
Přehladajće kod, hladajće do SVN-repozitorija abo abonujće wuwiwanski protokol přez RSS.
Protokol změnow
1.00 May 20, 2018
Initial release
1.01 June 12, 2019
Bettter code architecture