Select Page
<?php
$args = array(
  'post_type' 	   => 'xxx',
  'post_status'    => 'publish',
  'posts_per_page' => '2',
  'paged'          => 1,
);

$query = new WP_Query( $args );
?>

<?php if ( $query->have_posts() ) : ?>
  <?php while ( $query->have_posts() ) : $query->the_post(); ?>

    <h2><?php the_title(); ?></h2>
    <?php the_excerpt(); ?>

  <?php endwhile; ?>
<?php endif; ?>