1 entry in
!== tripp_post_can_show( 'metadata' ) ) { return; } $coauthors = get_coauthors( get_the_id() ); if ( ! empty( $coauthors ) ) { echo '
'; } else { $author_id = get_the_author_meta( 'ID' ); $args = array( 'author' => $author_id, 'display_name' => get_the_author_meta( 'display_name', $author_id ), 'posts_url' => get_author_posts_url( $author_id ), 'edit_link' => '', ); if ( current_user_can( 'edit_users' ) || get_current_user_id() === $author_id ) { $args['edit_link'] = admin_url( 'profile.php?user_id=' . $author_id ); } get_template_part( 'template-parts/single/author', get_post_type(), $args ); } }