How to change “posted by admin” in your WordPress theme
There are 2 ways to change the display name in the “Posted by” label on your posts:
1. The first way includes 2 steps. The first thing is to change the nickname of your user id. You must click save before trying the next step. The second step is to change the “display name publicly as” to the name that you want displayed on each of your posts.
2. The second way requires making changes to a few of your themes php files. From the WordPress admin page click on Design, Theme Editor, and then locate the index.php (Main Index Template). From the text editor locate the template tag “the_author” and replace it with “the_author_nickname”. Then, repeat this step for each of the following files:
- Posts.php
- Page.php
- Categories.php
- Index.php (already listed above)
There is a list of all the template tags provided by WordPress.
Filed Under: Wordpress


