Remove author byline
-
I would like to remove the author’s byline from the blog posts. I am assuming it would be in the entry-author.php but I do not know enough PHP to remove it without risking breaking something else. rapidcitycounselor.com/blog/
<?php /** * @package Make */ $author_key = 'layout-' . ttfmake_get_view() . '-post-author'; $author_option = ttfmake_sanitize_choice( get_theme_mod( $author_key, ttfmake_get_default( $author_key ) ), $author_key ); ?> <?php if ( 'none' !== $author_option ) : ?> <div class="entry-author"> <?php if ( 'avatar' === $author_option ) : ?> <div class="entry-author-avatar"> <?php printf( '<a class="vcard" href="%1$s">%2$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), get_avatar( get_the_author_meta( 'ID' ) ) ); ?> </div> <?php endif; ?> <div class="entry-author-byline"> <?php printf( // Translators: this string is an attribution of a post author. e.g. by Ernest Hemingway esc_html__( 'by %s', 'make' ), sprintf( '<a class="vcard fn" href="%1$s">%2$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author_meta( 'display_name' ) ) ) ); ?> </div> <?php if ( is_singular() && $author_bio = get_the_author_meta( 'description' ) ) : ?> <div class="entry-author-bio"> <?php echo wpautop( ttfmake_sanitize_text( $author_bio ) ); ?> </div> <?php endif; ?> </div> <?php endif; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove author byline’ is closed to new replies.