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 "" (replace "" 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:

Posted on %2$s by %3$s

Highlight "by %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.


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