How can I exclude one specific post from a WP_Query query? (For example, show all posts apart from a post with the ID 278)
I've tried the post__not_in argument but it just removes all posts..
Any help would be great.
Here is my current query
<?php
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query(array(
'post_type' => 'case-study',
'paged' => $paged,
));
while ($wp_query->have_posts()) : $wp_query->the_post();
?>
Thanks