post__not_in not working
-
Hello fnds,
when I’m trying to use post__not_in with a variable it is not working.
What I did is ‘post__not_in’=> array($posts_ids) but this wasn’t work. If i pass the post ids like this ‘post__not_in’=> array(55,56,60) it is working perfectly. otherwise it getting hide only first post and others still showing.
i tried $postids[] = $post_ids;
and ‘post__not_in’ => $postids; but it also not worked. pls help
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’ is closed to new replies.