• I would like to display a bunch of links in the same categories as the current post in my sidebar. However, I would like to exclude the current post from that listing. I could do it by getting one post extra, and then check each post for the current post ID, but I’d rather modify the query_posts query to not include the current post ID. Is this possible?

  • The topic ‘Exclude current post from query_posts?’ is closed to new replies.