DP Username & Role Display
Show the logged-in user's name, role, and profile icon anywhere - editable labels, custom colors, 5 templates, and a shortcode.
Use with caution
DP Username & Role Display works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where DP Username & Role Display stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| login | >100 |
| members | >100 |
| profile | >100 |
| user role | >100 |
| username | >100 |
About DP Username & Role Display
From the official readme · v1.1Description
DP Username & Role Display shows the display name and role(s) of the currently logged-in user near the top of every page on the front end of your site.
It is useful for membership sites, intranets, staging environments, and any site where it helps to know, at a glance, who is logged in and what role they hold.
Features
- Shows the logged-in user’s display name and role(s) on the front end.
- Enable or disable the display from a settings page.
- Choose the background, text, and label colors with the built-in WordPress color picker.
- Edit the label text (“User:” and “Role:”) to whatever wording you prefer.
- Pick from 5 ready-made display templates that change the front-end layout (classic bar, full-width banner, rounded pill, minimal inline, and accent card).
- Optionally show the user’s profile icon (avatar) next to their name, with an adjustable size.
- Place the block anywhere with the
[dp_user_role_display]shortcode – every setting can be overridden per shortcode. - Built-in shortcode generator on the settings page: it updates live as you change options, ready to copy and paste.
- Lightweight, translation-ready, and uses only standard WordPress APIs.
- Ships with translations for Spanish, French, German, Hindi, and Gujarati.
- Nothing is shown to logged-out visitors.
Installation
- Upload the
dp-username-role-displayfolder to the/wp-content/plugins/directory, or install the plugin through the Plugins > Add New screen in WordPress. - Activate the plugin through the Plugins screen in WordPress.
- Go to Settings > User Info Settings to enable the display and choose your colors.
Changelog
New: profile icon (avatar) option and a [dp_user_role_display] shortcode with a live generator on the settings page.
1.1
- Added an optional profile icon (avatar) next to the username, with an enable/disable setting and adjustable size (16-128 px).
- Added the
[dp_user_role_display]shortcode with per-shortcode overrides for template, colors, labels, and avatar. - Added a live shortcode generator on the settings page with a copy button.
- Added bundled translations: Spanish, French, German, Hindi, and Gujarati.
- Styles are now loaded automatically on pages that only use the shortcode.
1.0
- First release in the WordPress.org plugin directory.
- Displays the logged-in user’s name and role on the front end using the
wp_body_openhook. - Settings page with enable/disable toggle.
- Background, text, and label color pickers.
- Editable “User” and “Role” label text.
- 5 selectable front-end display templates.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best DP Username & Role Display alternatives
All login plugins →FAQ
DP Username & Role Display: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is DP Username & Role Display free?
Yes. DP Username & Role Display is free to download and use from the official WordPress.org plugin directory.
Is DP Username & Role Display safe to use in 2026?
DP Username & Role Display works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.
How many websites use DP Username & Role Display?
DP Username & Role Display is active on <10 WordPress websites and has been downloaded 310 times since it launched in August 2026. It was downloaded 62 times in the last 30 days.
Does DP Username & Role Display work with WordPress 7.1?
Yes. The developer has tested DP Username & Role Display up to WordPress 7.1.5, the latest release. It requires WordPress 5.2 or newer.
What PHP version does DP Username & Role Display need?
DP Username & Role Display requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was DP Username & Role Display last updated?
The latest version, 1.1, was released on September 7, 2026 (3 months ago).
Who makes DP Username & Role Display?
DP Username & Role Display is developed and maintained by Dixit Pujara.
What are the best alternatives to DP Username & Role Display?
The most popular alternatives to DP Username & Role Display are WPS Hide Login (2M+ installs), Loginizer (1M+ installs) and Security Optimizer (1M+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card






