Created
December 18, 2014 18:34
-
-
Save dancrumb/69e7979750ae8aaabbf9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'orderby' => 'display_name', | |
'who' => 'authors', | |
'exclude' => '17,10,20,22,6,19' // string | |
); | |
$users = get_users($args); | |
?> | |
<select name="user" id="user" class=""> | |
<?php | |
foreach ( $blogusers as $user ) { | |
echo '<option value="'.$user->username.'">' . esc_html( $user->display_name ) . '</span>'; // I'm not sure if username is right | |
} | |
?> | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment