嗨)我对这个代码有个问题:
<?php
$args = array(
\'role\' => \'contributor\',
\'orderby\' => \'rand\',
\'number\' => 3
);
$users = get_users($args);
echo \'<div class="col-md-12" style="background-color:#d8d8d8;">\';
foreach ($users as $user) {
echo \'<a href="">\' . $user->display_name.\'[\'.$user->user_email . \'](\'.$user->id . \') </div></a>\' ;
}
echo \'</div>\';
?>
我必须插入一个链接,允许转到作者页。我必须插入一个链接,允许转到作者页。谢谢