Just note that you may need to add li.or .divto the class name depending on how the WordPress theme displays the author name.
When you're ready to put the code into action, scroll to the top of the screen and click the "Inactive" switch to change it to "Active."
Finally, simply click “Save Snippet” to activate the snippet.
Hiding the author name using custom code
Now the author name will no longer appear in your WordPress blog posts .
This method hides the author name in the frontend, but does not disable the author archive pages.
These pages list all contributions from a specific author and usually have a URL like www.example.com/author/authorname.
An example of an author archive in WordPress
Search engines can still find these pages and include list of belize cell phone number them in search results. For this reason, we recommend disabling author archives with the All in One SEO plugin .
After activating the plugin, simply go to All in One SEO ” Search Appearance and then click on the “Archives” tab.
Hiding the author archive pages using AIOSEO
Under “Author archive” you will find the setting “Show in search results”.
You can now click “No”.
The AIOSEO SEO WordPress plugin
Then click “Save Changes” to save your settings. Now the author archive pages will no longer appear in search results, so you should no longer receive traffic to those pages.