'industry', 'posts_per_page' => -1, // -1 will display all posts of the custom post type ); $industry_query = new WP_Query($args); // The Loop if ($industry_query->have_posts()) { while ($industry_query->have_posts()) { $industry_query->the_post(); ?>

No industries found.

'; } /* Restore original Post Data */ wp_reset_postdata(); ?>