ID); //check for tags
if ($posttags){
foreach ($posttags as $posttag){
$tags[$posttag->term_id] = $posttag; // add to array of tag ids => names
// $tagnames[$posttag->term_id] = $posttag->name;
}
}
}
?>