You can change the display name of the WordPress account which shows on a WordPress post or comment without changing the WordPress username.
Login to your WordPress admin dashboard.
Under the Dashboard menu, hover your mouse over
Usersand then click onYour Profile.
Locate Nickname and enter your new name

In the option
Display name publicly as, choose your newly added nickname from thedrop-downmenu.