I have created a theme with a custom post type called 'project' and there is a problem. I want to show 5 different custom post type categories on a page in different portions, like posts to show on pages from their respective categories. Is there any solution? Here is my code to display one category $args = array( 'post_type' => 'project', 'posts_per_page' => 200, 'cat' => 'Initiatieffase' ); $loop = new WP_Query($args); while ($loop->have_posts()) : $loop->the_post(); echo '<li><a href="' . the_permalink() . '">' . the_post_thumbnail() . '</a></li>'; endwhile; wp_reset_query();