Body class "logged-in-as-[user name]"
-
Is there a way to do this? To detect the user who is logged in, and pass his user name into a class attached to the body, like so:
<body class="logged-in logged-in-as-Who_Dat">
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Body class "logged-in-as-[user name]"’ is closed to new replies.