Thank you very much, @anlino, it would be a great idea to add an option for the author bio in the customizer.
Meanwhile, I have added these lines as a code snippet to the functions.php:
function wpb_author_info_box( $content ) {
global $post;
if ( is_single() && isset( $post->post_author ) ) {
$display_name = get_the_author_meta( 'display_name', $post->post_author );
if ( empty( $display_name ) )
$display_name = get_the_author_meta( 'nickname', $post->post_author );
$user_description = get_the_author_meta( 'user_description', $post->post_author );
$author_details = '<p class="author_name">Wer schreibt hier?</p>';
if ( ! empty( $user_description ) )
$author_details .= '<p class="author_details">' . get_avatar( get_the_author_meta('user_email') , 90 ) . nl2br( $user_description ). '</p>';
$content = $content . '<footer class="author_bio_section" >' . $author_details . '</footer>';
}
return $content;
}
add_action( 'the_content', 'wpb_author_info_box' );
remove_filter('pre_user_description', 'wp_filter_kses');
This seams to be a different method to the one you have suggested, but it works.
Thank you again for this really awesome theme
and best wishes,
@regenpfeifer