I'm trying to edit mdv's plugin to not display posts from a certain gallery. I looked through the functions, but I can't find the function name that will work for something like below:
if ($post->cat_name != 'Gallery') //Don't post things in galleries category
$posts->get_category_name()...? Something like that?