I wondered how I could exclude posts in Wordpress. E.g. I have a string
$exclude_ids (= "4,5,6") or (="-4,-5,-6")
and I would like to prevent these posts from showing up. How would I do that?
I already tried:
query_posts('p=' . $exclude_ids);
but that didn't really work out and I didn't really find any information regarding this topic on google.
Cheers