How to Remove Author Name (Step by Step Guide)

Its WordPress default functionalty to display dates and author name about post, when you publish a post. Its one of the most useful informational featrue that provide by WordPress.
Wordpress doesn’t provide a default feature to publish an post without an author informtion. Here we have some way to remove author name, date and other detail about author in WordPress.

Remove Author Name and Date manualy in WordPress

In wordpress, if you want to remove author detail then here needs the knowledge aboute code. If you are uncomfortable editing code then try another method, because this method required to edit theme files. Before the edit any file, make sure you create a backup of your theme.

Most usually locations to find the code are single.php, index.php  files. In the wordpress default Twenty Seventeen Theme use the function twentyseventeen_posted_on to display author name and post date/time. This function is defined in the template-tags.php file.

function twentynineteen_posted_by() {




            /* translators: 1: SVG icon. 2: post author, only visible to screen readers. 3: author link. */


            '<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() )









Now, You have to delete the code to hide author detail and look remaining code like this.

function twentynineteen_posted_by() {


//Nothing to show.




After delete the code, don’t forget save the code and upload back at file location. Now you see your changes.

Remove Author name by Plugin

This is the easiest method to hide author detail in wordpress post. In this method will use the Show Hide Author plugin. This plugin allow to wordpress to hide the author name on the post and page content.

Once you have succefully install Show Hide Author plugin, now click on the Plugins and select the Show/Hide Author option, this will pull up the main setting page on Show Hide Author plugin.

In this plugin, If you want to completly remove the author name uncheck both check boxes in menu and then you are done.

By the use of this plugin, you delete specific articles Authors, this plugin all features covered. Here two text boxes , in this you can add custom URLs to show or hide author name for that URL. Finally click on “Save Changes” button.

Social Share

Leave a Comment