A persistent position: fixed bar rendered at the top of every frontend page via wp_body_open.
Logged-in state shows:
- XP counter (if enabled)
- Streak counter (if enabled)
- Notification bell with unread count badge + dropdown
- User avatar + name with dropdown menu (Dashboard, My Profile, Sign Out)
Logged-out state shows:
- Sign In link
- Get Started button (links to register page)
Customization
- Background color: configurable in Settings
- Text color: configurable in Settings
- Toggle individual elements on/off in Settings
z-index
The utility bar uses z-index: 99990 — below the WordPress admin bar (99999) but above all site content.
Note: When WordPress admin bar is active, the utility bar automatically offsets by 32px to sit below it.
