Hello,
I don't know much PHP and I've done a google search and a forum search for a solution, but have had no luck. My theme's code that needs editing is:
<?php
$authors = $wpdb->get_results('SELECT DISTINCT post_author FROM '.$wpdb->posts);
if($authors):
foreach($authors as $author):
?>
How do I alter this code so that I can exclude multiple authors for the listing (say I want to exclude 'admin' , 'user1' , and 'user2' ). Thank you in advance