WordPress.org

Ready to get started?Download WordPress

Forums

page to list subscribers (3 posts)

  1. luisj
    Member
    Posted 5 years ago #

    Hi there.
    Is there any way of build a page that list all the subscribers of the blog? A plugin...?
    Can anyone give me a tip how ro do this?
    Thank you very much.
    Luis J.

  2. husar
    Member
    Posted 5 years ago #

    Did you ever find one? I am looking at well. Please shoot me note if you did.

  3. Javier Ferraz
    Member
    Posted 4 years ago #

    Check this code (http://wordpress.org/support/topic/176355?replies=4).

    <?php
        $subscribers = $wpdb->get_results("SELECT ID, user_nicename from $wpdb->users ORDER BY user_registered DESC");
        for($i=0;$i<4;$i++){
            echo "<li>".$subscribers[$i]->user_nicename."</li>";
        }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic