Noor's Plugin

WordPress Plugins, Themes, Hosting, Tutorials & more!

  • Home
  • Plugins
    • Themes
  • Hosting
  • Contact
    • Privacy Policy
  • About

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;	
}

How to remove the author name from WP Astra theme

This plugin will remove the author name from your WP Astra theme.

WP Astra Remove Author Name
WP Astra Remove Author Name
Remove the author name from WP Astra theme.
Price: $39.99
Price: $29.99

Related

Written by Noor Alam · Categorized: wordpress

Comments

  1. pedro says

    good job

    Reply
  2. Julian says

    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
    • Noor Alam says

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

      Reply
  3. Mariame says

    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 Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search Noor’s Plugin

Recent Posts

  • How to Add a Quantity Field to a Stripe Payment Button
  • How to Add a Price Field to a PayPal Button
  • Hide Product Image for WooCommerce Plugin
  • How to Show a Download Button to Logged in Users Only
  • How to Add a Price Field to a Stripe Payment Button
  • How to Disable/Hide Featured Images in WordPress Astra Theme
  • What is the White Screen of Death in WordPress?
  • How to Fix YouTube Error The uploader has not made this video available in your country
  • How to Configure SendGrid SMTP in WordPress
  • Checkout for PayPal WordPress Plugin

Copyright © 2022 · Noor's Plugin

This website uses cookies to improve your experience. By continuing, you agree to their use.Got it! Learn More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT