Get posts for custom post type with WP_Query
Assuming your custom post type is named “job_posting”, you just need to change your query to read: $query = new WP_Query( array( ‘post_type’ => ‘job_posting’ ) ); This can be found in the official documentation. There’s a lot more parameters you might like to use too – you can find a full list in the … Read more