Maybe you don’t want your username showing up on your blog posts?
By default most WordPress themes automatically include the date and author name for all posts. Most of the time your “author name” is your username.
Some themes will let you select whether to show the author name on posts…
If your theme does not have this option, you can remove the author name with this edit to your index.php file. Remove this line of code from your index.php, single.php, etc…
<p>by <?php the_author(); ?></p>
If you would rather not fiddle with php code, there is another way to alter the author name on posts.
1. In the “Users” section of your Dashboard select the author you would like to alter. My user name is MBenny (my author name is also MBenny), but I would rather people saw me as “Mike”.
2. Change the “Nickname” to the name you would like people to see on your posts. I changed mine to “Mike”. (Caution: Do not change the User name, the first name or the last name — just the Nickname.)
3. Underneath that field pull down the “Display name publicly as…” and select the new name.
4. Now, all of your post will include your new “altered” name.
To hide your name completely, change your Nickname to the name of your blog or use a dash, hyphen or other character.
I hope this works for you. Comment below if so…