Problem: the author’s name always shows as “Root” which is meaningless to the reader.
Solution: First go to /wp-content/themes/twentyseventeen/ folder, since I use twentyseventeen so I go to twentyseventeen folder, please change to your theme folder according to your website theme using.
then search “post author” in template-tags.php file, or find it on functions.php file, you will see similar content below(except the function name is different):
function twentynineteen_posted_by() { printf( /* 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() ) ); } endif;
remove all the content and save:
function twentynineteen_posted_by() { } endif;