How to Hide the Author in WordPress

Are you trying to hide the author in WordPress? Usually, in a WordPress post, the author name is shown with other info such as the date, categories, and tags.

WordPress doesn’t have any option to hide the author by default. But some website owners may not want to display the author name. In this article, I will show you the easiest way to hide the author name in WordPress.

How to hide the author name in WordPress

1. Open your website in a new tab

2. Open the Developer tools feature in your browser. In Google Chrome you can do it by clicking on the three dots > More tools > Developer tools (Ctrl+Shift+I). Alternatively, you can open it by right-clicking and selecting Inspect.

3. Click on the arrow in the developer tools and select the author element in the page.

screenshot showing how to inspect the author element in a WordPress page using the Google Chrome developer tools

As you can see the author metadata is inside a span class named “author”. Now all you need to do is hide it using CSS.

You can either use the Customize option (Appearance > Customize) or a custom CSS plugin to apply this CSS. I will use the theme customizer for this tutorial.

4. Open Customize and go to the Additional CSS menu.

screenshot showing how to hide author name in WordPress

5. Apply a “display: none;” property to the author class. In order to specifically target the author of the post I made sure to target the parent “entry-footer” class as well.

6. Click Publish to save your changes.

Here is a video that shows what I have just done to remove the author name from a WordPress post.

The author name should no longer appear in your WordPress posts. However, keep in mind that the classes will be different for each theme. That’s why it’s important to understand the method so you can easily target the author class and hide it using CSS.

To make things easier for you I’m going to provide the exact CSS needed for all the default WordPress themes in this article. That way you can simply copy and paste it instead of wasting time inspecting elements.

How to hide the author in the Twenty 15 WordPress theme

To hide or remove the author name from a WordPress post in the Twenty 15 theme you can apply this CSS.

footer.entry-footer span.byline{
display: none;	
}

How to hide the author in the Twenty 16 WordPress theme

To hide or remove the author name from a WordPress post in the Twenty 16 theme you can apply this CSS.

footer.entry-footer span.byline{
display: none;
}

How to hide the author in the Twenty 17 WordPress theme

To hide or remove the author name from a WordPress post in the Twenty 17 theme you can apply this CSS.

div.entry-meta span.byline{
display: none;	
}

How to hide the author in the Twenty 19 WordPress theme

To hide or remove the author name from a WordPress post in the Twenty 19 theme you can apply this CSS.

div.entry-meta span.byline{
display: none;	
}
footer.entry-footer span.byline{
display: none;	
}
Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.

4 thoughts on “How to Hide the Author in WordPress”

  1. Hello, do you know how I could do this if I’m using the Admania theme?

    The code is like this:

    <footer class="admania-entryfooter admania-entrypgfooter"

    <div class="admania-authorbox" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"

    Reply
    • @Julian, Please provide a link to the site in question so I can take a look.

      Reply
  2. THANK YOU SOOOOOO MUCH I LOOKED FOR A WAY TO REMOVE THE AUTHOR EVERYWHERE AND ONLY FOUND A SIMPLE SOLUTION IN THIS POST!!!
    YOU’RE AMAZING!

    Reply

Leave a Comment