(‘cos it took me more than a couple of minutes to find a relevant answer)

1
2
3
4
//Exclude blog posts (category #1)
query_posts($query_string . '&cat=-1');
while ( have_posts() ) : the_post();

Last updated on 5th September 2018