How to Remove an Author Name on WordPress Posts

by Dustin Thornton ; Updated September 15, 2017

WordPress is a prepackaged blogging platform you can install on your own domain or subdomain that offers unlimited customization coupled with ease of use. When you publish a blog post on certain WordPress themes, a date and author name appear at the top of each post. If you are the only person posting on the WordPress blog, you may wish to remove the author name from all of the posts. You can do this by editing the functions.php file using the file editor portion in your WordPress dashboard.

Access your WordPress dashboard page by entering "http://siteURL.com/wp-login" (replace "siteURL.com" with your website address).

Enter your WordPress login name and password and click "Log In."

Click on "Appearance" on the left side of the dashboard to expand the selection. Click "Editor" below it.

Click on "Theme Functions (functions.php)" on the right side of the page.

Scroll down and locate the following line of code:

<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s

Highlight "<span class="meta-sep">by</span> %3$s" from the above code and delete it.

Click the "Update File" button to make changes. View your WordPress blog to view the changes.

Tip

  • Back up the functions.php file before making changes to it.

About the Author

Dustin Thornton has been writing since 2003. He has served as a newspaper columnist for the "Troy Tropolitan" and a contributor to various websites. Thornton received a partial scholarship for an outstanding essay in 2003. He has a Bachelor of Science in business administration from Troy University.