我需要多看一眼。我在商业主题函数中自定义了一段代码,代码如下:
<div class="author-description">
<h5><span class="fn"><?php the_author_link(); ?></span></h5>
<p class="note"><?php the_author_meta( \'description\', $id ); ?></p>
<?php csco_post_author_social_accounts( $id ); ?>
</div>
有the_author_link()
其中,说明了用户的名称,或用户网站的链接,可以填写在管理员用户配置文件中。这个the_author_link()
根据法典,不接受任何参数。我希望此函数在新窗口中打开链接。是否需要分解该函数?