You actually need to pass the post type to your WP_Query
arguments as well.
By default, post_type
is set to post
A few notes:
-
caller_get_posts
is long time depreciated, you should useignore_sticky_posts
-
You should make sure that you have post ID’s before passing it to
post__in
. Passing an empty array topost__in
will return all posts regardless