$query = new WP_Query( $args );
while( $query->have_posts() ) {
// this fills in the $post global with the next post from the query
$query->the_post();
// we\'re now ina classic wordpress loop, and can use all the usual stuff
the_title();
the_content();
echo $post->post_content;
}
// lets clean up after ourself so else we might mess up other queries and function calls
wp_reset_postdata();