您可以使用the_author_posts_link
筛选以添加自定义blog-link
类别:
/**
* Add the \'blog-link\' class to the output of the_author_posts_link()
*/
add_filter( \'the_author_posts_link\', function( $link )
{
return str_replace( \'rel="author"\', \'rel="author" class="blog-link"\', $link );
});