Why are you looping through the post type, if you always set 'post_type' => 'movies' ? You probably meant: foreach ($post_types as $post_type) { // Set options for query $post_args = array( 'numberposts' => '-1', 'post_type' => $post_type, ); ... } -- http://scribu.net