Way to Remove Usernames from Showing in Page Source Code?
-
I’d like to remove the username (e.g.
www.mywebsite.com/author/[USERNAME]/
) from showing-up in the source code of pages that include the following code (in argent > inc > template-tags.php):$byline = sprintf( esc_html_x( 'by %s', 'post author', 'argent' ), '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>' );
Could anyone help me do this? Maybe via a filter or hook in the functions.php of my argent child theme or something along these lines?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Way to Remove Usernames from Showing in Page Source Code?’ is closed to new replies.