<?php
$args = array(
'post_type' => 'any',
);
$query = new WP_Query( $args );
?>
<?php if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>