Basic
// WP_Query arguments $args = array ( 'post_type' => 'post', 'cat' => '-5', 'posts_per_page' => '1', ); // The Query $query = new WP_Query( $args );
// WP_Query arguments $args = array ( 'post_type' => 'post', 'cat' => '-5', 'posts_per_page' => '1', ); // The Query $query = new WP_Query( $args );