WordPress.org

Ready to get started?Download WordPress

Forums

List Users with their discription (1 post)

  1. baszer
    Member
    Posted 2 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.