Learn how to Hide/Remove Author name from WordPress posts? A Comprehensive 2021 Guide

Are you dealing on how to remove an author name in WordPress? then you are at the right guide. So, as we all know that WordPress automatically shows the author name and date after a post has been published by the Author. Well, It is the most beneficial feature with more features such as Post Type in WordPress . But there are various instances from where you want to remove and change author name from WordPress posts and this is done just to avoid the bad impression. Find out how to create categories in posts.

However, By default, WordPress posts do not have a choice to publish articles without an author. As any article published must have author. Therefore with this comprehensive 2021 guide we have created multiple ways on how to hide or remove the author name from WordPress post. Now let’s dive in and make sure to follow every step as it is very important.

Why should You Remove Author Name

Instantly, In order to avoid a bad impression, which may be from some factors like post outdated, author disqualified, etc.

As we all know that in general, WordPress themes allocate the custom post type that is the post date and author name by default. And there are some of the places where you have the desire to customize it. Need to customize your them? click here to know more.

As it is important to have an outstanding post, and in order to avoid outdated the posts. One gets gripped into the desire of removing. Which is often good for you to remove the old dated WordPress posts, But, only if you don’t regularly update them. Find out how to automatically update the WordPress plugins to avoid getting outdated.

With the motivation to learn on how to create a WordPress post. After, the learning motivation to reach the goals you may be in a look for certain methods which is why We WP Global Support are here.

Since past, there are many methods to there are various ways to Hide/Remove Author name from WordPress posts. Therefore, our team have selected multiple methods. Here you will find the best methods for your easy convenience.

Now, let us find the methods as your last stop to remove author name.

Methods To Remove And Change Author Name From WordPress Post

Method 1: Remove Author Name from WordPress Posts via a Plugin

Since many of you are pretty into a learning mode, we have provided the easiest way which is recommended for most you. But there is a catch – it cannot work properly with all WordPress themes.

The very first thing is to install and activate the Show Hide Author plugin. For more details, see our guide on How to install a plugin in WordPress.

After activated the plugin navigates to Plugins » Show/Hide Author page for configuring plugin settings.

show hide author plugin

After this step is done! This WordPress plugin conceals the author’s name automatically for the posts. If you think it is important to provide the author’s name for a particular post type. Then, you need to complete this step by selecting the required specific posts in the screen.

Just below the post types, you can also add custom URLs which is also termed as permalinks where you want to hide the author name. To know more about permalinks. click here!.

In most of the cases, this plugin can hide the author name which is in most cases. But before it shows the author name, your WordPress theme may still display the before text and author name. For example, ‘by Albert Thomas’ would now just show ‘by’.

Thereafter, if you would like to hide this ‘by’ line, then use your mouse to navigate over the Autor text and select the particular words before the author name. With this you will be able to completely hide the text.

Next, press the right click and choose to inspect the tool from the browser menu. Find more about the inspect tool.

In this inspect tool, find the div class including your author byline.

remove author name


Just copy the CSS class that is used here and paste it in the plugin settings under Advanced options.

remove author name

Now, click on to the Save Changes button to update and store as saved settings.

Method 2: Remove Author Name from WordPress Posts Manually

Now lets move to the second option. In this method, you need to edit the WordPress theme files.

Note: Before making any changes please make sure to create the backup of your theme or child theme. If something goes wrong, then this will help you easily turn back changes.

Usually, WordPress themes use the various variations of code to show the author name. Now find the code that is superintended for showing the author’s name in your theme files and delete it. Find out how to Import & Export WordPress theme?

As it is hard to find the code in the WordPress, here you can find out the most general locations to the codes which are provided single.php, archive.php, index.php, and content.php files. These files have various codes which runs and perform the program with individual specifications.

In most of the cases, you will be unable to locate the code that outputs author name. Rather you will see a template tag that is defined in the functions.php file or template-tags.php file.

For example, the function twentyseventeen is used by Twenty Seventeen theme that is posted_on to show the author name and post date/time. However, this function in defined in template-tags file.

function twentyseventeen_posted_on() {

 

// Get the author name.

$byline = sprintf(

_x( ‘by %s’, ‘post author’, ‘twentyseventeen’ ),

‘<span class=”author vcard”><a class=”url fn n” href=”‘ . esc_url( get_author_posts_url( get_the_author_meta( ‘ID’ ) ) ) . ‘”>’ . get_the_author() . ‘</a></span>’

);

// Finally, let’s write all of this to the page.

echo ‘<span class=”posted-on”>’ . twentyseventeen_time_link() . ‘</span><span class=”byline”> ‘ . $byline . ‘</span>’; // WPCS: XSS OK.

}

Now, remove the code that outputs the author name. Just see the below given example:

