Home » How To Hide The Author In WordPress

How To Hide The Author In WordPress

by janeausten
wordpress hide author

You can identify the author of a WordPress post if you’ve ever seen a post with a name at the top that reads anything like this: “Jessica Miller wrote this However, some blog owners may wish to remove the author name that is displayed next to their posts.

There are ways to remove & change the author name from your WordPress hide author posts even if WordPress does not by default offer this option. The author’s name can be deleted manually, through the use of a plugin, or through the use of CSS code.

In this article, we’ll demonstrate how to do both of those things. So without further ado, let’s begin.

Why Remove the Author Name in WordPress?

A key component of WordPress hides author metadata. It helps readers discover more about the author.

There are, however, a number of situations in which it is advantageous to conceal or omit the author’s name.

It would be unfair to the team as a whole to praise one person when several team members contributed to a blog post. The authors’ names should then be kept anonymous.

In another situation, you might have a large number of freelance writers that regularly contribute content, but you still want your website to have a consistent look and feel.

 How to Remove the Author Name in WordPress?

2.1 Plugin to Remove the Author Name

Installing and activating the WP Meta and Date Remover plugin is the first step. To do this, go to the WordPress dashboard’s Plugins > Add New section. Find the WP Meta and Date Remover plugin, install it, and then turn it on.

Once the plugin is active, all metadata is automatically deleted. It uses two techniques to remove the data: PHP to remove it from the back end and CSS to hide it from the front end. Both methods can be used in the second approach, which implies that the metadata is no longer visible to search engines.

Click the Save Changes button to save your selections. When you return to your site, you’ll notice that the author’s name has been eliminated.

Remove the Author Name from Schema Markup

In order to change the author in the WordPress profile, Rank Math enables an SEO meta box. You might need to apply a filter to get rid of the author schema if you want to remove the author. You must do this by including the following code fragment in the functions.php file of your theme.

Please be aware that the “$schema type” must be changed to the object type you desire to edit.

For instance, the code above will appear as follows if you want to convert the $ schema-type object to an article.

Using a Generic Author Name

Sometimes it’s advisable to use a generic, non-revealing name rather than completely hiding the author’s identity from your blog posts. This approach is especially useful for pieces written by a team of writers who have distinct and unified writing styles, such as an editorial team or independent contractors. Maintaining a consistent writing style makes it harder to identify a certain author’s absence.

Go to Users > Add New from your WordPress dashboard to add a generic name. Create a new username, complete the necessary information, and select the user role. “Add New User” can be chosen from the menu.

Then go to Users and choose All Users. As illustrated below, select Edit next to the newly generated username.

Type the Nickname you wish to see next to your postings, such as the editorial staff. Then, choose the nickname you created from the drop-down option next to Display name publicly.

When finished, use the Update User button to save your modifications. This general name is now available for use in your posts.

2.4 Manually Remove the Author Name

You must edit WordPress theme files to use this technique. To do so, you might need to be familiar with WordPress and some coding.

You must find and remove the code that displays the author’s name in your theme files if you want to manually remove it. The single.php, content.php, archive.php, and index.php files are where you can usually find this code.

In rare circumstances, the author’s name cannot be found in the current template. If so, search the template-tag.php or functions.php files for the relevant lines.

Remove the Author Name Using CSS Code

You can add CSS code and delete the author’s name from your posts if you know how to code. To achieve this, go to one of your posts, right-click the author’s name, and then select the Inspect Element menu item.

Look in the Elements tab for the HTML element that has both the author name and the By label. Hover your cursor over several HTML elements on the page until you see the one that is highlighted and contains By: and the author’s name.

In the image above, the relevant wrapper element is a div with the class author name. Simply add the display: none; rule to the appropriate CSS selector to hide your author and the Byline. For the author’s name to be removed, add the following code fragment.

Navigate to Appearance > Customize > Additional CSS after creating your code. Add the aforementioned code block and press Publish.


You can choose whether this is the best solution for your website now that you are aware of the many advantages of masking an author’s name. We’ve covered a number of techniques for doing this; pick the one that works best for you.

Related Posts

MarketFobs is an online webpage that provides business news, tech, telecom, digital marketing, auto news, and website reviews around World.

Contact us: marketfobs.com@gmail.com

@2023 – MarketFobs. All Right Reserved.