My lack of <?PHP> skills are showing. I am trying to list my authors with user_levels of 2 (author) and 7 (editor) on a page. I have crawled the CODEX and learned that user_login (in wp_users) and user_level (in wp_usermeta) are in different tables.
I know this much:
do a QUERY of the wordpress db and JOIN the wp_users and wp_usermeta tables WHERE user_level is equal to 2 and 7.
But that syntax eludes me
this code works in a static page, but not in a loop.
User Name: <?php echo get_the_author_meta('user_login', 3); ?> User Level: <?php echo get_the_author_meta('user_level', 3); ?>