function twentyseventeen_posted_on() {

 

// Finally, let’s write all of this to the page.

echo ‘<span class=”posted-on”>’ . twentyseventeen_time_link() . ‘</span><span class=”byline”> ‘ . $byline . ‘</span>’; // WPCS: XSS OK.

}

Please Don’t forget to save your changes and upload the files back to your website.

At last, save your changes and upload the files back to your website.

Method 3: Creating a Generic Author Name for Publishing WordPress Posts

This method is very unique in terms of author name for both past and future posts. By creating a Generic Author name also known as original author name. As this method does not allow you to delete the author’s name, but it can be used as a workaround.

Usually, you will create a generic author name and use it for your all past and future articles. Just change the author name before publishing each & every post.

This method is inevitable which means that If you do this and want to go back then edit each post and assign it to the original author manually.

Firstly in your WordPress Site navigate yourself to add a new author and give it a generic username like shown below.

Let’s get this moving!

The very first thing is that you need to have to add a new author to your WordPress site and give it a generic username which can be like ‘tutorial team’.

add new user


Thereafter, you need to visit Users » All Users page and click on the ‘Edit’ link below of the username that you have just added.

remove author name

Now, Scroll down to the ‘Nickname’ option on the user’s profile screen and enter the name you want it to be shown as a display. (for example Editorial Team).

Next, click on the drop-down menu which can be found next to the ‘Display name publicly as’ option and choose the nickname you just entered.

remove author name

Also, you can add a generic bio and even create a gravatar for that user account.

Now you have to navigate to Posts » All Posts page and tap on the screen options menu at the top. Enter the digits 999 for a number of items to be shown in the page.

remove author name


After, this will permit you to edit and change the author name instantly for a large number of posts. Go to the posts and select all the posts by using the checkbox and select edit menu after this find the ‘bulk actions’ under the drop-down menu.

After this click on the ‘Apply’ button to continue.

remove author name

Now, WordPress will show you the bulk editing options. Change the author to the generic author name that you have added earlier and then click on the update button.

remove author name

Now, WordPress will update all selected posts and change the author name. We remind that this process may take some time relying on how fast your WordPress hosting is and recommend you to remove the unwanted widgets in your WordPress.

If you have more than 999 posts, then go to page 2 and repeat the same process.

That’s All!

How To Change The Author of Post in WordPress

Sometimes you may be required to show another author, not the person who have added the post in WordPress.

Therefore, you don’t have to copy and paste the whole WordPress post with a user account. Also, you cannot change your WordPress username, but the name you use for a post or page can be changed.

Before Changing the Author of a Post

If you want to display your name in a post, which is written by another author, then make sure that the author exists on your WordPress website.

However, you can manage and see all the users on your site. For this, you have to log in to your WordPress administrator account and then click the users’ page from the dashboard.

wordpress users

You need to follow some steps shown below:

First, you have to edit the post or page, where you want author name to be changed in WordPress.

In the post edit screen, navigate towards the top right corner and click on the screen options menu of the screen.

change author name


Now you can see a dropdown menu with a different type of options. where you just need to check mark the ‘Author’ option box.

change author name


Next, scroll down on the post edit screen that is below the post editor. Here, you will see the author box.

Click on the drop-down menu and choose another author that you want.

change author name

Click on the save draft or update button to save your changes.

change author name

Now you have successfully change the author name of a post.

Changing Author for Multiple Posts in WordPress

Follow the below steps to change the author for multiple posts:

Although, it is very easy to change the author by editing a post. If you want to change author name for multiple posts. It takes more time to edit a post and change the author.

However, we have an easy way to do this. You can change the author name of multiple posts in an easy way.

For this, go to the post menu from your WordPress admin bar. Also, you have the list of your all posts.

By default, WordPress shows only the 20 posts per page. If you want to show more posts then click the screen options and change the number of posts per page that you want to show.

number of posts


Now, you have to choose the post where you want to change the author. When you have selected the post, then choose ‘edit’ from the ‘bulk actions’ drop-down menu and after that click on the ‘apply button’.

change author name

Now, WordPress will display your bulk edit meta box. You have to choose the new author by clicking on the drop-down menu that is next to the Author option.

change author posts

After this, click on the update button and save your changes.

With these multiple methods it is now easy to remove / change the author name and also to change multiple author names. You can use any of these methods suitable for you. We hope that you leaned on to successfully change the author name for multiple posts.

Final thoughts

We hope that this article helped you in removing and changing the Author name from WordPress Posts completely. As you can easily remove and also change it to another name for individual and multiple posts if you follow the above-given methods thoroughly.

In case of any help related to WordPress talk to our WordPress Technical Support Team for getting instant help, dial +1-855-945-3219 (Toll-Free).

Thanks!

Read More:



Leave a Reply