array('custom_post_type1','custom_post_type11','post'), 'posts_per_page' => 8 ); $category = new WP_Query($args); if($category->have_posts()) { ?>