1. <?php
  2. $args = array(
  3. 'post_type' => 'any',
  4. );
  5. $query = new WP_Query( $args );
  6. ?>
  7.  
  8. <?php if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>