$args = array('post__not_in' => array($current_post_id), 'showposts' => 5, 'orderby' => 'rand', 'post_type' => 'casts');
$randomcasts = &get_posts($args);

post__not_in is not being utilized with post_type as being able to exclude the specified post type, per the codex reference

- Phil
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to