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.
/* 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>'
, 16 ),
esc_url( get_author_posts_url( get_the_author_meta(
) ) ),
esc_html( get_the_author() )
Now, You have to delete the code to hide author detail and look remaining code like this.
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.
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.