Query to return maximum of one post per author
You need to GROUP BY the author ID, which is going to require a filter on posts_groupby. The Codex page for that filter is non-existent but it works like posts_join. Something like… function filter_authors($groupby) { global $wpdb; $groupby = ” {$wpdb->posts}.post_author”; return $groupby; } add_filter(‘posts_groupby’,’filter_authors’); $args = array( ‘showposts’ => 3, ‘author’ => “1,2,3” ); … Read more