Display Name, Nickname, First Name, Last Name – hack
-
This is relevant to these posts/issues/bugs…
- https://wordpress.org/support/topic/display-name-reverts-back-to-first-and-last-name-when-account-details-updated
- https://wordpress.org/support/topic/display-name-versus-nickname-registration-field
This is another ugly hack…
1. cssdisplay:nonethe first and last name fields in the account edit page….um-account-tab-general .um-field.um-field-first_name{display:none;} .um-account-tab-general .um-field.um-field-last_name{display:none;}2. remove/don’t include the first_name or last_name fields in your registration or profile forms
3. Use display_name fieldNow, whenever you go to/update your account page you a. won’t find the first and last name fields and be tempted to use them, b. will be able to update your email address without fear of the first/last name over riding your display name tags in your theme!
The topic ‘Display Name, Nickname, First Name, Last Name – hack’ is closed to new replies.