have_posts()) : while ($related_loop->have_posts()) : $related_loop->the_post(); $postcount++;
$thisPostType = get_post_type(); //get post type
$thisReviewType = $oswcPostTypes->get_type_by_id($thisPostType); //get review type object
$isreview=false;
if($thisPostType!='post') $isreview=true; //set review variable
//show rating?
$rating_hide = get_post_meta($post->ID, "Hide Rating", $single = true);
//check if this is a video post
$isvideo=false;
$video = get_post_meta($post->ID, "Video", $single = true);
if($video!="") $isvideo=true;
?>
the_rating($thisReviewType); } // show the rating ?>
'' )); ?>