Correctly displaying your member’s name on your membership site can have a big impact. Imagine displaying a formal name when subtle privacy is needed. This code recipe will allow you to set your member’s default display name to their username.

Banner Image to Set Member Display Name to Username at Checkout

About the Code Recipe

Member display names are important. A member’s name can be seen as part of their online identity, a way to be found by other members, and in some cases can be used as a badge of honor.

While many membership websites like to use a member’s formal name as their display name, in some cases you may want to opt for displaying their username instead. This can be particularly important if your members need to keep their identity private. Usernames can also be more popular with online persona communities – like video game memberships.

The code recipe below will allow you to set your member’s display name as their username. Paid Memberships Pro collects this member information at checkout.


The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo