User Role Body Class
Add current user role as CSS class to body tag including role-administrator, role-editor, or role-guest for logged-out visitors to enable role-specific styling
Add current user role as CSS class to body tag including role-administrator, role-editor, or role-guest for logged-out visitors to enable role-specific styling
User Role Body Class is a part of WPSwitchboard • Get lifetime access to all 137+ modules for $349 $149
Add current user role as CSS class to body tag including role-administrator, role-editor, or role-guest for logged-out visitors to enable role-specific styling
Style pages differently for logged-in members versus guests using CSS targeting 'role-subscriber' body class.
Show draft content or admin tools only to administrators using role-based CSS visibility controls.
Apply different styling or show/hide elements based on user membership level for premium content sites.
Activate the module to automatically add user role-based CSS classes to the body tag, allowing for role-specific styling.
Automates manual tasks and streamlines your workflow
Enhances overall site functionality
Improves content management and organization
Simple setup with minimal ongoing maintenance
Automatically set first image from post content as featured image only for images uploaded to WordPress media library to save time publishing
Automatically detect and publish posts that missed their scheduled time due to server issues or low traffic to fix WordPress scheduling problems automatically
Add breadcrumb navigation trail with Schema.org structured data markup for better SEO rankings and improved user navigation through deep site hierarchies
Access 137+ powerful WordPress modules to customize and optimize your admin experience.
Get Lifetime Access - $349 $149"The missing piece of WordPress core."