post__not_in not working for query_posts in wpmu
-
I’m having a bit of trouble with post__not_in option for the query_posts function in WordPress MU. I collect an array of post ids and then use that array in the function but it does not work. The posts that I want excluded still show up. Here is my code:
$ps = query_posts(array('cat'=>'-19', 'showposts'=>'4', 'post__not_in'=> $displayed_posts ));
When I print out the array of ids, this is what I get:
Array ( [0] => 12875 [1] => 12870 [2] => 12860 [3] => 12743 [4] => 12480 [5] => 12134 )
Does anyone know if MU has any problems with post__not_in?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘post__not_in not working for query_posts in wpmu’ is closed to new replies.