• hi try to learn the wp-query thing,
    because i want to display a list from my user that are authors…
    i’m stucking here:

    <?php
    $users = $wpdb->get_results("SELECT * from $wpdb->usermeta WHERE  meta_key = 'wp_capabilities' AND meta_value = '..?--"); foreach($users as $user) : // start users' profile "loop"
    echo ...  . '<br />';
    endforeach; // end of the users' profile 'loop'
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘query: user with the role “author”’ is closed to new replies.