You appear to be a bot. Output may be restricted
Description
Prints HTML with meta information about theme author.
Usage
$void = twenty_twenty_one_posted_by();
Parameters
Returns
void
Source
File name: twentytwentyone/inc/template-tags.php
Lines:
1 to 11 of 11
function twenty_twenty_one_posted_by() { if ( ! get_the_author_meta( 'description' ) && post_type_supports( get_post_type(), 'author' ) ) { echo '<span class="byline">'; printf( /* translators: %s: Author name. */ esc_html__( 'By %s', 'twentytwentyone' ), '<a href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" rel="author">' . esc_html( get_the_author() ) . '</a>' ); echo '</span>'; } }