您的购物车目前是空的!
the_author_meta() 显示用户资料的函数,如果该函数在 the_loop 中,那么将显示loop中的用户资料,如果在 the_loop 之外使用,必须指定用户ID才能输出内容。
<?php the_author_meta( $field, $userID ); ?>
$field
(string) Field name for the data item to be displayed. Valid values:
$userID
(integer) (optional) If the user ID fields is used, then this function display the specific field for this user ID.
Default: false
显示作者的 AIM。
<p>This author's AIM address is <?php the_author_meta('aim'); ?></p>
显示指定用户的 Email 地址。
<p>The email address for user id 25 is <?php the_author_meta('user_email',25); ?></p>