I'm trying to exclude the current post from an array and I know that the codex says that it's not possible to combine post__in and post__not_in in the same query...
But in wordpress everything (well, almost...) is possible and I know that must be a way to exclude the current post from my posts array.
If I can't use the together, how can I exclude current post from the array? Any hints are very welcome.
This is my current query:
$this_post = $post->ID;
$args = array('post__in' => array(17,111,108,158), 'post__not_in' => array($this_post));
$posts = new WP_Query($args);