'; }else{ $avatar = get_avatar(get_the_author_meta('ID') ); } return $avatar; } //Difine Author Box Structure add_filter('the_content', 'add_author_box'); function add_author_box($content) { //Define the Main Part of Author Box $author_box='

'.abap_get_avatar( $avatar, $id_or_email, $size ).' About '.get_the_author_meta('display_name').'
'.get_the_author_meta('description').'

'); } return $content; }