Introduction
Are you the owner of a multi-author website?
Dealing with the author’s disagreement due to credit issues?
If it is so, then avoiding publishing the author’s name in the post can resolve the disagreement and streamline the workflow in commerce.
Multi-author websites where different articles and posts get published consistently, there could be an issue with the name of the Author On WordPress post. Sometimes guest bloggers also need to manage. Read our blog "How To Create An Author Website In WordPress, if you wish to make an author website.
What if the issue is with an individual’s post?
When reading any blog, you always see the author's name mentioned next to the post. Authors are attributed credit in most of the WordPress posts published on the internet, causing the top of the post to display "XYZ wrote this post."
Some blog site owners do not wish to show authors’ names. Instead, they want to remove or hide their identity.
Is it possible to hide or remove the author’s name once it is published?
WordPress does not by default have a setting for author name removal, but there are four ways to achieve so. Let’s take a look-
- Method 1: Manually remove the author's name from the WordPress website.
- Method 2: Remove the author’s name using the plugin.
- Method 3: Remove the author’s name with the help of CSS code.
- Method 4: Configure a display Author name.
We will be covering all the needed points in this blog and studying all the mentioned methods to remove the name of the author from the WordPress post. Let’s get into the details.
Why author’s name should be omitted from the post?
The fact is that the name of the Author On WordPress post is an important part of the metadata on every website.
The writers who write the blog's material need to be known to the readers.
When multiple writers like freelancers contribute equally to a single blog, then only the issue creates.
As we discussed in the earlier section of this blog, major media outlets like news channels, news magazines, and newspapers have various teams made up of numerous writers.
In these big business enterprises, a collaborative job system does the function. So there may create conflicts between the writers. An organization can’t be unfair to the other writer for the sake of one author.
In such a situation removing the author’s name or hiding it becomes advantageous.
Also, when an Author On WordPress is writing about any sensitive or controversial matter, thy prefer to mention their name as an author or work under pseudonyms.
In WordPress websites, by default, you cannot remove or hide the name of the Author On WordPress as we stated in the earlier section. For a specific post to be published, you must select the author's name.
So how to remove the author’s name from a WordPress post?
In this blog, we will discuss the three methods using which you can be able to remove the name of an author from your WordPress post. So let’s start a journey with the first method.
Method 1: Manually remove the author's name from the WordPress website.
Websites are built using a specific layout and a predetermined Top Author WordPress Theme. It has calculated dimensions with a variety of components, including sliders, headers, footers, sidebars, and text and images. So the theme displays the name of the author in your blog post. The themes used the proper place to display it with multiple approaches which plugins cannot do.
If you want to remove it, then you need to understand the codes. You have to edit the code to hide or remove the author’s name. But before you edit the code, you need to take a backup of your theme. It will be beneficial for you to restore the changes if something goes wrong.
To display the name of an Author On WordPress website, the theme uses multiple code variations. Therefore, you must locate and remove the code that is responsible for displaying the author name on your blog post in the theme files.
You can find the code in single.php, content.php, archive.php, and index.php files. These are general locations.
Sometimes, you cannot track down the code that is used to display the name of the Author On WordPress. Instead, you may find the template tag defined in the functions.php file or template-tags.php file.
For example, the default Twenty Nineteen theme has the
function twentynineteen_posted_by that is specially defined to present the author’s name.
The template-tags.php file contains the code listed below.
function twentynineteen_posted_by() {
printf(
'<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() )
);
}
endif;
You can remove the code that causes the author's name to appear on your website once you locate it.
Now in the above code, you have to remove the second line to the ninth line. After that, you will have the following code-
function twentynineteen_posted_by() {
}
endif;
Don't forget to click the "Save" button and return the files to your website. Now you can visit the website the see if the name of the author has been removed or not.
In this way, you can hide or remove the author’s name on all your posts; however, you can see the author’s archive pages intact with the web link.
The whole list of articles authored by a certain author is available on a WordPress author archive page. This Weblink will take you to the author archive page:
Method 2: Create a generic author name to publish WordPress entries.
Using a generic, you are allowed to hide the name of the Author On WordPress instead of completely removal from your blog entries. It is the most preferable option. This method is beneficial for articles written by a group of writers in an editorial team or freelancers for maintaining consistency in writing style.
Now let’s see how to add a generic name.
Go to the dashboard.
Navigate Users-> Add New
Create a new WordPress Username and provide all the required details.
Press the Add New User button.
Next, visit the Users » All Users page.
Subsequent to the username you just entered, click the 'Edit' icon.
Next, find the Users-> All Users.
Press the Edit next to the new username you just generated as-
Enter any name like a Nickname that you want to show on your posts instead of your real name, for example, the ‘editorial team’ or a ‘staff’ or a ‘guest’.
Then, choose the nickname you created from the Display name publicly as a drop-down menu.
Click the Update User button to save all your changes when you finish.
I will use the provided generic name for my posts from now on.
To remove the author's name from a post, you need thorough CSS knowledge to accomplish this through a CSS code. And you ought to be able to pinpoint the precise code so that it won't impact other website elements.
Method 3: Utilize a plugin to delete an author name from your blog using.
WordPress offers specific plugins that allow you to remove the author name from blog posts. If you search for information online, you will find it.
We'll talk about the WP Meta and Data Remover plugin in this section.
Install WP Meta and Data Remover first, then.
Activate it.
Go to the dashboard.
Plugins->Add New
Find the WP Meta and Date Remover plugin, and install and activate it.
Once activated, these plugins exhibit such powerful and exceptional features that they automatically erase all metadata.
The plugin utilizes PHP to easily delete it from the back end and CSS to conceal it from the front end.
Pressing the Save Changes button will save all your changes. Now it’s a final step. You can visit the website and see whether the name of the Author On WordPress has been removed or not.
Method 4: Configure a display Author name.
We won't use this method to remove an author's name from the post. Instead, it lets you configure a generic display name for your content. Authors who prefer to write under pseudonyms or brands use this method.
If you want to implement it
Go to Users-> Add new in your WordPress dashboard.
Create a new user. Provide a username, email, and the name you want to show.
Hit the ‘Add new user’ button.
Next,
Move to Users-> All Users
Press on the ‘Edit’ below the username that you have generated.
Search for a Nickname and provide the display name.
Choose the nickname from the dropdown menu under ‘Display name policy as’.
Navigate to Posts-> All Posts.
A screen will be opening where you need to provide the ‘Number of items per page’. Provide ‘999’.
This number allows you to make bulk editions and alter the name of Author On WordPress for multiple posts simultaneously:
Check all the posts by clicking on the checkbox below the ‘Title’.
Select ‘Edit’ from the ‘Bulk Actions dropdown and edit the posts.
Pick up the new display name next to ‘Author’ that you have generated.
All my posts will now be updated by WordPress with a new author name.
In the end, hit the ‘Update’ button.
Conclusion
You must have understood the reasons and need to hide or eliminate the name of the author of a blog post on your website. Also, you must have got its advantages. Now, you are free to choose any method that is the best for your website. We’ve discussed the various ways for the removal of the author’s name. You can imply any that you think is best for your website.
The WordPress theme bundle is a collection of pre-designed templates and styles that enhance the appearance and functionality of a website. When it comes to customizing elements like author information on WordPress posts, the theme bundle can play a crucial role. If you're wondering how to remove the author's name from WordPress posts, your chosen theme may offer built-in options to control the display of author information. By navigating through the theme's customization settings or the post editor, you can easily locate settings that allow you to hide the author's name from your posts. This flexibility is a testament to the power of WordPress theme bundles in tailoring your website's features to your specific needs.