{"id":780,"date":"2026-10-20T09:04:04","date_gmt":"2026-10-20T08:04:04","guid":{"rendered":"https:\/\/userswp.io\/documentation\/article\/show-full-name-instead-of-username\/"},"modified":"2026-10-20T09:04:04","modified_gmt":"2026-10-20T08:04:04","slug":"show-full-name-instead-of-username","status":"publish","type":"gd_place","link":"https:\/\/userswp.io\/documentation\/article\/how-tos\/show-full-name-instead-of-username\/","title":{"rendered":"How to show the user&#8217;s full name instead of their username"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">WordPress shows a user&#8217;s Display Name wherever a theme or plugin prints the author, so the fix is to make sure each user&#8217;s Display Name holds their full name. UsersWP sets it for you when users register or edit their account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How UsersWP sets the display name<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On registration, UsersWP uses the Display Name field if the form has one and it was filled in. If not, it uses the first and last name. If those are empty too, it falls back to the username.<\/li>\n\n\n\n<li>When a user saves their account page with first and last name fields on it, the display name is updated to &#8220;First Last&#8221;, unless the user filled in the Display Name field, which then wins.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">So the simplest setup is to add First Name and Last Name to the register form in UsersWP &gt; Form Builder, and keep the Display Name field on the account form if you want users to choose their own.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fix existing users<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Users who registered before you added those fields may still show their username. Edit the user in Users &gt; All Users, fill in First Name and Last Name, choose the full name in &#8220;Display name publicly as&#8221; and click Update User. Users can also do it themselves by saving their UsersWP account page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Show the author name on listings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">UsersWP has an Author Box that shows the author&#8217;s picture, display name and bio on single posts. To use it on GeoDirectory listings:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to UsersWP &gt; General &gt; Author box.<\/li>\n\n\n\n<li>Tick Enable Author Box.<\/li>\n\n\n\n<li>In Post types, add your listing post types, for example Places.<\/li>\n\n\n\n<li>Choose above or below the content and save.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can also place it yourself with the UWP &gt; Author Box block or shortcode, see <a href=\"https:\/\/userswp.io\/documentation\/article\/core-widgets\/uwp-author-box\/\">UWP &gt; Author Box<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your theme prints its own author line and still shows the username after the display name is set, the theme is printing a different field (such as the login name). Ask the theme author which field it uses, or use the Author Box instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress shows a user&#8217;s Display Name wherever a theme or plugin prints the author, so the fix is to make sure each user&#8217;s Display Name holds their full name. UsersWP sets it for you when users register or edit their account. How UsersWP sets the display name So the simplest setup is to add First [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[41,7],"class_list":["post-780","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-how-tos","gd_placecategory-tips-tricks-more"],"_links":{"self":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/comments?post=780"}],"version-history":[{"count":0,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/780\/revisions"}],"wp:attachment":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/media?parent=780"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/tags?post=780"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/categories?post=780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}