How to Hide Author in WordPress

If you want to learn How to Hide Author in WordPress? You may think this is very hard because WordPress does not have a way to delete author names by default, but like most WordPress items, this is done through the use of plugins.

Only bear in mind that there are benefits and drawbacks of not making an author name appear on WordPress articles.

Reasons to Remove or Hide Author in WordPress

The name of the author is an effective form of metadata applied by default to your WordPress entries. It enables your followers to learn about writers producing your blog material.

Adding the author’s name is a positive idea because your readers know their writings and can identify your posts. But sometimes you might like to hide the name of the author. This might not always be the case, though, leading to the words being excluded.

For example: if several team members deal with each blog post, it can appear unreasonable to credit one person’s work.

In a particular case, you can have multiple writers who also write posts but want to keep the blog logically.

Let’s explore a solution that allows the writer’s name to quickly be excluded from WordPress articles while enabling other writers to work behind them.

How to Hide Author in WordPress?

Here some of the easy steps you can follow:

Method 1: Remove the name of the author manually

We strongly recommend having a complete backup of the web before explaining How to Hide Author in WordPress. There are so many WordPress layouts, and the way they display the author’s name is unique, so some plugins may not be able to remove the author’s name from your WordPress site correctly, and you may need to depend on the manual method.

Be sure that you backup your website in the case of a malfunction before making any changes to the file.

To manually delete the names of writers in WordPress, you must first locate the unique code in your template, but you will generally find them in one of the following files:

  • single.php
  • content.php
  • archive.php
  • index.php

You will not be able to identify author names in specific models. There are “template tag(s)” in these templates, and they are commonly found in functions.php or template-tags.php.

For instance, the template “Twenty Nineteen” uses the function “twentynineteen_posted_by” to show the author’s name. You can find this file at template-tags.php, and the code appears like this:

function twentynineteen_posted_by() {
/* translators: 1: SVG icon. 2: post author, only visible to screen readers. 3: author link. */
'<span class="byline">%1$s<span class="screen-reader-text">%2$s</span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',
twentynineteen_get_icon_svg( 'person', 16 ),
__( 'Posted by', 'twentynineteen' ), esc_url( get_author_posts_url(
get_the_author_meta( 'ID' ) ) ),
esc_html( get_the_author() )

Once you have found the code that produces the name of the creator, you need to erase it.

For starters, from the second line to the ninth line of the above code, delete the code. The remaining code will then look as follows.

function twentynineteen_posted_by() {

You must upload the files to your server after all these changes have been made.

Method 2: Hide Author in WordPress Using Hide/Remove Metadata plugin

You must first download and install Hide / Remove Metadata on your WordPress account. It’s swift to use this plugin, even though anyone started using WordPress. Be mindful that the Hide / Remove Metadata plugin may not be compatible with some WordPress themes.

How to Hide Author in WordPress

Go to the ‘Plugins’ and click on Hide / Remove Metadata to open their settings after downloading it on your website. Then turn it on.

How to Hide Author in WordPress

That’s it. It is easy and straightforward.

Video tutorial

Sum Up

That’s it; we hope you learn How to Hide Author in WordPress easily. And for the visitor who asked us to write an article on How to Make Specific WordPress Menu Open in a New Tab, We have a dedicated article on this.

Feel free to drop responses and suggestions in the comment box below.

Leave a Comment