WP Admin Body Classes

Ultimate Dashboard adds specific body classes to the WordPress admin area which come in handy if you want to apply custom CSS to only certain users, user-roles or subsites.

Ultimate Dashboard:

  • udb-user-{nicename}
  • udb-role-{current-user-role}

Ultimate Dashboard PRO:

  • udb-network-admin
  • udb-is-main-site
  • udb-is-subsite
  • udb-site-{site-id}

Last updated on: August 18th, 2021

Ultimate Dashboard Logo

Ultimate Dashboard is the #1 Plugin to Customize your WordPress Dashboard. Create a Client Dashboard and give the WordPress admin a more meaningful use.

Our Products

If you like Ultimate Dashboard, make sure to check out our other products:

Scroll to Top

Still looking for the Perfect Theme?

Page Builder Framework is the perfect theme for your next project. Check out Page Builder Framework today!


Enter your email address and be the first to get informed about new features & updates!

We take your privacy seriously. No spam, we promise. See our Privacy Policy.