How To Remove & Change Author Name From WordPress Posts

How To Remove & Change Author Name From WordPress Posts

Dealing with the WordPress Post info; seems to be interesting – as we all know that WordPress automatically show the author name and date after publishing a post. Well, It is the most beneficial features 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.

However, By default, WordPress get posts does not have a choice to publish articles without an author. Hence, here, we will display you the various ways on the same. Therefore, go throughout our article.

Why should You Remove Author Name

Instantly, In order to avoid a bad impression, which may be – post outdated, author disqualified, etc.

As we all know that in general, WordPress themes allocates the custom post type i.e the post date and author name by default. And there are some of the places where you have the desire to customize it. As off, they may not look outstanding, they may be outdated.

In such a condition, one get gripped into the desire of removing. Often, It is good for you to remove the old dates, but, only if you don’t regularly update them.

After learning motivation, To reach the goal, you may be in the desire of certain methods.

Continuously, there are various ways to remove author name from WordPress post, but due to ease of use, we have chosen three methods among them.

Here we will be elaborating the same.

Methods To Remove And Change Author Name From WordPress Post

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

This is the easiest method and commended for a number of users. But there is a problem – it cannot working properly with all WordPress themes.

The very first thing 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

All this is done! This plugin conceals the author name automatically. If you have the desire to show the author name for a particular post type, then, you need to select it on the screen.

Just below the post types, you can also add custom URLs where you want to hide the author name.

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

Thereafter, if you want to hide this ‘by’ line, then you have to navigate your site and take the mouse over the text that you want to hide.

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

Here, 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 the Save Changes button to store your settings.

Method 2: Remove Author Name from WordPress Posts Manually

In this method, you need to edit the WordPress theme files.

Note: Before making any changes 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.

Most general locations to find this code are single.php, archive.php, index.php, and content.php files.

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.

}

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

By creating a Generic Author name it does not 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. If you do this and want to go back, edit each post and assign it to the original author manually.

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

Let’s get this cracked!

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

add new user
Thereafter, you need to visit Users » All Users page and click on the ‘Edit’ link below the username you just added.

remove author name

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

Next, click on the drop-down menu next to ‘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 999 for a number of items to show.

remove author name
However, this will permit you to edit and change the author name instantly for a large number of posts. Just choose all the posts by using the checkbox and then choose edit under the bulk actions drop-down menu.

After that 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 added earlier and then click on the update button.

remove author name

Now, WordPress will update all selected posts and change the author name. Remind this process may take some time relying on how fast your WordPress hosting is.

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 require to show another author, then the person who 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
Changing Author of WordPress Post

You need to follow some steps shown below:

First, you have to edit the post or page, which you want WordPress change author name for.

On the post edit screen, click on the screen options menu on the top right corner of the screen.

change author name
Now you can see a dropdown menu with a different type of options. And you need to check 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 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.

Now you have 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 it 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-844-275-0975 (Toll-Free).

Read More:



Leave a Reply

Call Now