WordPress.org

Support

Support » Themes and Templates » List Users with their discription

List Users with their discription

  • Hello,

    I want to list some users and below that their discription. I can list my editors, but don’t know how to add the discription.

    <ul>
    <?php
        $blogusers = get_users('blog_id=1&orderby=nicename&role=administrator');
        foreach ($blogusers as $user) {
            echo '<li>' . $user->display_name . $user->user_email . </li>';
        }
    ?>
    </ul>
  • The topic ‘List Users with their discription’ is closed to new replies.
Skip to toolbar