Exclude some authors from a query
I am looking for a solution, how to make this code work by excluding some authors from it.
<?php $recent = new WP_Query("showposts=4&orderby=rand"); while($recent->have_posts()) : $recent->the_post();?>
Like not to show posts from author 4 or 19 or 35.
- The topic ‘Exclude some authors from a query’ is closed to new replies.