clarification:
Not working on the index/home page, works fine on sub pages.
- Phil
----- Original Message -----
From: "Philip M. Hofer (Frumph)" <[email protected]>
To: <[email protected]>
Sent: Sunday, May 23, 2010 11:46 PM
Subject: [wp-testers] bug get_posts and custom post type
$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
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers